{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02: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":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic model","shortDescription":{"text":"Rich vs anemic model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"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":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ChildProvider.createChild (cyclomatic 179): ChildProvider.createChild has cyclomatic complexity 179 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/app/src/main/java/com/t8rin/imagetoolbox/feature/root/presentation/components/navigation/ChildProvider.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"982d6bf1c48bf65a7674add035b83ffb33b7613c99c32c0f9abcf9567c6c3d07"}},{"ruleId":"D1","level":"warning","message":{"text":"PlantUmlSubPipelineRegistry.detectBufferedKind (cyclomatic 85): PlantUmlSubPipelineRegistry.detectBufferedKind has cyclomatic complexity 85 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSubPipelineRegistry.kt"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb056e6ec14eb7bd77d9f37e16060d50bd7e2dd6ecabdbef3df29db53ad6ad63"}},{"ruleId":"D1","level":"warning","message":{"text":"GlassMaterialKt.glassVeil (cyclomatic 72): GlassMaterialKt.glassVeil has cyclomatic complexity 72 (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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassMaterial.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5370ab1499ffbf1c33c6fc97089c6acf991fb8e638f5eef64b7ebca026c0a3"}},{"ruleId":"D1","level":"warning","message":{"text":"MermaidSessionPipeline.preprocessForStyle (cyclomatic 71): MermaidSessionPipeline.preprocessForStyle has cyclomatic complexity 71 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c999d4046995f6a3e2556b099fd3afdb2636f02e790372a2d8d53c4096ec542"}},{"ruleId":"D1","level":"warning","message":{"text":"TextCardEditorScreenKt.TextCardEditorScreen (cyclomatic 70): TextCardEditorScreenKt.TextCardEditorScreen has cyclomatic complexity 70 (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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"693c840d32ee869cf01e0b50acf00dfc6697b6e8440bcd66738848c43e99c962"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudStorageScreenKt.CloudStorageScreen (cyclomatic 56): CloudStorageScreenKt.CloudStorageScreen has cyclomatic complexity 56 (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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/CloudStorageScreen.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82ee9832e13c00db290b6a9632cbdd59ddfc5696c1df29c0910c1328a8dabd3"}},{"ruleId":"D1","level":"warning","message":{"text":"BoardGameGifExportDialogKt.BoardGameGifExportDialog (cyclomatic 54): BoardGameGifExportDialogKt.BoardGameGifExportDialog has cyclomatic complexity 54 (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":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/export/BoardGameGifExportDialog.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"689e81c707fc14cba8dc925071d3fb7dc99203b3630f500a61fd11f31b4eb7b4"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorScaffoldKt.EditorScaffold (cyclomatic 53): EditorScaffoldKt.EditorScaffold has cyclomatic complexity 53 (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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ed2f5336d0de0e362457f93f63f796163aa2d7de54165b389f1a314b673a48"}},{"ruleId":"D1","level":"warning","message":{"text":"AIEngineSettingsDetailScreenKt.AIEngineSettingsDetailScreen (cyclomatic 52): AIEngineSettingsDetailScreenKt.AIEngineSettingsDetailScreen has cyclomatic complexity 52 (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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"267406657c9c5a4eca7ccac3f4169ee7a3e65e75f4c93850388789b81cc70284"}},{"ruleId":"D1","level":"warning","message":{"text":"HandleDeeplinksKt.handleDeeplinks (cyclomatic 51): HandleDeeplinksKt.handleDeeplinks has cyclomatic complexity 51 (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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/HandleDeeplinks.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bb2399f166586acc91616b9cb78677b6360a7baf93050900363f7bcab08b9a"}},{"ruleId":"D1","level":"warning","message":{"text":"PlantUmlSubPipelineRegistry.classifyImmediate (cyclomatic 49): PlantUmlSubPipelineRegistry.classifyImmediate has cyclomatic complexity 49 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSubPipelineRegistry.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a4a0db9d87ec0bbd05761be7896c98a6c81e4de2bcaae93fe09fe956edd2e7"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatScreenKt.ChatScreen (cyclomatic 46): ChatScreenKt.ChatScreen has cyclomatic complexity 46 (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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70ed26b9bf81c94e1525aab20d2e6e0e78522e85bde7747b98da7a16c51201f"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownInlineDecorationKt.resolveInlineEndMarkers (cyclomatic 46): MarkdownInlineDecorationKt.resolveInlineEndMarkers has cyclomatic complexity 46 (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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/MarkdownInlineDecoration.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c4a00d69a75f6c59b62893ad6938b40a21e8a21e51e9c58789adbcd6c4b31b"}},{"ruleId":"D1","level":"warning","message":{"text":"DocConvertTaskListScreenKt.DocConvertTaskItem (cyclomatic 43): DocConvertTaskListScreenKt.DocConvertTaskItem has cyclomatic complexity 43 (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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9cefa612836680644a96000485ddd057fdaa76cfd3060f4ad2cc1015eed7f2b"}},{"ruleId":"D1","level":"warning","message":{"text":"CalendarTabKt.festivalIconFor (cyclomatic 41): CalendarTabKt.festivalIconFor has cyclomatic complexity 41 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":1942}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efac12123d67dbf0bb984cdb3aeec57c44cb5ae60b05ad1c5f182cd5afa4b55"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorScaffoldKt.EditorCanvas (cyclomatic 41): EditorScaffoldKt.EditorCanvas has cyclomatic complexity 41 (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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b475e8edbcf427b4182e87e38ff62d46cbdf6c3093df5a28c0b4eed6e9d6e0"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileSettingItemKt.ProfileSettingItem (cyclomatic 41): ProfileSettingItemKt.ProfileSettingItem has cyclomatic complexity 41 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/profile/src/main/java/com/wanbaohe/profile/settingItem/ProfileSettingItem.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"636f6bb5e7e2973a3d1e7ab1fd20dff7f6d53a6e2470fc670a896f12d975a7b5"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthCodeSettingsScreenKt.AuthCodeFlowDialog (cyclomatic 41): AuthCodeSettingsScreenKt.AuthCodeFlowDialog has cyclomatic complexity 41 (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":"feature/settings/src/main/java/com/wanbaohe/setting/authcode/screen/AuthCodeSettingsScreen.kt"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ccb7e52a39895ab5b35b9ea51f42f9e25bbde30d274540c7804290a1341f99"}},{"ruleId":"D1","level":"warning","message":{"text":"FileBrowserScreenKt.FileBrowserScreen (cyclomatic 40): FileBrowserScreenKt.FileBrowserScreen has cyclomatic complexity 40 (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":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/screen/FileBrowserScreen.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"baef852289425d78142b06ca1d7b496ec428eb8494ea5375dc3fa9841ddddde2"}},{"ruleId":"D1","level":"warning","message":{"text":"MeasurementScreenKt.FullScreenRulerBackground (cyclomatic 40): MeasurementScreenKt.FullScreenRulerBackground has cyclomatic complexity 40 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"2704bbef089d536f95e59ea1f21ba8efebcba1b4247635f12b1ecc43cba001d7"}},{"ruleId":"D1","level":"warning","message":{"text":"AIDuelChatComponent.streamWithTypewriter (cyclomatic 39): AIDuelChatComponent.streamWithTypewriter has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c3f2405f639a744fa3de73ebd34c26c9084e358bd8cd0f309b771272445841"}},{"ruleId":"D1","level":"warning","message":{"text":"MermaidClassSubPipeline.renderClass (cyclomatic 39): MermaidClassSubPipeline.renderClass has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e154506a1c870d284e375ca9bcde3d56b3bd9caccd0ca0f882ed4c41763bdf7d"}},{"ruleId":"D1","level":"warning","message":{"text":"UiFilterCodec.decodeValue (cyclomatic 38): UiFilterCodec.decodeValue has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/serialization/UiFilterCodec.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b1ef808c2ff853ca5feee3e587d10e0fa90ba2743b1db99df2854fc39e80f4"}},{"ruleId":"D1","level":"warning","message":{"text":"PlantUmlStateSubPipeline.renderState (cyclomatic 38): PlantUmlStateSubPipeline.renderState has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37c4b5fb00c0d3b6a39696d26e512268ace442729c7d37e82a2855c7b34f1d2"}},{"ruleId":"D1","level":"warning","message":{"text":"GomokuOnlineGameSync.accept (cyclomatic 36): GomokuOnlineGameSync.accept has cyclomatic complexity 36 (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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b67542665703b9dab6a1a02b8bff14a1a3a768cd270a02d3c1798b3e154209"}},{"ruleId":"D1","level":"warning","message":{"text":"AIAddEngineScreenKt.AIAddEngineScreen (cyclomatic 36): AIAddEngineScreenKt.AIAddEngineScreen has cyclomatic complexity 36 (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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIAddEngineScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e856adbb03cdc9b5677cc3da309f004e8f54ee066cb770b329bb4507db947641"}},{"ruleId":"D1","level":"warning","message":{"text":"PlantUmlClassSubPipeline.renderClass (cyclomatic 36): PlantUmlClassSubPipeline.renderClass has cyclomatic complexity 36 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a913bab5acf4f89edd26e9e5992f1d70c3fae35dfce3832ac13ce2d978157b"}},{"ruleId":"D1","level":"warning","message":{"text":"PlantUmlErdSubPipeline.renderDraw (cyclomatic 36): PlantUmlErdSubPipeline.renderDraw has cyclomatic complexity 36 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f68ba5c7fb7f1c2321c41ee25877ac5a14f52d07db607f7c5c2934ef1d7598f"}},{"ruleId":"D1","level":"warning","message":{"text":"IncrementalSelectionIndexBuilder.selectionEntriesForBlock (cyclomatic 36): IncrementalSelectionIndexBuilder.selectionEntriesForBlock has cyclomatic complexity 36 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/selection/SelectionModelIndex.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1782bf22681b932323e10a9f39f62486ba9331d3f6a5c209feaf5a7fc1cf61f6"}},{"ruleId":"D1","level":"warning","message":{"text":"CameraCaptureFlowKt.CameraCaptureFlow (cyclomatic 34): CameraCaptureFlowKt.CameraCaptureFlow has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/camera/src/main/java/com/wanbaohe/camera/CameraCaptureFlow.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9727edbcc2e8e6c37627f6db4adfc42a8373af8d0b6a7251e674a464e3281a"}},{"ruleId":"D1","level":"warning","message":{"text":"QWeatherDataSourceKt.compassText (cyclomatic 34): QWeatherDataSourceKt.compassText has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"f370b4d08a5d17ff571bb78b7d4036e461b454e1dc715385446208c7f4e4fb7c"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMarkdownComposePainterKt.PaintRenderBlock (cyclomatic 34): DefaultMarkdownComposePainterKt.PaintRenderBlock has cyclomatic complexity 34 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/compose/DefaultMarkdownComposePainter.kt"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d0680cb0b44dfaea42f66be75017f78804a018467dcad8453d277bad9bc7db"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineFlowLayoutEngineKt.computeInlineFlowLayout (cyclomatic 34): InlineFlowLayoutEngineKt.computeInlineFlowLayout has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/inline/InlineFlowLayoutEngine.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2001e028104201a01d34fffde30e66ecc8aca8084ba7b9d0aa7b094e4553006f"}},{"ruleId":"D1","level":"warning","message":{"text":"editor.src.executeAction (cyclomatic 34): editor.src.executeAction has cyclomatic complexity 34 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/editor.src.js"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"c813c8467555e12de543984f274757d0689e28368192971d58459a4168677eb2"}},{"ruleId":"D1","level":"warning","message":{"text":"ProtocolRoutingAIRequestHandler.handleChatStreamOperation (cyclomatic 33): ProtocolRoutingAIRequestHandler.handleChatStreamOperation has cyclomatic complexity 33 (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":"feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf89eeb449ea2bc4f65f3e7a42f9457d5c1a0940626d7ff791dea34f81445ebd"}},{"ruleId":"D1","level":"warning","message":{"text":"ChessPlayersRowKt.ChessPlayersRow (cyclomatic 32): ChessPlayersRowKt.ChessPlayersRow has cyclomatic complexity 32 (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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb73a2203cf7fc06d20430f85c6d2146a40d6455c75203fc8bf42688389e16bb"}},{"ruleId":"D1","level":"warning","message":{"text":"BlockRendererKt.BlockRenderer (cyclomatic 32): BlockRendererKt.BlockRenderer has cyclomatic complexity 32 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/BlockRenderer.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4251903edb3e56864153716e7a9bc918fe893a5fef047bbacf985eb4f3a6c5c1"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineCompiler.compileInlineNode (cyclomatic 32): InlineCompiler.compileInlineNode has cyclomatic complexity 32 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/core/compile/InlineCompiler.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d3edda199ce8267bd891f8c125e39b1ba6597f778934fe4f99aedb3228c8d6"}},{"ruleId":"D1","level":"warning","message":{"text":"QuickAddTextParser.parseTimeMatch (cyclomatic 31): QuickAddTextParser.parseTimeMatch has cyclomatic complexity 31 (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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/domain/QuickAddTextParser.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"314f049180cd3612aba224bbf5761eb504f6873fcb74cd224afedb6ae107176e"}},{"ruleId":"D1","level":"warning","message":{"text":"MermaidXYChartSubPipeline.render (cyclomatic 31): MermaidXYChartSubPipeline.render has cyclomatic complexity 31 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidXYChartSubPipeline.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a93f530d095b2766f5af99868f0229bc7b78fd83a3b9b24fa1a7acdb5dda4c"}},{"ruleId":"D1","level":"warning","message":{"text":"OnlineMatchScreenKt.MatchContent (cyclomatic 30): OnlineMatchScreenKt.MatchContent has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd98b7f1dd8b06b9a46a4d6e5623d04f85214731eb4cdfd064567eb8ce82ee83"}},{"ruleId":"D1","level":"warning","message":{"text":"EventNodesKt.nodesFor (cyclomatic 30): EventNodesKt.nodesFor has cyclomatic complexity 30 (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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/EventNodes.kt"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"e110028a11965cccc9fff715d1741ce85a2689965cc0b025c869e803cf9a6384"}},{"ruleId":"D1","level":"warning","message":{"text":"OnlineMatchScreenKt.MatchContent (cyclomatic 30): OnlineMatchScreenKt.MatchContent has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdf895d70b63dd9181e7b62435de888850cb6e4a2b3aeb483ef1beb5d2ce631"}},{"ruleId":"D1","level":"warning","message":{"text":"QuickAddTodoComponent.applyParsedMetadata (cyclomatic 30): QuickAddTodoComponent.applyParsedMetadata has cyclomatic complexity 30 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/QuickAddTodoComponent.kt"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"95acb71554d0bbc2f4c93d068ca77d9fae59ac6fb67b5b6d9657fa1ede28b454"}},{"ruleId":"D1","level":"warning","message":{"text":"OnlineMatchScreenKt.MatchContent (cyclomatic 30): OnlineMatchScreenKt.MatchContent has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a090b760898d84ae6a5d4b8f5da9b2ef4cf5bf4281e6303bab1166898ca68c61"}},{"ruleId":"D1","level":"warning","message":{"text":"XiangqiBoardKt.XiangqiBoard (cyclomatic 30): XiangqiBoardKt.XiangqiBoard has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/board/XiangqiBoard.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf8754266146d9c7781758d4df1b940a27b9f120a96f4350cba2d02229563d8"}},{"ruleId":"D1","level":"warning","message":{"text":"MermaidStateSubPipeline.renderState (cyclomatic 30): MermaidStateSubPipeline.renderState has cyclomatic complexity 30 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9f86a9ece0e9192187f6be117b15503f0551fa90ec4c8471bf9a053ceb7b90"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorLayerBoxKt.EditorLayerBox (cyclomatic 29): EditorLayerBoxKt.EditorLayerBox has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec626af28a2ee60dfdb64439e71a6bbd07075879bd693edafa9065d0199f4fbd"}},{"ruleId":"D1","level":"warning","message":{"text":"Tokenizer.tokenize (cyclomatic 29): Tokenizer.tokenize has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/expression/AgentToolExpressionValidator.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb8c5213971745e903251aeaf1f3a8a9387cae67f5630c9a91f983bde4e7875"}},{"ruleId":"D1","level":"warning","message":{"text":"AIChatComponent.executeStreamingChat (cyclomatic 29): AIChatComponent.executeStreamingChat has cyclomatic complexity 29 (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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatComponent.kt"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"e283fd9a4139c7eae6c959ba25d209cf74eae61b9a0f2886a45f9afed6c752f3"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCenterBottomSheetKt.ToolCenterBottomSheet (cyclomatic 29): ToolCenterBottomSheetKt.ToolCenterBottomSheet has cyclomatic complexity 29 (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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b843aecef84381274fd07527da1a9b8faddc85888830d0175151607af684678a"}},{"ruleId":"D1","level":"warning","message":{"text":"FileTransferServer.handleRequest (cyclomatic 29): FileTransferServer.handleRequest has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27cc4a9ea2a97dbf97da39c125ab3036d29437a311314f4ede34c3f3e0166ce"}},{"ruleId":"D1","level":"warning","message":{"text":"TodoTaskQuery.matchesFilter (cyclomatic 29): TodoTaskQuery.matchesFilter has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/domain/TodoTaskQuery.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e5546c6fc22dff005c1ab522463034ee9ea90fbff5a0ff5b6013f48572ebdd"}},{"ruleId":"D1","level":"warning","message":{"text":"SafeHtmlPolicy.blockAction (cyclomatic 29): SafeHtmlPolicy.blockAction has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/core/compile/SafeHtmlPolicy.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"515da660a52283cc4e2737a85dc2ee29b1b2205d090c175801d7358ae2c71c66"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMarkdownLayoutEngineKt.layoutBlockInternal (cyclomatic 29): DefaultMarkdownLayoutEngineKt.layoutBlockInternal has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/engine/DefaultMarkdownLayoutEngine.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"7739cdf6e41b5607c66b7c02c47bca6355712e78650a533a2219a1893cc64ec1"}},{"ruleId":"D1","level":"warning","message":{"text":"updateDiagramPreviews (cyclomatic 29): updateDiagramPreviews has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 538, 581, 591). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/editor.src.js"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"126c77ccd5f05823ea32743de0edd5c3d063773610a42c9b0919184b9b453a2c"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidFilenameCreator.constructImageFilename (cyclomatic 28): AndroidFilenameCreator.constructImageFilename has cyclomatic complexity 28 (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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/saving/AndroidFilenameCreator.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dc9b0d435349d007fb7fab8d26d7eff45dbc0df3bef51ec8591863d404574c"}},{"ruleId":"D1","level":"warning","message":{"text":"ProtocolRoutingAIRequestHandler.parseResponsesSsePayload (cyclomatic 28): ProtocolRoutingAIRequestHandler.parseResponsesSsePayload has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac56d827a8fb68773d88f070a621d17eca0553359808de4dd5b615cd505e638"}},{"ruleId":"D1","level":"warning","message":{"text":"ChessBoardKt.ChessBoard (cyclomatic 28): ChessBoardKt.ChessBoard has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/ui/board/ChessBoard.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"017153415129a1f5c9af739538a8a86be5e947ef26205c19c97216a884cf9724"}},{"ruleId":"D1","level":"warning","message":{"text":"BitmapDrawerKt.BitmapDrawer (cyclomatic 28): BitmapDrawerKt.BitmapDrawer has cyclomatic complexity 28 (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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/BitmapDrawer.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d0127928d2cb7d25577663dcd23782b1ab58cca2582b2a76973720eea7bb10"}},{"ruleId":"D1","level":"warning","message":{"text":"QrTypeUtilsKt.toIntent (cyclomatic 28): QrTypeUtilsKt.toIntent has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/QrTypeUtils.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"63713a0c1cc21e3d84241b09dc8196ef2c2c2052842fcce1a2f4f1f79c5c51c9"}},{"ruleId":"D1","level":"warning","message":{"text":"WatermarkCanvasKt.WatermarkCanvas (cyclomatic 28): WatermarkCanvasKt.WatermarkCanvas has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/canvas/WatermarkCanvas.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9011cf34eac3e8c03161ae93726b5327994e3fab86f58906dee2d7a5b2c1ce98"}},{"ruleId":"D1","level":"warning","message":{"text":"PlantUmlTimeSeriesSubPipeline.render (cyclomatic 28): PlantUmlTimeSeriesSubPipeline.render has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlTimeSeriesSubPipeline.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09c37b133b5cf99ee47835627c08b1edae550db29d6663e94eb52e03cfbb383"}},{"ruleId":"D1","level":"warning","message":{"text":"FileUtils.getPath (cyclomatic 27): FileUtils.getPath has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/shifenmiao/base/utils/FileUtils.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed53e7993e139d9af9d58b5b8a3dc9c1e5421d5af7633bf69707c95d74be794"}},{"ruleId":"D1","level":"warning","message":{"text":"CreationMetaConfigSheetKt.CreationMetaConfigSheet (cyclomatic 27): CreationMetaConfigSheetKt.CreationMetaConfigSheet has cyclomatic complexity 27 (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":"feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bd405f0a682fef47ca6474268d40fcc4b1443ec6188dce7e92d4e86db25085"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidImageDrawApplier.applyDrawToImage (cyclomatic 27): AndroidImageDrawApplier.applyDrawToImage has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae920aa056a3097996c43e391a87467872f0d8e5ae68d90a6425dc34058510f"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaPickerGridKt.MediaPickerGrid (cyclomatic 27): MediaPickerGridKt.MediaPickerGrid has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerGrid.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c682aa7acd41e937a710d72cb06ce51b30d6b28065a7b9046c9fc842844407aa"}},{"ruleId":"D1","level":"warning","message":{"text":"PlantUmlSequenceSubPipeline.renderSequence (cyclomatic 27): PlantUmlSequenceSubPipeline.renderSequence has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0d204309860539a5f1d98f6f5f4ae9077bb46c8573f58d8ca5e855547736da"}},{"ruleId":"D1","level":"warning","message":{"text":"UiFilterCodec.encodeValue (cyclomatic 26): UiFilterCodec.encodeValue has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/serialization/UiFilterCodec.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"259c05da024a2294bbca3aac38d8a38d6d3d11ba224190827c674c23783b7a81"}},{"ruleId":"D1","level":"warning","message":{"text":"AdaptiveLayoutScreenKt.AdaptiveLayoutScreen (cyclomatic 26): AdaptiveLayoutScreenKt.AdaptiveLayoutScreen has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveLayoutScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d19e1974e412b9130cc39393361b8c58f718cfee6e562daebd16d90f169d2db"}},{"ruleId":"D1","level":"warning","message":{"text":"QualitySelectorKt.QualitySelector (cyclomatic 26): QualitySelectorKt.QualitySelector has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/QualitySelector.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca84eb6c82e289d56d2acbb9013a2ffc995ecf226bd10d9e3575c48bc389ee3"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownSummary.derive (cyclomatic 26): MarkdownSummary.derive has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/utils/src/main/java/com/wanbaohe/com/string/MarkdownSummary.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13cc98c4936f561bc9ec3b19a5fa0bb0c19f2ba2d4004539eab9b97abfd261e"}},{"ruleId":"D1","level":"warning","message":{"text":"AIDuelChatComponent.runDuelLoop (cyclomatic 26): AIDuelChatComponent.runDuelLoop has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede91897f46f114c8176bfe330a235dfff497404cd56780512dfdfee59be76ed"}},{"ruleId":"D1","level":"warning","message":{"text":"ChessRouterComponent.startPreparation (cyclomatic 26): ChessRouterComponent.startPreparation has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82d0fd0074dc5ae318c1794ede139ef6c1957bdd66b67942791d2ef22f01090"}},{"ruleId":"D1","level":"warning","message":{"text":"ChessGameScreenKt.ChessGameContent (cyclomatic 26): ChessGameScreenKt.ChessGameContent has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b61c7a797267bed6b330cd9bf2d25b6f3682b38cd87e1f0b8af026c6f0f74e"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeMarkdownEditorKt.NativeMarkdownEditor (cyclomatic 26): NativeMarkdownEditorKt.NativeMarkdownEditor has cyclomatic complexity 26 (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":"feature/common/src/main/java/com/shifenmiao/common/editor/NativeMarkdownEditor.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"65872a631a32c00a0ec269b306adfb9f61b868e04b27dd5b738fd4f99e44e4c4"}},{"ruleId":"D1","level":"warning","message":{"text":"PaletteToolsContentKt.PaletteToolsContent (cyclomatic 26): PaletteToolsContentKt.PaletteToolsContent has cyclomatic complexity 26 (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":"feature/palette-tools/src/main/java/com/t8rin/imagetoolbox/feature/palette_tools/presentation/PaletteToolsContent.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"86009d3c23a70b2724629aa1c838137c8c40a82cc27f19ae06e7e8f50fb40270"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowserScreenKt.BrowserScreen (cyclomatic 26): BrowserScreenKt.BrowserScreen has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b47a38aadd8c1f0fa049ba653449d4360ffbc766145daf08f33f5345bce0af"}},{"ruleId":"D1","level":"warning","message":{"text":"FrameImageView.snapToBorders (cyclomatic 26): FrameImageView.snapToBorders has cyclomatic complexity 26 (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":"libs/collages/src/main/java/com/t8rin/collages/view/FrameImageView.kt"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"8042aa0cefa6c90e60c87a6f31bd3b8c0e87f9de0c5302dd372def857494b378"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicCropState.updateOverlayRect (cyclomatic 26): DynamicCropState.updateOverlayRect has cyclomatic complexity 26 (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":"libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"783d8285c28880dccedafc712ce130befc834ac0f20754328747ad001c181e69"}},{"ruleId":"D1","level":"warning","message":{"text":"push_images.main (cyclomatic 26): push_images.main has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fastlane/push_images.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bfe69ae96ef482fc678081e2a04467ae662171263dd7f4033a2ce32201f2a3"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidFileController.saveImpl (cyclomatic 25): AndroidFileController.saveImpl has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/saving/AndroidFileController.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bff15b857edea1d36852bc21144f7b1521fb4d6947c3e6e9bd89a0658441c1e"}},{"ruleId":"D1","level":"warning","message":{"text":"BottomButtonsBlockKt.BottomButtonsBlock (cyclomatic 25): BottomButtonsBlockKt.BottomButtonsBlock has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/BottomButtonsBlock.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e25e106da988be984ed25ad95b2235cf6894b83939acb09000b782afb7fdf6d"}},{"ruleId":"D1","level":"warning","message":{"text":"GlassOutlinedTextFieldKt.modernGlassTextFieldContainer (cyclomatic 25): GlassOutlinedTextFieldKt.modernGlassTextFieldContainer 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dd4d0e6087c7be5c05883377df9573b130e902208b92b1c6e49c4fcca1edab"}},{"ruleId":"D1","level":"warning","message":{"text":"FeedbackRowKt.FeedbackRow (cyclomatic 25): FeedbackRowKt.FeedbackRow 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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/FeedbackRow.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19c690f61c05f3eb458bb411583f8f1fac608d1df14c873b5cdd6efd36cf99e"}},{"ruleId":"D1","level":"warning","message":{"text":"QuickAddTodoComponent.handleEvent (cyclomatic 25): QuickAddTodoComponent.handleEvent has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/QuickAddTodoComponent.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d883f90b0283eb701e1b02ebbc27ad67d16bf3b40cb01440b1d370282de42f"}},{"ruleId":"D1","level":"warning","message":{"text":"ExportSettingsSheetKt.ExportSettingsSheet (cyclomatic 25): ExportSettingsSheetKt.ExportSettingsSheet 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/export/ExportSettingsSheet.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8089ce6586daa0ef8e87b7115ce1897ec7be4a1321f63b77b429e545beea384"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaPlayerScreenKt.MediaPlayerScreen (cyclomatic 25): MediaPlayerScreenKt.MediaPlayerScreen 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":"feature/media-player/src/main/java/com/wanbaohe/media/screen/MediaPlayerScreen.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"815f91ad34e7f3a02600702eb570650f9fceb97e6e70096feeacb57887b626ce"}},{"ruleId":"D1","level":"warning","message":{"text":"MermaidErSubPipeline.renderDraw (cyclomatic 25): MermaidErSubPipeline.renderDraw has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53718fa502d3f69786b5f613fd37e7aec2f6f549cdaa2462776fde6b0a557b1"}},{"ruleId":"D1","level":"warning","message":{"text":"editor.src.bindSelectionToolbar (cyclomatic 25): editor.src.bindSelectionToolbar has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 513, handleLongPressStart, a function literal at line 500, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/editor.src.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b9bb11dfce4db36f5537f5ccfa732bdbe316df7a6e65dc9936fed5198bc760"}},{"ruleId":"D1","level":"warning","message":{"text":"ScreenConstantsImpl.valueOf (cyclomatic 24): ScreenConstantsImpl.valueOf has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: ScreenUtilsKt.simpleName (cyclomatic 147) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/navigation/ScreenUtils.kt"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc67460e01d84c54bfd2dd8c18608586b3e38804e9e47610ebaa8d7203d78cc6"}},{"ruleId":"D1","level":"warning","message":{"text":"MeshGradientBackgroundKt.meshRecipe (cyclomatic 24): MeshGradientBackgroundKt.meshRecipe has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/MeshGradientBackground.kt"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12126be8622c54c795ef2c21ecfad3abe30d9b67d7808df3281d28c549c5bae"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeSettingTool.buildThemeChange (cyclomatic 24): ThemeSettingTool.buildThemeChange has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ThemeSettingTool.kt"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"96905b2dd4e123d96825b14750052df3bd8798962009e3e288dfe70a4f224104"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryRepository.buildPromptFragment (cyclomatic 24): MemoryRepository.buildPromptFragment has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/memory/MemoryRepository.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a368ace1467c9eda13e2ca815658a928821cc7b660b62efc94d6b6c69864ba"}},{"ruleId":"D1","level":"warning","message":{"text":"AIDuelChatScreenKt.DuelChatContent (cyclomatic 24): AIDuelChatScreenKt.DuelChatContent has cyclomatic complexity 24 (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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9027aacbf5a036843d945ff175eae75d65c6fc7ba3c1861d3a368b8d098068"}},{"ruleId":"D1","level":"warning","message":{"text":"ApngToolsContentKt.ApngToolsContent (cyclomatic 24): ApngToolsContentKt.ApngToolsContent has cyclomatic complexity 24 (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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3679461374884ba592ae01f8433e36551145ed8865468f14153edbea4463751"}},{"ruleId":"D1","level":"warning","message":{"text":"EventNodesKt.foldChunks (cyclomatic 24): EventNodesKt.foldChunks has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/EventNodes.kt"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"47babb82d6912b6a2027aed3836b9538200bd88bac0889de3598fd275ba6bb9b"}},{"ruleId":"D1","level":"warning","message":{"text":"UnitConverterComponent.buildExpression (cyclomatic 24): UnitConverterComponent.buildExpression has cyclomatic complexity 24 (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":"feature/unit-converter/src/main/java/com/wanbaohe/unitconverter/component/UnitConverterComponent.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64b5d6d5043b07167dd342c8da0f545f5d5e3d8901b78aa8d9265dae601fee0"}},{"ruleId":"D1","level":"warning","message":{"text":"XiangqiAiPickerBottomSheetKt.SourceRow (cyclomatic 24): XiangqiAiPickerBottomSheetKt.SourceRow has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/XiangqiAiPickerBottomSheet.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1dbf144c5e168554665385d297464d0d6ef27c2ffbacca8f8bb7207bad046d"}},{"ruleId":"D1","level":"warning","message":{"text":"DiagramCanvasKt.execute (cyclomatic 24): DiagramCanvasKt.execute has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/compose/DiagramCanvas.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aff2c0dd630f549e38a7f7191d6e1d7067d5c943d527c93a4731ca6f5190d2a"}},{"ruleId":"D1","level":"warning","message":{"text":"MermaidGanttSubPipeline.render (cyclomatic 24): MermaidGanttSubPipeline.render has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGanttSubPipeline.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b280b1c1642d4d6cd36b1f5d6b8ffe44d8a80705249f19ed26fef4135b7b897"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDatabase.getInstanceOrCreate (cyclomatic 23): AppDatabase.getInstanceOrCreate has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c00a6cd58a6b9123acd95e17a8e0ec22d4641c5af9d886428963c6d50333e7"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultContentTypeResolver.resolve (cyclomatic 23): DefaultContentTypeResolver.resolve has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/content/ContentTypeResolver.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"441db8f6fb2c62634866c5eea5e51c47f925324caaf07841b792d405534def22"}},{"ruleId":"D1","level":"warning","message":{"text":"TopAppBarTitleKt.TopAppBarTitle (cyclomatic 23): TopAppBarTitleKt.TopAppBarTitle has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/TopAppBarTitle.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3608798f855e9e713d3644b6774353a91af456a4b31a37c2d60e2a393017c60"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionWheelSpinScreenKt.DecisionWheelSpinScreen (cyclomatic 23): DecisionWheelSpinScreenKt.DecisionWheelSpinScreen 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":"feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelSpinScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4954b64e6afe12ccccd5a42886d1701c86116fc55736a364fda3466c36d89a20"}},{"ruleId":"D1","level":"warning","message":{"text":"GomokuGameComponent.onCellTap (cyclomatic 23): GomokuGameComponent.onCellTap has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7f295f5eca834ab138bb4c3b36f9ffcbe670ba1c55f1cc6925fa3c1f37e630"}},{"ruleId":"D1","level":"warning","message":{"text":"IdPhotoPresetCatalog.catalogKeyFor (cyclomatic 23): IdPhotoPresetCatalog.catalogKeyFor has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/id-photo/src/main/java/com/wanbaohe/idphoto/domain/IdPhotoPresetCatalog.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06e09343f0a42608a1861cacc9f71733e95d2af6646e40b851a335255c1f0dc"}},{"ruleId":"D1","level":"warning","message":{"text":"LoginComponent.onForgotPasswordUiEvent (cyclomatic 23): LoginComponent.onForgotPasswordUiEvent has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2627addd7120dc7744256165c3d0d91ad4dea9fc932face13defb9a7cd58fa"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidTextCardLayoutEngine.paginate (cyclomatic 23): AndroidTextCardLayoutEngine.paginate has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/AndroidTextCardLayoutEngine.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eff6113daec0a7e808bb5d90b18c50fb3e90fde9b1c5a4981d960b1de0606ae"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultWatermarkContentResolver.resolve (cyclomatic 23): DefaultWatermarkContentResolver.resolve has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/data/context/DefaultWatermarkContentResolver.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7e4810137ecc43d78c474f3145fc2c2083fc95f33ec7410240579777e9acfd"}},{"ruleId":"D1","level":"warning","message":{"text":"WebpToolsContentKt.WebpToolsContent (cyclomatic 23): WebpToolsContentKt.WebpToolsContent 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":"feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80d517257e56378c23a952ac5d9864730de695d7bfad0a3dd79aafccddc18df"}},{"ruleId":"D1","level":"warning","message":{"text":"XiangqiGameComponent.observeGame (cyclomatic 23): XiangqiGameComponent.observeGame has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba1891d40d50f72c2ddb23c7e0d80693f909d84f393df134522e9af5f0abc4b"}},{"ruleId":"D1","level":"warning","message":{"text":"GeometryUtils.shrinkPathCollage_3_3 (cyclomatic 23): GeometryUtils.shrinkPathCollage_3_3 has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5d730a4dc664b175ca07c3c38efc98caa60c38e3fc36e85582b38043b49809"}},{"ruleId":"D1","level":"warning","message":{"text":"PlantUmlActivitySubPipeline.render (cyclomatic 23): PlantUmlActivitySubPipeline.render has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cf1764e626b05de8205cb3e37723cf4cda55f11f707e35e6352b70ca2352a1"}},{"ruleId":"D1","level":"warning","message":{"text":"AIDuelChatScreenKt.DuelStatusBar (cyclomatic 22): AIDuelChatScreenKt.DuelStatusBar has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4ad6e896e998c949c1a1932cffa92be8576e9cf2aa6eb041d987dfb3ce51d7"}},{"ruleId":"D1","level":"warning","message":{"text":"AigcFileMetadataReader.readPdfLiteralString (cyclomatic 22): AigcFileMetadataReader.readPdfLiteralString has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/file/AigcFileMetadataReader.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10fe0fc174b5d20f8b2b8ce00ac3792141c38fbc2e8b8d852ef614e03791cb3"}},{"ruleId":"D1","level":"warning","message":{"text":"CompareScreenContentImplKt.CompareScreenContentImpl (cyclomatic 22): CompareScreenContentImplKt.CompareScreenContentImpl 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":"feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/components/CompareScreenContentImpl.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"91540202fec40d90c4181799682d3a24be1ecbede5a07a2fbcf68493e74ada95"}},{"ruleId":"D1","level":"warning","message":{"text":"UiPathPaintCanvasActionKt.UiPathPaintCanvasAction (cyclomatic 22): UiPathPaintCanvasActionKt.UiPathPaintCanvasAction 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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/UiPathPaintCanvasAction.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fea4c9b49505f15986f9180d49a8edabda7a5b67e19c2b20ddfb529ed0e3be"}},{"ruleId":"D1","level":"warning","message":{"text":"GomokuRouterScreenKt.GomokuRouterScreen (cyclomatic 22): GomokuRouterScreenKt.GomokuRouterScreen 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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/GomokuRouterScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c85345d9519417c66f0180ff8d8b28e6c74f1166c5c99605374fc780137c7a9"}},{"ruleId":"D1","level":"warning","message":{"text":"GomokuGameScreenKt.gomokuPlayerData (cyclomatic 22): GomokuGameScreenKt.gomokuPlayerData 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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afed81ab7641218dae2c3f5c481df4eec25a03ceaf36799bbb4c1b39fa46b42"}},{"ruleId":"D1","level":"warning","message":{"text":"IdPhotoScreenKt.IdPhotoScreen (cyclomatic 22): IdPhotoScreenKt.IdPhotoScreen 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":"feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screen/IdPhotoScreen.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c1d9bb5558b29a104610b50b1d92f9a45ca3f0e8e6d96e5e87348a9150cff4"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidImageCombiner.combineImages (cyclomatic 22): AndroidImageCombiner.combineImages 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":"feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/data/AndroidImageCombiner.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"71eed7e3207d15e7d40d3d09d34b75b3da499436075927a0e38fcaab9e149383"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupProjectStore.normalizeDocument (cyclomatic 22): MarkupProjectStore.normalizeDocument has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d3bc0113d64cff45b1d869184e36066856aca44dca8ae97ebc0ff997811513"}},{"ruleId":"D1","level":"warning","message":{"text":"MaskToolSheetKt.MaskToolSheet (cyclomatic 22): MaskToolSheetKt.MaskToolSheet 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/mask/MaskToolSheet.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a76bb81958676bb30ab538ea5de8378c9f4080a5b38acabcb2fb19b7360382"}},{"ruleId":"D1","level":"warning","message":{"text":"TextCardExportSheetKt.TextCardExportSheet (cyclomatic 22): TextCardExportSheetKt.TextCardExportSheet 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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardExportSheet.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3c76c14ff91bab652ef1b9adc5ea08afc1f51fb1e2c5f481a82acbdff4540b"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicThemeKt.getColorScheme (cyclomatic 22): DynamicThemeKt.getColorScheme 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":"libs/dynamic-theme/src/main/java/com/t8rin/dynamic/theme/DynamicTheme.kt"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"94682872a163c64fdefe293ea8eaf6d39a78c96fdfc2dce9f0ab9e05e572057b"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlBlockModelCompiler.compileFlow (cyclomatic 22): HtmlBlockModelCompiler.compileFlow 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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/core/compile/HtmlBlockModelCompiler.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7ffe9700cc3cf0029a05f6e2f57f06807d2f078fa36e0e02568f96bd2a7b22"}},{"ruleId":"D1","level":"warning","message":{"text":"Moire.applyMask (cyclomatic 22): Moire.applyMask 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":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/moire/Moire.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"395ffc1229e1667338d53f8e97c84445df35b1ae84413dba8c15e3d2f9942988"}},{"ruleId":"D1","level":"warning","message":{"text":"AiUtils.buildUserRequestMessage (cyclomatic 21): AiUtils.buildUserRequestMessage has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea11a92d13f3c83439647c83abd2a4da015ed87c88ed8218589a45dd1450219"}},{"ruleId":"D1","level":"warning","message":{"text":"ChessGameComponent.observeGame (cyclomatic 21): ChessGameComponent.observeGame has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e943befaf0a4ea967bd439a1e849e0c8f41f626a8fe16e54f510927ec5fcec9"}},{"ruleId":"D1","level":"warning","message":{"text":"ChessRouterScreenKt.ChessRouterScreen (cyclomatic 21): ChessRouterScreenKt.ChessRouterScreen has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa0f5557baa9f562963d89f76efe0e20cbd12c145cbdbfdf82800b1f3ccaffd"}},{"ruleId":"D1","level":"warning","message":{"text":"WebDavXmlParser.parsePropfind (cyclomatic 21): WebDavXmlParser.parsePropfind has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/WebDavXmlParser.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaf5fc558b728f83795ee96f0be5fb0b3b25637f2ed9f7d9eea4e04cfcd7809"}},{"ruleId":"D1","level":"warning","message":{"text":"AIEngineRepository.ensureFlavorPresetEngines (cyclomatic 21): AIEngineRepository.ensureFlavorPresetEngines has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/manager/AIEngineRepository.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be8a3e8c7683623e6520d681382b85fccd4c1036198b17a8e4d98c78be31d65"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageWorkspaceKt.ImageWorkspace (cyclomatic 21): ImageWorkspaceKt.ImageWorkspace has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/ui/ImageWorkspace.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b553a1298907928bae552008256e5ff5b59f72cdc17355b667005b5bb2e12982"}},{"ruleId":"D1","level":"warning","message":{"text":"ZoomableImagePreviewKt.ZoomableImagePreview (cyclomatic 21): ZoomableImagePreviewKt.ZoomableImagePreview has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/ui/ZoomableImagePreview.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0f546a86cba51e2264ad8c9f88a7cab49ab622600e17e0c28ee907539a863d"}},{"ruleId":"D1","level":"warning","message":{"text":"GomokuGameComponent.observeGame (cyclomatic 21): GomokuGameComponent.observeGame has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b68447ef42ee1f0f15a77c7c8c8295d34239117bba3e1e4e82ca0431f4d6d97"}},{"ruleId":"D1","level":"warning","message":{"text":"GomokuGameScreenKt.GameContent (cyclomatic 21): GomokuGameScreenKt.GameContent has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8eaa6309ad287bcb80cfb42033daa90eb93f0c0f11c7d77cacc6ba3b93e7831"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateNoteScreenKt.CreateNoteScreen (cyclomatic 21): CreateNoteScreenKt.CreateNoteScreen has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/online/src/main/java/com/shifenmiao/online/screen/CreateNoteScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff66ace59ea6cade57da5a30df20672edf69ace36a7bce27f31fa658625922f"}},{"ruleId":"D1","level":"warning","message":{"text":"AIEngineSettingsDetailScreenKt.ServerConnectivityCard (cyclomatic 21): AIEngineSettingsDetailScreenKt.ServerConnectivityCard has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbae5112bffe76f376153a14dee234e2da6d028599a86c9f24ac873fc266cc60"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeSettingsScreenKt.ThemeSettingsScreen (cyclomatic 21): ThemeSettingsScreenKt.ThemeSettingsScreen has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b0cf137686ebe3d2b71d80cbb7cd3a31c3daa83cffc6f1bdf07142441d9860"}},{"ruleId":"D1","level":"warning","message":{"text":"WatermarkingContentKt.WatermarkingContent (cyclomatic 21): WatermarkingContentKt.WatermarkingContent has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/WatermarkingContent.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"699b1de1da88fba70f7f8f537dfaad5b60b318b29b232fc78e8fdf10788e7ae5"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomWebView.onTouchEvent (cyclomatic 21): CustomWebView.onTouchEvent has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/common/CustomWebView.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6de693cc775ed1122bc1c1a14752872b965bd5d1bddda8d0897a03f47a2e40"}},{"ruleId":"D1","level":"warning","message":{"text":"XiangqiRouterScreenKt.XiangqiRouterScreen (cyclomatic 21): XiangqiRouterScreenKt.XiangqiRouterScreen has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/XiangqiRouterScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ff5822b37bd4f6f7eaf4351de5cfa1b8dcbe6baae6cf99d7e26b84fd25ff86"}},{"ruleId":"D1","level":"warning","message":{"text":"XiangqiLibraryScreenKt.GameCard (cyclomatic 21): XiangqiLibraryScreenKt.GameCard has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiLibraryScreen.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d761f895fc9711ad7c4791b29c88c908d8d3f14ea73ac3ac73e88cb3cc10fc09"}},{"ruleId":"D1","level":"warning","message":{"text":"XiangqiSetupScreenKt.XiangqiSetupScreen (cyclomatic 21): XiangqiSetupScreenKt.XiangqiSetupScreen has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6ff7cfcd27fec14e2e75f19a2d25b92ddc0d5bc95dea6bc6c42ca2445a44e3"}},{"ruleId":"D1","level":"warning","message":{"text":"PlantUmlSaltSubPipeline.render (cyclomatic 21): PlantUmlSaltSubPipeline.render has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSaltSubPipeline.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9ceb5ecf4b010c394264406430a8eac6c0dfaae7bbbe40f5052bf0de31c7e1"}},{"ruleId":"D1","level":"warning","message":{"text":"upload.handleFiles (cyclomatic 21): upload.handleFiles has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. 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":"web/file_transfer/js/features/upload/upload.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9580d5cc155138163dd63428ec53621875b672d12a2ee7d3a92a492a730d447"}},{"ruleId":"D1","level":"warning","message":{"text":"FilterItemKt.FilterItem (cyclomatic 20): FilterItemKt.FilterItem has cyclomatic complexity 20 (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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterItem.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b811030f947a0e43592bcc4e2f66a7adbc7de3dc8d55e50acb6b76d43a94d86e"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpRequestService.request (cyclomatic 20): HttpRequestService.request has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/service/HttpRequestService.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71563070a885aa4b4440ada5c75fe2ca3022ab453dc586633f988c54e91743d"}},{"ruleId":"D1","level":"warning","message":{"text":"ManageTodoTool.handleList (cyclomatic 20): ManageTodoTool.handleList has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: ManageTodoTool.normalizeAction (cyclomatic 59) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad6d2a66891495f5f6762e43f3f5957b1a2dcba33d4497d5c9b2324de318b24"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentFileServiceImpl.globToRegex (cyclomatic 20): AgentFileServiceImpl.globToRegex has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"434deb27fcd75e9d24e42d56d9f2dd344be154e1c1aabfd3879f35de265060a6"}},{"ruleId":"D1","level":"warning","message":{"text":"StatsTabKt.SummaryMetricCard (cyclomatic 20): StatsTabKt.SummaryMetricCard has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ad577be7893c0a59c5d7cbd96f658a5dd0626c492e16132a77307410de5873"}},{"ruleId":"D1","level":"warning","message":{"text":"GomokuBoardKt.GomokuBoard (cyclomatic 20): GomokuBoardKt.GomokuBoard has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c27f1df993128bacab7dce08276227714cab6e1c74387a84257fd794b76d904"}},{"ruleId":"D1","level":"warning","message":{"text":"TodoDetailScreenKt.TodoDetailScreen (cyclomatic 20): TodoDetailScreenKt.TodoDetailScreen has cyclomatic complexity 20 (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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/TodoDetailScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"36548533117c9a11021da749342ff2479507e476f084fd65bc2c30c8a87b749c"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawEditOptionKt.DrawEditOption (cyclomatic 20): DrawEditOptionKt.DrawEditOption has cyclomatic complexity 20 (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":"feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/DrawEditOption.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"84912f6ba505d9fa55db25cccfe2fa6d02f8a96cc08552603c62aed2b3791094"}},{"ruleId":"D1","level":"warning","message":{"text":"TextStylePanelKt.TextStylePanel (cyclomatic 20): TextStylePanelKt.TextStylePanel has cyclomatic complexity 20 (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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/panels/TextStylePanel.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a864dd745296ec64d36a383d14642a27a266bf2d13ef9a42958d69e7aa69086d"}},{"ruleId":"D1","level":"warning","message":{"text":"MermaidCompatibilityNormalizerKt.topLevelArrowOffsets (cyclomatic 20): MermaidCompatibilityNormalizerKt.topLevelArrowOffsets has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/main/java/com/wanbaohe/diagram/MermaidCompatibilityNormalizer.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f173c9d11ec738340ac91e7aee085613afb5e002735ebc4095749bb9cfe71c"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineRenderUtilsKt.parseCssColor (cyclomatic 20): InlineRenderUtilsKt.parseCssColor has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineRenderUtils.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9e6b1cf4f94b6796587d8713ac928303dfcf452c53141a528bc4f6cd89bc22"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineHtmlNormalizer.normalize (cyclomatic 20): InlineHtmlNormalizer.normalize has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/core/compile/InlineHtmlNormalizer.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6384c387f20bd656b19b2f0d0ae8469185a75891286d65529ac737e0542dbcb7"}},{"ruleId":"D1","level":"warning","message":{"text":"upload.renderUploadModalList (cyclomatic 20): upload.renderUploadModalList has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 417, 468). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/upload/upload.js"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"204fd69185dd6a63a15ab3929e9ee7989fd194de47ee4ee3c49af88e119ae155"}},{"ruleId":"D1","level":"warning","message":{"text":"PairItemKt.PairItem (cyclomatic 19): PairItemKt.PairItem has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PairItem.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb75fe78039e55be28a2b52abfdc9b9b0a5ac2b46f14f80c35fdfc3ecec550e4"}},{"ruleId":"D1","level":"warning","message":{"text":"MusicVideoObject.equals (cyclomatic 19): MusicVideoObject.equals has cyclomatic complexity 19 (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":"core/model/src/main/java/com/shifenmiao/model/wechat/common/MediaObject.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3552260925a150f3ff000898869ae36691e6a00f37c29ef48f59b138feaa0c"}},{"ruleId":"D1","level":"warning","message":{"text":"ResumableFileDownloader.download (cyclomatic 19): ResumableFileDownloader.download has cyclomatic complexity 19 (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":"core/network/src/main/java/com/shifenmiao/network/downloader/ResumableFileDownloader.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1225cccd3246e2cc9e596b0eae2deba6e6ebad4cad5e883757bd11c92ade9e5b"}},{"ruleId":"D1","level":"warning","message":{"text":"EnhancedRangeSliderItemKt.EnhancedRangeSliderItem (cyclomatic 19): EnhancedRangeSliderItemKt.EnhancedRangeSliderItem has cyclomatic complexity 19 (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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"39360efa11b32b370b608c804d60b0673a102ed0664a93cc5b72a82f95530b3f"}},{"ruleId":"D1","level":"warning","message":{"text":"DragHandlerKt.dragHandler (cyclomatic 19): DragHandlerKt.dragHandler 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/DragHandler.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5401aee0563e7e987c7b447502b084b944db62630460e39f878d3db5f0ed6bfb"}},{"ruleId":"D1","level":"warning","message":{"text":"EditFileTool.validate (cyclomatic 19): EditFileTool.validate has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/EditFileTool.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6511f53374a819d65be78af6f35e11eb6b0792bd7e2fd20453fbae252fa7e4"}},{"ruleId":"D1","level":"warning","message":{"text":"AIChatComponent.handleLlmEvent (cyclomatic 19): AIChatComponent.handleLlmEvent has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatComponent.kt"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"c176cac182112114bf5ea990d785cd2c7390bc6a161cc213d159d1a51d490a20"}},{"ruleId":"D1","level":"warning","message":{"text":"AiUtils.processStreamLine (cyclomatic 19): AiUtils.processStreamLine has cyclomatic complexity 19 (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":"feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f388e31f33f91f12acd96fd0cbbc743eec2f553da0408891515d438e0587a1d"}},{"ruleId":"D1","level":"warning","message":{"text":"CalendarTabKt.FotoCard (cyclomatic 19): CalendarTabKt.FotoCard 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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59b5ad7acc0965c8c32b8c4a01b42ba4a7f0872c87223ffbacb09b84a99dc5f"}},{"ruleId":"D1","level":"warning","message":{"text":"MoveGenerator.castlingMoves (cyclomatic 19): MoveGenerator.castlingMoves has cyclomatic complexity 19 (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":"feature/chess/src/main/java/com/wanbaohe/chess/domain/MoveGenerator.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69399e37a8aadff25fa2b144f5d7eb075ea0d8ab09975348167e975ac0ca3bf"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeEditorScreenKt.CodeEditorScreen (cyclomatic 19): CodeEditorScreenKt.CodeEditorScreen has cyclomatic complexity 19 (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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"301009d792f018a385ad3c5bcf76d523e6fc0e4735150f36a2d8ecb358e79415"}},{"ruleId":"D1","level":"warning","message":{"text":"AIPromptExecutor.executeStreaming (cyclomatic 19): AIPromptExecutor.executeStreaming 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":"feature/common/src/main/java/com/shifenmiao/common/ai/AIPromptExecutor.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cdcf7a6752193c9ec081b113914ed40e72e1cfe12c9577e1614d037376ed65"}},{"ruleId":"D1","level":"warning","message":{"text":"EventNodesKt.extractNodes (cyclomatic 19): EventNodesKt.extractNodes 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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/EventNodes.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7b727778aad0f551d759b417e873ec890ab452bafc78b04e5f9c5aa2f137f5"}},{"ruleId":"D1","level":"warning","message":{"text":"OnlinePlayUseCase.connect (cyclomatic 19): OnlinePlayUseCase.connect has cyclomatic complexity 19 (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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7b35ceb04a68ffd8ae7dda1cacbd93f0e1a3f19572bc2299776b96d759fe31"}},{"ruleId":"D1","level":"warning","message":{"text":"GomokuSetupScreenKt.GomokuSetupScreen (cyclomatic 19): GomokuSetupScreenKt.GomokuSetupScreen has cyclomatic complexity 19 (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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b03916d64e57425ebdfd0d7e82669efbe604d433c712553966331c61d4d6c8f"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduleLinkStatusKt.ScheduleLinkStatus (cyclomatic 19): ScheduleLinkStatusKt.ScheduleLinkStatus 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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/ScheduleLinkStatus.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"62432f173c80aa0bf32ce3d598b0ec0dc42c9f4ecd57db1f7b6d6ee5b26fe2c1"}},{"ruleId":"D1","level":"warning","message":{"text":"TodoTaskRowKt.TodoTaskRow (cyclomatic 19): TodoTaskRowKt.TodoTaskRow has cyclomatic complexity 19 (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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/TodoTaskRow.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3075f3ad1b53a7d70dbc69985517bdbe172829390f01068d32a9d3d6e16ab630"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkTodoScreenKt.MarkTodoScreen (cyclomatic 19): MarkTodoScreenKt.MarkTodoScreen has cyclomatic complexity 19 (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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7bf035171145799d3cfd034df7a75d208f78c264e5f7f91b58650b6f542ab0"}},{"ruleId":"D1","level":"warning","message":{"text":"CropToolScreenKt.resizeLocked (cyclomatic 19): CropToolScreenKt.resizeLocked 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/crop/CropToolScreen.kt"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5489c2a702fbe0eab9079805098c09a1efa5cd63915d1d2f378d94de58efcc"}},{"ruleId":"D1","level":"warning","message":{"text":"GeometryUtils.shrinkPath (cyclomatic 19): GeometryUtils.shrinkPath 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":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a67e6d562aadfc0adb0002fb1dffa634180eb20a7afb42c335719b454c4ca67"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiTouchHandler.touch (cyclomatic 19): MultiTouchHandler.touch 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":"libs/collages/src/main/java/com/t8rin/collages/view/MultiTouchHandler.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fe8d3f18feef3b83b7ff1128914486d723a1bd7642f407d02a221c1a0dd4c1"}},{"ruleId":"D1","level":"warning","message":{"text":"MermaidSequenceSubPipeline.renderSequence (cyclomatic 19): MermaidSequenceSubPipeline.renderSequence 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSequenceSubPipeline.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"728a4be0b0c6a1e408fd3bb77607dbb2de005549162e61847af3cd4be694c75a"}},{"ruleId":"D1","level":"warning","message":{"text":"PlantUmlXYChartSubPipeline.render (cyclomatic 19): PlantUmlXYChartSubPipeline.render has cyclomatic complexity 19 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlXYChartSubPipeline.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6089e6a484c93cb5495d276457eb35a87e1a632d6c913290d0eaa10e9e6e97"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformGestureKt.detectPointerTransformGestures (cyclomatic 19): TransformGestureKt.detectPointerTransformGestures 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":"libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eca80ae76f39a82a7cdd94771b53b88056f10badd8a958d73e0dd016d8ec344"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineLayoutContentKt.PaintInlineLayoutContent (cyclomatic 19): InlineLayoutContentKt.PaintInlineLayoutContent 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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/compose/InlineLayoutContent.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3049fd37978240bacbf62d192ba1686601aa15cba9940afe2478d05855bbe64"}},{"ruleId":"D1","level":"warning","message":{"text":"push_images.load_local (cyclomatic 19): push_images.load_local 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":"fastlane/push_images.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8311a781c7fd857fa5e937ddf1a9c594e56d95556803ee0de81fe0ece75cb5"}},{"ruleId":"D1","level":"warning","message":{"text":"i18n.detectLang::normalize (cyclomatic 19): i18n.detectLang::normalize has cyclomatic complexity 19 (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":"web/file_transfer/js/core/i18n.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cdd7f3c6743550a47984a70506164442bde2a4da22f232f290f711ffe796dc"}},{"ruleId":"D1","level":"warning","message":{"text":"editor.src.AndroidBridge.setImageWidth (cyclomatic 19): editor.src.AndroidBridge.setImageWidth has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. 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":"web/milkdown-editor/editor.src.js"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fea97bbd6a81afd4dca0a7cda31301b9a72464b1400234cfd77ba63f51a1bb"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfettiHostStateKt.ConfettiHost (cyclomatic 18): ConfettiHostStateKt.ConfettiHost has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/confetti/ConfettiHostState.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a94c445f4dfa37c38f98ebab72040dcc70241094561cc6ac5e6e480b4854b4"}},{"ruleId":"D1","level":"warning","message":{"text":"ColorSelectionRowKt.ColorSelectionRow (cyclomatic 18): ColorSelectionRowKt.ColorSelectionRow has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorSelectionRow.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4222dfb07629cdfc5e6aab5539258223b0253af5492cf61ac83bdc2d2773641"}},{"ruleId":"D1","level":"warning","message":{"text":"PickFontFamilySheetKt.DownloadableFontRow (cyclomatic 18): PickFontFamilySheetKt.DownloadableFontRow has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/PickFontFamilySheet.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efbd89a28179fbbd882b0da64e460ae681c802f96bcd00d48e10ffc681d915c"}},{"ruleId":"D1","level":"warning","message":{"text":"HyperOSSwitchKt.HyperOSSwitch (cyclomatic 18): HyperOSSwitchKt.HyperOSSwitch has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/HyperOSSwitch.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e579ee22887101f2a197d5e613966970f1f0d6b1d189bd883a2138db41d39452"}},{"ruleId":"D1","level":"warning","message":{"text":"AiExecutionTimelineCardKt.AiExecutionStepRow (cyclomatic 18): AiExecutionTimelineCardKt.AiExecutionStepRow has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/execution/component/AiExecutionTimelineCard.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edd8d281a15d8e63b12115570ecee18cfc4d2555df5c4102980fe776082be3e"}},{"ruleId":"D1","level":"warning","message":{"text":"ElevationGaugeSectionKt.ElevationGaugeSection (cyclomatic 18): ElevationGaugeSectionKt.ElevationGaugeSection has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/altitude/src/main/java/com/wanbaohe/altitude/ui/ElevationGaugeSection.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b1e574f93de7ca6dc3e924a5a96b9d4b5cb2aafcccc50f555b7b84e3b96e7a"}},{"ruleId":"D1","level":"warning","message":{"text":"ChessSetupScreenKt.ChessSetupScreen (cyclomatic 18): ChessSetupScreenKt.ChessSetupScreen has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"deefc7deba82a754905121e2b48cd328aff5a16cf1573d99749afde480cfa926"}},{"ruleId":"D1","level":"warning","message":{"text":"FileBrowserScreenKt.NavigationToolbar (cyclomatic 18): FileBrowserScreenKt.NavigationToolbar has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/screen/FileBrowserScreen.kt"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ad1116a79f4076018f9ee6fc8159ada9a62410b6fcf856b2bd3d49d98ca8fc"}},{"ruleId":"D1","level":"warning","message":{"text":"DocConvertTaskListScreenKt.DocConvertTaskListScreen (cyclomatic 18): DocConvertTaskListScreenKt.DocConvertTaskListScreen has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edad4dd41b88dc7fdb91491bca2163dd0b793019d9532d7e1cf1a3ab523ab7f"}},{"ruleId":"D1","level":"warning","message":{"text":"Survive30sComponent.startGameLoop (cyclomatic 18): Survive30sComponent.startGameLoop has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/survive30s/src/main/java/com/wanbaohe/survive30s/component/Survive30sComponent.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39dc9d297b44e9f893f5d938078a5b4fee8d912fa2c0e75de9f617a2053d14f"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotationEditorUiKt.AnnotationToolRail (cyclomatic 18): AnnotationEditorUiKt.AnnotationToolRail has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/AnnotationEditorUi.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa97a5d70061b4b2aa6cbf69d65acc3aa50c9778e33eeb5413ef01d2ded7879d"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicCropState.getTouchRegion (cyclomatic 18): DynamicCropState.getTouchRegion has cyclomatic complexity 18 (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":"libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c8f9a6f8627bcbdcd2824417d6022b74827e7cd6bc6808844b81824dbbbcd7"}},{"ruleId":"D1","level":"warning","message":{"text":"MermaidRequirementSubPipeline.flowchartRender (cyclomatic 18): MermaidRequirementSubPipeline.flowchartRender has cyclomatic complexity 18 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66b3ff6a5822514df5f0a55f0b33faa56095aa42dae5914489e9076295b6fb5"}},{"ruleId":"D1","level":"warning","message":{"text":"MermaidSessionPipeline.extractTripleColonClasses (cyclomatic 18): MermaidSessionPipeline.extractTripleColonClasses has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"619e65ea587123ee3c31e95d30d120778d277052212b3c9fae826eb4131831a8"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineRenderUtilsKt.parseCssStyleToSpanStyle (cyclomatic 18): InlineRenderUtilsKt.parseCssStyleToSpanStyle has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: InlineRenderUtilsKt.inferStyleFromClasses (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineRenderUtils.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf54154a0620a4663d7a9ca5a5aa42a749046327e41ca67739d52c4429389dc"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineLayoutContentKt.drawInlineUnderlines (cyclomatic 18): InlineLayoutContentKt.drawInlineUnderlines has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/compose/InlineLayoutContent.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e17b757ca8711eacf9e2052f4a9e8ad2214e67c01186741156d424b5e58d73"}},{"ruleId":"D1","level":"warning","message":{"text":"connectChat (cyclomatic 18): connectChat has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 5 function items inside it that branch (onmessage, a function literal at line 98, onopen, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/chat/ws.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c185357bf041c90a4ba413c3cfa0e5f46e80ed1d02aeb2b191d43df4fd72dd4c"}},{"ruleId":"D1","level":"warning","message":{"text":"addTransferItem (cyclomatic 18): addTransferItem has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/transfer/transfers.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5657b6257dd96dd3da414a9b20e7f8749c2346ae6b554c03293ef960f747fba1"}},{"ruleId":"D1","level":"warning","message":{"text":"TripleItemKt.TripleItem (cyclomatic 17): TripleItemKt.TripleItem has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/TripleItem.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b36648ea55b31fb8a358fcd51f0794e6e1c8a3e9a68173473512e1c630b4ee"}},{"ruleId":"D1","level":"warning","message":{"text":"CityPickerKt.CityPicker (cyclomatic 17): CityPickerKt.CityPicker has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/CityPicker.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5276f8683e05641dc4a493df4e196bd55834352cdc8388f29052b4bab47c89a"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultContentRouter.route (cyclomatic 17): DefaultContentRouter.route has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content/ContentRouter.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab41dc7786f93736b5b7efaea8a1a725a6d81b6513d23867686201460579527"}},{"ruleId":"D1","level":"warning","message":{"text":"EnhancedIconButtonKt.EnhancedIconButton (cyclomatic 17): EnhancedIconButtonKt.EnhancedIconButton has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedIconButton.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0f61c8bb18f07cc50c683f3dad8bd34a53b3e658be734175d3474c8d9b61c1"}},{"ruleId":"D1","level":"warning","message":{"text":"EmojiSelectionSheetKt.EmojiSelectionSheet (cyclomatic 17): EmojiSelectionSheetKt.EmojiSelectionSheet has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/EmojiSelectionSheet.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30b8bdd576adf1ca17a07f7a7e3c63cdf19b9b218b41e2a12e7ea7a365484f6"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemePresetSelectorKt.ThemePresetCard (cyclomatic 17): ThemePresetSelectorKt.ThemePresetCard has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/theme/ThemePresetSelector.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcedc329d449f2d9de4401d86e5bff7bef6dd87d1c9ce05f6939419a87bc151e"}},{"ruleId":"D1","level":"warning","message":{"text":"AIStreamAnswerComponent.runStreamingAnswer (cyclomatic 17): AIStreamAnswerComponent.runStreamingAnswer has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIStreamAnswerComponent.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a91d7a8c443324a9f904cf45a0b2649c4d8be6c7cb89725c39ec9fcdfdac9e"}},{"ruleId":"D1","level":"warning","message":{"text":"AIDuelChatScreenKt.DuelPickerBottomSheets (cyclomatic 17): AIDuelChatScreenKt.DuelPickerBottomSheets has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"4141e1d52681feba9c63e2ec2e81f61407acf689530ef278e21b605375786a3d"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateAIAgentScreenKt.CreateAIAgentScreen (cyclomatic 17): CreateAIAgentScreenKt.CreateAIAgentScreen has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed5ca4d8887d7b80609a90b09143befc9db5b84bfc93c3c35d79e14e2d81d7d"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateAIPromptScreenKt.CreateAIPromptScreen (cyclomatic 17): CreateAIPromptScreenKt.CreateAIPromptScreen has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db720106676bc90fd535be5053dbc9639b9ac87cabcd1b18302e2654f5b9a05"}},{"ruleId":"D1","level":"warning","message":{"text":"AddRecordScreenKt.AddRecordScreen (cyclomatic 17): AddRecordScreenKt.AddRecordScreen has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/AddRecordScreen.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6ae55bb8bc1c5e4f8e4838a0e26d7c6eff4163dc68caf73ac3ecbb39e1b1f6"}},{"ruleId":"D1","level":"warning","message":{"text":"CalendarTabKt.CalendarDayCell (cyclomatic 17): CalendarTabKt.CalendarDayCell has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"af40e8f4ea37b5b3f45969cc14b83d62d6b9b21e6531ea5e5c27b662543a0478"}},{"ruleId":"D1","level":"warning","message":{"text":"ImportGameUseCase.parseImport (cyclomatic 17): ImportGameUseCase.parseImport has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3850893753d52b49560a1f24e434b2606956ebfceffe0b5cc6cba4f749a2638"}},{"ruleId":"D1","level":"warning","message":{"text":"OnlinePlayUseCase.connect (cyclomatic 17): OnlinePlayUseCase.connect has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e898849b4e2acea4cf0ab578741799f624dc0cb0800a2250dafdfd4d5d9c5ad2"}},{"ruleId":"D1","level":"warning","message":{"text":"BoardState.nextCastlingRights (cyclomatic 17): BoardState.nextCastlingRights has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/model/BoardState.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6242981a98bf5abbe7677fdaccfe8396ac64eb2bc590fe8fa23a3a64885124"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupCenterScreenKt.message (cyclomatic 17): BackupCenterScreenKt.message has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5748b009afe873d6b91678c3231d1737cc27631940e972567868e79de7f32f"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomScrollableTabRowKt.GenericScrollableTabRow (cyclomatic 17): CustomScrollableTabRowKt.GenericScrollableTabRow has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/components/CustomScrollableTabRow.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6d1a8141aea5d168db89f2f50c6369623f68c60e871eafb37d42cd29ac22ff"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentSheetKt.SubagentTranscriptView (cyclomatic 17): SubagentSheetKt.SubagentTranscriptView has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/SubagentSheet.kt"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfdbae8a31f39c898043271ce5da176e43e551dde76ac673e9c000561b4b82a"}},{"ruleId":"D1","level":"warning","message":{"text":"GifToolsContentKt.GifToolsContent (cyclomatic 17): GifToolsContentKt.GifToolsContent has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/GifToolsContent.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12facfb6719b5cbd82d9571627e95e9eb5c2579f1401098a4b819c8de7ce05e"}},{"ruleId":"D1","level":"warning","message":{"text":"LibrariesContainerKt.LibrariesScaffold (cyclomatic 17): LibrariesContainerKt.LibrariesScaffold has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/libraries-info/src/main/java/com/t8rin/imagetoolbox/feature/libraries_info/presentation/components/LibrariesContainer.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d505e00937ba3030041d386b449957b0d189d838160a6ea9f53acb0506cc945"}},{"ruleId":"D1","level":"warning","message":{"text":"AddTodoScreenKt.AddTodoScreen (cyclomatic 17): AddTodoScreenKt.AddTodoScreen has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/AddTodoScreen.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de37a104d09a9629a9bfff6fb256722771bc26ce98682b2989e544b2c61797e"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaPickerGridWithOverlaysKt.MediaPickerGridWithOverlays (cyclomatic 17): MediaPickerGridWithOverlaysKt.MediaPickerGridWithOverlays has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerGridWithOverlays.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"990ef0f5da65a7541183209f1e925a453ecd13b5eb592da1592bd503550da342"}},{"ruleId":"D1","level":"warning","message":{"text":"OnDeviceOcrScreenKt.OnDeviceOcrScreen (cyclomatic 17): OnDeviceOcrScreenKt.OnDeviceOcrScreen has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/screen/OnDeviceOcrScreen.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcf1d9c71552a8572703ec6286b9674d571fb3d2528ba52cee83867e0a1a1aa"}},{"ruleId":"D1","level":"warning","message":{"text":"PagingDataItemScreenKt.PagingDataItemScreen (cyclomatic 17): PagingDataItemScreenKt.PagingDataItemScreen has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/online/src/main/java/com/shifenmiao/online/screen/PagingDataItemScreen.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2e1efe2977f97e230e8b691fff716c6d84eb933bc58ea9c45e7006e6821653"}},{"ruleId":"D1","level":"warning","message":{"text":"QrTypeUtilsKt.createRaw (cyclomatic 17): QrTypeUtilsKt.createRaw has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/QrTypeUtils.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"032c780a6469e818fa4d1aa641c26a67738137d4b00c44dd637f76397c9a26b1"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentPanelKt.DynamicContentControls (cyclomatic 17): ContentPanelKt.DynamicContentControls has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/panels/ContentPanel.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ac191f5d74c6f9d7fec70f4dab324644b245931b6180297d317ccc99026d34"}},{"ruleId":"D1","level":"warning","message":{"text":"XiangqiGameComponent.requestAiMove (cyclomatic 17): XiangqiGameComponent.requestAiMove has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c83884dd35230558d154506ccf5cc2bc67d896a34d20a5724611d887762cc8"}},{"ruleId":"D1","level":"warning","message":{"text":"GeometryUtils.createPathWithCircleCorner (cyclomatic 17): GeometryUtils.createPathWithCircleCorner has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9f843bce12d7dae01c70862d0166ddc1f4520b75020904aac93d87284bfc09"}},{"ruleId":"D1","level":"warning","message":{"text":"MermaidGitGraphSubPipeline.render (cyclomatic 17): MermaidGitGraphSubPipeline.render has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGitGraphSubPipeline.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf711f782afe552739d182f557b88f190cf56703e67388dd2feb589c27536b36"}},{"ruleId":"D1","level":"warning","message":{"text":"PlantUmlActivitySubPipeline.buildSequence (cyclomatic 17): PlantUmlActivitySubPipeline.buildSequence has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"972ffab283d5e64b1fe75df2ac5aa800cf7e342923465949db42b2df6142abaa"}},{"ruleId":"D1","level":"warning","message":{"text":"PlantUmlComponentSubPipeline.drawNode (cyclomatic 17): PlantUmlComponentSubPipeline.drawNode has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d6aebf8ab2acf206e24b5d04eedc7e227d881bf2e914ce8e7a481f8bc2b901"}},{"ruleId":"D1","level":"warning","message":{"text":"DocumentScannerActivity.onCreate (cyclomatic 17): DocumentScannerActivity.onCreate has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/documentscanner/src/main/java/com/t8rin/documentscanner/DocumentScannerActivity.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e8f160a5defecec5bb92bb670acfcbc30ed82ad30cc0e02d13501a7e2c05b5"}},{"ruleId":"D1","level":"warning","message":{"text":"SeamCarver.findLowestEnergyVerticalSeamAvoidingMask (cyclomatic 17): SeamCarver.findLowestEnergyVerticalSeamAvoidingMask has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/seam_carving/SeamCarver.kt"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7bf791707d5ee1f53f5ea0003f184f5ac8cf068781fb84282141c39fd61ccf"}},{"ruleId":"D1","level":"warning","message":{"text":"SeamCarver.findForwardVerticalSeamInternal (cyclomatic 17): SeamCarver.findForwardVerticalSeamInternal has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/seam_carving/SeamCarver.kt"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f0fe2cdd47d02f985d176b1e5455c8f4d6063dd20148ff0fca6c14b7808a63"}},{"ruleId":"D1","level":"warning","message":{"text":"SafWorkspaceFileScanner.scan (cyclomatic 16): SafWorkspaceFileScanner.scan 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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/SafWorkspaceFileScanner.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7cb86e596d715839ee06c8c08451887a549d567dfe2f02d679dcefce853598"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillFrontMatterParser.parse (cyclomatic 16): SkillFrontMatterParser.parse 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":"core/database/src/main/java/com/shifenmiao/database/ai/SkillFrontMatterParser.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"063d736a1da69a297eba58f74abf907c546bd642a89f476d784b289f02c4b455"}},{"ruleId":"D1","level":"warning","message":{"text":"MaterialComponentsKt.RowSelectorRenderer (cyclomatic 16): MaterialComponentsKt.RowSelectorRenderer 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. This shape REPEATS in the file: one other method here (MaterialComponentsKt.ColumnSelectorRenderer) 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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89dced8dc256655d0946a938a13bafda07bc6253f8b6687152daf114a1a8b52"}},{"ruleId":"D1","level":"warning","message":{"text":"MaterialComponentsKt.ColumnSelectorRenderer (cyclomatic 16): MaterialComponentsKt.ColumnSelectorRenderer 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. This shape REPEATS in the file: one other method here (MaterialComponentsKt.RowSelectorRenderer) 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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"892c22c1671b27514e8bcd2a4f1147c0c97b2d323cf5f85d3051344913eb4fa8"}},{"ruleId":"D1","level":"warning","message":{"text":"ModifierRegistry.registerBuiltins (cyclomatic 16): ModifierRegistry.registerBuiltins 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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/modifier/ModifierRegistry.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6e71508bf91b6aff236646eaa8ea0908652d5bb387cbe47aba637484ed2b08"}},{"ruleId":"D1","level":"warning","message":{"text":"TemplateFilter.equals (cyclomatic 16): TemplateFilter.equals 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/domain/model/TemplateFilter.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4bca86434082b2aae2233b7127a6fab6e07dda002ec0e7500da8501203959d"}},{"ruleId":"D1","level":"warning","message":{"text":"AsciiParamsItemKt.AsciiParamsItem (cyclomatic 16): AsciiParamsItemKt.AsciiParamsItem 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/AsciiParamsItem.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65e3a0dad0872904457d6334706b528e5c3945fcfa95e270ead8c205cd45779"}},{"ruleId":"D1","level":"warning","message":{"text":"ChineseDateRangePickerDialogKt.RangeDayCell (cyclomatic 16): ChineseDateRangePickerDialogKt.RangeDayCell has cyclomatic complexity 16 (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":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb1c85254efe84411be305496b9acb1ba4017eae0d82a7a6e5934bef6640c65"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageFormatSelectorKt.ImageFormatSelector (cyclomatic 16): ImageFormatSelectorKt.ImageFormatSelector 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageFormatSelector.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d1441542cb39615dac6182dddba6e32aafe7992fcf386ff04a5f0856dc67d4"}},{"ruleId":"D1","level":"warning","message":{"text":"GlassModifierKt.flatContainerCoverage (cyclomatic 16): GlassModifierKt.flatContainerCoverage 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassModifier.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a76d7a2d0b621fa0e7c9ee1603ced4a0732c27367dbf71fdcd4a124c17fe0c"}},{"ruleId":"D1","level":"warning","message":{"text":"GlassSegmentedButtonRowKt.GlassSegmentedButtonRowImpl (cyclomatic 16): GlassSegmentedButtonRowKt.GlassSegmentedButtonRowImpl 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSegmentedButtonRow.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bba153b9ec2bb44a5708804b444aa4fbbdbc5bc353f4c32c821ced62beda62"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageStickyHeaderKt.imageStickyHeader (cyclomatic 16): ImageStickyHeaderKt.imageStickyHeader 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImageStickyHeader.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f5309f1a42ceff6f80d675bcbfba8ff7b4e1ae40475efdfa40e45c968020ae"}},{"ruleId":"D1","level":"warning","message":{"text":"PictureKt.CoilPicture (cyclomatic 16): PictureKt.CoilPicture 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/Picture.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"5258c9401c84ad74c484c9239312bfbcd8fd90c42308a693db62489017b61f7f"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateAIAgentComponent.generate (cyclomatic 16): CreateAIAgentComponent.generate has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da1d41f3ddd37cf8ad400b2a88a71da245ae66b54d8a23076f3962de44569fb"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateAIPromptComponent.generate (cyclomatic 16): CreateAIPromptComponent.generate has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"774526c0a2788a04924a2f5e4ae629a224f586b994ce1bb3b1dae7da1e90520e"}},{"ruleId":"D1","level":"warning","message":{"text":"AiChatErrorFactory.inferKindFromText (cyclomatic 16): AiChatErrorFactory.inferKindFromText has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: AiChatErrorFactory.kindFor (cyclomatic 27) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/error/AiChatError.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"60226299f8b6711a346d20bc76dc1a759b0e6dac9a404f635690dd50409b87cf"}},{"ruleId":"D1","level":"warning","message":{"text":"ProtocolRoutingAIRequestHandler.parseResponsesOutputItem (cyclomatic 16): ProtocolRoutingAIRequestHandler.parseResponsesOutputItem has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"385978631f9188cc107268ce284096f5b67c97efaccd7fd825482dd5c180546b"}},{"ruleId":"D1","level":"warning","message":{"text":"AIChatScreenKt.AIChatScreen (cyclomatic 16): AIChatScreenKt.AIChatScreen has cyclomatic complexity 16 (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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"553ab033d7885f58dd380cf749f6f5f85d87947e1c2f0e4534c16d9c69b83d5b"}},{"ruleId":"D1","level":"warning","message":{"text":"NewChatInputKt.StandardInputSection (cyclomatic 16): NewChatInputKt.StandardInputSection 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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d81ecd395a053f18b1df5c4839edf8b5fe43db10ade638fd8da1f813486dc3f"}},{"ruleId":"D1","level":"warning","message":{"text":"NewChatInputKt.getStateText (cyclomatic 16): NewChatInputKt.getStateText 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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd3117a95ffbc25734a24b72a99a57eb1fe25d3e331ef484a0489c810ff0b73"}},{"ruleId":"D1","level":"warning","message":{"text":"AppContentKt.StreamingRobotController (cyclomatic 16): AppContentKt.StreamingRobotController 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":"feature/app/src/main/java/com/wanbaohe/app/AppContent.kt"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6777882a21cf2dff65b6c6e821edc177cf3f264adaa3b3e213f237ee5fc2b0"}},{"ruleId":"D1","level":"warning","message":{"text":"BlessingWallScreenKt.BlessingPage (cyclomatic 16): BlessingWallScreenKt.BlessingPage 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":"feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/screen/BlessingWallScreen.kt"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d80dc33772caad2d40e5f8dd4b6614b5a9499fd96bed2d4d481e12c722d4e87"}},{"ruleId":"D1","level":"warning","message":{"text":"LunarCalendarCalculator.solarToLunar (cyclomatic 16): LunarCalendarCalculator.solarToLunar 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":"feature/calendar/src/main/java/com/wanbaohe/calendar/data/LunarCalendarCalculator.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b956507c4eae4cfa78ba4f933145669f2df07313299a79f0f84f0fdb50c7899f"}},{"ruleId":"D1","level":"warning","message":{"text":"CalendarShareScreenKt.CalendarShareScreen (cyclomatic 16): CalendarShareScreenKt.CalendarShareScreen 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":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9510ecab7da71e1c244919e41b5c56bc0421ab0aecf241e5029bee2bcdf9bb4"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversionTabKt.BuddhistCalendarCard (cyclomatic 16): ConversionTabKt.BuddhistCalendarCard 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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5cc496046fb7ebf75d6a3e2c5f8799f9ed6f9fcafc5326ac7a26716a147c8f"}},{"ruleId":"D1","level":"warning","message":{"text":"ChessGameComponent.start (cyclomatic 16): ChessGameComponent.start 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"855607e7f4b76517b58944de77eeba60b747f7db5122189c005e96188c3f05bd"}},{"ruleId":"D1","level":"warning","message":{"text":"ChessLibraryScreenKt.toCardData (cyclomatic 16): ChessLibraryScreenKt.toCardData has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"753ec3bda3339d4ced5899e9db9548d245a591f748e408b491441ed82fda0ac1"}},{"ruleId":"D1","level":"warning","message":{"text":"CollageMakerContentKt.CollageMakerContent (cyclomatic 16): CollageMakerContentKt.CollageMakerContent 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":"feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"296d9632d5650fc6dddce39ff9a255f0ca6666aeefd01c633908ab3bcbf5c4ff"}},{"ruleId":"D1","level":"warning","message":{"text":"CommentsBottomSheetKt.CommentsList (cyclomatic 16): CommentsBottomSheetKt.CommentsList 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":"feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsBottomSheet.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"050d843d6c2bba2ae2b226f299f32d74213c95ced82ca4ba4906f1aea21250be"}},{"ruleId":"D1","level":"warning","message":{"text":"GameEngine.move (cyclomatic 16): GameEngine.move has cyclomatic complexity 16 (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":"feature/game2048/src/main/java/com/wanbaohe/game2048/component/GameEngine.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87e36c351c519a475a37a85bd2de7baf74af42cdc9bace771dedf3e344f0c3c"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownEditorScreenKt.MarkdownEditorScreen (cyclomatic 16): MarkdownEditorScreenKt.MarkdownEditorScreen 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":"feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9943f08f6a043243f46ffe0eef2fd6c8554a41ee387c8ec76e622582333dea"}},{"ruleId":"D1","level":"warning","message":{"text":"TextLayerExportRenderer.draw (cyclomatic 16): TextLayerExportRenderer.draw 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/TextLayerExportRenderer.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"46df3d037e554ec4b7045b39b075af246f45acaf5bf68e9c82103f5f0cd9eef1"}},{"ruleId":"D1","level":"warning","message":{"text":"PasswordStrengthEvaluator.evaluate (cyclomatic 16): PasswordStrengthEvaluator.evaluate 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":"feature/password-vault/src/main/java/com/wanbaohe/passwordvault/util/PasswordStrength.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd9d47a8f4749e0c55ef192d7cc65cd50726cc7fea03940df924fd9428810b2"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillManagementScreenKt.SkillManagementContent (cyclomatic 16): SkillManagementScreenKt.SkillManagementContent has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/skill/screen/SkillManagementScreen.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85cca7a3459d0eb8049b39e647432757d91284fcf55f219052b285687daf99c"}},{"ruleId":"D1","level":"warning","message":{"text":"SudokuEngine.generatePuzzleOnce (cyclomatic 16): SudokuEngine.generatePuzzleOnce 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":"feature/sudoku/src/main/java/com/wanbaohe/sudoku/logic/SudokuEngine.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcb49ebb8a2816b81d6dbeab4977263078f020d10106e73c4f7a3b2d6953ab9"}},{"ruleId":"D1","level":"warning","message":{"text":"TeleprompterPlayerScreenKt.TeleprompterPlayerScreen (cyclomatic 16): TeleprompterPlayerScreenKt.TeleprompterPlayerScreen 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":"feature/teleprompter/src/main/java/com/wanbaohe/teleprompter/screen/TeleprompterPlayerScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"695338f5271aea325ebc42d0bf842b62fae1360474563ef91ccc42c2297cee14"}},{"ruleId":"D1","level":"warning","message":{"text":"CardAnnotationLayerKt.CardAnnotationLayer (cyclomatic 16): CardAnnotationLayerKt.CardAnnotationLayer has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/CardAnnotationLayer.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6d02485d87d9a01fcf3c8d6b77df94865874f41cdad8149ffe371a88f132c7"}},{"ruleId":"D1","level":"warning","message":{"text":"XiangqiGameScreenKt.XiangqiPlayersRow (cyclomatic 16): XiangqiGameScreenKt.XiangqiPlayersRow has cyclomatic complexity 16 (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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e220155198be0d2535ea39a73777334f091aa62e13bbcfaf8650a364cdb182"}},{"ruleId":"D1","level":"warning","message":{"text":"ParamsManager.updateParams (cyclomatic 16): ParamsManager.updateParams 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":"libs/collages/src/main/java/com/t8rin/collages/utils/ParamsManager.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9aece910a0d787949ff46eb228f5a473b4b6c8027f90d249a202f5659ae9f03"}},{"ruleId":"D1","level":"warning","message":{"text":"MermaidMindmapSubPipeline.render (cyclomatic 16): MermaidMindmapSubPipeline.render 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de1527e29fac6bf7735de787c2b6d1b9b37fa2e752c6131a11cb57c4d4e1b4b"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownDocumentRendererKt.MarkdownDocumentRenderer (cyclomatic 16): MarkdownDocumentRendererKt.MarkdownDocumentRenderer 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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/MarkdownDocumentRenderer.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbdea7f49e993c9ecc0a7d91eb63c4474981c56afe051fab5c7e42ed06d93b1"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownTextSearchKt.findTextMatches (cyclomatic 16): MarkdownTextSearchKt.findTextMatches 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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/MarkdownTextSearch.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bf714a7a11eed6d1ebdfc074e7a9ba62e9c8032aad047e4ad1f99e74659266"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectionModelIndexKt.buildSelectionIndexFromLayout (cyclomatic 16): SelectionModelIndexKt.buildSelectionIndexFromLayout has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/selection/SelectionModelIndex.kt"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e4c0d87dacba721daed206ac6e80702fec5efc5397b729686718d55ae08ae1"}},{"ruleId":"D1","level":"warning","message":{"text":"transfers.mergeCompletedDuplicates (cyclomatic 16): transfers.mergeCompletedDuplicates has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/transfer/transfers.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a5c474afeb720cb26a186f9bce8952ac35131273520af2218c7164dacfe831"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidSessionPipeline.preprocessForStyle (cognitive 182): MermaidSessionPipeline.preprocessForStyle has cognitive complexity 182 (threshold 15). Drivers by points: if/else 51 (117 pts), loops 11 (48 pts), boolean chains 17 (nesting depth added 103). 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"205c72eca592ed2144cb2dba364afdee6035fba2bfa8634b8ac26874715f4643"}},{"ruleId":"D2","level":"warning","message":{"text":"HandleDeeplinksKt.handleDeeplinks (cognitive 135): HandleDeeplinksKt.handleDeeplinks has cognitive complexity 135 (threshold 15). Drivers by points: if/else 44 (117 pts), boolean chains 10, match/switch 3 (8 pts) (nesting depth added 78). 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/HandleDeeplinks.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"758a225052055d70f5f9c2d090e9960094790f60d6684858556dca7d038c9995"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudStorageScreenKt.CloudStorageScreen (cognitive 102): CloudStorageScreenKt.CloudStorageScreen has cognitive complexity 102 (threshold 15). Drivers by points: if/else 66 (91 pts), boolean chains 7, match/switch 2 (4 pts) (nesting depth added 27). 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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/CloudStorageScreen.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9246815fa30b36a2eaf06eb542d6d55ea87baeca26b5930b99c391a859a39d3"}},{"ruleId":"D2","level":"warning","message":{"text":"DocConvertTaskListScreenKt.DocConvertTaskItem (cognitive 100): DocConvertTaskListScreenKt.DocConvertTaskItem has cognitive complexity 100 (threshold 15). Drivers by points: if/else 48 (92 pts), boolean chains 5, match/switch 3 (nesting depth added 44). 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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bed2632c4fa3e516b278189792c265656a91103eef5971be668189a6cb966a"}},{"ruleId":"D2","level":"warning","message":{"text":"AIEngineSettingsDetailScreenKt.AIEngineSettingsDetailScreen (cognitive 94): AIEngineSettingsDetailScreenKt.AIEngineSettingsDetailScreen has cognitive complexity 94 (threshold 15). Drivers by points: if/else 57 (80 pts), boolean chains 14 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6191ed53f14832ca8b170cae6a7390eee32723bf67464b7507ee9cf7be16f6"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineFlowLayoutEngineKt.computeInlineFlowLayout (cognitive 88): InlineFlowLayoutEngineKt.computeInlineFlowLayout has cognitive complexity 88 (threshold 15). Drivers by points: if/else 21 (62 pts), loops 5 (16 pts), boolean chains 8, match/switch 1 (2 pts) (nesting depth added 53). 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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/inline/InlineFlowLayoutEngine.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"261de28789c8cff24ce81e6b25e4bb23e686bef6fe1d566def1e9660e22cfa42"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardGameGifExportDialogKt.BoardGameGifExportDialog (cognitive 85): BoardGameGifExportDialogKt.BoardGameGifExportDialog has cognitive complexity 85 (threshold 15). Drivers by points: if/else 36 (55 pts), error handling 11 (14 pts), boolean chains 10, match/switch 2 (6 pts) (nesting depth added 26). 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":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/export/BoardGameGifExportDialog.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e56f9eeff30e243871a0117e95b5d88061efd25dca7c51f9e345369b6b4c6c7"}},{"ruleId":"D2","level":"warning","message":{"text":"TextCardEditorScreenKt.TextCardEditorScreen (cognitive 83): TextCardEditorScreenKt.TextCardEditorScreen has cognitive complexity 83 (threshold 15). Drivers by points: if/else 48 (65 pts), boolean chains 13, match/switch 5 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48dac13d963aa9bcdbe12771bee756b40e84e1fadf014ea347452c0f511afeb"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlSubPipelineRegistry.detectBufferedKind (cognitive 83): PlantUmlSubPipelineRegistry.detectBufferedKind has cognitive complexity 83 (threshold 15). Drivers by points: if/else 26 (51 pts), boolean chains 30, loops 1, match/switch 1 (nesting depth added 25). 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSubPipelineRegistry.kt"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec6ed7b0ff7946fc12fa1f0122273989ce0424c922bc9ddc28167009e7a696c"}},{"ruleId":"D2","level":"warning","message":{"text":"FileBrowserScreenKt.FileBrowserScreen (cognitive 82): FileBrowserScreenKt.FileBrowserScreen has cognitive complexity 82 (threshold 15). Drivers by points: if/else 50 (77 pts), boolean chains 5 (nesting depth added 27). 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":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/screen/FileBrowserScreen.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8bc62f3d28871d7eb4f46c26641468aaccc4bd26aaab36e634f70e4eafe188"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownInlineDecorationKt.resolveInlineEndMarkers (cognitive 74): MarkdownInlineDecorationKt.resolveInlineEndMarkers has cognitive complexity 74 (threshold 15). Drivers by points: if/else 42 (64 pts), boolean chains 4, loops 2 (3 pts), match/switch 2 (3 pts) (nesting depth added 24). 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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/MarkdownInlineDecoration.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a17e667070a76f3415904f64a77178c8ee3e263ee6c2daf849aeab00145631"}},{"ruleId":"D2","level":"warning","message":{"text":"FileUtils.getPath (cognitive 71): FileUtils.getPath has cognitive complexity 71 (threshold 15). Drivers by points: if/else 24 (54 pts), error handling 2 (10 pts), loops 1 (5 pts), boolean chains 2 (nesting depth added 42). 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":"core/base/src/main/java/com/shifenmiao/base/utils/FileUtils.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f4a9236b3a9c5a04615fb6ce3892eea4c2d74b47047c39fc2a4a1241825468"}},{"ruleId":"D2","level":"warning","message":{"text":"MeasurementScreenKt.FullScreenRulerBackground (cognitive 70): MeasurementScreenKt.FullScreenRulerBackground has cognitive complexity 70 (threshold 15). Drivers by points: match/switch 12 (32 pts), if/else 16 (30 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 36). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6581a0da5813a43be67e6f937659b4afc66419580bf8c49d0c95e0583851b9"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorScaffoldKt.EditorCanvas (cognitive 68): EditorScaffoldKt.EditorCanvas has cognitive complexity 68 (threshold 15). Drivers by points: if/else 27 (50 pts), boolean chains 15, match/switch 1 (2 pts), loops 1 (nesting depth added 24). 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c7898e213db3ba2f2c80e1ba2434568e552ef6819699ae8de96afb5c7a248c"}},{"ruleId":"D2","level":"warning","message":{"text":"GlassMaterialKt.glassVeil (cognitive 67): GlassMaterialKt.glassVeil has cognitive complexity 67 (threshold 15). Drivers by points: if/else 34 (38 pts), boolean chains 21, match/switch 8 (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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassMaterial.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3297f83e94fe5817beefa2fa292c0161bfc34d572afac358810190ef6b9fe5e"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorScaffoldKt.EditorScaffold (cognitive 66): EditorScaffoldKt.EditorScaffold has cognitive complexity 66 (threshold 15). Drivers by points: if/else 37 (47 pts), match/switch 8 (10 pts), boolean chains 9 (nesting depth added 12). 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4946ee426bf4ffe90fbe0ac336ff7a388cd62982f212b37cf70ed436c007bd21"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlStateSubPipeline.renderState (cognitive 65): PlantUmlStateSubPipeline.renderState has cognitive complexity 65 (threshold 15). Drivers by points: if/else 24 (53 pts), loops 5 (7 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 32). 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b0466fe09eb746257380359de26e54625d2f19fa8e957b591334a341f26999"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlErdSubPipeline.renderDraw (cognitive 61): PlantUmlErdSubPipeline.renderDraw has cognitive complexity 61 (threshold 15). Drivers by points: if/else 22 (36 pts), match/switch 4 (9 pts), boolean chains 8, loops 4 (8 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b5f5f43536061bb5699eced9b50191ab947dd9f4512ab4865e452c681ce37b"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatScreenKt.ChatScreen (cognitive 60): ChatScreenKt.ChatScreen has cognitive complexity 60 (threshold 15). Drivers by points: if/else 36 (43 pts), boolean chains 14, error handling 1 (2 pts), loops 1 (nesting depth added 8). 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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f03ebc3b570d93c3d8b0e19136eaa77998c911f4616ca6ad2d2dd0a669cbea"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidClassSubPipeline.renderClass (cognitive 60): MermaidClassSubPipeline.renderClass has cognitive complexity 60 (threshold 15). Drivers by points: if/else 18 (35 pts), loops 10 (17 pts), boolean chains 6, match/switch 1 (2 pts) (nesting depth added 25). 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"288d3b3dede754ea68b0aa948e9f036ee629d8d041b5d230e2d22f4423967ce1"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidXYChartSubPipeline.render (cognitive 59): MermaidXYChartSubPipeline.render has cognitive complexity 59 (threshold 15). Drivers by points: if/else 22 (41 pts), loops 7 (13 pts), boolean chains 3, match/switch 2 (nesting depth added 25). 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidXYChartSubPipeline.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f14a8cd6d3b03aae0a695139c69f2114f6daf5749edbb2f7023c83afdb38ec"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidImageDrawApplier.applyDrawToImage (cognitive 58): AndroidImageDrawApplier.applyDrawToImage has cognitive complexity 58 (threshold 15). Drivers by points: if/else 28 (50 pts), boolean chains 7, match/switch 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb788a5d784badb92f5bf1d8b668ead0162489add1f100ff9e100e881fdb97d"}},{"ruleId":"D2","level":"warning","message":{"text":"GeometryUtils.createPathWithCircleCorner (cognitive 58): GeometryUtils.createPathWithCircleCorner has cognitive complexity 58 (threshold 15). Drivers by points: if/else 20 (52 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b46a7c4f7f1230914bed5a9a02ffe67603f593d4adebeff0d2d7a1843a67cf"}},{"ruleId":"D2","level":"warning","message":{"text":"AIDuelChatComponent.streamWithTypewriter (cognitive 57): AIDuelChatComponent.streamWithTypewriter has cognitive complexity 57 (threshold 15). Drivers by points: if/else 24 (45 pts), boolean chains 7, error handling 2, loops 2, match/switch 1 (nesting depth added 21). 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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a1b0761df4eee75dfb40bef978d824a97b804c71fff370cda1e23f1688a2a5"}},{"ruleId":"D2","level":"warning","message":{"text":"push_images.main (cognitive 56): push_images.main has cognitive complexity 56 (threshold 15). Drivers by points: if/else 16 (27 pts), loops 7 (18 pts), error handling 3 (8 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fastlane/push_images.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3968b88be6701996ff0d9c0307bef0679f451beb19d905e0ef9217e602bfb2a"}},{"ruleId":"D2","level":"warning","message":{"text":"BottomButtonsBlockKt.BottomButtonsBlock (cognitive 55): BottomButtonsBlockKt.BottomButtonsBlock has cognitive complexity 55 (threshold 15). Drivers by points: if/else 32 (53 pts), boolean chains 2 (nesting depth added 21). 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/BottomButtonsBlock.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89bd702aec06e53118b15649b9effc30d14d80e3bec0b988db18cfabac54773"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtocolRoutingAIRequestHandler.handleChatStreamOperation (cognitive 55): ProtocolRoutingAIRequestHandler.handleChatStreamOperation has cognitive complexity 55 (threshold 15). Drivers by points: if/else 20 (39 pts), error handling 6 (7 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 21). 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":"feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ed0b1474135ab2c508f124b196a1a53150147063d1570ce8b5a8c0d271a330"}},{"ruleId":"D2","level":"warning","message":{"text":"GomokuOnlineGameSync.accept (cognitive 55): GomokuOnlineGameSync.accept has cognitive complexity 55 (threshold 15). Drivers by points: if/else 23 (37 pts), boolean chains 8, error handling 4 (7 pts), match/switch 2 (3 pts) (nesting depth added 18). 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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50bfd09e091bf3cff366029d3a697475839aae889398f4f906df3e750af17ff"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlClassSubPipeline.renderClass (cognitive 55): PlantUmlClassSubPipeline.renderClass has cognitive complexity 55 (threshold 15). Drivers by points: if/else 19 (35 pts), loops 7 (13 pts), boolean chains 5, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5b71a152b1e394969072f64ed1b90ef17122e0e2dc5135aa863e019d0e5f19"}},{"ruleId":"D2","level":"warning","message":{"text":"ChessBoardKt.ChessBoard (cognitive 54): ChessBoardKt.ChessBoard has cognitive complexity 54 (threshold 15). Drivers by points: if/else 20 (39 pts), loops 5 (7 pts), boolean chains 5, match/switch 1 (3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/ui/board/ChessBoard.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2adcd02a2883ef7d7e26b2994a4c4b54c50878c90ae4b2175e78a985d4400ed"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidGanttSubPipeline.render (cognitive 53): MermaidGanttSubPipeline.render has cognitive complexity 53 (threshold 15). Drivers by points: if/else 19 (40 pts), loops 5 (8 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 26). 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGanttSubPipeline.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a9571990e780dd9c31425ba00d962c8951453aa3477b2b4f855ab7c457a5ed"}},{"ruleId":"D2","level":"warning","message":{"text":"GeometryUtils.shrinkPathCollage_3_3 (cognitive 52): GeometryUtils.shrinkPathCollage_3_3 has cognitive complexity 52 (threshold 15). Drivers by points: if/else 21 (43 pts), boolean chains 8, loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65643b05cfbda0270f5ae0692f13fde85bbfe4ff7d8e6b80ce12bffe5cb6e07"}},{"ruleId":"D2","level":"warning","message":{"text":"QWeatherDataSourceKt.compassText (cognitive 51): QWeatherDataSourceKt.compassText has cognitive complexity 51 (threshold 15). Drivers by points: if/else 34 (50 pts), match/switch 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36b1c148843c7f64d6f57cd8d181e467398e30c15e546cc6ae20fe49938580f"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthCodeSettingsScreenKt.AuthCodeFlowDialog (cognitive 51): AuthCodeSettingsScreenKt.AuthCodeFlowDialog has cognitive complexity 51 (threshold 15). Drivers by points: if/else 28 (37 pts), match/switch 5 (8 pts), boolean chains 6 (nesting depth added 12). 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":"feature/settings/src/main/java/com/wanbaohe/setting/authcode/screen/AuthCodeSettingsScreen.kt"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"797b3487aec238e90fec883e1ecabaf39f2079675744fb67a69f15d024b99d51"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlSequenceSubPipeline.renderSequence (cognitive 50): PlantUmlSequenceSubPipeline.renderSequence has cognitive complexity 50 (threshold 15). Drivers by points: if/else 16 (36 pts), match/switch 3 (7 pts), loops 4, boolean chains 3 (nesting depth added 24). 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c4e3f89aa2f7ebfef70a271c0bdf7e220edd7f2534240da468b43296719a9a"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlActivitySubPipeline.render (cognitive 49): PlantUmlActivitySubPipeline.render has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (36 pts), loops 5 (9 pts), match/switch 2 (4 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"b233e0014777c232fe0e76a5213d046cbe55b8f3ed1f407307277d93d43b7964"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlSubPipelineRegistry.classifyImmediate (cognitive 48): PlantUmlSubPipelineRegistry.classifyImmediate has cognitive complexity 48 (threshold 15). Drivers by points: if/else 26, boolean chains 22. 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSubPipelineRegistry.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0fa0c283c0d31dec7a914c02b12c41528a75ba2ff3ca87ef2b436aafabe93c"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidFileController.saveImpl (cognitive 47): AndroidFileController.saveImpl has cognitive complexity 47 (threshold 15). Drivers by points: if/else 25 (40 pts), boolean chains 7 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/saving/AndroidFileController.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa59655484c5f95040a92040c241f43d22e8b1627f0c6a56ddc8322ab3ecdb8"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaPickerGridKt.MediaPickerGrid (cognitive 47): MediaPickerGridKt.MediaPickerGrid has cognitive complexity 47 (threshold 15). Drivers by points: if/else 29 (39 pts), boolean chains 5, loops 1 (2 pts), match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerGrid.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"97eae239d4499b64681cd0d062f9f898236141860c8511f88b878faf092e79b7"}},{"ruleId":"D2","level":"warning","message":{"text":"AIPromptExecutor.executeStreaming (cognitive 46): AIPromptExecutor.executeStreaming has cognitive complexity 46 (threshold 15). Drivers by points: if/else 16 (35 pts), error handling 2 (5 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 24). 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":"feature/common/src/main/java/com/shifenmiao/common/ai/AIPromptExecutor.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d8c0a7d0ecceb555e5bb89e108631d5b862ca4c184261180420b9f30444f92"}},{"ruleId":"D2","level":"warning","message":{"text":"AIAddEngineScreenKt.AIAddEngineScreen (cognitive 46): AIAddEngineScreenKt.AIAddEngineScreen has cognitive complexity 46 (threshold 15). Drivers by points: if/else 22 (32 pts), boolean chains 12, match/switch 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIAddEngineScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"16682bdb80b6c21771384b4022105e234ce8289761f6d47fe901af065adf9c65"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlTimeSeriesSubPipeline.render (cognitive 46): PlantUmlTimeSeriesSubPipeline.render has cognitive complexity 46 (threshold 15). Drivers by points: if/else 20 (35 pts), boolean chains 9, loops 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlTimeSeriesSubPipeline.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e437fcca890035871c079c8555d04b18bd61ee37bde2702922bc585a64c0c8fc"}},{"ruleId":"D2","level":"warning","message":{"text":"updateDiagramPreviews (cognitive 46): updateDiagramPreviews has cognitive complexity 46 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 8, ternaries 3 (8 pts), error handling 3 (7 pts) (nesting depth added 16). Most of this is not in the body itself: 2 of the 46 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 538, 581, 591). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/editor.src.js"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"393b8b63b228f6ab0939357eb4424c5bfa083faf5b1ffb6a2735fe47e856a78a"}},{"ruleId":"D2","level":"warning","message":{"text":"AdaptiveLayoutScreenKt.AdaptiveLayoutScreen (cognitive 45): AdaptiveLayoutScreenKt.AdaptiveLayoutScreen has cognitive complexity 45 (threshold 15). Drivers by points: if/else 22 (33 pts), boolean chains 12 (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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveLayoutScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b099a30201a05f7abadd74ab30e2e9f8de34bd3dc13fb76033451cdfdc42fb65"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidErSubPipeline.renderDraw (cognitive 45): MermaidErSubPipeline.renderDraw has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (28 pts), loops 4 (8 pts), match/switch 3 (7 pts), boolean chains 2 (nesting depth added 19). 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f7cbced0b76109486b774a34744d786ef8bf19b2169fac9f63f1a5930b96ec"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorLayerBoxKt.EditorLayerBox (cognitive 44): EditorLayerBoxKt.EditorLayerBox has cognitive complexity 44 (threshold 15). Drivers by points: if/else 23 (34 pts), boolean chains 9, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f89c6aa01323b703308ba29f9dc7f7150dfb10d715608a2b250aefc3d8045c"}},{"ruleId":"D2","level":"warning","message":{"text":"UiPathPaintCanvasActionKt.UiPathPaintCanvasAction (cognitive 44): UiPathPaintCanvasActionKt.UiPathPaintCanvasAction has cognitive complexity 44 (threshold 15). Drivers by points: if/else 18 (29 pts), loops 3 (9 pts), boolean chains 6 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/UiPathPaintCanvasAction.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d046e9c1248114abaaba9e864c313ae18379350bd6fa15de8cfffe7c85fad8"}},{"ruleId":"D2","level":"warning","message":{"text":"WatermarkCanvasKt.WatermarkCanvas (cognitive 44): WatermarkCanvasKt.WatermarkCanvas has cognitive complexity 44 (threshold 15). Drivers by points: if/else 20 (35 pts), boolean chains 6, match/switch 1 (2 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/canvas/WatermarkCanvas.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11ecbc065604de0595bfe0b7400b5fa796233934299dabc37baf02ab36344ee"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraCaptureFlowKt.CameraCaptureFlow (cognitive 43): CameraCaptureFlowKt.CameraCaptureFlow has cognitive complexity 43 (threshold 15). Drivers by points: if/else 21 (28 pts), boolean chains 8, error handling 4 (5 pts), match/switch 2 (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":"core/camera/src/main/java/com/wanbaohe/camera/CameraCaptureFlow.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e980bb73b2c828ca2782eca7eba73362f1aded11f7089024564844fa9f805fb"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidStateSubPipeline.renderState (cognitive 43): MermaidStateSubPipeline.renderState has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (31 pts), loops 5 (7 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 18). 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"32068a2873f25156ff3666ffbc60954fdf84d03c39ae512adee695248ec78610"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidFilenameCreator.constructImageFilename (cognitive 42): AndroidFilenameCreator.constructImageFilename has cognitive complexity 42 (threshold 15). Drivers by points: if/else 28 (36 pts), boolean chains 6 (nesting depth added 8). 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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/saving/AndroidFilenameCreator.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4312da5e7318d0c0233a93623509c1e54807d6b156cf637851ff8b6fd78623"}},{"ruleId":"D2","level":"warning","message":{"text":"DragHandlerKt.dragHandler (cognitive 42): DragHandlerKt.dragHandler has cognitive complexity 42 (threshold 15). Drivers by points: if/else 20 (35 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 18). 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/DragHandler.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa4f157637ce5e0ad3f79fba5a5984d9d70a06cb20c1958b420a2ee11641171"}},{"ruleId":"D2","level":"warning","message":{"text":"TopAppBarTitleKt.TopAppBarTitle (cognitive 42): TopAppBarTitleKt.TopAppBarTitle has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 8, match/switch 2 (6 pts) (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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/TopAppBarTitle.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2519aae96f22fae6a1a03cd8c26f255b651d03471e20c09872c85f10b326beb5"}},{"ruleId":"D2","level":"warning","message":{"text":"AIChatComponent.executeStreamingChat (cognitive 42): AIChatComponent.executeStreamingChat has cognitive complexity 42 (threshold 15). Drivers by points: if/else 21 (25 pts), error handling 5 (6 pts), match/switch 3 (6 pts), boolean chains 5 (nesting depth added 8). 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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatComponent.kt"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"812e56395cbfde3127ee485472e18e71038a1b984c557b12bc416e41e2c1f0eb"}},{"ruleId":"D2","level":"warning","message":{"text":"AIDuelChatComponent.runDuelLoop (cognitive 42): AIDuelChatComponent.runDuelLoop has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (26 pts), error handling 4 (8 pts), boolean chains 6, loops 1, match/switch 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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fdef8facd6fa336aa6dd89bed558c8a0366004b99dba1fe7778e98b7896818"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryRepository.buildPromptFragment (cognitive 42): MemoryRepository.buildPromptFragment has cognitive complexity 42 (threshold 15). Drivers by points: if/else 21 (29 pts), loops 2 (5 pts), boolean chains 4, match/switch 1 (4 pts) (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":"feature/ai/src/main/java/com/shifenmiao/ai/memory/MemoryRepository.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d096393734f1ef3c980fbe5f8d6822f11917ea798409e1844fd6da08d5bda54"}},{"ruleId":"D2","level":"warning","message":{"text":"EventNodesKt.foldChunks (cognitive 42): EventNodesKt.foldChunks has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 6 (13 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 21). 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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/EventNodes.kt"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef4298505822e547ad5cb07bbcaaa244acc13865df1932ed0023cbe83c92997"}},{"ruleId":"D2","level":"warning","message":{"text":"PaletteEditorKt.PaletteEditor (cognitive 41): PaletteEditorKt.PaletteEditor has cognitive complexity 41 (threshold 15). Drivers by points: if/else 23 (41 pts) (nesting depth added 18). 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":"feature/color-tools/src/main/java/com/t8rin/imagetoolbox/color_tools/presentation/components/PaletteEditor.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59524490ad45965c3a20b49571b782d6dc9567d273df53b4b5957268a6b38bc"}},{"ruleId":"D2","level":"warning","message":{"text":"EventNodesKt.extractNodes (cognitive 41): EventNodesKt.extractNodes has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (30 pts), loops 2 (6 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 24). 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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/EventNodes.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbae9ac703620ff39145ae6e843bedc586fdbb4a1bb9a42dbd42f9a57c8b807a"}},{"ruleId":"D2","level":"warning","message":{"text":"QuickAddTextParser.parseTimeMatch (cognitive 41): QuickAddTextParser.parseTimeMatch has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (24 pts), match/switch 5 (9 pts), boolean chains 8 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/domain/QuickAddTextParser.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f758eca5ca8643d7c56a7c915a8af445f862f2859c8f76c9cde4817a811eaaf"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiBoardKt.XiangqiBoard (cognitive 41): XiangqiBoardKt.XiangqiBoard has cognitive complexity 41 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 8, loops 4 (5 pts), match/switch 1 (4 pts) (nesting depth added 9). 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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/board/XiangqiBoard.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bdbbeb1b3e71cecccfcf053fe42582bcef62c7b08270abeb9e7b3d8e74f846"}},{"ruleId":"D2","level":"warning","message":{"text":"GeometryUtils.shrinkPath (cognitive 41): GeometryUtils.shrinkPath has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (31 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"68173b5a173d437abaf5d5e28f203d309c922818d21d8c814aff93b53e91cb65"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformGestureKt.detectPointerTransformGestures (cognitive 41): TransformGestureKt.detectPointerTransformGestures has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (33 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 22). 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":"libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"57baabb595c7fea8cc49324bc9dda2f34f8a7f6b37d31caa6c987ca0fc786688"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageExpander.copyUnknownPatch (cognitive 41): ImageExpander.copyUnknownPatch has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (34 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/expand/ImageExpander.kt"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c3b02abfa845a1cb4bfaf5c41b4121397e418f4ed836ccab2141b7e27f06aa"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidImageCombiner.combineImages (cognitive 40): AndroidImageCombiner.combineImages has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (22 pts), match/switch 5 (14 pts), boolean chains 3, loops 1 (nesting depth added 14). 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":"feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/data/AndroidImageCombiner.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e6f6ed833de2bc81ee68cde7456a1979f283c6c1c45adefe3aab5e18cfc776"}},{"ruleId":"D2","level":"warning","message":{"text":"SudokuEngine.generatePuzzleOnce (cognitive 40): SudokuEngine.generatePuzzleOnce has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (34 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 21). 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":"feature/sudoku/src/main/java/com/wanbaohe/sudoku/logic/SudokuEngine.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb8c1b7544e5228ce85105a2add08bf416439a07835e3e4511cc8d61240c1ca"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlActivitySubPipeline.buildSequence (cognitive 40): PlantUmlActivitySubPipeline.buildSequence has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 4 (11 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad0197d495d7d646f14d7dc26304ec65198904e771dbfc3d53a6e039d006392"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineLayoutContentKt.drawInlineUnderlines (cognitive 40): InlineLayoutContentKt.drawInlineUnderlines has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 3 (7 pts), boolean chains 4, match/switch 1 (3 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/compose/InlineLayoutContent.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfef47f3f43368b540d195be2cc6a6df2d1a4e59688299dd2ed9bf02c95628d"}},{"ruleId":"D2","level":"warning","message":{"text":"GlassOutlinedTextFieldKt.modernGlassTextFieldContainer (cognitive 39): GlassOutlinedTextFieldKt.modernGlassTextFieldContainer has cognitive complexity 39 (threshold 15). Drivers by points: if/else 28 (31 pts), match/switch 5 (7 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ab8de314f6dd32d722d328ec29465e82bfc6bbd5c919983b9141e69eeb26ba"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownSummary.derive (cognitive 38): MarkdownSummary.derive has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (29 pts), boolean chains 7, loops 1, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/utils/src/main/java/com/wanbaohe/com/string/MarkdownSummary.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0dd705823735f6dee2c755f2bb5362c6e8d6d2e250a31cc1ec212c7a6aa0d8"}},{"ruleId":"D2","level":"warning","message":{"text":"ChessPlayersRowKt.ChessPlayersRow (cognitive 38): ChessPlayersRowKt.ChessPlayersRow has cognitive complexity 38 (threshold 15). Drivers by points: if/else 25 (27 pts), boolean chains 8, match/switch 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d46c1a61712331195d824b9b3d1f5b306034a99720ffb372247d76f117f139a"}},{"ruleId":"D2","level":"warning","message":{"text":"CompareScreenContentImplKt.CompareScreenContentImpl (cognitive 38): CompareScreenContentImplKt.CompareScreenContentImpl has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (34 pts), boolean chains 3, match/switch 1 (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/components/CompareScreenContentImpl.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44eed1f7a51925b5f01336cedf1318a9055c32837c9980d5c6d2d070b8ee4fe"}},{"ruleId":"D2","level":"warning","message":{"text":"EventNodesKt.nodesFor (cognitive 38): EventNodesKt.nodesFor has cognitive complexity 38 (threshold 15). Drivers by points: if/else 19 (28 pts), boolean chains 10 (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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/EventNodes.kt"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"33548bb62e93c953b38b6943f64b5db9d1d6a82dd7bd0c43430ea0c4da2eb05b"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomWebView.onTouchEvent (cognitive 38): CustomWebView.onTouchEvent has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (33 pts), boolean chains 4, match/switch 1 (nesting depth added 18). 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":"feature/webview/src/main/java/com/shifenmiao/webview/common/CustomWebView.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3feba2c84567a7b428bf028dc40ba626f833c1f80f3734b1c9befa3464bd1de"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineLayoutContentKt.PaintInlineLayoutContent (cognitive 38): InlineLayoutContentKt.PaintInlineLayoutContent has cognitive complexity 38 (threshold 15). Drivers by points: if/else 19 (30 pts), boolean chains 3, loops 3, match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/compose/InlineLayoutContent.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f74f4630878259be9cdfcd99fbcc47c5664a19bb28584e8bd3a952b3e01059"}},{"ruleId":"D2","level":"warning","message":{"text":"push_images.load_local (cognitive 38): push_images.load_local has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 4 (9 pts), boolean chains 5 (nesting depth added 21). 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":"fastlane/push_images.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2461e9e3837e971572723aacce2dc3ffbd1d4f06d53b2bb16368145cf2ca58"}},{"ruleId":"D2","level":"warning","message":{"text":"GomokuGameComponent.observeGame (cognitive 37): GomokuGameComponent.observeGame has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 5, match/switch 1 (4 pts), loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"8040ef62f022564bf150dd004818e11243ddaac1176afa3a63c261640f9d533d"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidTextCardLayoutEngine.paginate (cognitive 37): AndroidTextCardLayoutEngine.paginate has cognitive complexity 37 (threshold 15). Drivers by points: if/else 21 (30 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/AndroidTextCardLayoutEngine.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97eaa1b5003a4e68ec124d0fbf37d23652b72b60e65936b9c8b2fcf6fd7a60e"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlBlockModelCompiler.compileFlow (cognitive 37): HtmlBlockModelCompiler.compileFlow has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (28 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/core/compile/HtmlBlockModelCompiler.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"330067d4ef98485450e71ce290d58f3688570f2a0845a75c1e5a2101ce505d68"}},{"ruleId":"D2","level":"warning","message":{"text":"UiFilterCodec.decodeValue (cognitive 36): UiFilterCodec.decodeValue has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (31 pts), match/switch 3 (5 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/serialization/UiFilterCodec.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0d5b9ed55851227af370684eb2cd8fb553fa8604745ccebbf4da2a53b90c6b"}},{"ruleId":"D2","level":"warning","message":{"text":"ChessRouterComponent.startPreparation (cognitive 36): ChessRouterComponent.startPreparation has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (26 pts), error handling 4, boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f7aed7deb47aa8f6ac8912ed5a03ea9bb7e00e4b5441dfd0986c8c1d858080"}},{"ruleId":"D2","level":"warning","message":{"text":"ZoomableImagePreviewKt.ZoomableImagePreview (cognitive 36): ZoomableImagePreviewKt.ZoomableImagePreview has cognitive complexity 36 (threshold 15). Drivers by points: if/else 22 (33 pts), boolean chains 1, loops 1, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/ui/ZoomableImagePreview.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"25606a9107fe6bd838b973a7c7a736d9611970acd0cce0ff73bcfa11647b83f8"}},{"ruleId":"D2","level":"warning","message":{"text":"PathHelper.drawStar (cognitive 36): PathHelper.drawStar has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/PathHelper.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea572c32dc3ab5fb301bdc5787216111d4d705c33272f0cfb06c1611b417745e"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownTextSearchKt.findTextMatches (cognitive 36): MarkdownTextSearchKt.findTextMatches has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 18). 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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/MarkdownTextSearch.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d226f9489d39ea9dbb17db904676825ed22f04dbf256f6b0f49542effd52d93c"}},{"ruleId":"D2","level":"warning","message":{"text":"SeamCarver.findForwardVerticalSeamInternal (cognitive 36): SeamCarver.findForwardVerticalSeamInternal has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/seam_carving/SeamCarver.kt"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"0252a2e9ec91ad4f3e1da6506a8bee08d69163c408927643049d0e6b59c99466"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterItemKt.FilterItem (cognitive 35): FilterItemKt.FilterItem has cognitive complexity 35 (threshold 15). Drivers by points: if/else 24 (31 pts), boolean chains 4 (nesting depth added 7). 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterItem.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7f76d9d2c6898a6cd41cf8dc404d560193019a895467e94ea7f66330db5021"}},{"ruleId":"D2","level":"warning","message":{"text":"ChessGameScreenKt.ChessGameContent (cognitive 35): ChessGameScreenKt.ChessGameContent has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 9, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"be55c98e2e846f02317695242c7fb155c576d9ff5b3e3c595f39883fb1ef89ea"}},{"ruleId":"D2","level":"warning","message":{"text":"BitmapDrawerKt.BitmapDrawer (cognitive 35): BitmapDrawerKt.BitmapDrawer has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 13 (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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/BitmapDrawer.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bff2bdd6ba2defcfad96b8e5fd99799de1c4c13ba1d7074b82a2fa28a4826b"}},{"ruleId":"D2","level":"warning","message":{"text":"QuickAddTodoComponent.applyParsedMetadata (cognitive 35): QuickAddTodoComponent.applyParsedMetadata has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 18, if/else 12 (17 pts) (nesting depth added 5). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/QuickAddTodoComponent.kt"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"998c337ffca1da4ff4394e558facdccfc4a2a4e4adeefe979e6077ef13bd547c"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformGestureKt.detectTransformGestures (cognitive 35): TransformGestureKt.detectTransformGestures has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (30 pts), boolean chains 4, loops 1 (nesting depth added 21). 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":"libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ad97947ebadab3ff9073be4e7a358b8a53b4ce8bb4c9eca19fbfb51308e194"}},{"ruleId":"D2","level":"warning","message":{"text":"FeedbackRowKt.FeedbackRow (cognitive 34): FeedbackRowKt.FeedbackRow has cognitive complexity 34 (threshold 15). Drivers by points: if/else 24 (25 pts), error handling 7, boolean chains 2 (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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/FeedbackRow.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f9bc8f778b21730ac3dcf39bf0e389fa14a3643185c0c3eb94d0c90bec173b"}},{"ruleId":"D2","level":"warning","message":{"text":"FiltersContentControlsKt.FiltersContentControls (cognitive 34): FiltersContentControlsKt.FiltersContentControls has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (33 pts), match/switch 1 (nesting depth added 18). 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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0d811eb3086d0c82beeaca4fec616a3377dea95f27ff0b0357d33dc1a109ba"}},{"ruleId":"D2","level":"warning","message":{"text":"GomokuBoardKt.GomokuBoard (cognitive 34): GomokuBoardKt.GomokuBoard has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 5, loops 3 (4 pts), match/switch 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c81b9b7586e88ee0c0524551da6eac30227c512b83a0bff322637a664eaad52"}},{"ruleId":"D2","level":"warning","message":{"text":"LoginComponent.onForgotPasswordUiEvent (cognitive 34): LoginComponent.onForgotPasswordUiEvent has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (24 pts), match/switch 3 (5 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"0913e96eaa6fab3a7cc620434256f48a543986548bce17ac1497c0152e169468"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiGameComponent.observeGame (cognitive 34): XiangqiGameComponent.observeGame has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 6, match/switch 1 (4 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"344ec20a6dc83773b8d79e9710c22708f25677a6b91486e75ec1deb45ab1dd75"}},{"ruleId":"D2","level":"warning","message":{"text":"GeometryUtils.createPathWithCircleCorner (cognitive 34): GeometryUtils.createPathWithCircleCorner has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 18). 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":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff3794cb7ebcd933f0fdbb2fe1ec89dff37a6c6b323d5e8f8f62bf892222ecf"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicCropState.updateOverlayRect (cognitive 34): DynamicCropState.updateOverlayRect has cognitive complexity 34 (threshold 15). Drivers by points: if/else 25 (33 pts), match/switch 1 (nesting depth added 8). 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":"libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"679db31d678d450b5d427f500bed258d350f11a903ffe697eb6f860f525bd099"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidSequenceSubPipeline.renderSequence (cognitive 34): MermaidSequenceSubPipeline.renderSequence has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 4 (10 pts), loops 4, boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSequenceSubPipeline.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af7571f3c32bab96ddd525f5a6a4fe5837ca29184b23f6aca33a7dc3954a221"}},{"ruleId":"D2","level":"warning","message":{"text":"OnlineMatchScreenKt.MatchContent (cognitive 33): OnlineMatchScreenKt.MatchContent has cognitive complexity 33 (threshold 15). Drivers by points: if/else 20 (22 pts), boolean chains 7, match/switch 2 (3 pts), loops 1 (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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9723b86bfbe24bcf0ef8eaa99cdc3c5f223d06919fcac97d50d65f7099faf6"}},{"ruleId":"D2","level":"warning","message":{"text":"CreationMetaConfigSheetKt.CreationMetaConfigSheet (cognitive 33): CreationMetaConfigSheetKt.CreationMetaConfigSheet has cognitive complexity 33 (threshold 15). Drivers by points: if/else 22 (25 pts), boolean chains 5, match/switch 3 (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":"feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08c2264a4ad5fbe2b9af86c3d762d5a9118eca90dff0263f8b957b6c57872ea"}},{"ruleId":"D2","level":"warning","message":{"text":"OnlineMatchScreenKt.MatchContent (cognitive 33): OnlineMatchScreenKt.MatchContent has cognitive complexity 33 (threshold 15). Drivers by points: if/else 20 (22 pts), boolean chains 7, match/switch 2 (3 pts), loops 1 (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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cdf2e2110b67a24d61a61f797b6f9d024fb6c85fdf570a0592b029cde75804"}},{"ruleId":"D2","level":"warning","message":{"text":"OnlineMatchScreenKt.MatchContent (cognitive 33): OnlineMatchScreenKt.MatchContent has cognitive complexity 33 (threshold 15). Drivers by points: if/else 20 (22 pts), boolean chains 7, match/switch 2 (3 pts), loops 1 (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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6724325f8d199a8337d3ce846812fdfae5282dd182951c876502003b40a88f32"}},{"ruleId":"D2","level":"warning","message":{"text":"CollageLayoutFactory.collageParametricGrid (cognitive 33): CollageLayoutFactory.collageParametricGrid has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/utils/CollageLayoutFactory.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ad8719eda041c45d0191c83d525a37d73e73dc68d0c0d401c0a045c176b3ac"}},{"ruleId":"D2","level":"warning","message":{"text":"FrameImageView.snapToBorders (cognitive 33): FrameImageView.snapToBorders has cognitive complexity 33 (threshold 15). Drivers by points: if/else 24 (30 pts), boolean chains 3 (nesting depth added 6). 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":"libs/collages/src/main/java/com/t8rin/collages/view/FrameImageView.kt"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e03f276b32213d8477d0dbaeb9e56eb900fd4c927292cf47aac72bd679bcd6"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineHtmlNormalizer.normalize (cognitive 33): InlineHtmlNormalizer.normalize has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/core/compile/InlineHtmlNormalizer.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40ec530f4022987cc6b669b5647843d266ca482d790f3be0f2538389f5af2e5"}},{"ruleId":"D2","level":"warning","message":{"text":"SafWorkspaceFileScanner.scan (cognitive 32): SafWorkspaceFileScanner.scan has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (21 pts), error handling 4 (7 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/SafWorkspaceFileScanner.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1399f333bea180dc40232e9b2afb992aebd77faf8d0c7c0965f9dc6b41259a"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDatabase.getInstanceOrCreate (cognitive 32): AppDatabase.getInstanceOrCreate has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (20 pts), error handling 4 (6 pts), boolean chains 4, loops 2 (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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"709f0798b2cf06f0ef3e2238486a111a42f59ca85d1edfe128ee7df414b217e4"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillFrontMatterParser.parse (cognitive 32): SkillFrontMatterParser.parse has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 2 (5 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/SkillFrontMatterParser.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23e35158be54f00c710a8bdd9705f66b4792e4545437e09659b9de4fc593bc9"}},{"ruleId":"D2","level":"warning","message":{"text":"EnhancedRangeSliderItemKt.EnhancedRangeSliderItem (cognitive 32): EnhancedRangeSliderItemKt.EnhancedRangeSliderItem has cognitive complexity 32 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 7 (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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f5f35a1b0f0499ed2022f9a9599d6427d366053ac5c96dfaec3c46d85fe5d0"}},{"ruleId":"D2","level":"warning","message":{"text":"MeshGradientBackgroundKt.meshRecipe (cognitive 32): MeshGradientBackgroundKt.meshRecipe has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21 (31 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/MeshGradientBackground.kt"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"626084effefe54a1b4570014e61677b7a639a2c02dd897b41b287c8dc7220d98"}},{"ruleId":"D2","level":"warning","message":{"text":"EmojiSelectionSheetKt.EmojiSelectionSheet (cognitive 32): EmojiSelectionSheetKt.EmojiSelectionSheet has cognitive complexity 32 (threshold 15). Drivers by points: if/else 25 (32 pts) (nesting depth added 7). 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/EmojiSelectionSheet.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac49aede34b8b82ea7baa3b2b6515c1871d8667b673639630734e46c81a631e"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamContentProcessor.doRenderMessage (cognitive 32): StreamContentProcessor.doRenderMessage has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (21 pts), match/switch 2 (8 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/StreamContentProcessor.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaef3afa913df7326e2075e45e64f0d7aa7dc248869ab4f48a823d469842af03"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversionTabKt.BuddhistCalendarCard (cognitive 32): ConversionTabKt.BuddhistCalendarCard has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (32 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3d4db0387e044a36de651d5d8369dd38c2d5332add9aad579629eb9d403b52"}},{"ruleId":"D2","level":"warning","message":{"text":"WebDavXmlParser.parsePropfind (cognitive 32): WebDavXmlParser.parsePropfind has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 2 (7 pts), boolean chains 3, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/WebDavXmlParser.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"874cd15aca5a336768db8717c76066c80c36de10d290105a1a96b96b898a6992"}},{"ruleId":"D2","level":"warning","message":{"text":"TodoTaskRowKt.TodoTaskRow (cognitive 32): TodoTaskRowKt.TodoTaskRow has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21 (27 pts), boolean chains 5 (nesting depth added 6). 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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/TodoTaskRow.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac56bf700a9376f169584efecb46eb2d67f22f83a3408216edb128b8e7986b1d"}},{"ruleId":"D2","level":"warning","message":{"text":"Survive30sComponent.startGameLoop (cognitive 32): Survive30sComponent.startGameLoop has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 4, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/survive30s/src/main/java/com/wanbaohe/survive30s/component/Survive30sComponent.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"838f43d23d110741b3adab5356072b869a18a8d73f13adeda53f9661d86256ef"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownSelectionController.highlightBoxesFor (cognitive 32): MarkdownSelectionController.highlightBoxesFor has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (24 pts), loops 2 (5 pts), boolean chains 3 (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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/selection/MarkdownSelectionController.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"660e53486e760fe52d4d4b023a8390aa0a025cfb3110c41d8a67f6337d52906d"}},{"ruleId":"D2","level":"warning","message":{"text":"Moire.applyMask (cognitive 32): Moire.applyMask has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 5 (7 pts), boolean chains 6, match/switch 1 (2 pts) (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":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/moire/Moire.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"95da3b5a18546db029cace3ee6ac47212b4413729ed7597d5e822243144392c3"}},{"ruleId":"D2","level":"warning","message":{"text":"setImageWidth (cognitive 32): setImageWidth has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 7, ternaries 1 (3 pts), error handling 1 (nesting depth added 12). Of this number, 18 points are the body\u0027s own statements and 14 belong to 3 function literals inside it that branch. 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":"web/milkdown-editor/editor.src.js"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"b046bfcad73306bbf27d3b71aad220d71ccf64db82b8f0f5978a45ec0c76bf62"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalWorkspaceFileScanner.scan (cognitive 31): LocalWorkspaceFileScanner.scan has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 2 (3 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/LocalWorkspaceFileScanner.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7da43f19a7c0c00eb74356cc18b5142c76eef11956145fbcf5f10b4a8cb7b8"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorSelectionRowKt.ColorSelectionRow (cognitive 31): ColorSelectionRowKt.ColorSelectionRow has cognitive complexity 31 (threshold 15). Drivers by points: if/else 30, boolean chains 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorSelectionRow.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3f5aebc1f2c3d113675132845d3e31101bee93085d28b3c28f194d0eef63d9"}},{"ruleId":"D2","level":"warning","message":{"text":"ImagesPreviewWithSelectionKt.ImagesPreviewWithSelection (cognitive 31): ImagesPreviewWithSelectionKt.ImagesPreviewWithSelection has cognitive complexity 31 (threshold 15). Drivers by points: if/else 23 (30 pts), boolean chains 1 (nesting depth added 7). 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagesPreviewWithSelection.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e65150bf0f3a69a8de413ec149efa43a26ffde4c2963f15150b492acbc6382"}},{"ruleId":"D2","level":"warning","message":{"text":"AIDuelChatScreenKt.DuelChatContent (cognitive 31): AIDuelChatScreenKt.DuelChatContent has cognitive complexity 31 (threshold 15). Drivers by points: if/else 23 (27 pts), boolean chains 4 (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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5574ba0e3e67a3b18c26f41b78d0e3ed4054082327b09a586328859e4a7b343"}},{"ruleId":"D2","level":"warning","message":{"text":"IdPhotoScreenKt.IdPhotoScreen (cognitive 31): IdPhotoScreenKt.IdPhotoScreen has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 7, match/switch 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screen/IdPhotoScreen.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1392d74abd42dec8ee459d41953ae8f36ae75d0a801338383523fc074e95fb4"}},{"ruleId":"D2","level":"warning","message":{"text":"UriUtilsKt.toUiPath (cognitive 30): UriUtilsKt.toUiPath has cognitive complexity 30 (threshold 15). Drivers by points: if/else 19 (30 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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0236d8538838b905360a5d3a8d39f2dfbde37f3dfe5a0d28340dd9899b17aebb"}},{"ruleId":"D2","level":"warning","message":{"text":"CityPickerKt.CityPicker (cognitive 30): CityPickerKt.CityPicker has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/CityPicker.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"896f26c97756089458dbf937d8f84475fd94c359802f3163a16a0f6eeed047ee"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCenterBottomSheetKt.ToolCenterBottomSheet (cognitive 30): ToolCenterBottomSheetKt.ToolCenterBottomSheet has cognitive complexity 30 (threshold 15). Drivers by points: if/else 19, boolean chains 8, match/switch 3. 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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"345c087b101ec5fb2846e066833c5d767c84c0350809d9cd61c9d117503a2b84"}},{"ruleId":"D2","level":"warning","message":{"text":"ChessGameComponent.observeGame (cognitive 30): ChessGameComponent.observeGame has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 6, match/switch 1 (4 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba47244c43be35b43163b5b80c6918a3cd739e247f4882d83b142ba388ea9ef"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageWorkspaceKt.ImageWorkspace (cognitive 30): ImageWorkspaceKt.ImageWorkspace has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 6, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/ui/ImageWorkspace.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"5545eaf7505d038bfdf0f1b0cd4bd102b4b2493b1c791fda88f9cf9d7da7d20c"}},{"ruleId":"D2","level":"warning","message":{"text":"GomokuGameComponent.onCellTap (cognitive 30): GomokuGameComponent.onCellTap has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 6, match/switch 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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f872a2daaf7123869c4ac34dcb6d44a44857b152c3be52ccbbf9bb2f63c1c4"}},{"ruleId":"D2","level":"warning","message":{"text":"GomokuGameScreenKt.GameContent (cognitive 30): GomokuGameScreenKt.GameContent has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 7, match/switch 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3cfbc12c64192588f6d01e3fefd412963436d601743d1ca207b78346795f473"}},{"ruleId":"D2","level":"warning","message":{"text":"QrTypeUtilsKt.toIntent (cognitive 30): QrTypeUtilsKt.toIntent has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (23 pts), match/switch 4 (7 pts) (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/QrTypeUtils.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad7d50ebcedae22873def8eeaabc8caca99f5aa93b8e2a86fbac07558c2d7b2"}},{"ruleId":"D2","level":"warning","message":{"text":"FullscreenEditOptionKt.FullscreenEditOption (cognitive 30): FullscreenEditOptionKt.FullscreenEditOption has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/FullscreenEditOption.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d60ca1a360a43bb1daa5c37f435c9e511508bf74ae0e78494bb9f0b8742ed43"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiTouchHandler.touch (cognitive 30): MultiTouchHandler.touch has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (27 pts), boolean chains 2, match/switch 1 (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/view/MultiTouchHandler.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"267154e7dbb8648aeba5f2ba877921ec38f2941cd724c23c19831aeb2f127261"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicThemeKt.getColorScheme (cognitive 30): DynamicThemeKt.getColorScheme has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/dynamic-theme/src/main/java/com/t8rin/dynamic/theme/DynamicTheme.kt"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"95731e39b40eaf0b0ad4ac40f69c2f50bbabd164c0010e5ef61108d4b8a5dbaf"}},{"ruleId":"D2","level":"warning","message":{"text":"SeamCarver.findLowestEnergyVerticalSeamAvoidingMask (cognitive 30): SeamCarver.findLowestEnergyVerticalSeamAvoidingMask has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 5 (6 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/seam_carving/SeamCarver.kt"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"c860066e929aaa02eab537a920b51bd2a8f8d439cd4e5a8228f8c7c612e0d699"}},{"ruleId":"D2","level":"warning","message":{"text":"AddFiltersSheetKt.AddFiltersSheet (cognitive 29): AddFiltersSheetKt.AddFiltersSheet has cognitive complexity 29 (threshold 15). Drivers by points: if/else 20 (23 pts), match/switch 2 (6 pts) (nesting depth added 7). 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82a373f5a2b1c278d34bb2c5a50324ab7da8814936b74710cb9c2f6099b117d"}},{"ruleId":"D2","level":"warning","message":{"text":"Api21Impl.getLocaleConfigResourceId (cognitive 29): Api21Impl.getLocaleConfigResourceId has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 3 (6 pts), error handling 1 (2 pts) (nesting depth added 18). 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/LocaleConfigCompat.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"709a3bbd20131ce6e600688664cf714b1564ca1e29003e297743ce2f03087ed0"}},{"ruleId":"D2","level":"warning","message":{"text":"GlassModifierKt.flatContainerCoverage (cognitive 29): GlassModifierKt.flatContainerCoverage has cognitive complexity 29 (threshold 15). Drivers by points: if/else 21 (26 pts), boolean chains 2, match/switch 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassModifier.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc067920b0b699d178ae8480b745c564271c3094655385633749026e0fa5449c"}},{"ruleId":"D2","level":"warning","message":{"text":"LiquidToggleKt.LiquidToggle (cognitive 29): LiquidToggleKt.LiquidToggle has cognitive complexity 29 (threshold 15). Drivers by points: if/else 22 (28 pts), boolean chains 1 (nesting depth added 6). 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/LiquidToggle.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc8f0e8bea9b369b8c784deeb0c5760d4439fd631a0fd5deb5640ef0f4fdf8b"}},{"ruleId":"D2","level":"warning","message":{"text":"ApngToolsContentKt.ApngToolsContent (cognitive 29): ApngToolsContentKt.ApngToolsContent has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18, match/switch 5 (6 pts), boolean chains 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d44ac101f86ba5397a4f2fcec353570eff7bbd4396e0818225adee08f0a8ced"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomScrollableTabRowKt.GenericScrollableTabRow (cognitive 29): CustomScrollableTabRowKt.GenericScrollableTabRow has cognitive complexity 29 (threshold 15). Drivers by points: if/else 21 (27 pts), boolean chains 2 (nesting depth added 6). 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":"feature/common/src/main/java/com/shifenmiao/common/components/CustomScrollableTabRow.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ae408e6bf3dd9aac63138295bb86f00b003e2a2aa8de1ef3e9c195d0f0b472"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionWheelSpinScreenKt.DecisionWheelSpinScreen (cognitive 29): DecisionWheelSpinScreenKt.DecisionWheelSpinScreen has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 8 (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":"feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelSpinScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f809e59d0fca5ce07cd999cf0d756ebafd17a7d32a4757e4c23e452ad7a825d"}},{"ruleId":"D2","level":"warning","message":{"text":"StackBlurFilterKt.stackBlur (cognitive 29): StackBlurFilterKt.stackBlur has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 7 (11 pts) (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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/StackBlurFilter.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15ea38a650a5b27cce6c2b8b1117d4145799b804217754e99a07db08cc66311"}},{"ruleId":"D2","level":"warning","message":{"text":"GomokuRouterScreenKt.GomokuRouterScreen (cognitive 29): GomokuRouterScreenKt.GomokuRouterScreen has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (25 pts), match/switch 3, 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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/GomokuRouterScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25e5c897ab04d32a9ae07df78d888a5194bae1fc93e37e79941bed8580fc639"}},{"ruleId":"D2","level":"warning","message":{"text":"GomokuGameScreenKt.gomokuPlayerData (cognitive 29): GomokuGameScreenKt.gomokuPlayerData has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 6, match/switch 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"529b0eaaa2a38b1d54f951b95f45224c1b22c261862120d0874b05596ed94973"}},{"ruleId":"D2","level":"warning","message":{"text":"MaskToolSheetKt.MaskToolSheet (cognitive 29): MaskToolSheetKt.MaskToolSheet has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (19 pts), error handling 2 (4 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/mask/MaskToolSheet.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ab77e07489b3cffae4862f645387cf5d2426c3e701a324587fbd9e5ad9a167"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaPlayerScreenKt.MediaPlayerScreen (cognitive 29): MediaPlayerScreenKt.MediaPlayerScreen has cognitive complexity 29 (threshold 15). Drivers by points: if/else 20 (22 pts), boolean chains 6, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-player/src/main/java/com/wanbaohe/media/screen/MediaPlayerScreen.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4372516c6796b0a7313385ddc390f0c813f83df2a99f6986d554cec6701d2e75"}},{"ruleId":"D2","level":"warning","message":{"text":"TextStylePanelKt.TextStylePanel (cognitive 29): TextStylePanelKt.TextStylePanel has cognitive complexity 29 (threshold 15). Drivers by points: if/else 26 (28 pts), match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/panels/TextStylePanel.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bc0020053284da1152bd24111f9377a5179cfcfa83ac82ef52553ab018b3e4"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidRequirementSubPipeline.flowchartRender (cognitive 29): MermaidRequirementSubPipeline.flowchartRender has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 4 (9 pts), loops 4 (8 pts) (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3093470f585c26acf7eebd6d1d784caeacafffed72b54b8f2afd686ce156d79"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidRequirementSubPipeline.parseMarkdownRuns (cognitive 29): MermaidRequirementSubPipeline.parseMarkdownRuns has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 3, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5c6b3908ecefffa19579da39860ed04ad48abe0001edeb8e8900a1267d6f9f"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlComponentSubPipeline.drawNode (cognitive 29): PlantUmlComponentSubPipeline.drawNode has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (24 pts), match/switch 2 (3 pts), boolean chains 2 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca3314c935b6eaccfcc662fa5e520fe2bc44b84c3a50271cd4d4d27fe1b209b"}},{"ruleId":"D2","level":"warning","message":{"text":"fetch_images.main (cognitive 29): fetch_images.main has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 4 (9 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fastlane/fetch_images.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"793a713f574a770d96e5e69733c6cfb2ef557462041f271a8c4aca8522612789"}},{"ruleId":"D2","level":"warning","message":{"text":"AsciiParamsItemKt.AsciiParamsItem (cognitive 28): AsciiParamsItemKt.AsciiParamsItem has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 1, match/switch 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/AsciiParamsItem.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"08656a03d556a6742a27959df6daa2b4e9452a4efcb309c2f2a63a83a96812ec"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageContainerKt.ImageContainer (cognitive 28): ImageContainerKt.ImageContainer has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 4 (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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImageContainer.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f84aaa18cf60b0ef05dc3b19c52f9e86faa5afb38c9d3723a2478a81024973e"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageStickyHeaderKt.imageStickyHeader (cognitive 28): ImageStickyHeaderKt.imageStickyHeader has cognitive complexity 28 (threshold 15). Drivers by points: if/else 22 (25 pts), boolean chains 3 (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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImageStickyHeader.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b01f15d82ed4d996d012ec9c6680fbc70ca96c4bc37cafebd5d8b320a6fb16"}},{"ruleId":"D2","level":"warning","message":{"text":"FadingEdgesKt.fadingEdges (cognitive 28): FadingEdgesKt.fadingEdges has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (26 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/FadingEdges.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a560411f2197e8706e9b6123673e9ff36e8833b7bf6aad28798e79324a634136"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtocolRoutingAIRequestHandler.createChatCall (cognitive 28): ProtocolRoutingAIRequestHandler.createChatCall has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (25 pts), match/switch 2 (3 pts) (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb901229a1763edaa326a43e6ea4ca782e74e8a82b15027c1b9c4f885248bf3"}},{"ruleId":"D2","level":"warning","message":{"text":"LunarCalendarCalculator.solarToLunar (cognitive 28): LunarCalendarCalculator.solarToLunar has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 5, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/data/LunarCalendarCalculator.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cdd3302e46350e0baf906287df3f7602676e9094b25abf9e3d4c57ea5797ea"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeEditorScreenKt.CodeEditorScreen (cognitive 28): CodeEditorScreenKt.CodeEditorScreen has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21 (25 pts), boolean chains 2, 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, 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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74b15f3f3e8eddce0f99218d3e1480aabc1bfbf775c323c9080d4c0cd5d577a"}},{"ruleId":"D2","level":"warning","message":{"text":"AIEngineRepository.ensureFlavorPresetEngines (cognitive 28): AIEngineRepository.ensureFlavorPresetEngines has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 6 (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":"feature/common/src/main/java/com/shifenmiao/common/manager/AIEngineRepository.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e48b17d8ee22de06ba06f109c3c9a58f0a4bed1cb81a368e7bbaf29cd0273e5"}},{"ruleId":"D2","level":"warning","message":{"text":"GameEngine.move (cognitive 28): GameEngine.move has cognitive complexity 28 (threshold 15). Drivers by points: loops 6 (14 pts), if/else 5 (13 pts), match/switch 1 (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/game2048/src/main/java/com/wanbaohe/game2048/component/GameEngine.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"46772b099b4db4da63a03b0329fcf744de037d98878cf3ef37e897f1447526f9"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawEditOptionKt.DrawEditOption (cognitive 28): DrawEditOptionKt.DrawEditOption has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21, boolean chains 5, match/switch 1 (2 pts) (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":"feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/DrawEditOption.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f3a6a0eb684354391d1d314df769f940592cd73b44157587cef5aebfe8aad0"}},{"ruleId":"D2","level":"warning","message":{"text":"ParamsManager.updateParams (cognitive 28): ParamsManager.updateParams has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 6 (8 pts), boolean chains 1, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/utils/ParamsManager.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed0c1659452ec80f807d6bc73963241beb689dedc46d95ef2dbbe1eba9f0bfd"}},{"ruleId":"D2","level":"warning","message":{"text":"SwipeableV2State.computeTarget (cognitive 28): SwipeableV2State.computeTarget has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/modalsheet/src/main/java/com/t8rin/modalsheet/SwipeableV2.kt"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50b9bee55b869a7021019adbeb4e371ef957ada811b1e31e3d1cafeb00a921c"}},{"ruleId":"D2","level":"warning","message":{"text":"PickFontFamilySheetKt.DownloadableFontRow (cognitive 27): PickFontFamilySheetKt.DownloadableFontRow has cognitive complexity 27 (threshold 15). Drivers by points: if/else 20 (24 pts), match/switch 2, boolean chains 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, 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/PickFontFamilySheet.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1af51b871cd1a071f6ce7004583baecc7375bccfffe72305660129bdcdda93"}},{"ruleId":"D2","level":"warning","message":{"text":"EnhancedIconButtonKt.EnhancedIconButton (cognitive 27): EnhancedIconButtonKt.EnhancedIconButton has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 6). 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedIconButton.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51f9814b91462db679b43c384d955462d9025843759f3ffe9e7f31360878a85"}},{"ruleId":"D2","level":"warning","message":{"text":"HyperOSSwitchKt.HyperOSSwitch (cognitive 27): HyperOSSwitchKt.HyperOSSwitch has cognitive complexity 27 (threshold 15). Drivers by points: if/else 22 (24 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/HyperOSSwitch.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"962cc5a942c1680a7b3f5259393e448f9291f75c063e67146fef749aabcb893e"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversionTabKt.DaoistCalendarCard (cognitive 27): ConversionTabKt.DaoistCalendarCard has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (27 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a4aade629c4ebcd710b6ef31c453090bcfbb1600a4ddd5186ca84ccf4af507"}},{"ruleId":"D2","level":"warning","message":{"text":"ChessBoardKt.ChessCueLayer (cognitive 27): ChessBoardKt.ChessCueLayer has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 4 (8 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":"feature/chess/src/main/java/com/wanbaohe/chess/ui/board/ChessBoard.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"080fdad6e0d319bd217ce1f3b7bdcc9faed06bbbcf8a804e194f8a2ea71b8b6e"}},{"ruleId":"D2","level":"warning","message":{"text":"CropToolScreenKt.resizeLocked (cognitive 27): CropToolScreenKt.resizeLocked has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/crop/CropToolScreen.kt"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23cd9c2d01c99aade739546093b9e17d3c9291918c27e57ddf823f6565a06d9"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaImageKt.MediaImage (cognitive 27): MediaImageKt.MediaImage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 26 (27 pts) (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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImage.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e03d186c931c9c4be015dbeebbf6fc9cef1a017565422b707eac35628553ffb"}},{"ruleId":"D2","level":"warning","message":{"text":"VerticalStaggeredCardKt.VerticalStaggeredCard (cognitive 27): VerticalStaggeredCardKt.VerticalStaggeredCard has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21 (26 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/online/src/main/java/com/shifenmiao/online/ui/VerticalStaggeredCard.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb20d3808611c744573b1cffff78537112f45a55703015d52acc8fbd2632fb52"}},{"ruleId":"D2","level":"warning","message":{"text":"AIEngineSettingsDetailScreenKt.ServerConnectivityCard (cognitive 27): AIEngineSettingsDetailScreenKt.ServerConnectivityCard has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 5, match/switch 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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"422c2d595bb049a13e37074651525a5516401cbb9ba5e7a33c309be5249f199b"}},{"ruleId":"D2","level":"warning","message":{"text":"WatermarkingContentKt.WatermarkingContent (cognitive 27): WatermarkingContentKt.WatermarkingContent has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 9, match/switch 1 (2 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":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/WatermarkingContent.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d1481db2dbd1cc98d1e7b23c8a8466a2a0d8c27363a74c2ca8db2fc16934f7"}},{"ruleId":"D2","level":"warning","message":{"text":"WebpToolsContentKt.WebpToolsContent (cognitive 27): WebpToolsContentKt.WebpToolsContent has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16, match/switch 5 (6 pts), boolean chains 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda99e859631d1785bec57b0ac4b1ff4a656ece570ffe6e2ddc90821087e806d"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserSettingsPageKt.BrowserSettingsPage (cognitive 27): BrowserSettingsPageKt.BrowserSettingsPage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7969a5b9e2c70c90ff4a16d3626be438f24c8e3784ddb396190871162ef41b0d"}},{"ruleId":"D2","level":"warning","message":{"text":"FrameImageView.buildRealClearPath (cognitive 27): FrameImageView.buildRealClearPath has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (25 pts), match/switch 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/view/FrameImageView.kt"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"14af0085eb426b7aae875bf215778a315f66cd8e4d29c4eb7bfc519ea7435f8b"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidSessionPipeline.extractTripleColonClasses (cognitive 27): MermaidSessionPipeline.extractTripleColonClasses has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 5 (9 pts), boolean chains 5 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a380c7aa38f9c7fb6b3732a60983a63f64639b0cd74454f6f18f18e4e2a28e"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageForensics.detectCopyMove (cognitive 27): ImageForensics.detectCopyMove has cognitive complexity 27 (threshold 15). Drivers by points: loops 7 (15 pts), if/else 5 (12 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/forensics/ImageForensics.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23e1141c6d4307fc38558f8bf6614785509037b2d305172f406d7db5f4d4766"}},{"ruleId":"D2","level":"warning","message":{"text":"AddToPaletteSheetKt.AddToPaletteSheet (cognitive 26): AddToPaletteSheetKt.AddToPaletteSheet has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/AddToPaletteSheet.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"89246c310b5910830a4e6e7e3b5c7a825b63f49c83195872159b17687f672721"}},{"ruleId":"D2","level":"warning","message":{"text":"GlassSegmentedButtonRowKt.GlassSegmentedButtonRowImpl (cognitive 26): GlassSegmentedButtonRowKt.GlassSegmentedButtonRowImpl has cognitive complexity 26 (threshold 15). Drivers by points: if/else 23, loops 1 (2 pts), boolean chains 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSegmentedButtonRow.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"52158236259dadb1d65c0a269edac7b4cf9608f1ac5546bfe77761823cce81d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemePresetSelectorKt.ThemePresetCard (cognitive 26): ThemePresetSelectorKt.ThemePresetCard has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/theme/ThemePresetSelector.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a92433333b1632797737437d96df1c25b326205a5a8d3322f87ea20d830238"}},{"ruleId":"D2","level":"warning","message":{"text":"AiUtils.buildUserRequestMessage (cognitive 26): AiUtils.buildUserRequestMessage has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 8, error handling 1 (3 pts), match/switch 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"53aa96c26467535895d060d50b7b520a5e71519ddefe70e975c98e4b3260ed45"}},{"ruleId":"D2","level":"warning","message":{"text":"AppContentKt.StreamingRobotController (cognitive 26): AppContentKt.StreamingRobotController has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 3, match/switch 1 (3 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":"feature/app/src/main/java/com/wanbaohe/app/AppContent.kt"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4aee404915a2a9561459cca21ff4fb59a61f22b26b0cc23680280c41ae7755"}},{"ruleId":"D2","level":"warning","message":{"text":"CollageMakerContentKt.CollageMakerContent (cognitive 26): CollageMakerContentKt.CollageMakerContent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 24 (25 pts), boolean chains 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":"feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97836b23077f788f65b69a25de133372b06d8cd2886b674d05f6c097881382a"}},{"ruleId":"D2","level":"warning","message":{"text":"BasicGlitchEffects.blockGlitch (cognitive 26): BasicGlitchEffects.blockGlitch has cognitive complexity 26 (threshold 15). Drivers by points: if/else 3 (14 pts), loops 4 (12 pts) (nesting depth added 19). 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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/tools/BasicGlitchEffects.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea944070779a444e83adf0c0280dee74f83fdc22ebff27b374a56af0fd45fa3"}},{"ruleId":"D2","level":"warning","message":{"text":"ExportSettingsSheetKt.ExportSettingsSheet (cognitive 26): ExportSettingsSheetKt.ExportSettingsSheet has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 2, match/switch 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/export/ExportSettingsSheet.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ea0ef88bc4ad83258661af41d2ec489a27d2598f06bebd30fce83f4ecc2927"}},{"ruleId":"D2","level":"warning","message":{"text":"UnitConverterComponent.buildExpression (cognitive 26): UnitConverterComponent.buildExpression has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 5, match/switch 2 (3 pts) (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":"feature/unit-converter/src/main/java/com/wanbaohe/unitconverter/component/UnitConverterComponent.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ccf29f5664a263530148cf6c163e518bbfe5b81b0c383d3ba60c094b498fe0"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultWatermarkContentResolver.resolve (cognitive 26): DefaultWatermarkContentResolver.resolve has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 3 (5 pts), boolean chains 3 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/data/context/DefaultWatermarkContentResolver.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7cfe6a513e9c263abde3b16c7bd340acc638fc4a66dc4b6a8c54141baa254d"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiSetupScreenKt.XiangqiSetupScreen (cognitive 26): XiangqiSetupScreenKt.XiangqiSetupScreen has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17, boolean chains 8, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34f563be1ea378dfe2931b5262fb2a5566a8b834b4107ec03f2139d2a317e48"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtendedFrameImage.parametricStackedRowStrips (cognitive 26): ExtendedFrameImage.parametricStackedRowStrips has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (25 pts), loops 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":"libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7a20c27c617ce9f138fc8ba5ea9df04098361c99150b1ce5adf5f92473b380"}},{"ruleId":"D2","level":"warning","message":{"text":"FamilyOneShotRenderersKt.buildSequenceFrame (cognitive 26): FamilyOneShotRenderersKt.buildSequenceFrame has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 3 (7 pts), loops 3, boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa80e452cc336c8e997e39c7149f1e2160bb50893bdde4c4e2c0579bdf82599a"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidMindmapSubPipeline.render (cognitive 26): MermaidMindmapSubPipeline.render has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19 (24 pts), loops 1, match/switch 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a35571d356306ff2d4741888224b988bc5c5541a1232f293dde7831d2d3a2f6"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlActivitySubPipeline.buildBlock (cognitive 26): PlantUmlActivitySubPipeline.buildBlock has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 4 (11 pts), match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d1d30df5880a69749a00e3bdb8450a4e87e5cb7fdab6c145f233b73c1fc786"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlXYChartSubPipeline.render (cognitive 26): PlantUmlXYChartSubPipeline.render has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 6 (10 pts), match/switch 2 (nesting depth added 7). 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlXYChartSubPipeline.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4674c5ec6028a013d53ca54fc2831eb238e6222e595790a03a61b6932f4fe21"}},{"ruleId":"D2","level":"warning","message":{"text":"PointData.generateInterpolatedOffsets (cognitive 25): PointData.generateInterpolatedOffsets has cognitive complexity 25 (threshold 15). Drivers by points: loops 6 (13 pts), match/switch 2 (7 pts), if/else 3 (5 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/MeshGradient.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e8f1a0513656c644307231574033ac2f7e6de05c9e2d8dac2973df2bf2f4bc"}},{"ruleId":"D2","level":"warning","message":{"text":"ChessRouterScreenKt.ChessRouterScreen (cognitive 25): ChessRouterScreenKt.ChessRouterScreen has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 3, match/switch 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8a65baa40dad4e13e2d3d1ae1df3239c8ef157ca72b19a46215acd7c509fde"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeMarkdownEditorKt.NativeMarkdownEditor (cognitive 25): NativeMarkdownEditorKt.NativeMarkdownEditor has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 4, match/switch 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/editor/NativeMarkdownEditor.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5377df15a5da46a9c9dce006b1e595a061ad3c4ce3ba77065b9f6d5dd3127d30"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawUtilsKt.rememberPaint (cognitive 25): DrawUtilsKt.rememberPaint has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 4 (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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/DrawUtils.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8240faab6f508a6b2ddcce6c398cc6358eef6e48ddfe2095fe0bee68656feb"}},{"ruleId":"D2","level":"warning","message":{"text":"PointData.generateInterpolatedOffsets (cognitive 25): PointData.generateInterpolatedOffsets has cognitive complexity 25 (threshold 15). Drivers by points: loops 6 (13 pts), match/switch 2 (7 pts), if/else 3 (5 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/data/AndroidGradientMaker.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82e7412ecf737be1c79f8ddc6323cc71b24a735b29e305878326fe87c1e57f8"}},{"ruleId":"D2","level":"warning","message":{"text":"TodoTaskQuery.matchesFilter (cognitive 25): TodoTaskQuery.matchesFilter has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 7, match/switch 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/domain/TodoTaskQuery.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"882d1b2081944de401488fad75be40002cad7f104120ce39cfe7c2d771750c7f"}},{"ruleId":"D2","level":"warning","message":{"text":"MinesweeperComponent.placeMinesAndCalculateNeighbors (cognitive 25): MinesweeperComponent.placeMinesAndCalculateNeighbors has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 5 (11 pts), boolean chains 2 (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":"feature/minesweeper/src/main/java/com/wanbaohe/minesweeper/component/MinesweeperComponent.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e63621760d6ed0579ac9a1146217a9eeeffb8169f1d0cb3d989537e25e0f5de"}},{"ruleId":"D2","level":"warning","message":{"text":"PaletteToolsContentKt.PaletteToolsContent (cognitive 25): PaletteToolsContentKt.PaletteToolsContent has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16, boolean chains 7, match/switch 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/palette-tools/src/main/java/com/t8rin/imagetoolbox/feature/palette_tools/presentation/PaletteToolsContent.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"05615abb21d9571353b329f6a930866f67c69fecb5351bd98a7550fc6c8f7c50"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiAttacks.byRookCannonOrKing (cognitive 25): XiangqiAttacks.byRookCannonOrKing has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/search/XiangqiAttacks.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6780349025691c8738ac119c8195dcc5f8b15be95117f620cfdca7b22900c2cd"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiRouterScreenKt.XiangqiRouterScreen (cognitive 25): XiangqiRouterScreenKt.XiangqiRouterScreen has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 3, match/switch 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/XiangqiRouterScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"331b3013c33cd6a67ad5de1616ca91cbb29e4ad3fd7d3b49b04bba3e8e824863"}},{"ruleId":"D2","level":"warning","message":{"text":"FrameImageView.setSpace (cognitive 25): FrameImageView.setSpace has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 2 (5 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/view/FrameImageView.kt"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"722042c4afa5b514ecacb6744a6c68cc32a24308e22d76e8382fac23bc6b52c5"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownDocumentRendererKt.MarkdownDocumentRenderer (cognitive 25): MarkdownDocumentRendererKt.MarkdownDocumentRenderer has cognitive complexity 25 (threshold 15). Drivers by points: if/else 20 (21 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/MarkdownDocumentRenderer.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52b236707aa6c30c71886b0134630e719ea1cca4f874963bff31cbf7d2149b2"}},{"ruleId":"D2","level":"warning","message":{"text":"fetch_listing.main (cognitive 25): fetch_listing.main has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 5 (9 pts), boolean chains 4 (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":"fastlane/fetch_listing.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f511e3ffb79543bbfcfcddba9589b5bcb2646791c8526b384b7b47866adca265"}},{"ruleId":"D2","level":"warning","message":{"text":"upload.renderUploadModalList (cognitive 25): upload.renderUploadModalList has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 7 (11 pts), boolean chains 7, if/else 6 (7 pts) (nesting depth added 5). Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 417, 468). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/upload/upload.js"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"373ed07403be5693745d3c0ceff2a39bce2e193660be875e4ae5ca17f08fe99d"}},{"ruleId":"D2","level":"warning","message":{"text":"addTransferItem (cognitive 25): addTransferItem has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (20 pts), other 4, 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":"web/file_transfer/js/features/transfer/transfers.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b73a9b234cdff86f29a08d65a307726013f031dca52f8acd98f5f05e45abdd"}},{"ruleId":"D2","level":"warning","message":{"text":"DataSelectorKt.DataSelector (cognitive 24): DataSelectorKt.DataSelector has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 4 (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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/DataSelector.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"748bd26d9e9eaf2c5f01d234b0d34c5132b7051576d703d97ffdde8ee4625b4f"}},{"ruleId":"D2","level":"warning","message":{"text":"QualitySelectorKt.QualitySelector (cognitive 24): QualitySelectorKt.QualitySelector has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (13 pts), match/switch 6 (9 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/QualitySelector.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1303314dcd78572ebbdaca946192a5990b4ba3b0fba2844f840b036c26c7cedf"}},{"ruleId":"D2","level":"warning","message":{"text":"UrisPreviewKt.UrisPreview (cognitive 24): UrisPreviewKt.UrisPreview has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (23 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/UrisPreview.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"850236c8d89bb8392dc389098ecd5fac511dbefa81babefea240d13d38bd9468"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentComponent.fetchLocalData (cognitive 24): AgentComponent.fetchLocalData has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 1 (nesting depth added 12). 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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AgentComponent.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6062d2285b6b6f66abffb7b151b8a6407b3f056b59fa0902596c1763b5ae7c9d"}},{"ruleId":"D2","level":"warning","message":{"text":"CalendarTabKt.FotoCard (cognitive 24): CalendarTabKt.FotoCard has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 3 (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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf412554998d43b9f6f2ae0eeb31a5d98d8251a8ca97894d49ff5fb24c34c4c"}},{"ruleId":"D2","level":"warning","message":{"text":"CropContentKt.CropContent (cognitive 24): CropContentKt.CropContent has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 2 (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":"feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/CropContent.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a164055a9c6656894e02544f741fc4f60b3071f82bf832e2d2c6fa2de581d16"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownEditorScreenKt.MarkdownEditorScreen (cognitive 24): MarkdownEditorScreenKt.MarkdownEditorScreen has cognitive complexity 24 (threshold 15). Drivers by points: if/else 20 (21 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"353b734c2e8523b7c4728249ef7c59f1c015a0d8d6838483b04236383115368c"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaLibraryContentKt.MediaLibraryContent (cognitive 24): MediaLibraryContentKt.MediaLibraryContent has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 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, 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":"feature/media-player/src/main/java/com/wanbaohe/media/ui/MediaLibraryContent.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bac3ef42c99efc5aabe1f16602611796adc390eae88cfd387625e9720029da"}},{"ruleId":"D2","level":"warning","message":{"text":"MinesweeperComponent.chordReveal (cognitive 24): MinesweeperComponent.chordReveal has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/minesweeper/src/main/java/com/wanbaohe/minesweeper/component/MinesweeperComponent.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dbedc24e03c6ae72374e0f75b920287ad70481510f5ec4583170c36488c39d"}},{"ruleId":"D2","level":"warning","message":{"text":"OnDeviceOcrScreenKt.OnDeviceOcrScreen (cognitive 24): OnDeviceOcrScreenKt.OnDeviceOcrScreen has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (19 pts), match/switch 2 (3 pts), boolean chains 2 (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":"feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/screen/OnDeviceOcrScreen.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a8be547920582b4713934594d3980a8fb6b8861afec48126ba5e3c76748a35"}},{"ruleId":"D2","level":"warning","message":{"text":"PagingDataItemScreenKt.PagingDataItemScreen (cognitive 24): PagingDataItemScreenKt.PagingDataItemScreen has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 5, match/switch 2 (4 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":"feature/online/src/main/java/com/shifenmiao/online/screen/PagingDataItemScreen.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f33c7ba978a4dae63074bbe241dc895a738d7f131fc8507fdbc7fdb61b73ee"}},{"ruleId":"D2","level":"warning","message":{"text":"TextCardExportSheetKt.TextCardExportSheet (cognitive 24): TextCardExportSheetKt.TextCardExportSheet has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 6, match/switch 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardExportSheet.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb8a2a8c48aec32bd795e18a97ac6a7ee568981133f6d12891986a2d836d30f"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserScreenKt.BrowserScreen (cognitive 24): BrowserScreenKt.BrowserScreen has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (15 pts), match/switch 4 (6 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9f201b6f1594f5292a7c31ae03f5b302293b728fa8c51407e2858faf3865d4"}},{"ruleId":"D2","level":"warning","message":{"text":"SeamCarver.findMaskBounds (cognitive 24): SeamCarver.findMaskBounds has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/seam_carving/SeamCarver.kt"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4398cd63cdc706d35b55f4eecec1e2d3d62e10757efa0edec6c9929c82b66a0"}},{"ruleId":"D2","level":"warning","message":{"text":"ResumableFileDownloader.download (cognitive 23): ResumableFileDownloader.download has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 3, error handling 2, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/downloader/ResumableFileDownloader.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b64749cefddc63a5b7f51e7d9c3e200c19ff65d5b32e6de861c638455e3476e"}},{"ruleId":"D2","level":"warning","message":{"text":"LineTrendChartKt.LineTrendChart (cognitive 23): LineTrendChartKt.LineTrendChart has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/charts/LineTrendChart.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db2aba96d4045b3788ee2a8cabf1dd19cf3072eced1609e19c7e8cbfea8e915"}},{"ruleId":"D2","level":"warning","message":{"text":"DataMultipleSelectorKt.DataMultipleSelector (cognitive 23): DataMultipleSelectorKt.DataMultipleSelector has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19 (21 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/DataMultipleSelector.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b79abe6e7d0acae0836c9c88306e3c62d71a8211eabbd7e487f809ed1a0970"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomRangeSliderUtilsKt.rangeSliderPressDragModifier (cognitive 23): CustomRangeSliderUtilsKt.rangeSliderPressDragModifier has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 pts), error handling 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomRangeSliderUtils.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f5b7987babb6872a784bfabf6ce769ac7a5f32fcf63722692273bd632ab3b4"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomSliderUtilsKt.awaitPointerSlopOrCancellation (cognitive 23): CustomSliderUtilsKt.awaitPointerSlopOrCancellation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderUtils.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba07e964b839d1fca30a802d6e3a181113a2f02c037b9045c27e69fd70916029"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentLoopExecutor.executeSingleToolCall (cognitive 23): AgentLoopExecutor.executeSingleToolCall has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), error handling 2 (4 pts), boolean chains 1, loops 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/AgentLoopExecutor.kt"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8066b09ee6f3bdffde9d7bbd35e9f99040ad189f5192ccebe8ec95d3fa1d5c"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentFileServiceImpl.grepFiles (cognitive 23): AgentFileServiceImpl.grepFiles has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 1 (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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"45001898bd5209bcea794378f12bce8755eaf0a7c045cea6bc65786bbb342374"}},{"ruleId":"D2","level":"warning","message":{"text":"AddRecordScreenKt.AddRecordScreen (cognitive 23): AddRecordScreenKt.AddRecordScreen has cognitive complexity 23 (threshold 15). Drivers by points: if/else 20 (21 pts), match/switch 2 (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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/AddRecordScreen.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"826ca009447806369e77380eb365d3093dec10be355574375770a7891fc8837e"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveGenerator.castlingMoves (cognitive 23): MoveGenerator.castlingMoves has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/MoveGenerator.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7066cd4c7dfbebe04669943f5d3448ee1a7c1530da50cb99b12d035d82d62a9"}},{"ruleId":"D2","level":"warning","message":{"text":"DataSyncScreenKt.ImportContent (cognitive 23): DataSyncScreenKt.ImportContent has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (22 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":"feature/common/src/main/java/com/shifenmiao/common/export/DataSyncScreen.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a97eb368c6f7361357e30c05750a1468face9b6c284e6ba52961d79c3c1aec4"}},{"ruleId":"D2","level":"warning","message":{"text":"DshRootScreenKt.CloudRelaySection (cognitive 23): DshRootScreenKt.CloudRelaySection has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (20 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/DshRootScreen.kt"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"0332a96e16f03a2424b2262c2634f70a4707122f269441c10d09ad92bfd5e06a"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentSheetKt.SubagentTranscriptView (cognitive 23): SubagentSheetKt.SubagentTranscriptView has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 4 (7 pts), boolean chains 5 (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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/SubagentSheet.kt"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae2b815840e65c6d3f99af19aeba1ee294fc88906450e35db61f106d757b449"}},{"ruleId":"D2","level":"warning","message":{"text":"GomokuSetupScreenKt.GomokuSetupScreen (cognitive 23): GomokuSetupScreenKt.GomokuSetupScreen has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15, boolean chains 7, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b6e63ae37ec23d0a2d15270d5a7db7110db45373c7e6bf7695feb88bcba209"}},{"ruleId":"D2","level":"warning","message":{"text":"AddTodoScreenKt.AddTodoScreen (cognitive 23): AddTodoScreenKt.AddTodoScreen has cognitive complexity 23 (threshold 15). Drivers by points: if/else 22, boolean chains 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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/AddTodoScreen.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecaf8cc7d45e38c67c2494b60f22a19e1e192623c1aca57072f413cf9ec30e7"}},{"ruleId":"D2","level":"warning","message":{"text":"BuyCoffeeScreenKt.BuyCoffeeBody (cognitive 23): BuyCoffeeScreenKt.BuyCoffeeBody has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 4 (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":"feature/profile/src/main/java/com/wanbaohe/profile/screen/BuyCoffeeScreen.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b9899c19466cd11dfdc15649c0741c2b13067df9ca6ae444b484905f630904"}},{"ruleId":"D2","level":"warning","message":{"text":"UserInfoScreenKt.UserInfoScreen (cognitive 23): UserInfoScreenKt.UserInfoScreen has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (22 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":"feature/profile/src/main/java/com/wanbaohe/profile/screen/UserInfoScreen.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9763bdb8131c0d9911d2eec2e343d775da8824718ff1a0ef08140728b9e8108e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileSettingItemKt.ProfileSettingItem (cognitive 23): ProfileSettingItemKt.ProfileSettingItem has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 1 (3 pts), match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/profile/src/main/java/com/wanbaohe/profile/settingItem/ProfileSettingItem.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"69db5ff73cbb0bf7e956089354f7eca82aa9befee202d7d3e397ded961e841f7"}},{"ruleId":"D2","level":"warning","message":{"text":"FrameImageView.onTouchEvent (cognitive 23): FrameImageView.onTouchEvent has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/view/FrameImageView.kt"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff959a07eb3167e05cda35343fa2a245916c8b9f61e5b0f373be16003f722d4"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidCompatibilityNormalizerKt.topLevelArrowOffsets (cognitive 23): MermaidCompatibilityNormalizerKt.topLevelArrowOffsets has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 2 (5 pts), boolean chains 4, loops 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":"libs/diagram/src/main/java/com/wanbaohe/diagram/MermaidCompatibilityNormalizer.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"789833b8456ac0ed639fbdb5bff0b2d66adbf9cf8507d0d70f8f2db4c1a9af20"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidGitGraphSubPipeline.render (cognitive 23): MermaidGitGraphSubPipeline.render has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, loops 3, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGitGraphSubPipeline.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"95eef9d429603b68a76201feccb9ebcde0e4889cc0c39acaeeed621d373b878a"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidTimelineSubPipeline.render (cognitive 23): MermaidTimelineSubPipeline.render has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidTimelineSubPipeline.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9601558d13387a416b2e1b879da53fe82950f060dbba3011eef59291593447b5"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlSaltSubPipeline.render (cognitive 23): PlantUmlSaltSubPipeline.render has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 3 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSaltSubPipeline.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"49023dbb1481de886c82ceef601047403a7709e3d253bb0543826eca23d401c8"}},{"ruleId":"D2","level":"warning","message":{"text":"IncrementalSelectionIndexBuilder.selectionEntriesForBlock (cognitive 23): IncrementalSelectionIndexBuilder.selectionEntriesForBlock has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (20 pts), match/switch 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/selection/SelectionModelIndex.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb63e2d5d4ce9c95351813910cc27c8e1fe65a8e677319b589b51cb9e00cf3a8"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectionModifiersKt.selectableBlock (cognitive 23): SelectionModifiersKt.selectableBlock has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 4 (9 pts), boolean chains 1 (nesting depth added 8). 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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/selection/SelectionModifiers.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1047162e88527b63e1b93dbcda0315c91b742544205687938bc3f45521913dcc"}},{"ruleId":"D2","level":"warning","message":{"text":"bindSelectionToolbar (cognitive 23): bindSelectionToolbar has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15, boolean chains 8. Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 6 function items inside it that branch (a function literal at line 513, handleLongPressStart, a function literal at line 535, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/editor.src.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8cb891d0db2c8a73da3c75a5bf3eb017e333801cf0b64c4c0fd4946408d0ab"}},{"ruleId":"D2","level":"warning","message":{"text":"SaveResultHandlerKt.deriveFolderUri (cognitive 22): SaveResultHandlerKt.deriveFolderUri has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 1, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/SaveResultHandler.kt"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbf49a985035076229386d5a0408985834a67342b3d5aa3e891be7e988e2501"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageFormatSelectorKt.ImageFormatSelector (cognitive 22): ImageFormatSelectorKt.ImageFormatSelector has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 6 (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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageFormatSelector.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d449fe7b46bbd8595d269051467b1479328f9115cb83664eadd4fabbba2bb75"}},{"ruleId":"D2","level":"warning","message":{"text":"PictureKt.CoilPicture (cognitive 22): PictureKt.CoilPicture has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/Picture.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7914807c7726772cf459bd28595e3e3c63d29aafd3b2831ca01c1826dada660a"}},{"ruleId":"D2","level":"warning","message":{"text":"AIDuelChatScreenKt.DuelRoleSummaryCard (cognitive 22): AIDuelChatScreenKt.DuelRoleSummaryCard has cognitive complexity 22 (threshold 15). Drivers by points: if/else 20, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0323616805d96ff9e5d7699f4333b8610959eb01a6c06523a251d62b63796bf"}},{"ruleId":"D2","level":"warning","message":{"text":"AIDuelChatScreenKt.DuelPickerBottomSheets (cognitive 22): AIDuelChatScreenKt.DuelPickerBottomSheets has cognitive complexity 22 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a029105190c0a63f040de01ca2af040a677f5a8f5221aa8c6d36fbc6c831e27"}},{"ruleId":"D2","level":"warning","message":{"text":"AIQuestionContentKt.AIQuestionItem (cognitive 22): AIQuestionContentKt.AIQuestionItem has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (20 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":"feature/app/src/main/java/com/wanbaohe/app/ui/AIQuestionContent.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e508ff14eb6024e70973afc0b9171eecec01f3752db3223219647e05ac6efd"}},{"ruleId":"D2","level":"warning","message":{"text":"BlessingWallScreenKt.BlessingPage (cognitive 22): BlessingWallScreenKt.BlessingPage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 18 (22 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":"feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/screen/BlessingWallScreen.kt"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb5329d043124bfff63d6c1fe86557a7ca16888458319dbd9424563d1187792"}},{"ruleId":"D2","level":"warning","message":{"text":"LunarCalendarCalculator.getMonthCalendarDays (cognitive 22): LunarCalendarCalculator.getMonthCalendarDays has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 3 (5 pts), boolean chains 3 (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":"feature/calendar/src/main/java/com/wanbaohe/calendar/data/LunarCalendarCalculator.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"72821c5d4481a3b226b49442d5ceb46c0946e4694e654e862860d6ad0126e1e5"}},{"ruleId":"D2","level":"warning","message":{"text":"TrajectoryPageKt.TrajectoryPage (cognitive 22): TrajectoryPageKt.TrajectoryPage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (8 pts), match/switch 2 (4 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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/TrajectoryPage.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7b3c01a79e3044fbad19c6facbe4cb9d5d4792faae2f45b110d0f9ba7c085b"}},{"ruleId":"D2","level":"warning","message":{"text":"GifToolsContentKt.GifToolsContent (cognitive 22): GifToolsContentKt.GifToolsContent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, match/switch 3, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/GifToolsContent.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a614fe098924ed793ccc762e141e9bb33f39078d444a61578618a5df9a22c152"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundPanelKt.BackgroundColorItem (cognitive 22): BackgroundPanelKt.BackgroundColorItem has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 2 (5 pts), match/switch 2 (3 pts), boolean chains 2 (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":"feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/BackgroundPanel.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e66724058d86f0a92d75cfd9e466b399bb898ee6e834e3da29c754b2baa6b9"}},{"ruleId":"D2","level":"warning","message":{"text":"TodoDetailScreenKt.TodoDetailScreen (cognitive 22): TodoDetailScreenKt.TodoDetailScreen has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (18 pts), match/switch 3, boolean chains 1 (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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/TodoDetailScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d6a73422b3b31ee719204338f2d65bb3a34cd951295798f8ac1ac8e7d81965"}},{"ruleId":"D2","level":"warning","message":{"text":"FullScreenSubtitlesKt.FullScreenSubtitles (cognitive 22): FullScreenSubtitlesKt.FullScreenSubtitles has cognitive complexity 22 (threshold 15). Drivers by points: if/else 18 (21 pts), match/switch 1 (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":"feature/marquee/src/main/java/com/shifenmiao/marquee/screen/FullScreenSubtitles.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2866e5ff03b0b350b5f87b1351073acf161ecbaf2837c442bbb8aac314275bf8"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateNoteScreenKt.CreateNoteScreen (cognitive 22): CreateNoteScreenKt.CreateNoteScreen has cognitive complexity 22 (threshold 15). Drivers by points: if/else 18 (19 pts), match/switch 2, boolean chains 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":"feature/online/src/main/java/com/shifenmiao/online/screen/CreateNoteScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1860d0a0bc2d1c84e084d3b669da6d65d041eca0e2ef4eacbb79ff4328d90b"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseSettingItemKt.BaseSettingItem (cognitive 22): BaseSettingItemKt.BaseSettingItem has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 1, match/switch 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":"feature/profile/src/main/java/com/wanbaohe/profile/settingItem/BaseSettingItem.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a1436ced472342eeb850d36328b9be4dbc6f0e3d52cd4fda07dc90431935cc"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeSettingsScreenKt.ThemeSettingsScreen (cognitive 22): ThemeSettingsScreenKt.ThemeSettingsScreen has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14, boolean chains 7, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6900b9f5ac307215608b59adddbf243103f1530f94e62f72028bda8eb927cd60"}},{"ruleId":"D2","level":"warning","message":{"text":"TeleprompterPlayerScreenKt.TeleprompterPlayerScreen (cognitive 22): TeleprompterPlayerScreenKt.TeleprompterPlayerScreen has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, error handling 1 (2 pts), loops 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":"feature/teleprompter/src/main/java/com/wanbaohe/teleprompter/screen/TeleprompterPlayerScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb921eca85a9001eb4a82ffef984b69fc153dacce2bd463fb478287b2a156fa4"}},{"ruleId":"D2","level":"warning","message":{"text":"FenCodec.toFenChar (cognitive 22): FenCodec.toFenChar has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/FenCodec.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cd29eeb24146ac93a991fe98620b8549cf41f747e660e08805adc16f2ffd87"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiBoardKt.pieceLabel (cognitive 22): XiangqiBoardKt.pieceLabel has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/board/XiangqiBoard.kt"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc29e86afe9cd0563deaa1269ad3b2bbee8320eaa954fa38a3be386f7e2955b"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipBrowserContentKt.ZipBrowserContent (cognitive 22): ZipBrowserContentKt.ZipBrowserContent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 3 (7 pts), boolean chains 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":"feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/ZipBrowserContent.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc1799ff23963ed660f047157c95572b4746cddb91784a91795bb8cfc987651"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidSessionPipeline.advance (cognitive 22): MermaidSessionPipeline.advance has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 2 (4 pts), boolean chains 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4644fa60b7cd4468b8dadfb0619a41be32eff6c13d058667247ae62fb800618b"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMarkdownComposePainterKt.PaintRenderBlock (cognitive 22): DefaultMarkdownComposePainterKt.PaintRenderBlock has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (21 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/compose/DefaultMarkdownComposePainter.kt"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"10af3d99b1fd80715f2e211af891c81d34d04926a1c25f992f38ee8a6f1e8b2b"}},{"ruleId":"D2","level":"warning","message":{"text":"ModalSheetLayoutKt.ModalSheetLayout (cognitive 22): ModalSheetLayoutKt.ModalSheetLayout has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (19 pts), match/switch 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/modalsheet/src/main/java/com/t8rin/modalsheet/ModalSheetLayout.kt"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1035a841a030104ec3fbed9bc1f20be72ea3ccf2e7c3e439fea1c5f9fa42d6"}},{"ruleId":"D2","level":"warning","message":{"text":"push_images.run_batch (cognitive 22): push_images.run_batch has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (6 pts), error handling 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fastlane/push_images.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"82310fa16b5622cdbaed91b08ad22b0882adc318f7ef0ae2a049cfc04cef66eb"}},{"ruleId":"D2","level":"warning","message":{"text":"upload.handleFiles (cognitive 22): upload.handleFiles has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 9, ternaries 2 (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. 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":"web/file_transfer/js/features/upload/upload.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20fe3e8bd435cb97abeca7e0e5504c69d6c03b4a69beffc5a9dc557d84a3abd"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialComponentsKt.RowSelectorRenderer (cognitive 21): MaterialComponentsKt.RowSelectorRenderer has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 3, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (MaterialComponentsKt.ColumnSelectorRenderer) 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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c248a2d90de81eb7440d5124496fb5200d2fb6cad224db937716f87cb21a89"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialComponentsKt.ColumnSelectorRenderer (cognitive 21): MaterialComponentsKt.ColumnSelectorRenderer has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 3, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (MaterialComponentsKt.RowSelectorRenderer) 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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"05316db3d009aedb0504ba689fb2e3a46bdb6dc24814911ad3484b8f53ba68fa"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterPreviewSheetKt.FilterPreviewSheet (cognitive 21): FilterPreviewSheetKt.FilterPreviewSheet has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterPreviewSheet.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ddaec998b397b8e6c8b6db932fa1afb6085bc8bf5c72e51bcdddf3d66d74a6"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlCheckService.check (cognitive 21): UrlCheckService.check has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 3 (4 pts), boolean chains 1, loops 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":"core/network/src/main/java/com/shifenmiao/network/service/UrlCheckService.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef0af1555b2fa738c1a7ae30c1f02e0bed12144ceacaf288ca9f9795e3e4f6b"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaCheckBoxKt.MediaCheckBox (cognitive 21): MediaCheckBoxKt.MediaCheckBox has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (21 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/MediaCheckBox.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0377e7abdc79970e99f37b63162e847a76bd8cb5aeaa304e28589d5313a694"}},{"ruleId":"D2","level":"warning","message":{"text":"AIDuelChatScreenKt.DuelRoleConfigSection (cognitive 21): AIDuelChatScreenKt.DuelRoleConfigSection has cognitive complexity 21 (threshold 15). Drivers by points: if/else 20, boolean chains 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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"0013d0235f7f71c5d9a4cd7f6adcd6561d021d59ea804248b5acc20d50e0f839"}},{"ruleId":"D2","level":"warning","message":{"text":"ElevationGaugeSectionKt.ElevationGaugeSection (cognitive 21): ElevationGaugeSectionKt.ElevationGaugeSection has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (15 pts), match/switch 4 (5 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/altitude/src/main/java/com/wanbaohe/altitude/ui/ElevationGaugeSection.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d72a53c7c21f90cd93d60f4d830c171f3a15e752cb96487aef6f3557dbdcb6e"}},{"ruleId":"D2","level":"warning","message":{"text":"FavoriteScreenKt.ContentListSection (cognitive 21): FavoriteScreenKt.ContentListSection has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 2 (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":"feature/app/src/main/java/com/wanbaohe/app/app_screen/FavoriteScreen.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fa11708cdaec631558dd7df947e9c776b59bf9682bac04d114a6e6234e2761"}},{"ruleId":"D2","level":"warning","message":{"text":"WebViewModalBottomSheetKt.WebViewModalBottomSheet (cognitive 21): WebViewModalBottomSheetKt.WebViewModalBottomSheet has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 1 (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":"feature/app/src/main/java/com/wanbaohe/app/ui/WebViewModalBottomSheet.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"48affc990fe1384c1a775525c4d00d2ad2c7ee082d38ce6dda15d550baeca444"}},{"ruleId":"D2","level":"warning","message":{"text":"AuspiciousDayTabKt.AuspiciousDayTab (cognitive 21): AuspiciousDayTabKt.AuspiciousDayTab has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/AuspiciousDayTab.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20cf6a145cca4e7af3973aa185acc0fbee3ee12e5669d089013c9ab39ed70e6"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardState.nextCastlingRights (cognitive 21): BoardState.nextCastlingRights has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/model/BoardState.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"52074516cef64c20d45eb96f617c6b08ace41e5b4ac3296364a52bb5d6b4b04e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChessSetupScreenKt.ChessSetupScreen (cognitive 21): ChessSetupScreenKt.ChessSetupScreen has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, boolean chains 7, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6255a7735db137f615a2ed114cae06c9a43a1ee34c35c1d1734fa6f31ce9864e"}},{"ruleId":"D2","level":"warning","message":{"text":"OneBoxPreferenceItemKt.OneBoxPreferenceItem (cognitive 21): OneBoxPreferenceItemKt.OneBoxPreferenceItem has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (21 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":"feature/common/src/main/java/com/shifenmiao/common/ui/OneBoxPreferenceItem.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9191101897e7520755e16d44653a46d2e7261abc55b4a4e60f177c1fe193f14a"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawContentKt.DrawContent (cognitive 21): DrawContentKt.DrawContent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 2, match/switch 1 (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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/DrawContent.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c0dbba0bf981aadb98d73c08923d88c34293969ede14a10e984e8dbe91a382"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleLinkStatusKt.ScheduleLinkStatus (cognitive 21): ScheduleLinkStatusKt.ScheduleLinkStatus has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 8, match/switch 1 (nesting depth added 4). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/ScheduleLinkStatus.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cd061ffe13116dc5457571fc06619c822ee0669a5de34243953e200dac3922"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkTodoScreenKt.MarkTodoScreen (cognitive 21): MarkTodoScreenKt.MarkTodoScreen has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 8, match/switch 3 (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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"413d515c96d0bff2dc382c64063ed5423dc9a4d2cb70977ecffd1821499a0433"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupExportEncoder.encodeForExport (cognitive 21): MarkupExportEncoder.encodeForExport has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 3, loops 1 (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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/recipe/MarkupExportEncoder.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d904585e1b542b88396f4e5df38b1d12e7e84c0f5a99a2312a58dd49747502d"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerContentKt.VideoStage (cognitive 21): VideoPlayerContentKt.VideoStage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-player/src/main/java/com/wanbaohe/media/ui/VideoPlayerContent.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee4845ae29d4c44d0203280c7a32a62ffdb4b48b284903ec6378b7df93db708"}},{"ruleId":"D2","level":"warning","message":{"text":"QrCodePreviewKt.QrCodePreview (cognitive 21): QrCodePreviewKt.QrCodePreview has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/QrCodePreview.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2ebfc3564457434922e7b98df3abc8605ba2bd7b38a9c6135c57299f4a1210"}},{"ruleId":"D2","level":"warning","message":{"text":"TTSSettingsScreenKt.TTSSettingsContent (cognitive 21): TTSSettingsScreenKt.TTSSettingsContent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 20, boolean chains 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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/TTSSettingsScreen.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33b23d4effda87b7d197fa965e5dc19c12496310eb1c422cfb5638900a0e754"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiGameComponent.requestAiMove (cognitive 21): XiangqiGameComponent.requestAiMove has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 3, match/switch 2 (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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6daf049b068f1889bd0c08a953588e6be66eee8f2f439eca87094748c140334"}},{"ruleId":"D2","level":"warning","message":{"text":"GeometryUtils.createPathWithCubicCorner (cognitive 21): GeometryUtils.createPathWithCubicCorner has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 1, loops 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":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"a876966f37ab44336f3c005f85a368ccaa1bec17dd12d31d8e6dcecb508251df"}},{"ruleId":"D2","level":"warning","message":{"text":"FrameImageView.buildRealPath (cognitive 21): FrameImageView.buildRealPath has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 1 (2 pts), boolean chains 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":"libs/collages/src/main/java/com/t8rin/collages/view/FrameImageView.kt"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"5021590f27fbeeb353d3de68cb829bc7b32a112fea957989325a04177786c224"}},{"ruleId":"D2","level":"warning","message":{"text":"DiagramCanvasKt.DiagramCanvas (cognitive 21): DiagramCanvasKt.DiagramCanvas has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 11). 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/compose/DiagramCanvas.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e9a43e6a79fe308063c3b8f384da6539739cbddc2d2289899577c01c892b48"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownSelectionController.anchorFromWindow (cognitive 21): MarkdownSelectionController.anchorFromWindow has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 2, match/switch 1 (2 pts), 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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/selection/MarkdownSelectionController.kt"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dcf2d2e7bbb11ff467a048bace4d181a62383b3df6be48537d8d4560bb557d"}},{"ruleId":"D2","level":"warning","message":{"text":"connectChat (cognitive 21): connectChat has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, error handling 2, ternaries 2 (nesting depth added 4). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 5 function items inside it that branch (onmessage, a function literal at line 98, onopen, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/chat/ws.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e650d62383ba9c81a67b90cc18ed6e29d8352fa1c1c72fcec0b745e38abed2df"}},{"ruleId":"D2","level":"warning","message":{"text":"MusicVideoObject.equals (cognitive 20): MusicVideoObject.equals has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/model/src/main/java/com/shifenmiao/model/wechat/common/MediaObject.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbbbf45b67bab278e527fff4cefcf602c73984f08f0cdf610ce5d487a6e45be"}},{"ruleId":"D2","level":"warning","message":{"text":"SaveResultHandlerImpl.parseSaveResults (cognitive 20): SaveResultHandlerImpl.parseSaveResults has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/SaveResultHandler.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"da19f63741235bb076e9791b4cee044fba0072418c50efec25a74b8fef1ab662"}},{"ruleId":"D2","level":"warning","message":{"text":"AdaptiveBottomScaffoldLayoutScreenKt.AdaptiveBottomScaffoldLayoutScreen (cognitive 20): AdaptiveBottomScaffoldLayoutScreenKt.AdaptiveBottomScaffoldLayoutScreen has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 3, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveBottomScaffoldLayoutScreen.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc1d15d0d3832e7201c747fe22c8817b0ff25a3ae55da76b624914748dbe9b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorInfoKt.ColorInfo (cognitive 20): ColorInfoKt.ColorInfo has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (18 pts), loops 1 (2 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorInfo.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a239cea2ea29eac962ec45092fd7968e1113a1c4ce462a452085b641d47f6e5"}},{"ruleId":"D2","level":"warning","message":{"text":"EnhancedSliderItemKt.EnhancedSliderItem (cognitive 20): EnhancedSliderItemKt.EnhancedSliderItem has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedSliderItem.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1133c6be9fb1b0eaf9cc40548eefae8c63214bc36dc38f90488b31a35166f869"}},{"ruleId":"D2","level":"warning","message":{"text":"PreferenceRowKt.PreferenceRow (cognitive 20): PreferenceRowKt.PreferenceRow has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18 (20 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/preferences/PreferenceRow.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b073d0567b1523692563f1f13ea08cb18a69d0b46a2958d40ae641376d3b676d"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenPreferenceKt.ScreenPreference (cognitive 20): ScreenPreferenceKt.ScreenPreference has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 pts), match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/preferences/ScreenPreference.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ace054649ce15d3cb776d0e4e4469e95889a4198d701b10d6fdded89dce898a"}},{"ruleId":"D2","level":"warning","message":{"text":"NewChatInputKt.StandardInputSection (cognitive 20): NewChatInputKt.StandardInputSection has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, boolean chains 6, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"06225ac4e4fe5b35f4e334ecc8a804466f5da75839c7228a2462950da9a36d8a"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaceHolderMessageCardKt.PromptWorkCard (cognitive 20): PlaceHolderMessageCardKt.PromptWorkCard has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/ui/PlaceHolderMessageCard.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bdfb4d567982b97fcc2a488cc3f967f053f096489012ac17846186cc4cd160"}},{"ruleId":"D2","level":"warning","message":{"text":"CalendarTabKt.festivalIconFor (cognitive 20): CalendarTabKt.festivalIconFor has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 5 (9 pts), boolean chains 7, if/else 4 (nesting depth added 4). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":1942}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e04f381fa0eb1c9cfbc0b63081509c8c672cb82993914df327933ac0f5a5c8"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveGenerator.pawnMoves (cognitive 20): MoveGenerator.pawnMoves has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/MoveGenerator.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bbe1fb6374d782b7aa335369f2d66bc887864367385afb9ec6358557c1a7f5"}},{"ruleId":"D2","level":"warning","message":{"text":"DataSyncComponent.importData (cognitive 20): DataSyncComponent.importData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (3 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/export/DataSyncComponent.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad113c1503587aab951bad0424c823ca257c6c16f7e107b6f9a14f5fa00583d7"}},{"ruleId":"D2","level":"warning","message":{"text":"AigcFileMetadataReader.readPdfLiteralString (cognitive 20): AigcFileMetadataReader.readPdfLiteralString has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 2 (5 pts), boolean chains 4, loops 2 (nesting depth added 5). 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":"feature/common/src/main/java/com/shifenmiao/common/file/AigcFileMetadataReader.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"904b88c821583d407ba086530206ad489b80f1280b96865126a6f94de468b696"}},{"ruleId":"D2","level":"warning","message":{"text":"ZoomableAsyncImageKt.ZoomableAsyncImage (cognitive 20): ZoomableAsyncImageKt.ZoomableAsyncImage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/ui/ZoomableAsyncImage.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a012f6eaf8aa1839ea2db9fce667d6bfa39d4c84983c65f9d85ede27fa67714e"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentSheetKt.CatalogEntryRow (cognitive 20): SubagentSheetKt.CatalogEntryRow has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/SubagentSheet.kt"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ff2924076c020e2bcb929c54023b8ab4b6231811ed359bd52c1a152893cbf6"}},{"ruleId":"D2","level":"warning","message":{"text":"FileBrowserScreenKt.NavigationToolbar (cognitive 20): FileBrowserScreenKt.NavigationToolbar has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17 (18 pts), match/switch 2 (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":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/screen/FileBrowserScreen.kt"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddff3b1c7a23fcc13d560d0f740a59c74198912161eaf5f42a89530dbe04b590"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkTodoScreenKt.CategoriesContent (cognitive 20): MarkTodoScreenKt.CategoriesContent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d1118b0c59073cd185c4471e7c17f3ff5c7c276720fe69c2ddf32e95b96c1d"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupDocumentCodecKt.decodeStyleSpan (cognitive 20): MarkupDocumentCodecKt.decodeStyleSpan has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 2 (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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"129e6e01e46a747f8091ea3e6de6e547e9e10462f2c9d0ead962c92085dbf5d9"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerEffectsProcessor.rasterMask (cognitive 20): LayerEffectsProcessor.rasterMask has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (15 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 3). 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/LayerEffectsProcessor.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f6a8fce50c0f332d769d2495de8c52abe43fa3cbe4484f2729a0ac10e6310a"}},{"ruleId":"D2","level":"warning","message":{"text":"FullScreenMarqueeRendererKt.ClockFullScreenText (cognitive 20): FullScreenMarqueeRendererKt.ClockFullScreenText has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16 (19 pts), loops 1 (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":"feature/marquee/src/main/java/com/shifenmiao/marquee/screen/FullScreenMarqueeRenderer.kt"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60a81325e3204c13441c0a25493b43f1215c51583c78bd727c2090fc2f43818"}},{"ruleId":"D2","level":"warning","message":{"text":"OpticalCenteredTextKt.OpticalCenteredText (cognitive 20): OpticalCenteredTextKt.OpticalCenteredText has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marquee/src/main/java/com/shifenmiao/marquee/screen/OpticalCenteredText.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7652ea23c16f1794d61dbf9f95e48316c0188ccdd946653b3b18314c3c31609"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaPickerGridWithOverlaysKt.MediaPickerGridWithOverlays (cognitive 20): MediaPickerGridWithOverlaysKt.MediaPickerGridWithOverlays has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 10. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerGridWithOverlays.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"30da4e152419093e4acf3da38bf8ee3a6a35de2f58a2ec1f2d6fe1b3c15139d4"}},{"ruleId":"D2","level":"warning","message":{"text":"UnlockPdfToolContentKt.UnlockPdfToolContent (cognitive 20): UnlockPdfToolContentKt.UnlockPdfToolContent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 1 (2 pts), boolean chains 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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/unlock/UnlockPdfToolContent.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e092be768facab13825549be10aa23461110419979cdf6f160caf573f000fc"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslationPaneKt.TranslationPane (cognitive 20): TranslationPaneKt.TranslationPane has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 5, 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":"feature/translator/src/main/java/com/wanbaohe/translator/screen/TranslationPane.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c01e12453bfb943b14e67e6efa70b834c43b7703d7228f17c8de9d47e91197"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiAiPickerBottomSheetKt.SourceRow (cognitive 20): XiangqiAiPickerBottomSheetKt.SourceRow has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (9 pts), match/switch 5 (7 pts), boolean chains 4 (nesting depth added 3). 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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/XiangqiAiPickerBottomSheet.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6381d52c45d4df4be337d1ba1b805451816a0f23c3403bd5bc26bf330dd09ed"}},{"ruleId":"D2","level":"warning","message":{"text":"DiagramCanvasKt.execute (cognitive 20): DiagramCanvasKt.execute has cognitive complexity 20 (threshold 15). Drivers by points: loops 3 (8 pts), if/else 4 (6 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/compose/DiagramCanvas.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"908e94949dd0eb66388215525e45b5238ceb4778f8708e40adeba7a2522b509a"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlErdSubPipeline.prepareLayout (cognitive 20): PlantUmlErdSubPipeline.prepareLayout has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, loops 3 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d48e03ece54c7e5937bb194dc2d9fe6c6935949c71a04f4ab5247b64f29500"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineRenderUtilsKt.parseCssStyleToSpanStyle (cognitive 20): InlineRenderUtilsKt.parseCssStyleToSpanStyle has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 4 (11 pts), if/else 6 (7 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineRenderUtils.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"46579b6dbe0d18d89381ee4e8a0f94296068579a0a1caf2fcd2fe8ba7dfae242"}},{"ruleId":"D2","level":"warning","message":{"text":"OtherContentKt.OtherContent (cognitive 19): OtherContentKt.OtherContent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 2, match/switch 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/OtherContent.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42e192c5ba1dc841085c52ed126440ed941015d26ea4f1d1b4eaa5ddbeafd59"}},{"ruleId":"D2","level":"warning","message":{"text":"MeshGradientBackgroundKt.vertexColors (cognitive 19): MeshGradientBackgroundKt.vertexColors has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/MeshGradientBackground.kt"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"7033a9890856744ead090fd3ac43340131f9894fdd3c6976e80d5b281ba23e35"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentLoopRunner.requestLlmFollowUp (cognitive 19): AgentLoopRunner.requestLlmFollowUp has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/AgentLoopRunner.kt"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef528153f47d82ce461776a5ac29dcc76848752bec834b49ed7df44ee70cbd2c"}},{"ruleId":"D2","level":"warning","message":{"text":"AiExecutionTimelineCardKt.AiExecutionStepRow (cognitive 19): AiExecutionTimelineCardKt.AiExecutionStepRow has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/execution/component/AiExecutionTimelineCard.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedcfeab3bce8d3616e420ddb341aa3671262614704c70af8aca016d778c44a1"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentJsonEditorScreenKt.AgentJsonEditorScreen (cognitive 19): AgentJsonEditorScreenKt.AgentJsonEditorScreen has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18 (19 pts) (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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AgentJsonEditorScreen.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9c09e173cbbb755a64a69735e94a88dc586b584ff5dad84a063f718d64da1f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentFileServiceImpl.unzipFile (cognitive 19): AgentFileServiceImpl.unzipFile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce472c6b3c8a8ba37da11c9eae05956479f0c04ecdbaaff77c8c68bdd44a831"}},{"ruleId":"D2","level":"warning","message":{"text":"AiModelTabViewKt.AiModelTabView (cognitive 19): AiModelTabViewKt.AiModelTabView has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 2 (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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/AiModelTabView.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f90262da408dc7e3775e6e933e68dec76dd2bdc1e20f8e47ae618174da4898b"}},{"ruleId":"D2","level":"warning","message":{"text":"AiUtils.processStreamLine (cognitive 19): AiUtils.processStreamLine has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, error handling 2 (4 pts), match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"c917447b3ffa62e5829a39457d8939484827978a7c44aa211f041e9a8d3ace1d"}},{"ruleId":"D2","level":"warning","message":{"text":"AuspiciousDayTabKt.AuspiciousDayCard (cognitive 19): AuspiciousDayTabKt.AuspiciousDayCard has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/AuspiciousDayTab.kt"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"21598fcbbbb62adeec196ff057244d4be047a114b3e4cc83052ff2dc0e7efa9b"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportGameUseCase.parseImport (cognitive 19): ImportGameUseCase.parseImport has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 9, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcee1b0016a162ae8fe12f7434dc3087230f90deb18ef447032234a258c14cc9"}},{"ruleId":"D2","level":"warning","message":{"text":"GameArbiter.isSquareAttacked (cognitive 19): GameArbiter.isSquareAttacked has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, loops 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/GameArbiter.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1777cce71722074d5a0d573c255b86c0933dc80e7165654e59a0dd947c5890"}},{"ruleId":"D2","level":"warning","message":{"text":"ChessBoardKt.glyph (cognitive 19): ChessBoardKt.glyph has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/ui/board/ChessBoard.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6316bf89897e55a76184fc8b77467aaa642fff879c2a6a024287059b3e20a669"}},{"ruleId":"D2","level":"warning","message":{"text":"CipherContentKt.CipherContent (cognitive 19): CipherContentKt.CipherContent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cipher/src/main/java/com/t8rin/imagetoolbox/feature/cipher/presentation/CipherContent.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6cfb2e9823136a8850db25da44387aa144259e03d77b45bd823ed08948ef37"}},{"ruleId":"D2","level":"warning","message":{"text":"WebDavXmlParser.entriesToItems (cognitive 19): WebDavXmlParser.entriesToItems has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, match/switch 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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/WebDavXmlParser.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d061fe5c2f05e8c0de458464390f7180cf10142a59896cf031f812b166450aa"}},{"ruleId":"D2","level":"warning","message":{"text":"JpegAigcInjector.findXmpApp1Range (cognitive 19): JpegAigcInjector.findXmpApp1Range has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, loops 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":"feature/common/src/main/java/com/shifenmiao/common/file/JpegAigcInjector.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00711812c54a9e9322a239fc5371590ce5a47e242d269d3f230e60a8a41c63d"}},{"ruleId":"D2","level":"warning","message":{"text":"AIEngineManager.resolveSelection (cognitive 19): AIEngineManager.resolveSelection has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 3, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/manager/AIEngineManager.kt"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff09f817e83f14025dc42a5d8296a22ecba28218ecaddb9064110e98c319d02"}},{"ruleId":"D2","level":"warning","message":{"text":"RobotController.updateRobotPosition (cognitive 19): RobotController.updateRobotPosition has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/robot/RobotController.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d27c6306f6f35c216805e79633d4b0c2d929c75f581ee2c6e88fc72699ffef"}},{"ruleId":"D2","level":"warning","message":{"text":"PairingManagerKt.parsePairInvite (cognitive 19): PairingManagerKt.parsePairInvite has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aaaaee2b6af09fb3081906116771f6886569b45b26ab54be6cb57762a27d7de"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionStore.fetchPage (cognitive 19): SessionStore.fetchPage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 3 (6 pts), loops 2 (3 pts), boolean chains 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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SessionStore.kt"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a43f82ad9b54dc893a007635d8050f67e387cd9ac00ae77db7c1cdb4630089"}},{"ruleId":"D2","level":"warning","message":{"text":"FileTransferScreenKt.FileTransferScreen (cognitive 19): FileTransferScreenKt.FileTransferScreen has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 1, 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, 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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/screen/FileTransferScreen.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fcb011292205c65ce054c971fd2a5bde29c1a3d1f45899d61dc32fc415aede"}},{"ruleId":"D2","level":"warning","message":{"text":"GomokuOpponentPickerKt.GomokuOpponentPicker (cognitive 19): GomokuOpponentPickerKt.GomokuOpponentPicker has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 1 (2 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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/GomokuOpponentPicker.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96e8d287f7d0b85247984350baee2fc2c676ceb2a6a13ec56510ee456dd75fe"}},{"ruleId":"D2","level":"warning","message":{"text":"LifeTimeAddCountdownScreenKt.CountdownForm (cognitive 19): LifeTimeAddCountdownScreenKt.CountdownForm has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 3. 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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05a02ba3dca220284682428c662122c60ca858faa2e86c8aea3d6a86521d5e7"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkTodoScreenKt.ActiveConditionChips (cognitive 19): MarkTodoScreenKt.ActiveConditionChips has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 2 (4 pts), boolean chains 2 (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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"005058202df2a8eb5a2f22df65d7af4a4c96b4cdba73e2ebab7905e1c352badf"}},{"ruleId":"D2","level":"warning","message":{"text":"FullScreenMarqueeRendererKt.paginateTextByHeight (cognitive 19): FullScreenMarqueeRendererKt.paginateTextByHeight has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (3 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":"feature/marquee/src/main/java/com/shifenmiao/marquee/screen/FullScreenMarqueeRenderer.kt"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7c8c5dd97f6f7be0527fc8062a236b2e79a574ce4550b29df578e810e8222c"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidPdfManager.printPdf (cognitive 19): AndroidPdfManager.printPdf has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/data/AndroidPdfManager.kt"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa361ab08ca8091d6af5db4854edfe33bf5897dd0c7f33156f9940bea8b7dca"}},{"ruleId":"D2","level":"warning","message":{"text":"VipLevelScreenKt.VipLevelItem (cognitive 19): VipLevelScreenKt.VipLevelItem has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 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":"feature/profile/src/main/java/com/wanbaohe/profile/screen/VipLevelScreen.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"db50ee0f0514ceb506ae9c88a6626919323e4971c4eddbf0b71e07842f14e499"}},{"ruleId":"D2","level":"warning","message":{"text":"AIEngineSettingsDetailScreenKt.ModelSelectionCard (cognitive 19): AIEngineSettingsDetailScreenKt.ModelSelectionCard has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1503803ca54af8a849555b20f48428929fe9ac92919ad841eb499aa68faeaba"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiGameScreenKt.XiangqiPlayersRow (cognitive 19): XiangqiGameScreenKt.XiangqiPlayersRow has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, boolean chains 8, match/switch 1 (2 pts) (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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cde721e4888028d8e3890b3bb66f0d905ac726692c5bac349f69049bafac1da"}},{"ruleId":"D2","level":"warning","message":{"text":"CollageLayoutFactory.collageLinear (cognitive 19): CollageLayoutFactory.collageLinear has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (19 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":"libs/collages/src/main/java/com/t8rin/collages/utils/CollageLayoutFactory.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"882cea7735dd7d4c750bc9d0d922df8a7c7cda5b129d776694e8f25163f2d006"}},{"ruleId":"D2","level":"warning","message":{"text":"GeometryUtils.commonShrinkPath (cognitive 19): GeometryUtils.commonShrinkPath has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd3c72272d09a14ab980c1a4da90b07e8af6eacb1b83cef872c1a3dc8e9e4c8"}},{"ruleId":"D2","level":"warning","message":{"text":"FamilyOneShotRenderersKt.buildTreeFrame (cognitive 19): FamilyOneShotRenderersKt.buildTreeFrame has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (18 pts), loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf653eaa51168e8409773f73b92062c1ed26740b4f526dc07da8beeee3461be6"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlComponentSubPipeline.applyPrimaryClearance (cognitive 19): PlantUmlComponentSubPipeline.applyPrimaryClearance has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"db85e1edbc0b28538ee27e58f4771b4ffd02491485ba4e8dbd4e615a63f9f74e"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentScannerActivity.onCreate (cognitive 19): DocumentScannerActivity.onCreate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, error handling 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/documentscanner/src/main/java/com/t8rin/documentscanner/DocumentScannerActivity.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6317e364171a52f3ba5391b1c8ce01bb220e7a19f61cec076f2286863ab8de"}},{"ruleId":"D2","level":"warning","message":{"text":"push_listing.main (cognitive 19): push_listing.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 2 (4 pts), loops 2 (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":"fastlane/push_listing.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55e067f931369c3b897228a94a5de9322983dc402f6ce643850db6d1a1f360c"}},{"ruleId":"D2","level":"warning","message":{"text":"i18n.detectLang::normalize (cognitive 19): i18n.detectLang::normalize has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 3, ternaries 1 (2 pts) (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":"web/file_transfer/js/core/i18n.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"289a5a699506c28103b4adf33d6313abeb53fdddd06e8e9ed8b13f9506e40454"}},{"ruleId":"D2","level":"warning","message":{"text":"BmpBackend.compress (cognitive 18): BmpBackend.compress has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 3 (5 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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/utils/compressor/BmpBackend.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a26bcf862e0ef327f11e23173715ae1163fd3bc1121617e05a610506dfad353"}},{"ruleId":"D2","level":"warning","message":{"text":"ModifierRegistry.registerBuiltins (cognitive 18): ModifierRegistry.registerBuiltins has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, boolean chains 3, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/modifier/ModifierRegistry.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de5ce2166523f10a9ad02e244058ca38db8c00e95a297caaf2afb59fb1d44d7"}},{"ruleId":"D2","level":"warning","message":{"text":"TemplateFilter.equals (cognitive 18): TemplateFilter.equals has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/domain/model/TemplateFilter.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39946fc5b1003cb56ceff91ae5827e082b901fe11aa103a6fb15712bfdee686"}},{"ruleId":"D2","level":"warning","message":{"text":"ChineseDateRangePickerDialogKt.RangeDayCell (cognitive 18): ChineseDateRangePickerDialogKt.RangeDayCell has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 5, match/switch 3 (5 pts) (nesting depth added 2). 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":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de7763e1cda816ce42d94bfb03805aea2ec14bb795611a210e9afd728b84b57"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenConstantsImpl.valueOf (cognitive 18): ScreenConstantsImpl.valueOf has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 2 (3 pts), boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/navigation/ScreenUtils.kt"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f66ddd210ed7fda93f0b87c6bdaf5bd0917a7f8eb51af0cd85a406c8e0d4bf"}},{"ruleId":"D2","level":"warning","message":{"text":"EnhancedDropdownMenuKt.EnhancedDropdownMenu (cognitive 18): EnhancedDropdownMenuKt.EnhancedDropdownMenu has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, boolean chains 1, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedDropdownMenu.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"5987459821637ac33bab8e5f83f3f4d90bbabfcc2398d5bf2a8d0b58d12da305"}},{"ruleId":"D2","level":"warning","message":{"text":"ManageTodoTool.handleList (cognitive 18): ManageTodoTool.handleList has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, match/switch 4, boolean chains 3. 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c5131052a7f950cf578dd145ae3a2bc159b4436d32d1c1a1f646fd9ba5a0fd"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateAIAgentScreenKt.CreateAIAgentScreen (cognitive 18): CreateAIAgentScreenKt.CreateAIAgentScreen has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, match/switch 3 (5 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"99759db467fa404e0a46cec01478231c0c6b93291aeb724d0f168b635612489c"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateAIPromptScreenKt.CreateAIPromptScreen (cognitive 18): CreateAIPromptScreenKt.CreateAIPromptScreen has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, match/switch 3 (5 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"df614e43cb4d3e7349b0d27bc587089f08d463d6fd54495000844b87a92e88a5"}},{"ruleId":"D2","level":"warning","message":{"text":"NewChatInputKt.getStateText (cognitive 18): NewChatInputKt.getStateText has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d36b9fbb0597e5eda562b6dc6be940283e097ed8b32016bc63bfd517a9a797"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardGameControlsKt.BoardGamePillButton (cognitive 18): BoardGameControlsKt.BoardGamePillButton has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17 (18 pts) (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":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/BoardGameControls.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"94faca6165d77ddb7fa5fc0363456d9030b0ca6b51f5e6852d8d3326f3bfb65f"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayersBarKt.PlayerBarItem (cognitive 18): PlayersBarKt.PlayerBarItem has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, boolean chains 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":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/PlayersBar.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2055f128982383bb7d0631d9a6879f202a18f311c6da7e92a66f94c7b1512c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChessSearch.negamax (cognitive 18): ChessSearch.negamax has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabe0ff65c7d9a911befc3838c67c3b688d36e943c60cd29baef1baea45460b9"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentsBottomSheetKt.CommentsList (cognitive 18): CommentsBottomSheetKt.CommentsList has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsBottomSheet.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c482008b9151abb8126fa4f0c100d2817bf14a112039a6f33710751142b3cf0"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseScreenKt.BaseScreen (cognitive 18): BaseScreenKt.BaseScreen has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 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":"feature/common/src/main/java/com/shifenmiao/common/ui/BaseScreen.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"792dc5829f4d5e5feb9d1b1a530843c0af0411238436a393f15285103dcb59e2"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerControlPanelKt.PlayerControlPanel (cognitive 18): PlayerControlPanelKt.PlayerControlPanel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/ui/PlayerControlPanel.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"303d10a3bdd84fb404d289db018d06b793ac7512430a0cb3907811c7e3fd8e60"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatScreenKt.SessionDrawer (cognitive 18): ChatScreenKt.SessionDrawer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, loops 1 (2 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a78d68b51aaf54fba7a9379804749b0f5c4eac5d035a0d2da331b5a7cb0f02"}},{"ruleId":"D2","level":"warning","message":{"text":"FileTransferComponent.sendFileFromUri (cognitive 18): FileTransferComponent.sendFileFromUri has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, loops 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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/screenLogic/FileTransferComponent.kt"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"92df9da3bd01a6757e66d08da883f3813b11ecc3ef0a9640e8749764b4cd3df1"}},{"ruleId":"D2","level":"warning","message":{"text":"FastBlurFilterKt.fastBlur (cognitive 18): FastBlurFilterKt.fastBlur has cognitive complexity 18 (threshold 15). Drivers by points: loops 7 (11 pts), if/else 3 (7 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastBlurFilter.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caeadd27fcaca51333d0f27c808659b79e645aebc11a890cb96204b1256b4de"}},{"ruleId":"D2","level":"warning","message":{"text":"LocationManageTabKt.LocationTreeRow (cognitive 18): LocationManageTabKt.LocationTreeRow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (17 pts), match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/household-items/src/main/java/com/wanbaohe/householditems/screen/LocationManageTab.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ad94702b789ecf088af1159deaf0020c0c72d4446ce6c2732e095f8d4b0838"}},{"ruleId":"D2","level":"warning","message":{"text":"HourglassHeroCardKt.HourglassBackdrop (cognitive 18): HourglassHeroCardKt.HourglassBackdrop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 1 (3 pts), loops 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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/HourglassHeroCard.kt"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7a357b11d3f852eff07cf2d07efdfa67e1b55ecafac48c106ed282a5879ef6"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupProjectStore.normalizeDocument (cognitive 18): MarkupProjectStore.normalizeDocument has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 5 (8 pts) (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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"84db192ebb3b2047b3f3f067149b65f506925cdd1af3147a997d82397bc8552c"}},{"ruleId":"D2","level":"warning","message":{"text":"RecipeBatchSheetKt.RecipeBatchSheet (cognitive 18): RecipeBatchSheetKt.RecipeBatchSheet has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 3 (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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/recipe/RecipeBatchSheet.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b2e8891cf9b72075f88c3b0db9fbba501defc6e107dfd1d7f1b3a5540aff28"}},{"ruleId":"D2","level":"warning","message":{"text":"InPlaceTextLayerEditorKt.InPlaceTextLayerEditor (cognitive 18): InPlaceTextLayerEditorKt.InPlaceTextLayerEditor has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/InPlaceTextLayerEditor.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ba6a574fb60ed851184f55ca8cb3c9469d4b008165ea607bf0579ad6c97cce"}},{"ruleId":"D2","level":"warning","message":{"text":"MinesweeperScreenKt.BottomBar (cognitive 18): MinesweeperScreenKt.BottomBar has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. 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":"feature/minesweeper/src/main/java/com/wanbaohe/minesweeper/screen/MinesweeperScreen.kt"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"7187010fe5932039a69983fb8052fb0a7eefe81b173965d9a3b7071d7f9f72b5"}},{"ruleId":"D2","level":"warning","message":{"text":"PoemScreenKt.PoemDetailPage (cognitive 18): PoemScreenKt.PoemDetailPage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, boolean chains 6. 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":"feature/poem/src/main/java/com/wanbaohe/poem/screen/PoemScreen.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"582210644afc9e81b32a413b1d9e50a429cd1d4b2377d09530a241d43072ab6e"}},{"ruleId":"D2","level":"warning","message":{"text":"QrTypeUtilsKt.createRaw (cognitive 18): QrTypeUtilsKt.createRaw has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/QrTypeUtils.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"55684d496a4632189cf37bc423d00b2ddc17620b76c95d1c72f811fa6aabac66"}},{"ruleId":"D2","level":"warning","message":{"text":"AIEngineSettingsScreenKt.EngineListCard (cognitive 18): AIEngineSettingsScreenKt.EngineListCard has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsScreen.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbc0f69b1a65b12ad185f563f0bb51e26b2fcfec13e269b3a0c5baf0d8ddd95"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiSearch.findBestMove (cognitive 18): XiangqiSearch.findBestMove has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 1, 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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/search/XiangqiSearch.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ceee890ac41ac5604bd2a7bdcb25445740fd3478ab78ca47929e87513d1aa50"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiGameScreenKt.XiangqiGameScreen (cognitive 18): XiangqiGameScreenKt.XiangqiGameScreen has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"508a98c07664fa00aaa127093ce187717154393eff4a4195393482f110424154"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiLibraryScreenKt.GameCard (cognitive 18): XiangqiLibraryScreenKt.GameCard has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, match/switch 4 (5 pts), boolean chains 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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiLibraryScreen.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a766fbe08f3f47d5183e814da40d9d66713452610a2d417f656a1d9a723dd5d"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlBlockModelCompiler.buildTree (cognitive 18): HtmlBlockModelCompiler.buildTree has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 2 (5 pts), loops 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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/core/compile/HtmlBlockModelCompiler.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3abfe31b97bfab53cf2567aeec65037e8ebaa8b914dd368fbbe635c2537492b"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeHtmlPolicy.blockAction (cognitive 18): SafeHtmlPolicy.blockAction has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/core/compile/SafeHtmlPolicy.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f0d5cfa737bd217af571362ea2072c8b530da6167dbebd38773eb67fb6a5db"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMarkdownLayoutEngineKt.layoutBlockInternal (cognitive 18): DefaultMarkdownLayoutEngineKt.layoutBlockInternal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/engine/DefaultMarkdownLayoutEngine.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d675c1296d6f6e4ab48bcf392ea680aceae0409e6fa5fede567ac860f9c69d1c"}},{"ruleId":"D2","level":"warning","message":{"text":"deviceInfo.loadDeviceInfo (cognitive 18): deviceInfo.loadDeviceInfo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/device/deviceInfo.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2b6be441e4ea74e42a79024b7096b654fcdf6d4c150ad47f58d6bfe0036c92"}},{"ruleId":"D2","level":"warning","message":{"text":"prettier (cognitive 18): prettier has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 1 (3 pts), error handling 1, loops 1 (nesting depth added 6). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 4 function items inside it that branch (main, transformFile, a function literal at line 77, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/build.mjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd61699e7321c42f1012010345933e34449f607a37323c799d28a1e6f03d248d"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectorSupportKt.rememberSelectorState (cognitive 17): SelectorSupportKt.rememberSelectorState has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), match/switch 2 (5 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/SelectorSupport.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bda5d9e6be1cf6f1a4e67e420910c3550aff5af66b84f061e482c4698eb6c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ChineseDatePickerDialogKt.ChineseDatePickerDialog (cognitive 17): ChineseDatePickerDialogKt.ChineseDatePickerDialog has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 2, error handling 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4224294c2083f6ed44b35996b28710beadc1e9ac2c7568fa8b4218c544dd0b"}},{"ruleId":"D2","level":"warning","message":{"text":"DatePickerKt.handleColumnChange (cognitive 17): DatePickerKt.handleColumnChange has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/DatePicker.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13c8a1a8a01e0d3f2f9515ac8b7ad9c1bfc0beb6b54300811fe5b567a6c9b41"}},{"ruleId":"D2","level":"warning","message":{"text":"EnhancedModalTopSheetKt.EnhancedModalTopSheet (cognitive 17): EnhancedModalTopSheetKt.EnhancedModalTopSheet has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalTopSheet.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c639222b1c76d34904e27f520efd71463aae46b895df26bba8f48918321efc0b"}},{"ruleId":"D2","level":"warning","message":{"text":"GlassFilterChipKt.GlassFilterChip (cognitive 17): GlassFilterChipKt.GlassFilterChip has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (17 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassFilterChip.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d68e79a4ac040e58ad12fc436610227a6e5167f80e4d5a04b31dddeba203564"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtocolRoutingAIRequestHandler.parseResponsesSsePayload (cognitive 17): ProtocolRoutingAIRequestHandler.parseResponsesSsePayload has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 2 (3 pts), boolean chains 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":"feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f69d7333c85c5e62cf01588ed818db255ad983b78fd5d5a75b26cb1a88523a"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtocolRoutingAIRequestHandler.parseResponsesOutputItem (cognitive 17): ProtocolRoutingAIRequestHandler.parseResponsesOutputItem has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 3 (5 pts), boolean chains 3 (nesting depth added 4). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35117f7e97d25160a46a76524ba94fe004ba8d9cbe094e5d6e75d9177be3e5a"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtocolRoutingAIRequestHandler.convertContent (cognitive 17): ProtocolRoutingAIRequestHandler.convertContent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 2 (4 pts), loops 1 (2 pts) (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd23c22c6aa98c7f3029a784eecfcb6c7d449bb58e69b78208d74f68e6d5b4e"}},{"ruleId":"D2","level":"warning","message":{"text":"AIDuelChatScreenKt.DuelStatusBar (cognitive 17): AIDuelChatScreenKt.DuelStatusBar has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, match/switch 3 (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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7483deebe5d1b781c2f9e1c1f40db3e0329862c2556e3e9d51755623a2c7e45"}},{"ruleId":"D2","level":"warning","message":{"text":"FileUploadRouter.processWithBase64AndCollect (cognitive 17): FileUploadRouter.processWithBase64AndCollect has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (5 pts), match/switch 1 (2 pts), boolean chains 1, loops 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":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileUploadRouter.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2a75128c4ed8e2fdaa8d61b24c0b999c983aa6b5b981a7ca6a3f20d799e3be"}},{"ruleId":"D2","level":"warning","message":{"text":"GpsAltitudeSource.altitudeFlow (cognitive 17): GpsAltitudeSource.altitudeFlow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 2, error handling 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/altitude/src/main/java/com/wanbaohe/altitude/data/sensor/GpsAltitudeSource.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4db7a5d43a71b56f5c9b8c92d0552efe91276858f7a3e8b7e9c7f9b7d85b02"}},{"ruleId":"D2","level":"warning","message":{"text":"CalendarShareScreenKt.CalendarShareScreen (cognitive 17): CalendarShareScreenKt.CalendarShareScreen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 3, error handling 2, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e129416973fdb1e50c59ecdf72b9096bc39bf3d6e8dc6e7dce0a9f26fc81b5"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversionTabKt.ConversionTab (cognitive 17): ConversionTabKt.ConversionTab has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1, 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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d694011c865d434af9921b293940c44d548a737c5621ada208f120301dbce2bd"}},{"ruleId":"D2","level":"warning","message":{"text":"DispatchingMoveChooser.chooseForGame (cognitive 17): DispatchingMoveChooser.chooseForGame has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, match/switch 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/DispatchingMoveChooser.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"250859c31a2e612c046b4bef37d73132278038b32cbb65b30bb52fe722889a79"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudFileGridKt.CloudFileListRow (cognitive 17): CloudFileGridKt.CloudFileListRow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, match/switch 1 (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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/CloudFileGrid.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eae5d2e3d7820940aea09b823b750ff8255233f82c701463a4b7684ed4620b4"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentsComponent.toggleBlock (cognitive 17): CommentsComponent.toggleBlock has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsComponent.kt"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdad2493bf7f9504aded3f0b44f31d074a1a92cbd9d44ece6f3b985bd3ad0fc"}},{"ruleId":"D2","level":"warning","message":{"text":"TextSelectionToolbarKt.TextSelectionActionButton (cognitive 17): TextSelectionToolbarKt.TextSelectionActionButton has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, match/switch 2, boolean chains 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":"feature/common/src/main/java/com/shifenmiao/common/components/text/TextSelectionToolbar.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edd72e7d7eff6db73eeff0492999f5f8743b348ebf1586f68e3fe68d1ae3bb2"}},{"ruleId":"D2","level":"warning","message":{"text":"AIEngineSyncManager.performReplaceUpdate (cognitive 17): AIEngineSyncManager.performReplaceUpdate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 2 (5 pts), boolean chains 3 (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":"feature/common/src/main/java/com/shifenmiao/common/manager/AIEngineSyncManager.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b198c58209381b481eca4caa031a5200e6473a2e05d7915d136bd47ca5ac5f"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageBaseScreenKt.ImageBaseScreen (cognitive 17): ImageBaseScreenKt.ImageBaseScreen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/ui/ImageBaseScreen.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93efa90d1ecf94e050c2ab97a365e5a60ebb94898da575fd96564fc0c47ed8d"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawContentControlsKt.DrawContentControls (cognitive 17): DrawContentControlsKt.DrawContentControls has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 4, match/switch 1 (2 pts) (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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentControls.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6294f8e40468c4ef27c7b76cc2af9b28eafb981a905649ed50ef59c5b770ac43"}},{"ruleId":"D2","level":"warning","message":{"text":"FileBrowserComponent.getBreadcrumbs (cognitive 17): FileBrowserComponent.getBreadcrumbs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 2 (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":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/screenLogic/FileBrowserComponent.kt"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e708bf4ced65a5dfe5581b894291791f710bfa16d1520d6b728a60b30db3243"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessageItemKt.ChatMessageItem (cognitive 17): ChatMessageItemKt.ChatMessageItem has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 3, 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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/screen/components/ChatMessageItem.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bbbf415992b734bfc91e6e2aca2f1d07138be87480cfcb4c24b6b2544a4ce3"}},{"ruleId":"D2","level":"warning","message":{"text":"FileTransferServer.handleDelete (cognitive 17): FileTransferServer.handleDelete has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"5543c507b87e271c615a106edfd33ca3ee82efa493f623c659d3682aaaab3fee"}},{"ruleId":"D2","level":"warning","message":{"text":"Pixelate.getPixelColor (cognitive 17): Pixelate.getPixelColor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (7 pts), boolean chains 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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/Pixelate.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ddcf1d77a8e7c6311973271c88d987ab7c49aed18f466509a46fe0690a6068"}},{"ruleId":"D2","level":"warning","message":{"text":"PixelationTool.getPixelColor (cognitive 17): PixelationTool.getPixelColor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (7 pts), boolean chains 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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/PixelationTool.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"be88b55d822d5cf57adc26bd91ef33b8c85836899a25abc0061f0d2c90f8a534"}},{"ruleId":"D2","level":"warning","message":{"text":"FiltersContentKt.FiltersContent (cognitive 17): FiltersContentKt.FiltersContent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 3. 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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/FiltersContent.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"27011f2d4076e10c27d062e471ba5ad6806dfa814a7f2aeefbe9698bd65cb951"}},{"ruleId":"D2","level":"warning","message":{"text":"GameEngine.isGameOver (cognitive 17): GameEngine.isGameOver has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 4 (6 pts), boolean chains 2 (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":"feature/game2048/src/main/java/com/wanbaohe/game2048/component/GameEngine.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c4a150c4a45b7656133558d0edee450d03ad129ffd4df7993f8a89fe971d85"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportGameUseCase.importJson (cognitive 17): ImportGameUseCase.importJson has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 4, boolean chains 1, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ImportGameUseCase.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"519be0f1ca41eb1e6f942ed56b025e4efa875d4f0c5de867fcc823b8bd6bd028"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidImageCutter.cutHorizontally (cognitive 17): AndroidImageCutter.cutHorizontally has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, loops 1 (nesting depth added 3). 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 (AndroidImageCutter.cutVertically) 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":"feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/data/AndroidImageCutter.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9b8712e7bfce01c8b224a0b1ee0f2a8d4b35b10e24bcfd6f49a76df8870eb0"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidImageCutter.cutVertically (cognitive 17): AndroidImageCutter.cutVertically has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, loops 1 (nesting depth added 3). 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 (AndroidImageCutter.cutHorizontally) 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":"feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/data/AndroidImageCutter.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8a9ab2f5eb7a48e12c4137d35c2061607ae653853891496a11cd047d572380"}},{"ruleId":"D2","level":"warning","message":{"text":"ImagePreviewContentKt.ImagePreviewContent (cognitive 17): ImagePreviewContentKt.ImagePreviewContent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 5. 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":"feature/image-preview/src/main/java/com/t8rin/imagetoolbox/feature/image_preview/presentation/ImagePreviewContent.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4273342f666a08762b1bf0936911467d28915574f0f4c36c327023e0d84a28"}},{"ruleId":"D2","level":"warning","message":{"text":"LibrariesContainerKt.LibrariesScaffold (cognitive 17): LibrariesContainerKt.LibrariesScaffold has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 7, error handling 1 (2 pts) (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":"feature/libraries-info/src/main/java/com/t8rin/imagetoolbox/feature/libraries_info/presentation/components/LibrariesContainer.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a1bbed6b2133b0db9f126410880298e996033a085b09cebe990d6344cd75d4"}},{"ruleId":"D2","level":"warning","message":{"text":"LifeTimeAddMilestoneScreenKt.MilestoneForm (cognitive 17): LifeTimeAddMilestoneScreenKt.MilestoneForm has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 3. 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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddMilestoneScreen.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"90674a2d19f166c134234c939b65dc7f1f5e0e753ace278773bb15a9f27d1546"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorScaffoldKt.EditorLayerStack (cognitive 17): EditorScaffoldKt.EditorLayerStack has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 8. 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1934542df791a5786b884f0bf83fa54bb6bd71df148359206280a66e915aae"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaPickerComponent.collectMedia (cognitive 17): MediaPickerComponent.collectMedia has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2 (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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/screenLogic/MediaPickerComponent.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc52c93d90b7432318a164c612a2bb6f63a863b4be6d130ab05877ec34289fe"}},{"ruleId":"D2","level":"warning","message":{"text":"PagingDataItemScreenKt.PinListToNewestHead (cognitive 17): PagingDataItemScreenKt.PinListToNewestHead has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5 (nesting depth added 3). 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":"feature/online/src/main/java/com/shifenmiao/online/screen/PagingDataItemScreen.kt"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaee1d9f15ea91e198e5620bc5977f0e168043233da827a5bef06845051611a7"}},{"ruleId":"D2","level":"warning","message":{"text":"AddRecordScreenKt.AddRecordScreen (cognitive 17): AddRecordScreenKt.AddRecordScreen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (17 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":"feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/AddRecordScreen.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bba9ca23ca450b377d32a612d9753a90cb837c7e476e6127366c473352c74f"}},{"ruleId":"D2","level":"warning","message":{"text":"AiEngineProtocolSwitchKt.switchedRequestProtocol (cognitive 17): AiEngineProtocolSwitchKt.switchedRequestProtocol has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), match/switch 4, boolean chains 2 (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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/component/AiEngineProtocolSwitch.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1223b31d8fe10a85ee2b345b9d4856e309f4cdbbcf69cd3a12485785240e15bc"}},{"ruleId":"D2","level":"warning","message":{"text":"AIEngineFormPartsKt.ProviderModelsPickerDialog (cognitive 17): AIEngineFormPartsKt.ProviderModelsPickerDialog has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 1, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineFormParts.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"048601f39d7fe3b22cd15403483f9680f3cc87711e5db995e489f4d8b6df06af"}},{"ruleId":"D2","level":"warning","message":{"text":"SudokuGameContentKt.SudokuCell (cognitive 17): SudokuGameContentKt.SudokuCell has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/sudoku/src/main/java/com/wanbaohe/sudoku/screen/SudokuGameContent.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b08637ae682326dcb8da2b3c765b65b99fea88b904a019a9cccdabce3b64698"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupPositionValidator.validate (cognitive 17): SetupPositionValidator.validate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (6 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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/SetupPositionValidator.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"041e6968ed784afa298726894da01d415e52a8e35c3c716960cc014fcd744d1c"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidKanbanSubPipeline.render (cognitive 17): MermaidKanbanSubPipeline.render has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (6 pts), loops 3 (6 pts), match/switch 1 (3 pts), boolean chains 2 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidKanbanSubPipeline.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cf5f5e260d593ff2aaa04345c38dea807afcf078cf899465164c1ca4e4738c"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlComponentSubPipeline.measureNodeSize (cognitive 17): PlantUmlComponentSubPipeline.measureNodeSize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 1 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9b2d0899dbc2ab62a3fb0371b24ac5d9d5d6f4e03128cd654ee72126c178cd"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlMindmapSubPipeline.render (cognitive 17): PlantUmlMindmapSubPipeline.render has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 1, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3900723dcedf0fea0fb17fb6bd1ca965cbf935d3a3647955ab780a8740f4c45b"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlSessionPipeline.processLine (cognitive 17): PlantUmlSessionPipeline.processLine has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSessionPipeline.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2519c21048d07eec67fe2969a12ff68a98d42644b77e815c1fbd7aab67523cac"}},{"ruleId":"D2","level":"warning","message":{"text":"ListRendererKt.ListItemRow (cognitive 17): ListRendererKt.ListItemRow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/ListRenderer.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7282517c48a3827ae237917d173eb8644d8450e128ab169dd3b6d853fffdf6f8"}},{"ruleId":"D2","level":"warning","message":{"text":"SeamCarver.findLowestEnergyVerticalSeam (cognitive 17): SeamCarver.findLowestEnergyVerticalSeam has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (5 pts), boolean chains 2 (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":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/seam_carving/SeamCarver.kt"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb3a9e046e9acc09e35df76d181ff07d26d49964a84eb24ba946f3d4da87112"}},{"ruleId":"D2","level":"warning","message":{"text":"push_images.image_size (cognitive 17): push_images.image_size has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (2 pts), boolean chains 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":"fastlane/push_images.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d4df5b0651c5265033d8dc41b9db09c6cf58d8235c3674833a72703b499b85"}},{"ruleId":"D2","level":"warning","message":{"text":"push_listing.load_local (cognitive 17): push_listing.load_local has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts), boolean chains 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":"fastlane/push_listing.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d69f4bf4d15e804ee623e39144b99892bc902f44fe6ae61c71d7d482838e5fc"}},{"ruleId":"D2","level":"warning","message":{"text":"render.getFileIcon (cognitive 17): render.getFileIcon has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 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":"web/file_transfer/js/features/files/render.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f0ee7ddb3ea122960a5f27fdce483dd13e521a47aee07a16999014afb87f97"}},{"ruleId":"D2","level":"warning","message":{"text":"editor.src.insertList (cognitive 17): editor.src.insertList has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 2 (7 pts), if/else 5 (6 pts), error handling 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/editor.src.js"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb62d65703a1b802a5941b16446fb2875d1cf6af0a651261e87b57201cf6c6df"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialComponentsKt.IconRenderer (cognitive 16): MaterialComponentsKt.IconRenderer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 2 (6 pts) (nesting depth added 6). 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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"710bc6e573b430efe00bdb4d5bf8dffcfe97e6e62b54736a61d253ed22de4518"}},{"ruleId":"D2","level":"warning","message":{"text":"FavoritesContentKt.FavoritesContent (cognitive 16): FavoritesContentKt.FavoritesContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/FavoritesContent.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fafa05a066d6d13eb1c9482501ce5f0cad03331385520cea77cf81f79a8db4f"}},{"ruleId":"D2","level":"warning","message":{"text":"AiRequestUrlResolver.resolveRequestUrl (cognitive 16): AiRequestUrlResolver.resolveRequestUrl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/AiRequestUrlResolver.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd003fa72148bb7742ee45079ebdde6ce49a6702d43a2544c1d1c19ac83ad818"}},{"ruleId":"D2","level":"warning","message":{"text":"FileAccessGuidanceKt.rememberFileAccessController (cognitive 16): FileAccessGuidanceKt.rememberFileAccessController has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content/FileAccessGuidance.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8dd47f55f2f201890ac2844aac07088eec65d0f81ba9fa0606826776ec5789"}},{"ruleId":"D2","level":"warning","message":{"text":"PaletteColorsCardKt.PaletteColorsCard (cognitive 16): PaletteColorsCardKt.PaletteColorsCard has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/PaletteColorsCard.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d349431f3e75fc6c4828a2d10603cf5f3561dca0cfa0592eb20ed32cea01a8a"}},{"ruleId":"D2","level":"warning","message":{"text":"OneTimeSaveLocationSelectionDialogKt.OneTimeSaveLocationSelectionDialog (cognitive 16): OneTimeSaveLocationSelectionDialogKt.OneTimeSaveLocationSelectionDialog has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 3. 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/OneTimeSaveLocationSelectionDialog.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f1b0c5b9f15c657d5a576f233b15173ff6ecde8e90957912e402ad7326fa34"}},{"ruleId":"D2","level":"warning","message":{"text":"EnhancedAlertDialogKt.BasicEnhancedAlertDialog (cognitive 16): EnhancedAlertDialogKt.BasicEnhancedAlertDialog has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4 (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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedAlertDialog.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d558eb5d735dd67a50ec5e3b50ca14f71d09cea19747c76eff62e113a48d970"}},{"ruleId":"D2","level":"warning","message":{"text":"EnhancedModalBottomSheetKt.EnhancedModalSheetImpl (cognitive 16): EnhancedModalBottomSheetKt.EnhancedModalSheetImpl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dc105a31d27f97f73ced22e92c62a18703cd14c2c57b9e48617a035877f684"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomRangeSliderKt.rangeSliderStartThumbSemantics (cognitive 16): CustomRangeSliderKt.rangeSliderStartThumbSemantics has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CustomRangeSliderKt.rangeSliderEndThumbSemantics) 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomRangeSlider.kt"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef320e4640afcbe8d5b0386d60f9a8551845d2f1e0c83c164cf6e93a484b7d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomRangeSliderKt.rangeSliderEndThumbSemantics (cognitive 16): CustomRangeSliderKt.rangeSliderEndThumbSemantics has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CustomRangeSliderKt.rangeSliderStartThumbSemantics) 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomRangeSlider.kt"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"f503589a5464804dc2692b3377935b9ab8a5f5e68bd8828a609dff092c98158e"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomSliderKt.sliderSemantics (cognitive 16): CustomSliderKt.sliderSemantics has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSlider.kt"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d425410b13558b78e91adbb4e97d1f67d1f18df5f85967833d37f9487c0cb7"}},{"ruleId":"D2","level":"warning","message":{"text":"RoundedTextFieldKt.RoundedTextFieldColors (cognitive 16): RoundedTextFieldKt.RoundedTextFieldColors has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/RoundedTextField.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"7603ec810e3bc4f2c6e866cb804ac737b3a5b0b198aea8c87c9a45b7dbc7e950"}},{"ruleId":"D2","level":"warning","message":{"text":"LiteRtLmRuntime.generate (cognitive 16): LiteRtLmRuntime.generate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 2 (4 pts), 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":"feature/ai/src/litertlm/java/com/shifenmiao/ai/request/LiteRtLmRuntime.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d8015a24faecb707ff96c90b43d3f439684aed269134db23959e36a8eaee54"}},{"ruleId":"D2","level":"warning","message":{"text":"AppNavigationCatalogRepository.scoreSingle (cognitive 16): AppNavigationCatalogRepository.scoreSingle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AppNavigationCatalogRepository.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb73c17bdecd18fbe9e790fc607eedb4942c3e4e5eb9291868f54bf907564e4"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateNoteTool.saveNoteAndMaybeOpen (cognitive 16): CreateNoteTool.saveNoteAndMaybeOpen has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 2 (3 pts), error handling 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/CreateNoteTool.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"76869d41bdec61083b13e6acbdadfa961b318f7e439b9e638523002ed8265cf1"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoverToolsTool.scoreTool (cognitive 16): DiscoverToolsTool.scoreTool has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/DiscoverToolsTool.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6016cd7926e9321e810baa81db2071d2b585573e45696ee7c24a1a9ee578f3eb"}},{"ruleId":"D2","level":"warning","message":{"text":"EditFileTool.validate (cognitive 16): EditFileTool.validate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), match/switch 4 (7 pts), boolean chains 2 (nesting depth added 4). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/EditFileTool.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"144a425c83a9e9601afe3ccd856a5cdbe0ee6798d5f3097661768fb5fee0b577"}},{"ruleId":"D2","level":"warning","message":{"text":"AiExecutionTimelineCardKt.ToolCallDetailPanel (cognitive 16): AiExecutionTimelineCardKt.ToolCallDetailPanel 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":"feature/ai/src/main/java/com/shifenmiao/ai/execution/component/AiExecutionTimelineCard.kt"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aca0c38632c1e78f379d43eb42848458c79593065c4f2dd32ecf872622b71bb"}},{"ruleId":"D2","level":"warning","message":{"text":"AIChatScreenKt.AIChatScreen (cognitive 16): AIChatScreenKt.AIChatScreen has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"104a8544956a2c541453272663a1ab39edf0ace5603bd7995760e02f14c16009"}},{"ruleId":"D2","level":"warning","message":{"text":"CalendarShareCardRenderer.drawVectorPath (cognitive 16): CalendarShareCardRenderer.drawVectorPath has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0c3b8ec4e1d7e130a32a82c8568652f1cf1d2f90a349016099ef9603770767"}},{"ruleId":"D2","level":"warning","message":{"text":"CalendarShareWeather.summary (cognitive 16): CalendarShareWeather.summary has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareModels.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"05eaf005df75d6d34d2cb326caa2301256704516109ec61254650082fc23ab78"}},{"ruleId":"D2","level":"warning","message":{"text":"CalendarTabKt.CalendarDayCell (cognitive 16): CalendarTabKt.CalendarDayCell has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 2, boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4384c2b382d521c923d414d1d78f02c0cbcfb124245d620ab5f703a24d82921"}},{"ruleId":"D2","level":"warning","message":{"text":"ChessGameComponent.start (cognitive 16): ChessGameComponent.start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 6. 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e88ed0454e5ba405ebad7ee7dec6d1587d19437646cc2e9321060031cd5f52"}},{"ruleId":"D2","level":"warning","message":{"text":"ChessGameComponent.requestAiMove (cognitive 16): ChessGameComponent.requestAiMove has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee860c9451381919d88cd51fddcd984539b7bf47210a38ef0928ec6a771c82a"}},{"ruleId":"D2","level":"warning","message":{"text":"FeaturedComponentsKt.FeaturedCard (cognitive 16): FeaturedComponentsKt.FeaturedCard has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 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":"feature/common/src/main/java/com/shifenmiao/common/components/FeaturedComponents.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8326afa92de4d9c518536ab8c3a0c86b4e176b2f2890a602d5595e9b38ed6c65"}},{"ruleId":"D2","level":"warning","message":{"text":"AIEngineManager.applyRemoteConfigDefaults (cognitive 16): AIEngineManager.applyRemoteConfigDefaults has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/manager/AIEngineManager.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"057308a57003f7ab158d2a63f2f37c624b1971bdbe608dfd04136ff6d683a1bd"}},{"ruleId":"D2","level":"warning","message":{"text":"AiEngineTestDialogKt.AiEngineTestDialog (cognitive 16): AiEngineTestDialogKt.AiEngineTestDialog has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15 (16 pts) (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":"feature/common/src/main/java/com/shifenmiao/common/ui/ai/AiEngineTestDialog.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5371b4c9d18fc4d12e730b4376a7be5504ae57640ec72ef2468174c18ca8c8a5"}},{"ruleId":"D2","level":"warning","message":{"text":"PathHelper.drawPolygon (cognitive 16): PathHelper.drawPolygon has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/PathHelper.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f68c46a5ba71876f230755166681651c5fefb5e02bf27a9c288d8311eb08c9"}},{"ruleId":"D2","level":"warning","message":{"text":"PairingScreenKt.OfferCard (cognitive 16): PairingScreenKt.OfferCard has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/PairingScreen.kt"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc22aca07f465e5e8426d756ca1cef01781484b39ee86ef75ceec761db556c4"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsSheetKt.ProviderEditor (cognitive 16): SettingsSheetKt.ProviderEditor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 2, loops 1 (2 pts), boolean chains 1 (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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/SettingsSheet.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a186864ed497bda1bfe33a7fe45b8beadfb98138693056334e3420f72a1674f"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractorStore.validateQuestionAnswers (cognitive 16): InteractorStore.validateQuestionAnswers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 2 (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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/InteractorStore.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7231b13a2eba7749446467cc91a6d0fdfacbca7c1243eaba040cc8fb098218"}},{"ruleId":"D2","level":"warning","message":{"text":"PathPaintPreviewKt.PathPaintPreview (cognitive 16): PathPaintPreviewKt.PathPaintPreview has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (16 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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/PathPaintPreview.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8053fe099104c778ef1bb52bf2eddc7281a8a5bf1360aba7665efb11f5e3b1c1"}},{"ruleId":"D2","level":"warning","message":{"text":"GameBoardKt.GameBoard (cognitive 16): GameBoardKt.GameBoard has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (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":"feature/game2048/src/main/java/com/wanbaohe/game2048/ui/GameBoard.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f4a3971c14d75b4b3fb51647c6b344038e6d0a5249ef32968262bd66032694"}},{"ruleId":"D2","level":"warning","message":{"text":"GomokuAnalysisComponent.practiceFromHere (cognitive 16): GomokuAnalysisComponent.practiceFromHere has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c309a4a4ddcebffcc996a6166debe3949efbca4b6625cfc138674f1cff3c87c5"}},{"ruleId":"D2","level":"warning","message":{"text":"GomokuGameComponent.start (cognitive 16): GomokuGameComponent.start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6 (nesting depth added 3). 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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"3158f420e255aa1fa796017a6f90096dedffbcad613c5e458f5de8e09c716af9"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidImageCombiner.calculateCombinedImageDimensionsAndBitmaps (cognitive 16): AndroidImageCombiner.calculateCombinedImageDimensionsAndBitmaps has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1 (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":"feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/data/AndroidImageCombiner.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"37174468205b1115cff010e28916dd65997535b7e917cd818451b048570e6dc1"}},{"ruleId":"D2","level":"warning","message":{"text":"LoginOtherKt.LoginOther (cognitive 16): LoginOtherKt.LoginOther has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/ui/LoginOther.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8a4baea409e152608ce4412d04cc2c9ea7d6be7cf87b8deee56862137c1c29"}},{"ruleId":"D2","level":"warning","message":{"text":"LoginComponent.detectBindPhone (cognitive 16): LoginComponent.detectBindPhone has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (16 pts) (nesting depth added 10). 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":"feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"b023d3e82fb2b1e5ccf11d2eeb082d5acc770ba0f97abcc7eb45e3963f2453ad"}},{"ruleId":"D2","level":"warning","message":{"text":"ShantenCalculator.standardShanten (cognitive 16): ShantenCalculator.standardShanten has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3 (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":"feature/mahjong/src/main/java/com/wanbaohe/mahjong/domain/rules/ShantenCalculator.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7078109517006fb763fa2652ae1d0b7a49749b42d2b822f98f62ec01528c7be"}},{"ruleId":"D2","level":"warning","message":{"text":"QuickAddTodoSheetKt.QuickAddTodoSheet (cognitive 16): QuickAddTodoSheetKt.QuickAddTodoSheet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/QuickAddTodoSheet.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"099b64276f4dccfd5c88eeae645943ba17ec58dc3fee1ad5a8adce0d6ac96347"}},{"ruleId":"D2","level":"warning","message":{"text":"AngleMeasureKt.AngleMeasureBackground (cognitive 16): AngleMeasureKt.AngleMeasureBackground has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (13 pts), match/switch 2, boolean chains 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":"feature/measurement/src/main/java/com/wanbaohe/measurement/screen/AngleMeasure.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"de77cd3f899576cdeb8e576f905ca91485e0e77eb84f789ac37f8da3378c48aa"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaQueryKt.getAlbums (cognitive 16): MediaQueryKt.getAlbums has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 1 (2 pts), 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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/data/utils/MediaQuery.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4a229a2ea837774fafa2d9dd5e90a29ef7632e8725bbdac9f20919cfa1a87e"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaPickerRootContentEmbeddableKt.MediaPickerRootContentEmbeddable (cognitive 16): MediaPickerRootContentEmbeddableKt.MediaPickerRootContentEmbeddable has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerRootContentEmbeddable.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"408fd4c9a8375933501aac3128ee83bc71b01bde5c543f042c56005b40fcc793"}},{"ruleId":"D2","level":"warning","message":{"text":"RecognizedImageKt.SelectableRecognizedLine (cognitive 16): RecognizedImageKt.SelectableRecognizedLine has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/screen/RecognizedImage.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"192307b65f3a8b2180160f2972a4b1732e5485fc82c3986c7eae4173a5176b6c"}},{"ruleId":"D2","level":"warning","message":{"text":"ResizeAndConvertContentKt.ResizeAndConvertContent (cognitive 16): ResizeAndConvertContentKt.ResizeAndConvertContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb56f99d3c47c16669b3a67623ef9f07bcd72e8336f0116c7771bf52054edb4"}},{"ruleId":"D2","level":"warning","message":{"text":"AIAddEngineScreenKt.CloudUrlPathFields (cognitive 16): AIAddEngineScreenKt.CloudUrlPathFields has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 1 (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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIAddEngineScreen.kt"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"543ffc69eaa6ccda2e79d02b6d4b0c435ee42801c2c66d294b5f840742b184cf"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemPromptDetailScreenKt.SystemPromptDetailScreen (cognitive 16): SystemPromptDetailScreenKt.SystemPromptDetailScreen has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 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":"feature/settings/src/main/java/com/wanbaohe/setting/prompt/screen/SystemPromptDetailScreen.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0eafa11985929fc0790ff40a9ee8fbab9f19f5b2f7f7cd0427367caac22e92d"}},{"ruleId":"D2","level":"warning","message":{"text":"Survive30sScreenKt.rememberPlayerPalette (cognitive 16): Survive30sScreenKt.rememberPlayerPalette has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. 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":"feature/survive30s/src/main/java/com/wanbaohe/survive30s/screen/Survive30sScreen.kt"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"4829d95496ce8a70ba2b72d8bea1424cb356e831aaf8b93213f37a88cb5eabaa"}},{"ruleId":"D2","level":"warning","message":{"text":"BitmapWatermarkRenderer.render (cognitive 16): BitmapWatermarkRenderer.render has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, error handling 4, boolean chains 2, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/data/render/BitmapWatermarkRenderer.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b125e1871f872f19729eb64265e6466f873f39037f83fed1a9ba2454cdb5070"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentPanelKt.DynamicContentControls (cognitive 16): ContentPanelKt.DynamicContentControls has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, match/switch 3 (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":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/panels/ContentPanel.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"406d9e11b34bb681dc2811d85fb45eb4c3fd8c75df00aa8182b3b754f4a6b214"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlMarkdownConverter.convertHtmlBlocks (cognitive 16): HtmlMarkdownConverter.convertHtmlBlocks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, loops 2 (3 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":"feature/webview/src/main/java/com/shifenmiao/webview/HtmlMarkdownConverter.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a5ef2a5d307369e704fd251ef321c26d6e2bf5d8fde162fe1bb1367c54a0e8"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiAttacks.byKnight (cognitive 16): XiangqiAttacks.byKnight has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/search/XiangqiAttacks.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5191bd4553ae9ab3ec97852ce8bfd5c2e0596253286089075d14e045bf562967"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiSearch.negamax (cognitive 16): XiangqiSearch.negamax has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), 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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/search/XiangqiSearch.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c56675a74c446fbe25df9cd9ca38e9b9b9fd7d5bbaa6a61722fa1d1f38ec4c"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiGameScreenKt.XiangqiGameContent (cognitive 16): XiangqiGameScreenKt.XiangqiGameContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5 (nesting depth added 3). 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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9d849f01509eb4d380bd07df94fcc975efb0943eb6a96f4170ea25dc67dd14"}},{"ruleId":"D2","level":"warning","message":{"text":"XiangqiBoardKt.PieceDisc (cognitive 16): XiangqiBoardKt.PieceDisc has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. 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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/board/XiangqiBoard.kt"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3a22bbd36bbf0d9a6981a69ee4b590b160c1b8c53a601bc07282d2c659dec9"}},{"ruleId":"D2","level":"warning","message":{"text":"FamilyOneShotRenderersKt.buildGanttFrame (cognitive 16): FamilyOneShotRenderersKt.buildGanttFrame has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 2 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ea31dad989c2e4dbcc940aea1941c64b42368f9b3437edacd291ee0b138d67"}},{"ruleId":"D2","level":"warning","message":{"text":"MermaidErSubPipeline.prepareErLayout (cognitive 16): MermaidErSubPipeline.prepareErLayout has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, loops 2 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cfd79f425250c5b2407ee000abef3af9842071b97bed67940dba72cd426c5b"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlNetworkSubPipeline.layoutNetwork (cognitive 16): PlantUmlNetworkSubPipeline.layoutNetwork has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 5 (7 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90cd03165c7abff66b83c750b5ea9d9077f7ad26bdc57883fe6ad8d5fb68a79"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlStyleBlockRouter.route (cognitive 16): PlantUmlStyleBlockRouter.route has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStyleBlockRouter.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"802ec91b345f30a0bb54316475a646dd58c9c98b310e501af8cad996dc5a308e"}},{"ruleId":"D2","level":"warning","message":{"text":"PlantUmlTreeRenderSupport.appendBodyLine (cognitive 16): PlantUmlTreeRenderSupport.appendBodyLine has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 1 (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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlTreeRenderSupport.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea29dc91c78643f097cae747b8dba8ef0d6f2620e278509d49fac4e0a1517423"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockRendererKt.BlockRenderer (cognitive 16): BlockRendererKt.BlockRenderer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 1 (3 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/BlockRenderer.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b4b02dae5be4081c31de570414985bbe989295ac5756a371493ab93f28f1db"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineModelAdapterKt.renderTextAtom (cognitive 16): InlineModelAdapterKt.renderTextAtom has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 1, match/switch 1 (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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineModelAdapter.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9838372b89cdf9e6c7fd93f5ec1e356390fd42da0aeb080dfbf1718328ed3feb"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlBlockModelCompiler.compileListElement (cognitive 16): HtmlBlockModelCompiler.compileListElement has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 2 (3 pts), loops 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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/core/compile/HtmlBlockModelCompiler.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"2953a0a865c46e236960ccd9569abcd3714f87b48384e2764c4115f7ef7c5e8a"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownSelectionController.selectionInfo (cognitive 16): MarkdownSelectionController.selectionInfo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/selection/MarkdownSelectionController.kt"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d159074d0696851a33b426267759c2884ff0fdeeb192b5dfa2dfd66232d430"}},{"ruleId":"D2","level":"warning","message":{"text":"ModalSheetLayoutKt.ConsumeSwipeWithinBottomSheetBoundsNestedScrollConnection (cognitive 16): ModalSheetLayoutKt.ConsumeSwipeWithinBottomSheetBoundsNestedScrollConnection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/modalsheet/src/main/java/com/t8rin/modalsheet/ModalSheetLayout.kt"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10af03a506f9d2a8031af945f5b3d3c093480fb0882db56fc8ad43aa2c30cb0"}},{"ruleId":"D2","level":"warning","message":{"text":"FreeCornersCropperKt.FreeCornersCropper (cognitive 16): FreeCornersCropperKt.FreeCornersCropper has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/free_corners_crop/compose/FreeCornersCropper.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a31d0c401ad4f6424cd9777041d0bf0afb807d396c27a34a1d5ddb5885e48c"}},{"ruleId":"D2","level":"warning","message":{"text":"Moire.detectNoiseType (cognitive 16): Moire.detectNoiseType has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/moire/Moire.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cf0d8a3a910c1e5ac0f0ec94448d676042cb85e0236d5c98eb882f6772c91a"}},{"ruleId":"D2","level":"warning","message":{"text":"editor.src.initEditor (cognitive 16): editor.src.initEditor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 6, error handling 1, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 709). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/editor.src.js"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"474a2e8664c4b1ea09750d32cbb689e9979c8f20cafeda38c5c5654df92c332d"}},{"ruleId":"D2","level":"warning","message":{"text":"token (cognitive 16): token has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15 (16 pts) (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":"web/code-editor/editor.src.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de627d2657f95f8ea41f5a7f882d4f60cc885397f1b51f958571f24c1437ff5"}},{"ruleId":"D2","level":"warning","message":{"text":"startUpload (cognitive 16): startUpload has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, if/else 4 (5 pts), ternaries 3 (5 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 4 function items inside it that branch (a function literal at line 230, onProgress, a function literal at line 252, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/upload/upload.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d57a8d472e686ef643dbd25d0d0a8b6d9687f79d86cb37b1d3604dbb6414c4f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChildProvider.createChild: MethodTooLong \u2014 createChild runs 964 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 864 over it, 9.64\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":"feature/app/src/main/java/com/t8rin/imagetoolbox/feature/root/presentation/components/navigation/ChildProvider.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3ca82634a0f801065918766f04826102b43070f9ac4ec307f8ebc935c1e5d5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextCardEditorScreenKt.TextCardEditorScreen: MethodTooLong \u2014 TextCardEditorScreen runs 543 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 443 over it, 5.43\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d0227eb613f279bf2882f95cf96d7bb564554c97e3e4cfbb3db385afcf0557"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LineIconsPreviewKt.LineIconsPreview: MethodTooLong \u2014 LineIconsPreview runs 510 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 410 over it, 5.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/line/LineIconsPreview.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e406a59b38c404f7892e6ca011f39581d2323ddfba966ecaee02dffcc6183d6b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MarkupLayersComponent: TooManyMethods \u2014 148 methods. The bar is 30 methods; this is 118 over it, 4.93\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddad6a58e98de6cf4a3fab6ff176a24dff62543c5af170183ccfd7846a67e88"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AIEngineSettingsDetailScreenKt.AIEngineSettingsDetailScreen: MethodTooLong \u2014 AIEngineSettingsDetailScreen runs 471 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 371 over it, 4.71\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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fdb12bdec6bb0c26c99ef4bcbd513f8a72969fad6cfbb01eddeaef8bbb99dd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CloudStorageScreenKt.CloudStorageScreen: MethodTooLong \u2014 CloudStorageScreen runs 467 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 367 over it, 4.67\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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/CloudStorageScreen.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e6bf66a365218ba18644588f05ef0a22dfd9695ec285052660cb60df525db5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Screen: ClassTooLong \u2014 1859 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 1459 over it, 4.65\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/navigation/Screen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb732ff1c4673c402ff412db5e17abfe420826dd3b921eec51153dfe13f8512c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MarkupLayersComponent: ClassTooLong \u2014 1843 significant lines (blank, comment-only and punctuation-only lines excluded), 148 methods. The bar is 400 significant lines; this is 1443 over it, 4.61\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c2d438ce95d49239daf81be50a7b434ea37ea4ea6929b9e7e1c3082934fa70"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AndroidSettingsManager: TooManyMethods \u2014 134 methods. The bar is 30 methods; this is 104 over it, 4.47\u00D7 the bar. Most of these members implement domain.SettingsInteractor (113 of 134 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/t8rin/imagetoolbox/feature/settings/data/AndroidSettingsManager.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb446eb7f659e2bdde5b0079b2c75d050d3bc2ee949f1dc0119a56303352a8e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExtendedFrameImage: TooManyMethods \u2014 133 methods. The bar is 30 methods; this is 103 over it, 4.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5131c3767651e2f69136fdd9a6d265e6cc0529a1afc287a90eea4c857859ffa1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatScreenKt.ChatScreen: MethodTooLong \u2014 ChatScreen runs 407 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 307 over it, 4.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc1f6761da0d5ff38d435c760fc6a7426d43948342b44e847183a09294ee580"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BoardGameGifExportDialogKt.BoardGameGifExportDialog: MethodTooLong \u2014 BoardGameGifExportDialog runs 396 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 296 over it, 3.96\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":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/export/BoardGameGifExportDialog.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74d8d0d367a639abfd4fd92aaad741c79282da91609901f0defd28f329bd136"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screenLogic/MarkupLayersComponent.kt: FileTooLong \u2014 1976 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: MarkupLayersComponent (153-2837). The bar is 500 significant lines; this is 1476 over it, 3.95\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95c6faec6a4426743358fc87c864c4f831f204d51daf6bee0f1a7f4314ab8dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/CoinFrontLi.kt: FileTooLong \u2014 1970 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: CoinFrontLi (31-2307). The bar is 500 significant lines; this is 1470 over it, 3.94\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":"feature/iching-divination/src/main/java/com/wanbaohe/iching/ui/icons/CoinFrontLi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad02fa47e93cbe22d2cc084ff304ad9bcbe0f3517978064f2403404ff226087d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EditorScaffoldKt.EditorScaffold: MethodTooLong \u2014 EditorScaffold runs 387 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 287 over it, 3.87\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"90731b34c42b1b4ad1fd6b879254e3523228c487a904866850ff75472e962242"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: navigation/Screen.kt: FileTooLong \u2014 1920 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Screen (83-2522). The bar is 500 significant lines; this is 1420 over it, 3.84\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/navigation/Screen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1486cb69496937fbacf35cd0137677140bc7723b2b02d736cb000697983785"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MarqueeScreenKt.MarqueeScreen: MethodTooLong \u2014 MarqueeScreen runs 381 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 281 over it, 3.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":"feature/marquee/src/main/java/com/shifenmiao/marquee/screen/MarqueeScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"464b034ad523598a25d533eb87e921b6572bdda40cd494fe3c273cbb535dbbb3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CollageMakerContentKt.CollageMakerContent: MethodTooLong \u2014 CollageMakerContent runs 377 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 277 over it, 3.77\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":"feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dec6b217fe5f1db072f2b7dc76c5e9ce02baf3646d4eb155a9d37e48af73cee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.itemDataDao: MethodTooLong \u2014 itemDataDao runs 363 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 263 over it, 3.63\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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74715a3c5e5053ca8211c79034bec2a50e90ad9928b10cf1adfd99866b2ba4b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.messageDao: MethodTooLong \u2014 messageDao runs 362 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 262 over it, 3.62\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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"327d853e447020daca4d1a88f88d1e06196b7f672d313960b362141affc92802"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.conversationDao: MethodTooLong \u2014 conversationDao runs 361 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 261 over it, 3.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7027715b48a75e5ce3f95edaf2e0df60acb317b18e9e58626de2e480c27cad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.agentDao: MethodTooLong \u2014 agentDao runs 360 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 260 over it, 3.60\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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcda11f04678f2860e4eaa98cf9f6a73cc25df9f054bb2f29743976e44d54acb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.chatPromptDao: MethodTooLong \u2014 chatPromptDao runs 359 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 259 over it, 3.59\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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"498b1817920ac3cd1d68d3703b25997c14eee909d920decaf76e8053d17b6e34"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: share/CalendarShareCardRenderer.kt: FileTooLong \u2014 1792 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1292 over it, 3.58\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37939a4e836c0d6d37b71b264424fbe5bbdaa7eb445fd480a422f66b4d0d42c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.categoryDao: MethodTooLong \u2014 categoryDao runs 358 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 258 over it, 3.58\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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f67749db4590488af38a9efba5e53582e83fe54b57fcff9cc4cbe3e5c9553c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.activityLogDao: MethodTooLong \u2014 activityLogDao runs 357 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 257 over it, 3.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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"94361613eaf8267caa360468a520330e2e35786b812a116a4a8f37713ea969e7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.toolCallTaskDao: MethodTooLong \u2014 toolCallTaskDao runs 356 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 256 over it, 3.56\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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de89899dd3430823e4b151591bcd42a2f5108b25c233d2feb0d83c62d2cf83c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileBrowserScreenKt.FileBrowserScreen: MethodTooLong \u2014 FileBrowserScreen runs 356 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 256 over it, 3.56\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":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/screen/FileBrowserScreen.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fbc6b52a5aed416fd89ebf94b63418ebde4daf3daebf0e1777810da7df3f9f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.themePresetDao: MethodTooLong \u2014 themePresetDao runs 355 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 255 over it, 3.55\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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"01564d0b25df6c5daa64fbe81a23c7213271aee0a6aaec47d1af696f1dba978e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.toolCatalogDao: MethodTooLong \u2014 toolCatalogDao runs 354 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 254 over it, 3.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4b2fc146d777584b3b646d81c4c2f6509e8c29caa72c24df1d7f112f400c3c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.conversationToolPolicyDao: MethodTooLong \u2014 conversationToolPolicyDao runs 353 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 253 over it, 3.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef3897eebdaf16713071edfe8a631972546dbf0b3bc1c6dceb0b4b643a90329"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.toolBindingDao: MethodTooLong \u2014 toolBindingDao runs 352 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 252 over it, 3.52\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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e09e173a24085bbe1ebc7016ccd87e754feffd37fcdbe20fecd749133a15a0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.ttsAudioEntryDao: MethodTooLong \u2014 ttsAudioEntryDao runs 351 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 251 over it, 3.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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9f5450ab0af27298c9a87b585f34e6f787ff08ec88c997707d334b736fe0b9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.passwordVaultEntryDao: MethodTooLong \u2014 passwordVaultEntryDao runs 350 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 250 over it, 3.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcc03e59204729dc7d44f1998b2b68d3262dbcdbda96a1a862c1ec559516aa3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.passwordVaultCategoryDao: MethodTooLong \u2014 passwordVaultCategoryDao runs 349 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 249 over it, 3.49\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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbea9000e2871fb9a32c9d021a6f6debceb336aabeb45b510d3a7b246c3b959"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.authCodeDao: MethodTooLong \u2014 authCodeDao runs 348 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 248 over it, 3.48\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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dd5300fdc54ba61a288ac4f6d7ebc0f737b78ef2168a09cde5cf9404aa9458"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.memoryEntryDao: MethodTooLong \u2014 memoryEntryDao runs 347 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 247 over it, 3.47\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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"19da01b53b6e86e611ad68bd454c49befea7280562448a37566f1612913bcdec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsComponent: TooManyMethods \u2014 104 methods. The bar is 30 methods; this is 74 over it, 3.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/t8rin/imagetoolbox/feature/settings/presentation/screenLogic/SettingsComponent.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb0ef04a0d5d1f3c60a5b1edea2e558b32ffe58b1824e9485e8a05650f2500b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.skillDao: MethodTooLong \u2014 skillDao runs 346 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 246 over it, 3.46\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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82946426955749b85714f211d3c13c9e5ac449bfebee334f0784d7f8b4567b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDatabase.conversationMemoryPolicyDao: MethodTooLong \u2014 conversationMemoryPolicyDao runs 345 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 245 over it, 3.45\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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d260d6e3bb9d63013d4d5f58d6b69cc9ebd5a00607f772941a1cd886347795"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileSettingItemKt.ProfileSettingItem: MethodTooLong \u2014 ProfileSettingItem runs 345 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 245 over it, 3.45\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":"feature/profile/src/main/java/com/wanbaohe/profile/settingItem/ProfileSettingItem.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6960c34ea4c5ad120778a7bd0c69f4943b06e57f5db50e7c50d719cae8d70961"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppSharedStorage: TooManyMethods \u2014 97 methods. The bar is 30 methods; this is 67 over it, 3.23\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":"core/storage/src/main/java/com/shifenmiao/storage/AppSharedStorage.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5b9ae6c6800d5b1ff8a6ac0d0d3f1e4078d772b048e507be2891a1157bcf45"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StyleCustomizerKt.TemplateEditor: MethodTooLong \u2014 TemplateEditor runs 313 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 213 over it, 3.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4e528dd973dc3517c9188682ee762efb4b5be48e3982f61151f8d4ceebbf9f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: frames/ThreeFrameImage.kt: FileTooLong \u2014 1536 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1036 over it, 3.07\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":"libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b72e97fcdf2d7d7b8b055f092aa1ca260005f431e8c49e848ff6086f5a8ea81"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/AIDuelChatScreen.kt: FileTooLong \u2014 1529 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1029 over it, 3.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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4995a9dfe3a17f4d1ad223b21d0c3d13fc7f33a064a4f80e8b9ae4b1fe6ab5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: line/LineBlurLinear.kt: FileTooLong \u2014 1489 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Icons (36-1581). The bar is 500 significant lines; this is 989 over it, 2.98\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":"core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/line/LineBlurLinear.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5b736355d648f4dfc56a7cde88ec215ba24b71835255900c56298dc372636a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConversionTabKt.ConversionTab: MethodTooLong \u2014 ConversionTab runs 297 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 197 over it, 2.97\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab64326170a9b2e5cef55ecaef39c3f1a0e4ac167e8b549ee5b4b135c548d0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: frames/FiveFrameImage.kt: FileTooLong \u2014 1484 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 984 over it, 2.97\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd74826475c2ede531f26c0427b4a7ae1927e6b7e95b58e58265eec61af4783"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BlessingWallScreenKt.BlessingPage: MethodTooLong \u2014 BlessingPage runs 296 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 196 over it, 2.96\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":"feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/screen/BlessingWallScreen.kt"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f379c602163707effd42eed439ed34b55678905eb16e86f1646de0d9656cdc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddFiltersSheetKt.AddFiltersSheet: MethodTooLong \u2014 AddFiltersSheet runs 294 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 194 over it, 2.94\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"15365fba9e0e44dcaf1e8de61f2380d70b8ead6095d920c42c6331ad46bf27cb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Companion.getDefaultModelForProvider: MethodTooLong \u2014 getDefaultModelForProvider runs 293 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 193 over it, 2.93\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":"core/model/src/main/java/com/shifenmiao/model/ai/AiModel.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe28aaa1e0102af2a9b918455e051f306d3747e119668b42b9d440a76cf62116"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/CalendarTab.kt: FileTooLong \u2014 1461 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 961 over it, 2.92\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7507b676a2432bfd24dcd1b1cb383bc8d4ce3f19ee3efeeb39a944590c6fa146"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Companion.getInstanceOrCreate: MethodTooLong \u2014 getInstanceOrCreate runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b7960482207949ee6ee035732189eef0ba9f390c1c7d4824935b7f1443ff76"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultMarkdownLayoutEngineKt.layoutBlockInternal: MethodTooLong \u2014 layoutBlockInternal runs 287 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 187 over it, 2.87\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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/engine/DefaultMarkdownLayoutEngine.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bf4175f58637282b82d8bfa1c308d99c2268edef73f07e9786869f74680078"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DatabaseModule: TooManyMethods \u2014 85 methods. The bar is 30 methods; this is 55 over it, 2.83\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":"core/database/src/main/java/com/shifenmiao/database/di/DatabaseModule.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"457bdb367ca39642582a8964a3a9d3b03da9f445389994902641dbd91dee7ee7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1204.kt: FileTooLong \u2014 1413 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-1868). The bar is 500 significant lines; this is 913 over it, 2.83\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":"core/weather/src/main/java/com/weather/icons/Ic1204.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"047b74ef137aba97167799f556b9b1a87d88caedab0be3a71e5a0ae73870ec63"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TTSSettingsScreenKt.TTSSettingsContent: MethodTooLong \u2014 TTSSettingsContent runs 282 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 182 over it, 2.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/TTSSettingsScreen.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"442e19b8c8beae0bc418e7d855800e8048a19044915486bd518b241fbc185fcd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddRecordScreenKt.AddRecordScreen: MethodTooLong \u2014 AddRecordScreen runs 281 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 181 over it, 2.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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/AddRecordScreen.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"939e0ec3c08efef5a6e0ed280de3a079b4a44c9a0ada9e165a398f61a14b7602"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DuelHtmlExporter.buildCss: MethodTooLong \u2014 buildCss runs 280 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 180 over it, 2.80\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":"feature/ai/src/main/java/com/shifenmiao/ai/export/DuelHtmlExporter.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ea30933ca14057ab0c64fe2ebe236294b232a94fc268831416a3a8f5a9aa2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: editor/EditorScaffold.kt: FileTooLong \u2014 1381 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 881 over it, 2.76\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"244c42872126adde286039e91f22ee3ae280123036ee57602362c46fe75b9d22"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IdPhotoScreenKt.IdPhotoScreen: MethodTooLong \u2014 IdPhotoScreen runs 276 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 176 over it, 2.76\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":"feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screen/IdPhotoScreen.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b74d459d09f7cfbf462d6b9b056cc6520d917026516b41f8d43645a820c93f9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AIDuelChatComponent: ClassTooLong \u2014 1102 significant lines (blank, comment-only and punctuation-only lines excluded), 58 methods. The bar is 400 significant lines; this is 702 over it, 2.76\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5672c9976a23f3829de8d4022cb948d31cae6bb97412b74f34d6873e874260be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BlessingWallScreenKt.BlessingWallScreen: MethodTooLong \u2014 BlessingWallScreen runs 273 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 173 over it, 2.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":"feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/screen/BlessingWallScreen.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fee872b3377eeb3d8028d9fa6f35920386d5666a10a74c60a18b46f1998dc33"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CompareScreenContentKt.CompareScreenContent: MethodTooLong \u2014 CompareScreenContent runs 272 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 172 over it, 2.72\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":"feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/components/CompareScreenContent.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"146fe74f88bf41e971584009247b8b730095e11d4b8c2e06583cac99d4e791ab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DrawEditOptionKt.DrawEditOption: MethodTooLong \u2014 DrawEditOption runs 272 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 172 over it, 2.72\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":"feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/DrawEditOption.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d5afc579a40250a2baae7206704e8f2d4f133721b1c5aa434a2c8f9cb0a886"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WebViewMarkdownEditorKt.WebViewMarkdownEditor: MethodTooLong \u2014 WebViewMarkdownEditor runs 271 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 171 over it, 2.71\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":"feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditor.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d9a0e3fab1258695e62ae1c8558ce649f25bef5c74f9cd3c18035bac5b86f3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QrParamsSelectorKt.QrParamsSelector: MethodTooLong \u2014 QrParamsSelector runs 271 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 171 over it, 2.71\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":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/QrParamsSelector.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcbca7ea7e40f32263ad4177d349a21a4097ffcaf2724c1ab279cb0244798ea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynamicCropState.updateOverlayRect: MethodTooLong \u2014 updateOverlayRect runs 268 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\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":"libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0692871e7601ba6ca5e3e8123527199202ec9f071ebaad25ac00e01ea5783a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CalendarShareScreenKt.CalendarShareScreen: MethodTooLong \u2014 CalendarShareScreen runs 267 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 167 over it, 2.67\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d2ac31913d9deca9f4f919b207d057b3e33666b54171f85aa668c94ba8384f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SingleEditContentKt.SingleEditContent: MethodTooLong \u2014 SingleEditContent runs 267 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 167 over it, 2.67\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":"feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/SingleEditContent.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3642694323e4fda42359d683e9f22e10e4acd020cdffce67900c0628351335e5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CreateNoteScreenKt.CreateNoteScreen: MethodTooLong \u2014 CreateNoteScreen runs 261 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 161 over it, 2.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/online/src/main/java/com/shifenmiao/online/screen/CreateNoteScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4cf6c7611b884ef25b3ae3b89e15c2ac0907a03717349e7a1f37e19aeb1b48"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImagePagerKt.ImagePager: MethodTooLong \u2014 ImagePager runs 256 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 156 over it, 2.56\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e4670491f3d070224fd9617f2adb6517700d051a1fbe99648eddc7cff4f3cf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WatermarkCanvasKt.WatermarkCanvas: MethodTooLong \u2014 WatermarkCanvas runs 250 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 150 over it, 2.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/canvas/WatermarkCanvas.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8476c0fcb6772dedfd7a6aa5265b3929baef90b57feb627415e581a932927bd2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MarkdownEditorScreenKt.MarkdownEditorScreen: MethodTooLong \u2014 MarkdownEditorScreen runs 246 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 146 over it, 2.46\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":"feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b491adf214afb1fe94aa4f115dfcbfc2952d369f871e7422de5f55f70fd7e23a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImagePreviewContentKt.ImagePreviewContent: MethodTooLong \u2014 ImagePreviewContent runs 245 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 145 over it, 2.45\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":"feature/image-preview/src/main/java/com/t8rin/imagetoolbox/feature/image_preview/presentation/ImagePreviewContent.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f996a5155fedb1169c164f027827eb0d832e853dc2c8c3ead93d9a87c3323f5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChildProvider: ClassTooLong \u2014 972 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 572 over it, 2.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/app/src/main/java/com/t8rin/imagetoolbox/feature/root/presentation/components/navigation/ChildProvider.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"938f082018bab1261db86853f0d2abba8b7c74619753704be1097fcd62e11e5c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ResizeAndConvertContentKt.ResizeAndConvertContent: MethodTooLong \u2014 ResizeAndConvertContent runs 243 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\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":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f938e3edcb25ae3b79c014e11fea72be613bfbf49a47b422f4944d2a82b3c8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaImagePagerKt.MediaImagePager: MethodTooLong \u2014 MediaImagePager runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.42\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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"20362995508ad67fcc0f7cd87331dc7e6aaaf9d63f107a1f0d3c665fd9a8b2a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaPickerGridWithOverlaysKt.MediaPickerGridWithOverlays: MethodTooLong \u2014 MediaPickerGridWithOverlays runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.42\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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerGridWithOverlays.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"970811eb4f7cb4a34fa9cafa9a7f5a27af4e81b94e653301628ec4b44db85a97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: component/AIDuelChatComponent.kt: FileTooLong \u2014 1186 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: AIDuelChatComponent (106-1707). The bar is 500 significant lines; this is 686 over it, 2.37\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0473c6f024689beadc79011121ffe61d5b7d08341a8ba69c734185ab45af625"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/ThemeSettingsScreen.kt: FileTooLong \u2014 1182 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 682 over it, 2.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"012dac80cddc2c1738ff17615fd9e52feaace23ecf08093f5c0e29f01c1e9e7f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MappingsKt.fromPair: MethodTooLong \u2014 fromPair runs 236 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 136 over it, 2.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/serialization/Mappings.kt"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"792f84a22bdb5dcd5bec92c4c5d504023788c27f5178ee48107f63cbb3510286"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/AIEngineSettingsDetailScreen.kt: FileTooLong \u2014 1174 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 674 over it, 2.35\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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1a8ee506b376c47118da0a482141b36ea50f5e3a65495d2b13e4b7b52d81cb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddEditMaskSheetControlsKt.AddEditMaskSheetControls: MethodTooLong \u2014 AddEditMaskSheetControls runs 234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 134 over it, 2.34\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/addEditMaskSheet/AddEditMaskSheetControls.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec588254643f38ff12e34067ed46a7cb72e4e67a3ea732485b2474b6b688d90f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextCardComponent: TooManyMethods \u2014 70 methods. The bar is 30 methods; this is 40 over it, 2.33\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/screenLogic/TextCardComponent.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"defadb8f39627402c640a33546a0b22e224a01e3c78cc22171f40dc6eb02bbe6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DrawLineStyleSelectorKt.DrawLineStyleSelector: MethodTooLong \u2014 DrawLineStyleSelector runs 233 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 133 over it, 2.33\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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawLineStyleSelector.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc02b9d97a679e405eabe4389ed64bc81855144fb32a9563f456a374d72b9dc5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentFileServiceImpl: ClassTooLong \u2014 930 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods. The bar is 400 significant lines; this is 530 over it, 2.33\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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd61e140635b0f1e5140f6d87639cb2511260c3934aec7a88edb06edb716f384"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: navigation/ChildProvider.kt: FileTooLong \u2014 1158 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: ChildProvider (202-1717). The bar is 500 significant lines; this is 658 over it, 2.32\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":"feature/app/src/main/java/com/t8rin/imagetoolbox/feature/root/presentation/components/navigation/ChildProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05945d36822d198a9f4ffc3d2ef98502aac0094cae99fcd5aa73b08feb6c5de8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AIDuelChatScreenKt.DuelRoleConfigSection: MethodTooLong \u2014 DuelRoleConfigSection runs 231 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 131 over it, 2.31\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f78630ef812ef84ec22f3ba850e7a95178140c2926917972c762007282dbfbf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VerticalStaggeredCardKt.VerticalStaggeredCard: MethodTooLong \u2014 VerticalStaggeredCard runs 231 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 131 over it, 2.31\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":"feature/online/src/main/java/com/shifenmiao/online/ui/VerticalStaggeredCard.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"37da44fbee047adfcf497ae4a4e7f2bee3dd11d7fd03a26c217d24dc4a13c580"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LoginComponent: ClassTooLong \u2014 921 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 400 significant lines; this is 521 over it, 2.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0968e73429d58e06d78937f9f5b47b3609dbb64c4a5cdfe6d4623e12f92ddb04"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DocConvertTaskListScreenKt.DocConvertTaskItem: MethodTooLong \u2014 DocConvertTaskItem runs 230 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"944a1c154932b36ef22b9c8949a8464859736d3462244e514e5134c13e53b865"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowserSettingsPageKt.BrowserSettingsPage: MethodTooLong \u2014 BrowserSettingsPage runs 230 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\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":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcb0b84ebc7400a37ec1aa35f94b50191d93c23874d4dcdb55246b4f32cbc36"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: navigation/NavigationChild.kt: FileTooLong \u2014 1144 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: NavigationChild (298-1597). The bar is 500 significant lines; this is 644 over it, 2.29\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":"feature/app/src/main/java/com/t8rin/imagetoolbox/feature/root/presentation/components/navigation/NavigationChild.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db973a447e28e33e9df23a38a80760b5cca98c3f27589f6342aa609df026a016"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThemeSettingsScreenKt.ThemeSettingsScreen: MethodTooLong \u2014 ThemeSettingsScreen runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\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":"feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed0c41d3ac43c77b202789cb1363f7a73a109da647c037bb964b8092894c749"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Companion.builtInEngine: MethodTooLong \u2014 builtInEngine runs 227 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/model/src/main/java/com/shifenmiao/model/ai/AiEngine.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"081661d2c6d75a7ee3d4a0c2762499a88d16bc316468c561bfa14ada71d6945d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AIDuelChatScreenKt.DuelChatContent: MethodTooLong \u2014 DuelChatContent runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"7281f6ae568d3c03b9d8c01ae0f52f0e8a4e6942c57dee179f3e6d5b9b3ef395"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CompareScreenContentImplKt.CompareScreenContentImpl: MethodTooLong \u2014 CompareScreenContentImpl runs 225 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 125 over it, 2.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":"feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/components/CompareScreenContentImpl.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6caa4e849f85c57e6b9ebe49d5642229659c7d90e6749575370e42c06f17858"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProtocolRoutingAIRequestHandler: ClassTooLong \u2014 887 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 487 over it, 2.22\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c95ef8effc18425b0f7d614f880c5641701c7aa9b0ede836656b3d7afd3afb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2213.kt: FileTooLong \u2014 1105 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-1521). The bar is 500 significant lines; this is 605 over it, 2.21\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":"core/weather/src/main/java/com/weather/icons/Ic2213.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15ce8b755acbbe9cd0454cdfcc0ad9d394480bd5253986942d4c9fb0feb9f2d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodeEditorScreenKt.CodeEditorScreen: MethodTooLong \u2014 CodeEditorScreen runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae024fb325dfafe1785424e88c5e2e5e86a861512e4ab296187fd98ce97f7c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TextCardComponent: ClassTooLong \u2014 882 significant lines (blank, comment-only and punctuation-only lines excluded), 70 methods. The bar is 400 significant lines; this is 482 over it, 2.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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/screenLogic/TextCardComponent.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1301706ba5e5f9202da33f0a3d1442d58a2c3e5ea40626f0daa118ae7869207"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChessGameComponent: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.20\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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"264161887c229e00e038043d67d0bf7c8a2b1d5041d4cc1510aaab6b032bd757"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BottomButtonsBlockKt.BottomButtonsBlock: MethodTooLong \u2014 BottomButtonsBlock runs 219 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 119 over it, 2.19\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/BottomButtonsBlock.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57717f0f8f976a0684d3b3d7344162df0d8adaef5e28880e4dcd661b8274259"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CreateAIPromptScreenKt.PromptPreviewSection: MethodTooLong \u2014 PromptPreviewSection runs 219 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 119 over it, 2.19\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0f43fb671235995ec605983a19d93fdc5df98cd4a4e88f4b19ecb2da13846f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AIChatComponent: ClassTooLong \u2014 875 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 400 significant lines; this is 475 over it, 2.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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatComponent.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3903d1cf5e1bb5f910c29a63a21518284c0efc6a96a6926c6ab9f793613d013e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NavigationChild: ClassTooLong \u2014 875 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. The bar is 400 significant lines; this is 475 over it, 2.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":"feature/app/src/main/java/com/t8rin/imagetoolbox/feature/root/presentation/components/navigation/NavigationChild.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b942d8e23bb1dabda7c7fd3c259332c56c984940fc9d19ab02b763854fa16be6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WatermarkingContentKt.WatermarkingContent: MethodTooLong \u2014 WatermarkingContent runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/WatermarkingContent.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1ae3b183e0147e3626ab107202d8cd3b593d95850410ad5fe2941a8f558732"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/ChatScreen.kt: FileTooLong \u2014 1086 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 586 over it, 2.17\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbae53b414e42a2826636ee847088d1aa3935f9302f0ce40938859a6069b8f3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BuiltinToolModule: TooManyMethods \u2014 65 methods. The bar is 30 methods; this is 35 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/BuiltinToolModule.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb701b60e96f5a95f8f4b5b30e87f253c5e4cabdeb9c80a05c6132928937e74"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppComponent: TooManyMethods \u2014 65 methods. The bar is 30 methods; this is 35 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/logic/AppComponent.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8989e4a38e186e39f196aba5fcc0eefb30ceb59d71ccbcc05ade881438f45c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PresetSelectorKt.PresetSelector: MethodTooLong \u2014 PresetSelector runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/PresetSelector.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"55045dbc2b011e39a4b3fc729cf456a5e17a0bf67d0d44beefc646763ed5e44b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CreationMetaConfigSheetKt.CreationMetaConfigSheet: MethodTooLong \u2014 CreationMetaConfigSheet runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.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":"feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ba7461fa3c6d904342356e6fc4899c955cdde4c82e1f88e1db35caa3d7f8b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/MaterialComponents.kt: FileTooLong \u2014 1070 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 570 over it, 2.14\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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6193eb6d1e29215dd42dbad45d382b8a15ab9cec01887f717cc196ff612c58df"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SvgParamsSelectorKt.SvgParamsSelector: MethodTooLong \u2014 SvgParamsSelector runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.14\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":"feature/svg-maker/src/main/java/com/t8rin/imagetoolbox/feature/svg_maker/presentation/components/SvgParamsSelector.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8310b40cddcea673bd3dae33a67a9cb11bee45e78f8cbf963763eaf021035da3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddMenuFloatingPanelKt.AddMenuFloatingPanel: MethodTooLong \u2014 AddMenuFloatingPanel runs 213 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/app/src/main/java/com/wanbaohe/app/components/AddMenuFloatingPanel.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c707a660f7af07ce94efde353635b2ba9fbf9ccb92d75fac5b3681670aca3b3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsTabKt.SettingsTab: MethodTooLong \u2014 SettingsTab runs 213 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/SettingsTab.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2118855bc91554daf155a6be56c216ed16299fe4a3559cfd6ad742b4219cb592"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MermaidGanttSubPipeline.render: MethodTooLong \u2014 render runs 213 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGanttSubPipeline.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cd6388a4c47bd22ccf9e059cb9a497c9acbf0d61e7ee245c6b0df923bf87f7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilterSelectionCubeLutBottomContentKt.FilterSelectionCubeLutBottomContent: MethodTooLong \u2014 FilterSelectionCubeLutBottomContent 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"639a59c17143bbe8884cb638859e718209957407f56df06d890518d2dbd187cc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ResizeTypeSelectorKt.ResizeTypeSelector: MethodTooLong \u2014 ResizeTypeSelector 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/resize_group/ResizeTypeSelector.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da5f665b3d179847876d9bee95ae0af6c86d19624bdb5fda7cfd75c63954f7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: navigation/AppNavigationRegistry.kt: FileTooLong \u2014 1054 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 554 over it, 2.11\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":"feature/common/src/main/java/com/shifenmiao/common/handle/navigation/AppNavigationRegistry.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2e655199baeddd7311a38f7c5965b18f13a2c649a3b2c69a4bbebc388cf4ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/UnitConverterScreen.kt: FileTooLong \u2014 1054 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 554 over it, 2.11\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":"feature/unit-converter/src/main/java/com/wanbaohe/unitconverter/screen/UnitConverterScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d683e9443b742592928a8b30ffd04ea994172439efc4ad845a661a660a98e9c7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChessRouterComponent: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe8304d42596bf88a9d3d20c3dc3affd980c3d05c5e8946dc7db34d91b54cbc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MaterialYouPaletteGroupKt.MaterialYouPaletteGroup: MethodTooLong \u2014 MaterialYouPaletteGroup runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/palette-tools/src/main/java/com/t8rin/imagetoolbox/feature/palette_tools/presentation/components/MaterialYouPaletteGroup.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d811cd05c3e3aa5688c783deebb77c3067dbcc4343824dfeaf885f230d3090d5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FreeCornersCropperKt.FreeCornersCropper: MethodTooLong \u2014 FreeCornersCropper runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\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":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/free_corners_crop/compose/FreeCornersCropper.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f82b450739ae5474087a3516617268e284a1f34b09cec5afced63a34f68a35"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ApngToolsContentKt.ApngToolsContent: MethodTooLong \u2014 ApngToolsContent runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e748806b52ba51b6ab9191572f6b5424193002f79df86a3a7413dac99f38b85"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CropContentKt.CropContent: MethodTooLong \u2014 CropContent runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/CropContent.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cd720c11fe151ad219a307daed92c958b4372cc864c5305879fae077c7cf64"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DrawContentKt.DrawContent: MethodTooLong \u2014 DrawContent runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/DrawContent.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc812ea64d7328ae324433632bb2b1ff3883188a5a207aa628cfbf7d1b32b0ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.gomokuPlyDao: MethodTooLong \u2014 gomokuPlyDao runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a8aa9812fe8ea0429d7d84f6a3b3bf18b8b40de0aedde7429d5294d58f8518"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MappingsKt.toPair: MethodTooLong \u2014 toPair runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/serialization/Mappings.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b192964dd604361b4ca0ad641c3aa9634745131ecfe83940c434915fde62e30"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: viewModel/LoginComponent.kt: FileTooLong \u2014 1034 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: LoginComponent (168-1762). The bar is 500 significant lines; this is 534 over it, 2.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6e40cc7c00b026df55ae883851a2bc7e8edde172c8ba42743aa1080fd8e580"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GomokuGameComponent: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b691a5168c4a425495dd59c811a54c3e26ea834ae70f2102f56f631c6d752da"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LoginComponent: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1aa891833f78d46e59e12a49450f345583273af82102129bf764be090c17f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.gomokuAiTaskDao: MethodTooLong \u2014 gomokuAiTaskDao runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee49d4f108b0224ee5af2ba5869e4f4ec2f10ae9c7e4c39faf18227e6077833"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WebpToolsContentKt.WebpToolsContent: MethodTooLong \u2014 WebpToolsContent runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"654ae356a8d91d3d0d2140caab0f33f3ba6ed85c9a0966134ac503b2d7cd16f5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlantUmlComponentSubPipeline: ClassTooLong \u2014 821 significant lines (blank, comment-only and punctuation-only lines excluded), 61 methods. The bar is 400 significant lines; this is 421 over it, 2.05\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62391e6885af7b171a353e330713b842cc051c1793a3f3f1b9a376c9f75f2c3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.chessGameDao: MethodTooLong \u2014 chessGameDao runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.05\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":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0fe74c4be2f0ff95e908a820451f075ccd10c9149140a135d6ad8a4e17ab6c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddTodoScreenKt.AddTodoScreen: MethodTooLong \u2014 AddTodoScreen runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.05\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/AddTodoScreen.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcd76389a908a74643e0949e3ce3c722ee82821513a20640e2bb0f65f1d59fb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.chessPlyDao: MethodTooLong \u2014 chessPlyDao runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56e6ee001fc692268d6c3db7fb6c50372d5546040331fe8dd198e1c4b908f8b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SkillManagementScreenKt.SkillManagementContent: MethodTooLong \u2014 SkillManagementContent runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/skill/screen/SkillManagementScreen.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc848fc3e8ff17d785c0d45110a81c8ab8d976da8ca55ad8dd04af469df28c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlantUmlSubPipelineRegistry.detectBufferedKind: MethodTooLong \u2014 detectBufferedKind runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSubPipelineRegistry.kt"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aaf62b9791374c23b4c3081bf596fc268a37ddfd553d53d735e575780a2e097"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: XiangqiGameComponent: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.03\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff42f7e4cc4b6d8d90def48c59b3b5d368c7de48158e40894eacdb81315bb42e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlantUmlComponentSubPipeline: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.03\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"612809932540cebe7ddab37ade243850035e1ca0057615b0cc41a9a479a9b7b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.chessAiTaskDao: MethodTooLong \u2014 chessAiTaskDao runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.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":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca097ad16aabf93919f6949ea6a2b319f624b3bab85919c2208ba18f6351960"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.wheelDao: MethodTooLong \u2014 wheelDao runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"471a38f78cffd7ff787d968d777e2b389e71f5045924d9016553022884923914"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: line/LineAsciiArt.kt: FileTooLong \u2014 1009 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Icons (36-1193). The bar is 500 significant lines; this is 509 over it, 2.02\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":"core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/line/LineAsciiArt.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f54c2bdbd57fb42861ec97c484804e7c7517cd7a82de220ccacbee8277caca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.chatMessageDao: MethodTooLong \u2014 chatMessageDao runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7b83f7c3169e821019f25347b7674b78f1b8809244e4ca09a69fbc9f61f9f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: line/LineBlurOn.kt: FileTooLong \u2014 1003 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Icons (36-1032). The bar is 500 significant lines; this is 503 over it, 2.01\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":"core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/line/LineBlurOn.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaffbb8a3339b11259b1a34ffbfd1b7e9442d9a4cd5ab89aa29a54db3c35f835"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DshRootComponent: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9d5a1ed61575055247f2eaba1b131201a7407ce515164235c2cee8c5d3b9f4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: XiangqiRouterComponent: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a000241df24a36203e4247946e1b53074c85b9a23e5c96b460dc3f80394f7ca2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.chatSessionDao: MethodTooLong \u2014 chatSessionDao runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\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":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd09aac0cea88d4e89236138bd209d3af1fa44b546d0f3593e0e8eafc9a5608"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EmojiSelectionSheetKt.EmojiSelectionSheet: MethodTooLong \u2014 EmojiSelectionSheet runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/EmojiSelectionSheet.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cf1a726561c1450829e17f8386a701d3dc429554e283fb6766bec2a7b5885f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.recentAccessDao: MethodTooLong \u2014 recentAccessDao 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":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf50554212499d1f1a0022410df708a4fca8186942265029dc180d3e5f9cf338"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScanQrCodeControlsKt.ScanQrCodeControls: MethodTooLong \u2014 ScanQrCodeControls 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":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/ScanQrCodeControls.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed96ba151d5136e5e695e415133192998714dac1df20039cd06e36d747db4cdc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlantUmlStateSubPipeline.renderState: MethodTooLong \u2014 renderState 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a62960ad3facfb9e25b7cf85160f62ccd1de6aff844d9e8fa27e6b92070eafb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/AgentFileServiceImpl.kt: FileTooLong \u2014 992 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: AgentFileServiceImpl (84-1333). The bar is 500 significant lines; this is 492 over it, 1.98\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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"110d3e550b94faeaa3f7cc4ae3238e7432c5ddad49042631530f7ac89097bfe3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.blessingRecordDao: MethodTooLong \u2014 blessingRecordDao runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccc7ab621c7763f567d4ecfab1770e883f2ce60202d05a37a7bc30d702720fe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StackBlurFilterKt.stackBlur: MethodTooLong \u2014 stackBlur runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/StackBlurFilter.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a219b3cdea872c5b528309eac24a4b0c7334fb9144e5ffa485818aaa3210d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/CoinFrontKun.kt: FileTooLong \u2014 985 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: CoinFrontKun (31-1164). The bar is 500 significant lines; this is 485 over it, 1.97\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":"feature/iching-divination/src/main/java/com/wanbaohe/iching/ui/icons/CoinFrontKun.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c930181a015925446718664eb33311e4707f274417bb1fd70187bd2920c718f4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.blessingWishDao: MethodTooLong \u2014 blessingWishDao runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\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":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c548b6edfe5461516ada5049f3f6cd23ef8c53c1ca38d3b36a147794fd7de5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WebViewCodeEditorKt.WebViewCodeEditor: MethodTooLong \u2014 WebViewCodeEditor runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cc23c70d25b7416b4ae6a191805d0fcd6a24b36e5cffd6e665bc44151739e7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GomokuRouterComponent: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7915d24066a002e18f411dcdab63d72399184247e3a269b015422c21d807b972"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.blessingTabConfigDao: MethodTooLong \u2014 blessingTabConfigDao runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\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":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c645eefacebe67b91f5188febe2c162dec8b74921d24cb676d21834a1a9b1c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FiltersContentControlsKt.FiltersContentControls: MethodTooLong \u2014 FiltersContentControls runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f86b7db5c413a3b812d1af82cb7c212d8578e78bd910325c6a2dfbfd8f9805"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.poemDao: MethodTooLong \u2014 poemDao runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"62671d7d564a0692a4f856d2603b53709a37518a6938b78e1ad9db337641522a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CipherControlsKt.CipherControls: MethodTooLong \u2014 CipherControls runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cipher/src/main/java/com/t8rin/imagetoolbox/feature/cipher/presentation/components/CipherControls.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9520449e9ee0c6243cbd448c66be25fb77c50464b72cc408fc651864641661"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QrCalendarEditFieldKt.QrCalendarEditField: MethodTooLong \u2014 QrCalendarEditField runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrCalendarEditField.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"94043ccadfdf3b8f025338185fbd171f9d8d3e3543460c5ea7664b1470d5dda6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.habitDao: MethodTooLong \u2014 habitDao runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\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":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daf6c4d59b74af12baa46bcb498b4c64f6e8ca07fab299b44bc90d142dda018"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilterTemplateInfoSheetKt.FilterTemplateInfoSheet: MethodTooLong \u2014 FilterTemplateInfoSheet runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateInfoSheet.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0de06f9a6e8f073c4ecc56c2cf3c4d16751f79335fe68eb12ed2eab5df3f302"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UiSettingsStateKt.toUiState: MethodTooLong \u2014 toUiState runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\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":"core/settings/src/main/java/com/t8rin/imagetoolbox/core/settings/presentation/model/UiSettingsState.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"0741cf369ae087108d18e4bac3ecd0b6d59e00dd65371427bd9ae7ceb0e69a35"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GomokuGameComponent: ClassTooLong \u2014 775 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 400 significant lines; this is 375 over it, 1.94\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e5e78f08e9273ec42cc90a05f9d721c02ce501ef781fca7be09c1e0a8ffde3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: request/ProtocolRoutingAIRequestHandler.kt: FileTooLong \u2014 967 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: ProtocolRoutingAIRequestHandler (102-1374). The bar is 500 significant lines; this is 467 over it, 1.93\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":"feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d199b25e0bf8bfd6c810c1520cc13f623fbc63430b8fb121be62ee882479c09b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContextUtils: TooManyMethods \u2014 58 methods. The bar is 30 methods; this is 28 over it, 1.93\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/ContextUtils.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40ef890ade5be47dd01f6e13b77aff4bc67fe54c96d1da3805f21e23b56f685"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AIDuelChatComponent: TooManyMethods \u2014 58 methods. The bar is 30 methods; this is 28 over it, 1.93\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ff51b2e01bbc7d1ba088970ef1b7500d83e860ac2cc22dc8fa7e95d719bad6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.habitCheckInDao: MethodTooLong \u2014 habitCheckInDao runs 193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\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":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc1c56a7146adbccf45ad837adc98300a210dea6c4eca06550abf3dd73868e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: XiangqiBoardKt.XiangqiBoard: MethodTooLong \u2014 XiangqiBoard runs 193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/board/XiangqiBoard.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"301ba02b62ab3d88f302e34a40211f21de2cced7af9fe6d3c5404624c84c789e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlantUmlClassSubPipeline.renderClass: MethodTooLong \u2014 renderClass runs 193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9783cfcd70b99edc5254f1481fd4615ad3cc68a4ae3658fbdff29daa573329"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: component/AIChatComponent.kt: FileTooLong \u2014 964 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: AIChatComponent (111-1473). The bar is 500 significant lines; this is 464 over it, 1.93\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5216e7494abda9f2e1fbebb39415707ed95175abac38221c3af5cb9bef80b676"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engine/DefaultMarkdownLayoutEngine.kt: FileTooLong \u2014 960 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 460 over it, 1.92\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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/engine/DefaultMarkdownLayoutEngine.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf65399bd9d4337019c7bb57014600348d29abe225991d436309f945e98b1b0b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.aiDetectRecordDao: MethodTooLong \u2014 aiDetectRecordDao runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16c806b0bad264126a3eee198412394f0cb7bfbd6b878334847f18884cb16bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screenLogic/TextCardComponent.kt: FileTooLong \u2014 959 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: TextCardComponent (105-1296). The bar is 500 significant lines; this is 459 over it, 1.92\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/screenLogic/TextCardComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33986625a3b150b93940e9914b7a80d92544717ddbc61105c786ebe4a34510c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: frames/FourFrameImage.kt: FileTooLong \u2014 959 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 459 over it, 1.92\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d38a3c41458aa5b1f7e9ecad32318471f1e6539f65a8d7d15899ddad3e25b9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.healthRecordDao: MethodTooLong \u2014 healthRecordDao runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\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":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"9429d5935bf7490cd4ba615c7124350400638c40df02984908bcc8a7715ac8b5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CreateAIAgentScreenKt.AgentPreviewSection: MethodTooLong \u2014 AgentPreviewSection runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"373dfb61ec6e2994a3b6da3965926fec27d3a81d1c9e5f15da2ca0933543dafa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MeasurementScreenKt.FullScreenRulerBackground: MethodTooLong \u2014 FullScreenRulerBackground runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\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":"feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d8904a2b9387de5eccf0da28bbb4edf2f273cff2d5475fd16a23c003c1ca7a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.householdLocationDao: MethodTooLong \u2014 householdLocationDao runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\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":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4ce025f98f771cbe160b180bcf5b2154ada8cbc3a02bb074b9c3bf927774ae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilterItemKt.FilterItem: MethodTooLong \u2014 FilterItem runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterItem.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae611eaa2d05ba4b94741ffbf68e320aad70ea4828c17967901c6cde9407403"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.householdItemDao: MethodTooLong \u2014 householdItemDao runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\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":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7cb9bbb64f91dda40e17f01761e778ba782d30066352d70942c8eca4e773cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LifeTimeAddCountdownScreenKt.CountdownForm: MethodTooLong \u2014 CountdownForm runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4cf3d14034bf4a5c11e656ac186a8483d8866bb84285aa989fa09e9a35d2bc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureDatabase.periodRecordDao: MethodTooLong \u2014 periodRecordDao runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\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":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8fee850182053e444ffb3722774a3ade2ae0a2ee34cc8c6fdb42373f463f7f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HandleDeeplinksKt.handleDeeplinks: MethodTooLong \u2014 handleDeeplinks runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/HandleDeeplinks.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1577c07511d3b034f6019ba890d6c9bc8219c0bc77f75bdd9cc81c2b66d6447f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MermaidSessionPipeline.preprocessForStyle: MethodTooLong \u2014 preprocessForStyle runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb490985415c0b65bcecb7451220ca101a3840250c1e564d77e96006304b634"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AIDuelChatScreenKt.DuelInlineConfigPanel: MethodTooLong \u2014 DuelInlineConfigPanel runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"911200ad8cf1f3bdfb77751c1390d3b3f01a6765085fa879fee8b767b3e9336f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilterEditOptionKt.FilterEditOption: MethodTooLong \u2014 FilterEditOption runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\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":"feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/FilterEditOption.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab9b1a80ae18af0eb2563bf60bea7a1b2425174bc4feb481cdf42d7fada2916"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrowserComponent: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\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":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserComponent.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bd8b6e3c62662547b1f5f2d4b661f849744608f96c93884545a721e7cc33f4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToolCenterBottomSheetKt.ToolCenterBottomSheet: MethodTooLong \u2014 ToolCenterBottomSheet runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce5f5ead814c122de40fb9edb40432e5e95f515baf1129380404320214be86e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaletteEditorKt.PaletteEditor: MethodTooLong \u2014 PaletteEditor runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\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":"feature/color-tools/src/main/java/com/t8rin/imagetoolbox/color_tools/presentation/components/PaletteEditor.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd4cdf23007a29e367f955506a3880cdfd783bf9aa23084f9688130f316d488"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HtmlExporter.buildCustomCss: MethodTooLong \u2014 buildCustomCss runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\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":"feature/ai/src/main/java/com/shifenmiao/ai/export/HtmlExporter.kt"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b963ce15f952dce070afac25d6787be186d57ed4775303f49735f8b083ef607"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OcrTaskListScreenKt.OcrTaskListScreen: MethodTooLong \u2014 OcrTaskListScreen runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e460bc6a5692799721be3b05f70cf2f0067bb52e72f61b489359ea323d153b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: XiangqiSettingsScreenKt.XiangqiSettingsScreen: MethodTooLong \u2014 XiangqiSettingsScreen runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc5f339be59cba288aecc7c2618672ec62c13920c3b7f140405fdd42121ddbd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentFileServiceImpl: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a73b798393ab76ad99a6b26c6ccb84069c27d15b813a240020884ae673cb11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/CoinBackRipple.kt: FileTooLong \u2014 916 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: CoinBackRipple (31-1121). The bar is 500 significant lines; this is 416 over it, 1.83\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":"feature/iching-divination/src/main/java/com/wanbaohe/iching/ui/icons/CoinBackRipple.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"290251b74df12d7846aafbcaf47f6fc91f880e1ed97966862bccdc3b1d2a7083"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/CoinFrontQian.kt: FileTooLong \u2014 915 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: CoinFrontQian (31-1084). The bar is 500 significant lines; this is 415 over it, 1.83\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":"feature/iching-divination/src/main/java/com/wanbaohe/iching/ui/icons/CoinFrontQian.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0593eff8ccfee20e5d0ad3fb9b5334f45dcd00ab7da2efed570238efd140221d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilterItemContentKt.FilterItemContent: MethodTooLong \u2014 FilterItemContent runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterItemContent.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cd6d8d52f465c9664d4b1324421a3de7786994d4e29085cd3e8751863e59f1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaletteToolsContentKt.PaletteToolsContent: MethodTooLong \u2014 PaletteToolsContent runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\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":"feature/palette-tools/src/main/java/com/t8rin/imagetoolbox/feature/palette_tools/presentation/PaletteToolsContent.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1acc5d095e2ce696ea5250fde3c63edaaec21a77f6f014faa6de48f13a0b648"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FileTransferServer: ClassTooLong \u2014 731 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 331 over it, 1.83\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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef892c6035069830e23b2cfe0915e7bd4c0dc6d6b70aab6b1480a37eebf71f64"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1089.kt: FileTooLong \u2014 913 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-1225). The bar is 500 significant lines; this is 413 over it, 1.83\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":"core/weather/src/main/java/com/weather/icons/Ic1089.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00fc1e477598a0e18a50ff01ec66c2d57c771b5fec1e7f3cc6bb07a7b145f23"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranslationPaneKt.TranslationPane: MethodTooLong \u2014 TranslationPane runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/translator/src/main/java/com/wanbaohe/translator/screen/TranslationPane.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"289dee751b22e74390bc4dbdadf6142097cd0abf90b56d8f2ed28b4d6b874835"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultRenderModelCompilerKt.compileBlock: MethodTooLong \u2014 compileBlock 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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/core/compile/DefaultRenderModelCompiler.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c9342877cfe00424fcd3b3b8bcb946ebc2c59865d1bd571a144f55373123ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ElevationGaugeSectionKt.ElevationGaugeSection: MethodTooLong \u2014 ElevationGaugeSection runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\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":"feature/altitude/src/main/java/com/wanbaohe/altitude/ui/ElevationGaugeSection.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee0ad36f77f088f24568d971c5f9e196ab3ff1c0919aed29bc460d5b80d299a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DecisionWheelSpinScreenKt.DecisionWheelSpinScreen: MethodTooLong \u2014 DecisionWheelSpinScreen runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\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":"feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelSpinScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16f49d5be3d233fc05dd7f897c789f4334c4b22f9d8e9e5968210d197a69bd8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LayersSheetKt.SelectedLayerProperties: MethodTooLong \u2014 SelectedLayerProperties runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersSheet.kt"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"554185effb408b21279674646a04140fb1f9628e9f5645a5098e04ee1e5137e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CreateHtmlScreenKt.CreateHtmlScreen: MethodTooLong \u2014 CreateHtmlScreen runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\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":"feature/online/src/main/java/com/shifenmiao/online/screen/CreateHtmlScreen.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbac07fe5412256a1b16cf7911a75cfbc8937be00aaf5a07352fa41861399ed0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MermaidClassSubPipeline.renderClass: MethodTooLong \u2014 renderClass runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc614c7a3c82531815c88fb07da5ca1293462119cc8cfec24042f443884c1b3a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CrashRootContentKt.CrashRootContent: MethodTooLong \u2014 CrashRootContent runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"core/crash/src/main/java/com/t8rin/imagetoolbox/core/crash/presentation/components/CrashRootContent.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb9a2831e45bc5c4897252feb827b602630ad9b37fefad2811c00d7210b331b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CalendarShareCardRenderer.toComposePath: MethodTooLong \u2014 toComposePath runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt"},"region":{"startLine":2008}}}],"partialFingerprints":{"codehealthFindingId/v1":"0509400fce23bd1db594272a3a8b8b14269aeef2f0db13319611850831f79b5c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DocumentScannerContentKt.DocumentScannerContent: MethodTooLong \u2014 DocumentScannerContent runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"feature/document-scanner/src/main/java/com/t8rin/imagetoolbox/feature/document_scanner/presentation/DocumentScannerContent.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4693dd16c556de07a2d8a3a9174e9286da7f10e631959fcf50b9bd29af715860"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageCutterContentKt.ImageCutterContent: MethodTooLong \u2014 ImageCutterContent runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/ImageCutterContent.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0a3073cc2d7b9c85362ffc132258f6c092e381f8427b7a86ab400b7576d832"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MemoryManagementScreenKt.MemoryManagementContent: MethodTooLong \u2014 MemoryManagementContent runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"feature/settings/src/main/java/com/wanbaohe/setting/memory/screen/MemoryManagementScreen.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"277195d72334b37f42e9f41f68861160e105f28ad547ba125a1e217818ceaf7f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FullscreenEditOptionKt.FullscreenEditOption: MethodTooLong \u2014 FullscreenEditOption runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/FullscreenEditOption.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c252c8172b8721ec8c212ec389d08fdb085adc09e0a535d243d33dd8b04cdc5a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MarkdownDocumentRendererKt.MarkdownDocumentRenderer: MethodTooLong \u2014 MarkdownDocumentRenderer runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/MarkdownDocumentRenderer.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a555d9944f9277e85ca656b9d48cf10f9331e2a742820b2899d0ecc53b92e78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: component/GomokuGameComponent.kt: FileTooLong \u2014 885 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: GomokuGameComponent (138-1207). The bar is 500 significant lines; this is 385 over it, 1.77\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3ee680bceeb4fa752e3f5c9554cae1e2c53aeb454f5d0e92f0365ed1b34371"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AIChatComponent.executeStreamingChat: MethodTooLong \u2014 executeStreamingChat runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatComponent.kt"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"229b1cae251e8a73c91953da267deb068ee0cd9eb4d0ad157b5708587ee529f6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CreateFeedbackScreenKt.CreateFeedbackScreen: MethodTooLong \u2014 CreateFeedbackScreen runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"feature/blog/src/main/java/com/wanbaohe/blog/screen/CreateFeedbackScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4ea8a7bffd13a4f81b74aa6a0fe8405d762a7b87db145b3f0e5c537c244336"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MediaPlayerComponent: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\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":"feature/media-player/src/main/java/com/wanbaohe/media/component/MediaPlayerComponent.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0dd95c02fccd435840c40aef7ffd02f0a549d9439b876ce41298c6fff3288f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/FileBrowserScreen.kt: FileTooLong \u2014 881 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 381 over it, 1.76\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":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/screen/FileBrowserScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b021df8b391c94cf39a9e0d37cc57fdd06b89f2d6fa9548316a27068c76752b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeMarkdownEditorActionBarKt.NativeMarkdownEditorDockActionRow: MethodTooLong \u2014 NativeMarkdownEditorDockActionRow runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\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":"feature/common/src/main/java/com/shifenmiao/common/editor/NativeMarkdownEditorActionBar.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ade72bbe2e39ce28c65d0400e6607674f8a1d2c0da0f28fa9e3788a1c782109"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OtherContentKt.OtherContent: MethodTooLong \u2014 OtherContent runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/OtherContent.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a941524ef1daafb028d5d0b8bac9bdf2260799fe4f04a67928c217e8e7350af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/SelectInverse.kt: FileTooLong \u2014 871 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Icons (36-900). The bar is 500 significant lines; this is 371 over it, 1.74\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":"core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/SelectInverse.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3870699b51746d6f23ce4468fedec711e0382334417c22510a127f1cd8ae0e5d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChessGameComponent: ClassTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded), 66 methods. The bar is 400 significant lines; this is 295 over it, 1.74\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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88c386b40f13923933ef036abc85b5b0b472eb43fd159a77dbf4003f7e93f6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/CreateAIPromptScreen.kt: FileTooLong \u2014 867 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 367 over it, 1.73\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f113ff398220272f8678240e4af29e07bac201ec5725dfc55369cef4f40ad7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilterTemplateCreationSheetKt.FilterTemplateCreationSheet: MethodTooLong \u2014 FilterTemplateCreationSheet runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateCreationSheet.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1364004612713f878708cc2ff8216833bfbdd35dc7f9ea6954111efbd6a3bdf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: XiangqiLibraryScreenKt.GameCard: MethodTooLong \u2014 GameCard runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiLibraryScreen.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc917916fa2419acdeee62e5c9dd92bfc2cca36afa1007146451849d2df4fae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plantuml/PlantUmlComponentSubPipeline.kt: FileTooLong \u2014 857 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: PlantUmlComponentSubPipeline (39-1083). The bar is 500 significant lines; this is 357 over it, 1.71\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9a975a87b0992f9c79b1d61e9b48779cab460b879063c33f2627c78fa7ddb8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2078.kt: FileTooLong \u2014 853 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-1122). The bar is 500 significant lines; this is 353 over it, 1.71\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":"core/weather/src/main/java/com/weather/icons/Ic2078.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26bb4be7912a37e5eca9039594b19438ac9d7ef32ba0f38a0ce128b6fe2aa8c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CameraCaptureFlowKt.CameraCaptureFlow: MethodTooLong \u2014 CameraCaptureFlow runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/camera/src/main/java/com/wanbaohe/camera/CameraCaptureFlow.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fffe624030e55f45c6e7112a9a20a117804d9319b7b864aafbf8b7e2f227d6a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FormatConversionContentKt.FormatConversionContent: MethodTooLong \u2014 FormatConversionContent runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"facf6ccd8cf01d6b788d4fa52e05f53dd1e75cf69e50816aaec171f426f534ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic410.kt: FileTooLong \u2014 847 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-1177). The bar is 500 significant lines; this is 347 over it, 1.69\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/weather/src/main/java/com/weather/icons/Ic410.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb4105936e9eda1e3487aee2514ba97e92d7bc6c294b32c9b1adfc42929fde8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NewGameDropMenuKt.NewGameDropMenu: MethodTooLong \u2014 NewGameDropMenu 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe686312bd14fc714d924f29386185ec96acc31da0a884d5b8846d510355de8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NewGameDropMenuKt.NewGameDropMenu: MethodTooLong \u2014 NewGameDropMenu 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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8346ec282fd09d15c4de2fc3f078337ed71cf494b968e21687a4f3757b32b35"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageStackingContentKt.ImageStackingContent: MethodTooLong \u2014 ImageStackingContent 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":"feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b151c0b3933d3e9f19dd715cea17f2727f9cc20742ac11ae7e4f60acff8f2d1e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NewGameDropMenuKt.NewGameDropMenu: MethodTooLong \u2014 NewGameDropMenu 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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a100c3ad2126363a6e4dae77f9e9af8632096567f4845ff8172ec51ad0905823"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ItemEntityDao: ClassTooLong \u2014 673 significant lines (blank, comment-only and punctuation-only lines excluded), 100 methods. The bar is 400 significant lines; this is 273 over it, 1.68\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":"core/database/src/main/java/com/shifenmiao/database/item/dao/ItemEntityDao.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0ce748850b5061edb283933af0ba829fa4656765c249d0bddec3076acf4f37"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecentAndFavoriteColorsCardKt.RecentAndFavoriteColorsCard: MethodTooLong \u2014 RecentAndFavoriteColorsCard runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/RecentAndFavoriteColorsCard.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8386100bb6072c59a9b4f46b5f8e0971f159fcbf18d68f06c8055260b6a47a14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/CreateAIAgentScreen.kt: FileTooLong \u2014 839 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 339 over it, 1.68\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cda0ab72001943ce7186600f82af3f66c737b122a4ce6e82a92db4dac5e19e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/TaijiBagua.kt: FileTooLong \u2014 836 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Icons (36-1006). The bar is 500 significant lines; this is 336 over it, 1.67\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":"core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/TaijiBagua.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4484e554f095dc6e27d681d59326223ee6da9a54e216056497c32d82b4ff51d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MaskItemKt.MaskItem: MethodTooLong \u2014 MaskItem runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/MaskItem.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"874420f82c1862780249b969478433a261699b933968341bbb08659d1521598e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/XiangqiGameScreen.kt: FileTooLong \u2014 828 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 328 over it, 1.66\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20c1b59e6d554c1fa7327ed36ac319f0a70a4956ce91cd9d1c5f3f3e4a466fb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ManageTodoTool: ClassTooLong \u2014 660 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 260 over it, 1.65\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bba5cf9696d90d6e056d4e74406ff746c8fe5bce2794b5b32c8193c65adb0b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthCodeSettingsScreenKt.AuthCodeFlowDialog: MethodTooLong \u2014 AuthCodeFlowDialog runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"feature/settings/src/main/java/com/wanbaohe/setting/authcode/screen/AuthCodeSettingsScreen.kt"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff01b75af80a625f07d27180dc1d52c212680d6198fd93f294f3a0ade7c8d26"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/CreationMetaConfigSheet.kt: FileTooLong \u2014 824 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 324 over it, 1.65\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":"feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4560ce04ab18ecc7d6608f12107dcccb36b08fe4d4bf2df208d2a240d3b5377f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlantUmlActivitySubPipeline: ClassTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 259 over it, 1.65\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd27cc3425a3c5731d7d95cc12d48d05f530247993c5dcf6982393eeddeb6fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeedbackRowKt.FeedbackRow: MethodTooLong \u2014 FeedbackRow runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/FeedbackRow.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"269c15894eb0d939be91a1cdfebeeab9619d5b072555e23470882d45880f58f3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlantUmlArchimateSubPipeline: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb802d99a1f935777a9b47e8b4616298275f8b0ccfb605dfffb90dbec2dafd7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QualitySelectorKt.QualitySelector: MethodTooLong \u2014 QualitySelector runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/QualitySelector.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57819fab3f45137bb637c1c7cba3c1fac84ab1b4632a33a42ff09a284f6747f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LifeTimeAddEventScreenKt.EventForm: MethodTooLong \u2014 EventForm runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddEventScreen.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc6c3998fae02129f854393ca89ca5612da258a1c8b62450e30498f8b39a8b1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PickColorEmptyContentKt.PickColorEmptyContent: MethodTooLong \u2014 PickColorEmptyContent runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\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":"feature/pick-color/src/main/java/com/t8rin/imagetoolbox/feature/pick_color/presentation/components/PickColorEmptyContent.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e030208eb4b828c5e6a21f59fc1869dd1d2271eaa556ca4742416c18dcfe75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1601.kt: FileTooLong \u2014 814 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-1073). The bar is 500 significant lines; this is 314 over it, 1.63\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":"core/weather/src/main/java/com/weather/icons/Ic1601.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7853c9de341fd11744ecfe8f1285d7b637da299317b6396a0b1bde9a89414de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2525.kt: FileTooLong \u2014 813 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-1056). The bar is 500 significant lines; this is 313 over it, 1.63\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":"core/weather/src/main/java/com/weather/icons/Ic2525.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd3a1689ad14bc2a2acc6d64d24634c3bbbfae3881e4ee0d7225a47750a888c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MarkTodoScreenKt.CategoriesContent: MethodTooLong \u2014 CategoriesContent runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"054346a89d3c4478252a983819b2694f6916755b1adf65853e534de9c515d75c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CropEditOptionKt.CropEditOption: MethodTooLong \u2014 CropEditOption runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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":"feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/CropEditOption.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1d3dd035d36be15b370f6794824c64b1f2a85d34a15eec8d71045e72f81b66"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MermaidStateSubPipeline.renderState: MethodTooLong \u2014 renderState runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd00fd5c8565ae4b5c90e176f9f07ad8cee16958eb8bf4847bd6939e168d8629"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ThemeSettingTool: ClassTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 244 over it, 1.61\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ThemeSettingTool.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c760388e3b6811623046502aa9507cd8b7fc4711e591631a781108777b620a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AndroidImageDrawApplier.applyDrawToImage: MethodTooLong \u2014 applyDrawToImage runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5b40d9850a1dbd790105ca604c35b8cb401a9c5d2fd84d36e46ba987f2cb48"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaPlayerScreenKt.MediaPlayerScreen: MethodTooLong \u2014 MediaPlayerScreen runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-player/src/main/java/com/wanbaohe/media/screen/MediaPlayerScreen.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"44465d4068783988661fdd0074a9e4b42ea4044f09c56e1f52aab94f01f9bcbb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WeightResizeContentKt.WeightResizeContent: MethodTooLong \u2014 WeightResizeContent runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca22fd6c1f1e859c4a4a44417cdab5a93703ead5f925068ead6af1c0058d6c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: component/ChessGameComponent.kt: FileTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: ChessGameComponent (135-1082). The bar is 500 significant lines; this is 302 over it, 1.60\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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f369eeb62e02bf9d7cb64a27e6be1fd7d16a02d565578a28580fd77fd749695"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: frames/NineFrameImage.kt: FileTooLong \u2014 801 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 301 over it, 1.60\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":"libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db881de246fa4ca9f32c1c1419b41b2cc295ec5cb1f515ce0ef005f37e4fd6f2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CalendarShareCardRenderer: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d5d848d52d3875417d56a8b9137ca028d0f67f395f61b6afd20fe7e6afc7fe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SingleEditComponent: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\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":"feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"953eff072550942f3a3681154ab4fb5ce79f841f5a249139f615dcb596dcccea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CameraWatermarkScreenKt.CameraWatermarkScreen: MethodTooLong \u2014 CameraWatermarkScreen runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\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":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/screen/CameraWatermarkScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"855e940600f0d96b4ed9f992be584d88f8107482aefcdde491bba710d42c1995"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PdfPagesRemoveGridKt.PdfPagesRemoveGrid: MethodTooLong \u2014 PdfPagesRemoveGrid runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf97445d03641739af55391aeec7f345919ae85e1376576571d7ba10bf364db"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LimitsResizeContentKt.LimitsResizeContent: MethodTooLong \u2014 LimitsResizeContent runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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":"feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e8090279c09e09665d89d6e83d990440c05308c9e0e44808e82bc61cbe817c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EditPaletteControlsKt.EditPaletteControls: MethodTooLong \u2014 EditPaletteControls runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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":"feature/palette-tools/src/main/java/com/t8rin/imagetoolbox/feature/palette_tools/presentation/components/EditPaletteControls.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a586db596728f10e3b2691b29046f0edd87dcd2bf3b2c9cdf8a3a5280a45d496"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageStitchingContentKt.ImageStitchingContent: MethodTooLong \u2014 ImageStitchingContent runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\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":"feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"367dfd1afa19db28bca4a23bf85ed216dd60264216d4fe0eb26cb7a0f68d600b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2381.kt: FileTooLong \u2014 787 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-1070). The bar is 500 significant lines; this is 287 over it, 1.57\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":"core/weather/src/main/java/com/weather/icons/Ic2381.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5043102ec74e237dcba3297ff1c810334e2af17ffd44e495babe3172e039eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: comments/CommentsBottomSheet.kt: FileTooLong \u2014 786 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 286 over it, 1.57\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":"feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsBottomSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd39e4f0a6d256fa43b4533ad9ed404afbc61ceccdb6dade00f95274035bfbf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AndroidPdfManager: ClassTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 228 over it, 1.57\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/data/AndroidPdfManager.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d35874efcffd0f19b95dd5f5488a1972268f75db147f105f945f07f993b60c1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddToPaletteSheetKt.AddToPaletteSheet: MethodTooLong \u2014 AddToPaletteSheet 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/AddToPaletteSheet.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72c59de63a1d11cd40db856eea921c3b885c4e437d72426b5a75a524fe81e13"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ZoomableImagePreviewKt.ZoomableImagePreview: MethodTooLong \u2014 ZoomableImagePreview 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":"feature/common/src/main/java/com/shifenmiao/common/ui/ZoomableImagePreview.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4091326688ef956a05af1815de4301f90908e9f9fce40a3a5c5bd8832c082541"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DrawContentControlsKt.DrawContentControls: MethodTooLong \u2014 DrawContentControls 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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentControls.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b1db57bcfae2b02353afeb650b4add9fd84388208ad568aa835452222830aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FiltersContentKt.FiltersContent: MethodTooLong \u2014 FiltersContent 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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/FiltersContent.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"982376c5929e93856b4b2a6ec6fe6eff3ab27fcb146ff9ee20d5fb77812e2bc4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AIEngineSettingsDetailComponent: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/component/AIEngineSettingsDetailComponent.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d60edabd41bdf306684e9dff5063d387b7cfc7609ffab0fd31c4077857a765"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WatermarkingComponent: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/screenLogic/WatermarkingComponent.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab7e6354b0326b546d21741bd1a78839e1816d58cfae8e6cd7bf53ace167e01"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ThreeFrameImage: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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":"libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b8afa725bdb3568b533e8601ebd0f52e6201c260d6aac3480660dba029ff88"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EditorScaffoldKt.EditorTopBarActions: MethodTooLong \u2014 EditorTopBarActions runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"b638baee7e8c9ac6dc744a6cd3ba21e3c1c671683b2cd09481cb2725efd79e76"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DocConvertTaskListScreenKt.DocConvertTaskListScreen: MethodTooLong \u2014 DocConvertTaskListScreen runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3751a1f8468165206c3a28652250b19ad7be95bf4ef00f7cc92ec1751ff91aaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/StyleCustomizer.kt: FileTooLong \u2014 779 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 279 over it, 1.56\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":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e3edd5a5edc48b8293f5cad0212bddc0feddc249c8d6f392448cc784722c5d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: XiangqiGameComponent: ClassTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded), 61 methods. The bar is 400 significant lines; this is 223 over it, 1.56\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b6f1a48fdc93385641a78aa3f5f1dabb6ec5dc40cc13e5e86593350dd73e21"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FrameImageView: ClassTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 220 over it, 1.55\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":"libs/collages/src/main/java/com/t8rin/collages/view/FrameImageView.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a32125028f670552fe8e15d29f8473d11fe815de805e7ac6042391cd439b8c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EasterEggScreenKt.EasterEggScreen: MethodTooLong \u2014 EasterEggScreen runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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":"feature/settings/src/main/java/com/wanbaohe/setting/easter/screen/EasterEggScreen.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1516e747fbb0286dac66a9ca0aca3ae7533143e09ebe023c1cd0aae88afe8206"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: XiangqiGameScreenKt.XiangqiGameScreen: MethodTooLong \u2014 XiangqiGameScreen runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d3d18889293f1b95b49325cb8166919a890e26da29f9668430974a810b6d08"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/FileTransferServer.kt: FileTooLong \u2014 771 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: FileTransferServer (66-1351). The bar is 500 significant lines; this is 271 over it, 1.54\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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efa205a3dcc7cbb74784d152b6b101bafdb05b6dc53ae4de80be3f290dce588"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/BlessingWallScreen.kt: FileTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 270 over it, 1.54\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":"feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/screen/BlessingWallScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb5a304808e03edbab026c73e7e2cbdbde0ae32b9c9e849057d12bf23a03f3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: theme/ThemeResolver.kt: FileTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 270 over it, 1.54\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2b21171248399eb879260675706b91f69a64fe98ff6aa3053ccbc5248a9a6c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ColorTuplePickerKt.ColorTuplePicker: MethodTooLong \u2014 ColorTuplePicker runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorTuplePicker.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abd169271e96efa0fbd307f9b35d38fba65b26e58b18f4e22678862a16d2ead"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InlineCompiler.compileInlineNode: MethodTooLong \u2014 compileInlineNode runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/core/compile/InlineCompiler.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6b106d8fd41f9435bff15b212cb872d9469b10594fda1b987e7859f1831e9d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FeatureDatabase: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a32e22c1426f8a2a1354e68b2d4291c73b5f50c3d135456196ab1f500b4afa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AIChatComponent: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatComponent.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b888d04279ef374c986f84659b0ded87a02c56329cb911e9dc58afdfd839b7a1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AndroidPhoneStatusSource: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"feature/device-status/src/main/java/com/wanbaohe/devicestatus/data/AndroidPhoneStatusSource.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0ec2f1a4f1e19917d2d9d4e8a18e09a5895554dbd89b2a6c5bffe5dcd7d9f6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ColorSelectionRowKt.ColorSelectionRow: MethodTooLong \u2014 ColorSelectionRow runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorSelectionRow.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"297eb95513459b1df3e734f330990a82b750859d5a0bd165b6049697f3f412d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlassmorphismSettingItemKt.GradientBackgroundStyleSettingItem: MethodTooLong \u2014 GradientBackgroundStyleSettingItem runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c59e60a67a53ad583b50db8fac00523195ade1f6c13c071caa480ae4072b0b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AIDuelChatScreenKt.DuelPickerBottomSheets: MethodTooLong \u2014 DuelPickerBottomSheets runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"897fb45f174ebb783d5301b0d220d3b226bf67bf960fed13923d6c931544255c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NoiseParamsSelectionKt.NoiseParamsSelection: MethodTooLong \u2014 NoiseParamsSelection runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/noise-generation/src/main/java/com/t8rin/imagetoolbox/noise_generation/presentation/components/NoiseParamsSelection.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a604fc11ba8375d1bc8b88688cb43e6983aebf78f82e437e53ec821dbdf80d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeleteExifContentKt.DeleteExifContent: MethodTooLong \u2014 DeleteExifContent runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\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":"feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a074a073f8db9f19ebb90f2bef8cd9ef2e9b38c394a82ad4db1b25f1e5bf5a5a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FullScreenSubtitlesKt.FullScreenSubtitles: MethodTooLong \u2014 FullScreenSubtitles runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\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":"feature/marquee/src/main/java/com/shifenmiao/marquee/screen/FullScreenSubtitles.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7670d0db998f55726ab3b41fa3425c2876f0e2bbb2821cfb4ef25ddf82fe099"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: navigation/ScreenUtils.kt: FileTooLong \u2014 759 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 259 over it, 1.52\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/navigation/ScreenUtils.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46582813255bd6c77606868970c8bfde1e6daa6f9995ebf7c5cb9473c31e050e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: editor/TextCardEditorScreen.kt: FileTooLong \u2014 759 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 259 over it, 1.52\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bef55109518cde124e3a0c9709d82fbcb7711ff86c2a504fd102f5c9466076e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2324.kt: FileTooLong \u2014 755 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-1055). The bar is 500 significant lines; this is 255 over it, 1.51\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":"core/weather/src/main/java/com/weather/icons/Ic2324.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec40c9f58be1413827e115d262b3f141571d03407f955d17fa5fe1c41ea9a017"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScreenListKt.screenList: MethodTooLong \u2014 screenList 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/ScreenList.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bba97042a3fd056a3d2fa1ad676c63c99c4d5162fd555a512fb6069f148b693"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NoteSaveConfirmDialogKt.NoteSaveConfirmDialog: MethodTooLong \u2014 NoteSaveConfirmDialog 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":"feature/online/src/main/java/com/shifenmiao/online/ui/NoteSaveConfirmDialog.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0da4fe732b65a982c160bfea316a2410afd5e9b80e01d32defcb469df9feb5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/DshRootScreen.kt: FileTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 254 over it, 1.51\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/DshRootScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bb022143b33da77a82b04455c2723a2ca880d84a9f0d9adb6dcd0bb9ea4df8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app_screen/FavoriteScreen.kt: FileTooLong \u2014 750 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 250 over it, 1.50\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":"feature/app/src/main/java/com/wanbaohe/app/app_screen/FavoriteScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b4901e3c2ee92318ffa29994e46195ba85be7a3f7d10d2c8aa2b3df3609967"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/AndroidSettingsManager.kt: FileTooLong \u2014 750 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: AndroidSettingsManager (206-1134). The bar is 500 significant lines; this is 250 over it, 1.50\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":"feature/settings/src/main/java/com/t8rin/imagetoolbox/feature/settings/data/AndroidSettingsManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fc6ce6212aac1dacce6801917d03a703d105557582ff59d8d7a737b28e4419"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddExifSheetKt.AddExifSheet: MethodTooLong \u2014 AddExifSheet runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/AddExifSheet.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d4107ebf41eff06901609045f42693d0e6c3c4ab6684bc39669033b0d9c10a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScanQrCodeContentKt.ScanQrCodeContent: MethodTooLong \u2014 ScanQrCodeContent runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/ScanQrCodeContent.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc2cbfda0abafabe5fb9fb53bee599c0663ad933b4efbc03d5235ae7fbd9b66"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlantUmlSequenceSubPipeline.renderSequence: MethodTooLong \u2014 renderSequence runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9252e3ca8ffb71c0451b1f26410d97aa3b878af1d3826a97b04da3ef0a981151"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenericCardKt.GenericTonalCard: MethodTooLong \u2014 GenericTonalCard runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\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":"core/ui/src/main/java/com/wanbaohe/base/ui/card/GenericCard.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3247e247f0e01515c1e5556451195f12dcd47f7f96b2a0dcab4c5f4c92415c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AudioCoverExtractorContentKt.AudioCoverExtractorContent: MethodTooLong \u2014 AudioCoverExtractorContent runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\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":"feature/audio-cover-extractor/src/main/java/com/t8rin/imagetoolbox/feature/audio_cover_extractor/ui/AudioCoverExtractorContent.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97c35834af92c251c809f15dfd75ad2b0a09da7975a2ef2923761ebe3085c29"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TaskFilterSortSheetKt.TaskFilterSortSheet: MethodTooLong \u2014 TaskFilterSortSheet runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/TaskFilterSortSheet.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0034e53fea0da780c741e345391f92bb06ecb1a6509b3c8a7d814e1395f1add"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaImageKt.MediaImage: MethodTooLong \u2014 MediaImage runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImage.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3002d8632bbbc0d38b327c5a5f68a8d360903c4e429c7f8470fb820a39eef652"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2361.kt: FileTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-1039). The bar is 500 significant lines; this is 244 over it, 1.49\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":"core/weather/src/main/java/com/weather/icons/Ic2361.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98c3892d3a9b95b6a058da970132178344918023308cf02b34d0a3d9df6dcf5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/Survive30sScreen.kt: FileTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 244 over it, 1.49\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":"feature/survive30s/src/main/java/com/wanbaohe/survive30s/screen/Survive30sScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9b79c20d04e41210bedd77e052ccd18a6714de86d9001dfecce7f33aba0180"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2391.kt: FileTooLong \u2014 743 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-990). The bar is 500 significant lines; this is 243 over it, 1.49\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":"core/weather/src/main/java/com/weather/icons/Ic2391.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8aab7a40654dd0cb570731361d04edb9d3ccc765404406b95131e83183357d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EditExifSheetKt.EditExifSheet: MethodTooLong \u2014 EditExifSheet runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/EditExifSheet.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"740bbb9a10fc6099e34499aa4b25482b0581532a0f6dfe5f1c9bb258b170e475"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SizeCustomizerKt.SizeCustomizer: MethodTooLong \u2014 SizeCustomizer runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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":"feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/SizeCustomizer.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5c109002c772062fd3aa97c6529de57bc1057ac4c7e9489602587e82ae7af3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QuickAddTodoSheetKt.QuickAddTodoSheet: MethodTooLong \u2014 QuickAddTodoSheet runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/QuickAddTodoSheet.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27b175f436dd466712e3b9b7c27efa14e991dee9af635f0a5e32ff65158a7b9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PickColorHistoryContentKt.PickColorHistoryContent: MethodTooLong \u2014 PickColorHistoryContent runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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":"feature/pick-color/src/main/java/com/t8rin/imagetoolbox/feature/pick_color/presentation/components/PickColorHistoryContent.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"597f8c428f38ea92434c85744a26c13cbf73ea6bd1a59e9eb7fb77ed4d6eddb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2316.kt: FileTooLong \u2014 738 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-978). The bar is 500 significant lines; this is 238 over it, 1.48\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":"core/weather/src/main/java/com/weather/icons/Ic2316.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54570497d0bde892988e20f53c5ccc2b114ada1527f22283d0dcf56c56a6bb2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PeriodEditorScreenKt.PeriodEditorScreen: MethodTooLong \u2014 PeriodEditorScreen runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\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":"feature/period/src/main/java/com/wanbaohe/period/screen/PeriodEditorScreen.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a34c2e75335740a4df11907a6957393e39101e23354417b0479e39bf68ba251"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: line/LineKeyboard.kt: FileTooLong \u2014 731 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Icons (36-972). The bar is 500 significant lines; this is 231 over it, 1.46\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":"core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/line/LineKeyboard.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32f74eafb230d921437b1b265d9a28958f7a3f714b899372cb33cb8fde36184"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NineFrameImage.collage_9_10: MethodTooLong \u2014 collage_9_10 runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\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":"libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d085d6e1f6d11c0afdd345f5ebacc64c8c2853bc8cba91149d3f34e5f7b828c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlantUmlSubPipelineRegistry.classifyImmediate: MethodTooLong \u2014 classifyImmediate runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSubPipelineRegistry.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db7b6774dda32daa141bd9e9172c79e73f1ce333876b2160284381202f37d03"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: frames/EightFrameImage.kt: FileTooLong \u2014 728 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 228 over it, 1.46\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a401e3ccfe6544e02d41e3cca85384caf1f74d8dbbac31412152d82b29da107"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CreateAIPromptComponent: ClassTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 182 over it, 1.46\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"af32ac3098e8453200f18d42be96109041359cfdd78e0732edfe3d5dd4b47839"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: component/XiangqiGameComponent.kt: FileTooLong \u2014 727 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: XiangqiGameComponent (136-1017). The bar is 500 significant lines; this is 227 over it, 1.45\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"128481df00c966e0760eb68245a3e50ba29a1aacc56248944ab60a6531d9cacc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LifeTimeAddMilestoneScreenKt.MilestoneForm: MethodTooLong \u2014 MilestoneForm runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddMilestoneScreen.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"14afb2ad3fe04bc6ca57552f6f8f6171e29dda52040e09ef7154a290e8acda6d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PasswordVaultEditScreenKt.EditFormContent: MethodTooLong \u2014 EditFormContent runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"feature/password-vault/src/main/java/com/wanbaohe/passwordvault/edit/PasswordVaultEditScreen.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d30aaf0e1e485d442c72fad248c92e06e0a4e51ee220fd4093ec3311f44288"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextCardExportSheetKt.TextCardExportSheet: MethodTooLong \u2014 TextCardExportSheet runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardExportSheet.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cd83edc704d10781efdabe162ad50d6a6ad0bd66fae9931179c6ac1b8fc92c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2108.kt: FileTooLong \u2014 723 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-955). The bar is 500 significant lines; this is 223 over it, 1.45\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":"core/weather/src/main/java/com/weather/icons/Ic2108.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbfe0a5295d27447b40482f3e8047000d9f5b377446ca1aab0c1d235fa0cc6d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CameraCaptureScreenKt.CameraCaptureScreen: MethodTooLong \u2014 CameraCaptureScreen runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/camera/src/main/java/com/wanbaohe/camera/CameraCaptureScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfe4cf8a19c81d9ff53ad9c25014d1965ce15a7aa3cbe730aa38845290c4a31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/SelectAll.kt: FileTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Icons (36-801). The bar is 500 significant lines; this is 219 over it, 1.44\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":"core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/SelectAll.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"def6e8524a7b68dc8536794c76ecebe0a4c56accf8d783fc06decd2c4929f3cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2530.kt: FileTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-949). The bar is 500 significant lines; this is 219 over it, 1.44\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":"core/weather/src/main/java/com/weather/icons/Ic2530.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"943fb84e470a8b0ffc0ae3521f7554a71f601177091fa824ef91ccdf3cddf6c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/AndroidPdfManager.kt: FileTooLong \u2014 718 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: AndroidPdfManager (118-1042). The bar is 500 significant lines; this is 218 over it, 1.44\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/data/AndroidPdfManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9298829feebe760af6c5f9d3be1a5ab1bf55c0072ea731be626a2e164b7902f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: seam_carving/SeamCarver.kt: FileTooLong \u2014 718 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 218 over it, 1.44\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":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/seam_carving/SeamCarver.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b879962b33fedc4b80e4a2948584ae26fbd776198bba4a576a202a34903ae7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/CloudStorageScreen.kt: FileTooLong \u2014 717 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 217 over it, 1.43\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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/CloudStorageScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0d23e95cc7c68db3746881ff79a17ee40a56a16677865eb722158e259f66a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/MarkTodoScreen.kt: FileTooLong \u2014 717 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 217 over it, 1.43\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d183aa096b9dae961af15afdc9f10c13dbe733f28e50d25771192b1060be40c3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AndroidSettingsManager: ClassTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded), 134 methods. The bar is 400 significant lines; this is 172 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/t8rin/imagetoolbox/feature/settings/data/AndroidSettingsManager.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeebfcd658ee8131c92c5898ed69df94c53d7b2f33562b3220ab8c9190b5c4fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic409.kt: FileTooLong \u2014 715 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-993). The bar is 500 significant lines; this is 215 over it, 1.43\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":"core/weather/src/main/java/com/weather/icons/Ic409.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b6a594980b256a870206fa1f860ffb984133cc23d34a4356bbdd31a10565e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/EventNodes.kt: FileTooLong \u2014 714 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 214 over it, 1.43\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/EventNodes.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"721c0627b937cf447db164ee26309e17b34bcfbd7a52c90f03c29162870c71d5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProcessImagesPreferenceSheetKt.ProcessImagesPreferenceSheet: MethodTooLong \u2014 ProcessImagesPreferenceSheet runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/ProcessImagesPreferenceSheet.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6c301b0718f97b5de45ca9dacffef09801026939e5a7b63ebdc413682e5195"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecipeBatchSheetKt.RecipeBatchSheet: MethodTooLong \u2014 RecipeBatchSheet runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/recipe/RecipeBatchSheet.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc88f30a49b1dd7392d96dea56c7069a2a003a82149902466da989cd65a698a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DshRootComponent: ClassTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 400 significant lines; this is 167 over it, 1.42\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7b37d8b8c911c2820f0f29f02662fd0579c8dd07d8e2489cb688b54b73f9ba"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BookkeepingService: ClassTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 167 over it, 1.42\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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/service/BookkeepingService.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b37663fb1ff3d381c174e90c1883e3dcec6112b4ad6d772b23a4627ba941c8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuspiciousDayTabKt.AuspiciousDayCard: MethodTooLong \u2014 AuspiciousDayCard runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/AuspiciousDayTab.kt"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4257cf18be36d434f6ebaa0e74a7430d1ba0350fecfac3701ec9b68178c29c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GifToolsContentKt.GifToolsContent: MethodTooLong \u2014 GifToolsContent runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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":"feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/GifToolsContent.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3854742f5eb4266137e324158e201fddaf048cedb575cab4263691ce6782f172"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CreateAIAgentComponent: ClassTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 161 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"357e1672f99a1e2294363e9b92b88534039598d656c032bda12bf01d61df0a06"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageReorderCarouselKt.ImageReorderCarousel: MethodTooLong \u2014 ImageReorderCarousel runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/ImageReorderCarousel.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"accd3ec0d65d92b6061ac899a5f4be419e923d00c4e979b611c9d54a47ae49a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plantuml/PlantUmlActivitySubPipeline.kt: FileTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: PlantUmlActivitySubPipeline (43-863). The bar is 500 significant lines; this is 199 over it, 1.40\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c0e6b49d67793acc61971bda511f3f6abc893c0c1ac44b174a7be226d4d784"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dao/ItemEntityDao.kt: FileTooLong \u2014 698 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ItemEntityDao (47-1038). The bar is 500 significant lines; this is 198 over it, 1.40\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":"core/database/src/main/java/com/shifenmiao/database/item/dao/ItemEntityDao.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03df042d6762ab128ba0a8bf0088bdf9174b59ec90c4d066bfc3c986676dfc59"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PdfPagesRotationGridKt.PdfPagesRotationGrid: MethodTooLong \u2014 PdfPagesRotationGrid runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/components/PdfPagesRotationGrid.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f329fdbcbb97c04c55ba59769aa0dbf0b5d439b46967b21c6f1f8bd0df4a92f1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PagesPanelKt.CanvasPagesPanel: MethodTooLong \u2014 CanvasPagesPanel runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/panels/PagesPanel.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1293a96116e9f21824fadee46f8943a74668a7f9bca29fb079e9b683beda07"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1053.kt: FileTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-926). The bar is 500 significant lines; this is 193 over it, 1.39\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":"core/weather/src/main/java/com/weather/icons/Ic1053.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3123e1caf84eaa31e55c5aa602dfae39ab4a48278935f4f53244720a682b9d0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: theme/DynamicTheme.kt: FileTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 193 over it, 1.39\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":"libs/dynamic-theme/src/main/java/com/t8rin/dynamic/theme/DynamicTheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd39b367964834b486ad1ddf91a65e936f4119e4e0195fbfef13e359766b72d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: line/LineAutoAwesomeMosaic.kt: FileTooLong \u2014 691 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Icons (36-928). The bar is 500 significant lines; this is 191 over it, 1.38\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":"core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/line/LineAutoAwesomeMosaic.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3647299401dd3cd22bb33600bb87aa680f94e60983b94add01c1e41fbf4521f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1207.kt: FileTooLong \u2014 691 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-906). The bar is 500 significant lines; this is 191 over it, 1.38\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":"core/weather/src/main/java/com/weather/icons/Ic1207.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee353980e8d619b92b2c4b8acf4475722421f5e73c7bbab186a8aa59b9a813b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2128.kt: FileTooLong \u2014 691 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-915). The bar is 500 significant lines; this is 191 over it, 1.38\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":"core/weather/src/main/java/com/weather/icons/Ic2128.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"144e8f46072e2399775c9c04c34174120355aed9bfcad8fb8e583aea25d970da"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlantUmlErdSubPipeline: ClassTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded), 35 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e767936fd4ee2689cfbf3c3b4c8f1710509987009a7a514e4b764f8776d39dab"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ActivityLogRecorder: ClassTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded), 31 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":"core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7144e042d6f7d5a50b17603e6a9e0e0322686d0d7cc390bde65511dfcda35a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: expand/ImageExpander.kt: FileTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 190 over it, 1.38\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":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/expand/ImageExpander.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"398ca244fa6d5d9733dc8c4985ebafa1ff6a008b345a8563f3d0a4ef182f4df0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiquidToggleKt.LiquidToggle: MethodTooLong \u2014 LiquidToggle runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/LiquidToggle.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"92da452fdcca027e340516c60f4b1823204c4068ca2a51a00a0f24a743a991b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaPickerHavePermissionsKt.MediaPickerHavePermissions: MethodTooLong \u2014 MediaPickerHavePermissions runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerHavePermissions.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbcc75802898df7dae5017216dc0f8c124be68d006000f777ad619d8ed4bab6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlassSegmentedButtonRowKt.GlassSegmentedButtonRowImpl: MethodTooLong \u2014 GlassSegmentedButtonRowImpl runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSegmentedButtonRow.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98bcdbc9bb08f603dcbda8e4becabe8f766a2e33d28e2fb92b096e53cd47549"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FavoriteScreenKt.ContentListSection: MethodTooLong \u2014 ContentListSection runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/app/src/main/java/com/wanbaohe/app/app_screen/FavoriteScreen.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"07999a51244d6753dd886676ea013fe67cf965fc2900829dc0428223bce57fb6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Base64ToolsContentKt.Base64ToolsContent: MethodTooLong \u2014 Base64ToolsContent runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/base64-tools/src/main/java/com/t8rin/imagetoolbox/feature/base64_tools/presentation/Base64ToolsContent.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9568f26122c90a85b55c43a21d78daeac38ad64704e6fd4dbad0d3072a880e52"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: XiangqiPlayHomeScreenKt.XiangqiPlayHomeScreen: MethodTooLong \u2014 XiangqiPlayHomeScreen runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiPlayHomeScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"19716e647644990dc2f848c7aca0b0a93d33878c356b1f4d693cc2bc8c9f9534"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MermaidXYChartSubPipeline.render: MethodTooLong \u2014 render runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidXYChartSubPipeline.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ff3084c3267cc93eea277e1dba0b62256b14945a839bf7015022b7f5a5388e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builtin/ManageTodoTool.kt: FileTooLong \u2014 684 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ManageTodoTool (45-952). The bar is 500 significant lines; this is 184 over it, 1.37\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1627e0c63a8dde0337e36274612b31b24016f6b4b5efca742e4eb776be1cc9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/LayersSheet.kt: FileTooLong \u2014 684 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 184 over it, 1.37\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebad44df1639b1763779b090be8b7854828d1a9dad0dc32d95c54514acbff40a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlantUmlActivitySubPipeline: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b989e1579a94701e52d3e220508e01ad22b3b097c5dab8beb9a8931816ff57b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: crop/CropToolScreen.kt: FileTooLong \u2014 682 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 182 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/crop/CropToolScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a10a4845e963291ed9b7963c7e577da659ae2ed928a7a904f380826309c4b84"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2327.kt: FileTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-950). The bar is 500 significant lines; this is 179 over it, 1.36\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":"core/weather/src/main/java/com/weather/icons/Ic2327.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0a60b767ab55996d0b78474b8cb6adb4996bfac699629a83502f395998b31e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentLoopRunner: ClassTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 142 over it, 1.36\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AgentLoopRunner.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7504a12fb9bafa44d98106e54a2298902cc62a711672882888416ba2ab19f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2211.kt: FileTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-946). The bar is 500 significant lines; this is 177 over it, 1.35\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":"core/weather/src/main/java/com/weather/icons/Ic2211.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b42921edb78482074473cd3635dc10ac07d0a7125d8d3048d2ada29ae485d74"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1205.kt: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-942). The bar is 500 significant lines; this is 176 over it, 1.35\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":"core/weather/src/main/java/com/weather/icons/Ic1205.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0b911144cbf7ce04a983d96f96cbfab54a72481f6a08a8c05b1590f4fc17ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builtin/ThemeSettingTool.kt: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: ThemeSettingTool (54-966). The bar is 500 significant lines; this is 176 over it, 1.35\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ThemeSettingTool.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba52463f99fe98604c9fa8624a56f61842fb6ea4b67768a89cf526b1c933bac7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/BaZiTab.kt: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 176 over it, 1.35\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/BaZiTab.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9543eaa97ac2edd2fc32338d7e15db599bac2b138ede4c7081140c12b76b7e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubagentSheetKt.SubagentTranscriptView: MethodTooLong \u2014 SubagentTranscriptView runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/SubagentSheet.kt"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a02dc08ea1cda6df1e531c3eab3eccbc19afda4a531f2882a41ecf0efd19744"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2346.kt: FileTooLong \u2014 673 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-889). The bar is 500 significant lines; this is 173 over it, 1.35\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":"core/weather/src/main/java/com/weather/icons/Ic2346.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dac79be4abc1e59589eeca1cc55f8669cd9edb425b381a4a43f558348c750a0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilterPreviewSheetKt.FilterPreviewSheet: MethodTooLong \u2014 FilterPreviewSheet runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterPreviewSheet.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2852018dbbbb5d4a20df53cbd3d28d232e66c145695cc8fbc1aa64dd3c4da1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaPickerGridKt.MediaPickerGrid: MethodTooLong \u2014 MediaPickerGrid runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerGrid.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"abef2cad0ac895c1cd2315f4bec642624cc00a0e363dafabe6a05173d1e17cd5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SearchResultsKt.SearchResults: MethodTooLong \u2014 SearchResults runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\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":"feature/search/src/main/java/com/shifenmiao/search/components/SearchResults.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"47857f2a3e789b3246f5a5d27a96dee715f563958bd114cad6a619c9380bc8f3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FiltersComponent: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b7a20c870f605b2b409bef42a9faf6b590a70a95105b7f8d5bfaef6ee4ddae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlantUmlDeploymentSubPipeline: ClassTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 133 over it, 1.33\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"791f64893df96d21a25f753ee1ddd02740044f4ef02d82b24b3213082d3b6bfe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic103.kt: FileTooLong \u2014 666 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-868). The bar is 500 significant lines; this is 166 over it, 1.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/weather/src/main/java/com/weather/icons/Ic103.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6133fdee54646ffc08cb46516dedab75b3ffe7da383f61117f1bf42c6e8001"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OnlineMatchScreenKt.MatchContent: MethodTooLong \u2014 MatchContent runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c340d3388fe5e32f599a2105e05155bb203445295830eaca5d63509305491ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OnlineMatchScreenKt.MatchContent: MethodTooLong \u2014 MatchContent runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a0e00ddd26cffd1926d34c3609cda2c06135d12b4fbd9c3ad39b876e2d66c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MaterialYouPaletteControlsKt.MaterialYouPaletteControls: MethodTooLong \u2014 MaterialYouPaletteControls runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"feature/palette-tools/src/main/java/com/t8rin/imagetoolbox/feature/palette_tools/presentation/components/MaterialYouPaletteControls.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd09d585fb3eaf5c757bd1fb7bb702bfaa02f49a72c1c91fc5d16f46c96ce6a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OnlineMatchScreenKt.MatchContent: MethodTooLong \u2014 MatchContent runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"13279ce5229401da9447e32f5fe9e444fc839d5041758ea19b814428903d1dd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2372.kt: FileTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-874). The bar is 500 significant lines; this is 163 over it, 1.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/weather/src/main/java/com/weather/icons/Ic2372.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9dd89e8d512f943294081a4bdfe26d477127a3d56381c3e8dcb6b6ce5d2348"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentLoopExecutor: ClassTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 129 over it, 1.32\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/AgentLoopExecutor.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae4b19040072f3f2865a6b2a215dbeb54a2d162223827bb7871a100241fd556"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: frames/ExtendedFrameImage.kt: FileTooLong \u2014 661 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 161 over it, 1.32\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":"libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94eb207ebddee00f66d877eaae9b1684f3f2494d17f54b73f605fe5f2c4872c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1606.kt: FileTooLong \u2014 660 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-888). The bar is 500 significant lines; this is 160 over it, 1.32\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":"core/weather/src/main/java/com/weather/icons/Ic1606.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d2b92e1d53735c33332df5162f74bcb308a2faa6f082aca02191248db09197"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatErrorCardKt.ChatErrorCard: MethodTooLong \u2014 ChatErrorCard runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/ChatErrorCard.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5b57fe6cc161a412aea9c5918eb57c52049129f37b61e85c6253d022866c3c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GameCardKt.GameCard: MethodTooLong \u2014 GameCard runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/GameCard.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"918b75daf13b4083c2f9c12872fd0bcbd139b88bd6a60d1c859ea9266e584c10"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EditExifContentKt.EditExifContent: MethodTooLong \u2014 EditExifContent runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"feature/edit-exif/src/main/java/com/t8rin/imagetoolbox/feature/edit_exif/presentation/EditExifContent.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7355bdca309e2d667b565898ea91f8800f7bb00232456cfc7118ee0ed4545cbd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CategoryDetailScreenKt.CategoryDetailScreen: MethodTooLong \u2014 CategoryDetailScreen runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/CategoryDetailScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f23287d03b368024d5e810cc8f2bf135a42c36f7afba00267548e3d8e074aef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TeleprompterPlayerScreenKt.TeleprompterPlayerScreen: MethodTooLong \u2014 TeleprompterPlayerScreen runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"feature/teleprompter/src/main/java/com/wanbaohe/teleprompter/screen/TeleprompterPlayerScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a566aa4bdaa8784f11d6d80c6c2bbf3027745147d64b8932fc3eaa0429f4fda"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic103Fill.kt: FileTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-860). The bar is 500 significant lines; this is 159 over it, 1.32\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":"core/weather/src/main/java/com/weather/icons/Ic103Fill.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d504fe747a4ff0c8a5ed3f25b9ece4ac80dc99e6dc08c02113f6332ee2d5c026"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/HouseholdItemsScreen.kt: FileTooLong \u2014 655 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 155 over it, 1.31\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":"feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc1bcdece3e868f98372f101ef7ef15eb66be359b9745e9f17d35c778560d66"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AIDuelChatComponent.runDuelLoop: MethodTooLong \u2014 runDuelLoop runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"8039a20f3084acbbc564384b6f4650641929c74b4c57dffabed9e0fe98e88b1d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlantUmlActivitySubPipeline.render: MethodTooLong \u2014 render runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"086c832ca844ad65f9df49bf51dbf79ebdedcfe560ae1ec6559531bb29b7c275"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/DisplaySettingsScreen.kt: FileTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 152 over it, 1.30\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":"feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b45309fb4bb21b36be28b192d09bc6ca2fd09c92b4f81c479b04c2dae59e584"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/FrameImageView.kt: FileTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: FrameImageView (52-937). The bar is 500 significant lines; this is 152 over it, 1.30\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":"libs/collages/src/main/java/com/t8rin/collages/view/FrameImageView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3011123ccd4c742f50c17fea3a4722d0ffb2d192372290f3d5e493055d5c0cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: component/CreateAIPromptComponent.kt: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: CreateAIPromptComponent (84-971). The bar is 500 significant lines; this is 151 over it, 1.30\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"527c4ef4a74b0264d560c657d9bca49a4da5844b6968360ff8c774f041f3119b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FileTransferServer: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"251bdace35f92661c7cc88f7958e5fbd8e27e259a9d7696f2b29e624be5c3ef0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProtocolRoutingAIRequestHandler.parseResponsesSsePayload: MethodTooLong \u2014 parseResponsesSsePayload runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"be68a7fdf049a75520692415610c201dd2fe6b2dbc5f6cc171391124daede082"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OnDeviceOcrScreenKt.OnDeviceOcrScreen: MethodTooLong \u2014 OnDeviceOcrScreen runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/screen/OnDeviceOcrScreen.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2eb0f7f57084ab9eb62868c21713a9267192f4d6ce6b143e39229cece049667"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddRecordScreenKt.AddRecordScreen: MethodTooLong \u2014 AddRecordScreen runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/AddRecordScreen.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0524568f4d2723893a29f4708323871eec9fe56dde9789fb382c6182194c7ec0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NineFrameImage.collage_9_11: MethodTooLong \u2014 collage_9_11 runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e740bf0e7165e44ab18efd48fb805e55eebd14b177c3f6a86dc08b55e6773f0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic318.kt: FileTooLong \u2014 649 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-885). The bar is 500 significant lines; this is 149 over it, 1.30\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":"core/weather/src/main/java/com/weather/icons/Ic318.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"422a3b73bbb5f3e220eaa3677e4181bc6df20d87832f1243d01f5920fc0dcbfa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/ConversionTab.kt: FileTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 148 over it, 1.30\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c15e35e6b0c2a7f0e951ea0333d6b05d979ad2c25a34f8d9eb17b67c2aa899"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/FileTransferScreen.kt: FileTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 148 over it, 1.30\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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/screen/FileTransferScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee2093a1e93fb24bfe555536571ed49fb06c298b06ca52379e5cd785aca5d97"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MermaidC4SubPipeline: ClassTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 117 over it, 1.29\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5119e6763489494740a814ccd6740ce7d7a3974d02a33ab73216532d9d359657"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HtmlExporter: ClassTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 117 over it, 1.29\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":"feature/ai/src/main/java/com/shifenmiao/ai/export/HtmlExporter.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29fd6eb4c3b6734488ad57151cf4f7b0783c3bd22bf8ef8dedb3d7648aa034f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic316.kt: FileTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-867). The bar is 500 significant lines; this is 145 over it, 1.29\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":"core/weather/src/main/java/com/weather/icons/Ic316.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb9f927eaeff5529785d4dc2a80667d0f9291c6641dda61d1b15073e8e7c4ae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaLibraryContentKt.MediaLibraryContent: MethodTooLong \u2014 MediaLibraryContent runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\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":"feature/media-player/src/main/java/com/wanbaohe/media/ui/MediaLibraryContent.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d599e1cd6fe8516e6af70c5ae2d7ed5a6c97ba4d28173d6540518b4e8ed62134"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1802.kt: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-860). The bar is 500 significant lines; this is 144 over it, 1.29\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":"core/weather/src/main/java/com/weather/icons/Ic1802.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9293cdde5f7a6a20a97329df0b3a6456002b8c44188d5d4ec0a98603c92d9091"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2333.kt: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-860). The bar is 500 significant lines; this is 144 over it, 1.29\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":"core/weather/src/main/java/com/weather/icons/Ic2333.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44ffa3efdad307f9fedc6a6ea64a3331d7caf18f089e28e64ac03e4b698cfee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/AiUtils.kt: FileTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 142 over it, 1.28\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":"feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4278cb05acc36d13197e29c6f3a65e2bde905baab108e126ec89e942968c35f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ai/AIModelPickerSheet.kt: FileTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 141 over it, 1.28\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":"feature/common/src/main/java/com/shifenmiao/common/ui/ai/AIModelPickerSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8107c0183efc2692e166638d1c8f3fb7f260d8f12398806e979f7b0a9101ab9c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsTabKt.CategorySectionCard: MethodTooLong \u2014 CategorySectionCard runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/SettingsTab.kt"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"188b71b4a8a4bb082d66705ff1755788aca9d9d65215adbb6d480f51a76a67d1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SignaturePdfToolContentKt.SignaturePdfToolContent: MethodTooLong \u2014 SignaturePdfToolContent runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/signature/SignaturePdfToolContent.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2766383172ea4f1de3ad721393bd1a1fed579354efd5f53cc24c5d8a46f1c187"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WebViewComponent: ClassTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 110 over it, 1.28\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":"feature/webview/src/main/java/com/shifenmiao/webview/WebViewComponent.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"de522f43d828e24d9b73055c8b6ae67e239c320b410ae0f22f93408c4e8d1844"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: component/CreateAIAgentComponent.kt: FileTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: CreateAIAgentComponent (84-938). The bar is 500 significant lines; this is 135 over it, 1.27\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"400c3ea0beed30a0284e77e2aa3c9fe91e3a4de8f66e850ee52c6d01a3c66a5f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CreateAIAgentScreenKt.StreamingSection: MethodTooLong \u2014 StreamingSection runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"9298d6c461a58351af5f70c0a7ac126b446bd24f02b0eb37b93acd383d566caa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatScreenKt.SessionDrawer: MethodTooLong \u2014 SessionDrawer runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b852f94d2f6aeeb14f80d5bbc7f3d424ee2e4087f0e516fd0fea141872d2cf6d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TodoDetailScreenKt.TodoDetailScreen: MethodTooLong \u2014 TodoDetailScreen runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/TodoDetailScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb25cb1fa76d4b2d5ed467b5ffc059efb388266f7b3e8d6267a8c18632950586"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ZipBrowserContentKt.ZipBrowserContent: MethodTooLong \u2014 ZipBrowserContent runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/ZipBrowserContent.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0ca72a0185bce6f283d071a2d699ff6c96f258cbd450ab873fd93931053953"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlantUmlSaltSubPipeline.render: MethodTooLong \u2014 render runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSaltSubPipeline.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e83db92779db8d9f910080284b47ff1545a848e7306dea2956201c44c75aa8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2369.kt: FileTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-845). The bar is 500 significant lines; this is 134 over it, 1.27\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/weather/src/main/java/com/weather/icons/Ic2369.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66daeb08519450556bb552bf2b120530591a90cbfc570732c0218cbe06ed070e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2419.kt: FileTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-849). The bar is 500 significant lines; this is 134 over it, 1.27\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/weather/src/main/java/com/weather/icons/Ic2419.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"598596b9465c1a516989ddffbb03fb57eba075aea2081986d4ae264410c40a15"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CreateAIPromptComponent: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff12df85db414d37dcbb4d089eccd10a9eb431a11bafc553e45b03b4aec6fbc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatInputComponent: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"feature/ai/src/main/java/com/shifenmiao/ai/logic/ChatInputComponent.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a14045293b4d2c9b1ed4296d3c9f8404835b3ceb42f641cff4a38c676b88748"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProtocolRoutingAIRequestHandler: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1800a9c821ce220b53af9ba3bfd6d6f1bc9b9281187a8bdd9ad7e13d65174ae8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CloudStorageComponent: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screenLogic/CloudStorageComponent.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2883f54b681dd00af2d4d52ac20b0694a71929f7a82b8389bb5c3a98d59841fc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlantUmlC4SubPipeline: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"141c70c11f5559aa3868234b2a9ec9e95742bb9c0a9400211c434fa2211acbd3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: component/DshRootComponent.kt: FileTooLong \u2014 632 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: DshRootComponent (95-1040). The bar is 500 significant lines; this is 132 over it, 1.26\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20806150d90467fe0882c056c48f4898ca7a28dd873cd9832b3a50a4cae19e45"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConnectionSwitcherSheetKt.ConnectionSwitcherSheet: MethodTooLong \u2014 ConnectionSwitcherSheet 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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/ConnectionSwitcherSheet.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"963217c77aed7285edd980c409379a3a33866e82ee547eb5965e6429dba1607d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageSplitterContentKt.ImageSplitterContent: MethodTooLong \u2014 ImageSplitterContent 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":"feature/image-splitting/src/main/java/com/t8rin/imagetoolbox/image_splitting/presentation/ImageSplitterContent.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5347e81a92bf8a57207ad247124fdb9f7e760024d16c0367c329de0e1225e987"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TodoTaskRowKt.TodoTaskRow: MethodTooLong \u2014 TodoTaskRow 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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/TodoTaskRow.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fda48edf70688537dd310368ab72ccc701bc6b33657017257487024c93246b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CanvasSelectContentKt.CanvasSelectContent: MethodTooLong \u2014 CanvasSelectContent 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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/selection/CanvasSelectContent.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"546275b6873086da0b9e5324433949684876fe00783ef05834c5a18da3ad28a9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DuelHtmlExporter: ClassTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 101 over it, 1.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/export/DuelHtmlExporter.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54c2f8cbc6489d14ec9e974077d68b972bdeee751c843e22f03dde1fc39d86f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1032.kt: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-820). The bar is 500 significant lines; this is 126 over it, 1.25\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":"core/weather/src/main/java/com/weather/icons/Ic1032.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef311c5e75a38524c66353c1fc9022cb0a8d2dd798a0510aeeabb77499f4128"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynamicUiKt.PickerOverlayHost: MethodTooLong \u2014 PickerOverlayHost 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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1877397e0aac59de0d4abf77b2d43968e55e7b1a8bc7c2c5e7796b392be80cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VerifyContactSheetKt.VerifyContactSheet: MethodTooLong \u2014 VerifyContactSheet 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":"feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"82be539fcfe4b3e111322af897bea4ceac363e03dcf15743dc0782d1520f1d2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1024.kt: FileTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-842). The bar is 500 significant lines; this is 124 over it, 1.25\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":"core/weather/src/main/java/com/weather/icons/Ic1024.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5101a6048dda746c7c258079f014b15a77bc91b8f152e36b628be85f8290b9e3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlantUmlUsecaseSubPipeline: ClassTooLong \u2014 499 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 99 over it, 1.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b894817defbcb49b648d9400b5ab3dc351e282d8422b5c445f732d0a7ce43c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EnhancedDropdownMenuKt.EnhancedDropdownMenu: MethodTooLong \u2014 EnhancedDropdownMenu 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedDropdownMenu.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9c2863886b582bb66d27c105e96202995cca0b97515421a6470685a50e752d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CloudFileGridKt.CloudFileListRow: MethodTooLong \u2014 CloudFileListRow 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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/CloudFileGrid.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10e8c333802048c5aa703565c47cbb1c94adb9f465a61aa7ef263489f742a71"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CompareContentKt.CompareContent: MethodTooLong \u2014 CompareContent 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":"feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/CompareContent.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5b3b59e26b7c0b07c356f3ed8c74354f2ab7e5282f430854e0889d70af6cb6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CropMaskSelectionKt.CropMaskSelection: MethodTooLong \u2014 CropMaskSelection 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":"feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/components/CropMaskSelection.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e692a73c85c4a6091ae9c7d8685d22609ea01ee9787302609b868421542cb8c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DshRootScreenKt.CloudRelaySection: MethodTooLong \u2014 CloudRelaySection 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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/DshRootScreen.kt"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db7a07ee8f4b4132099ee0aeb1a071188e68460c8eaebeb0579fb038bf385a7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GomokuSetupScreenKt.GomokuSetupScreen: MethodTooLong \u2014 GomokuSetupScreen 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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a346c2454272aeb48f817a074a1befa04a3ec2b8ff3bd489a4f29dfc593e08"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NineFrameImage.collage_9_9: MethodTooLong \u2014 collage_9_9 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":"libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"6210994b3878c93e79542f42dea211da36d425fa0b6ce868a7ccfd2c3ef1be72"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MermaidMindmapSubPipeline.render: MethodTooLong \u2014 render 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"397e03a43264795741925e8048af41c47d931a67273f4b8e3ca1dcc1aa240e7c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MarkdownSelectionController: ClassTooLong \u2014 495 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 95 over it, 1.24\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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/selection/MarkdownSelectionController.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e648d562a53b376c8a6bf2e2626d5105d7459d64a6d9b62f83f71ec788394aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: line/LineAddToHome.kt: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Icons (36-805). The bar is 500 significant lines; this is 117 over it, 1.23\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":"core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/line/LineAddToHome.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1404cbe4ab816b9f13907b462d81d0364ea4ad4b5014f08ae5497d1e0a4f3c10"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentToolRegistry: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AgentToolRegistry.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfcdf991e24683f82d58af5905ea0cd05d5b4e1427d52d64c625935373b6026"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AIEngineRepository: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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":"feature/common/src/main/java/com/shifenmiao/common/manager/AIEngineRepository.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cf2fc4d05dc33cf528ee5bd793991eaedb3c254266be6a6e7c1dde3e03af4e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FiltersComponent: ClassTooLong \u2014 493 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 93 over it, 1.23\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36f5b7a05c0b5ba3f0f3f955d569c903e666a474884c327c3d25f7bc29409a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: enhanced/LockScreen.kt: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 115 over it, 1.23\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/LockScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29631adf0efb33c0fb5e47e3be3d8239c10317ff57483c1019b3179f7ec2c60b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic153.kt: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-798). The bar is 500 significant lines; this is 115 over it, 1.23\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":"core/weather/src/main/java/com/weather/icons/Ic153.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8565dfa17eedda0e414f2108614976c36b10f5416169cb99078fc95e33ccd8a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SystemPromptDetailScreenKt.SystemPromptDetailScreen: MethodTooLong \u2014 SystemPromptDetailScreen 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":"feature/settings/src/main/java/com/wanbaohe/setting/prompt/screen/SystemPromptDetailScreen.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbf2232df222428ec5a307608aced3fe6ffad05a3bb3dff15eece44baba7027"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultMarkdownComposePainterKt.PaintRenderBlock: MethodTooLong \u2014 PaintRenderBlock 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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/compose/DefaultMarkdownComposePainter.kt"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"33142053333556470f8a3f97ee06b041c6b114978a1beb46fdf3a48746accb0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icon/ImageVectorMap.kt: FileTooLong \u2014 614 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 114 over it, 1.23\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":"core/ui/src/main/java/com/wanbaohe/base/ui/icon/ImageVectorMap.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d9bf0014e69cf491476fad7d9c935950ca410bf05f956cac33035c0f6a845b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlantUmlSubPipelineRegistry: ClassTooLong \u2014 491 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 91 over it, 1.23\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSubPipelineRegistry.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ded73b4bc9ebfad7ccaed5279bd0480fa84ef6e2b880467238cd850c49251d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic410Fill.kt: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-861). The bar is 500 significant lines; this is 113 over it, 1.23\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":"core/weather/src/main/java/com/weather/icons/Ic410Fill.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abba7935f62b290a7ae12e12d33e9ca69a09c1c775362882b9bfc63e75608f20"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlantUmlArchimateSubPipeline: ClassTooLong \u2014 490 significant lines (blank, comment-only and punctuation-only lines excluded), 49 methods. The bar is 400 significant lines; this is 90 over it, 1.23\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f64cdc3ccd99ed7f92c42ffd84fc0a0d61667dfaacf449672439ac2d0377785"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChessRouterComponent: ClassTooLong \u2014 489 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 89 over it, 1.22\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"802c3ba6c6ca4794421ca26b9f626d804793d43bf31a24cf60b4c01aac6b438e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImagesPreviewWithSelectionKt.ImageItem: MethodTooLong \u2014 ImageItem runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagesPreviewWithSelection.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4365600ebb69be86d8e0b9abbabb4896c5d266d099706144432e356bec8ee5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChessPlayHomeScreenKt.ChessPlayHomeScreen: MethodTooLong \u2014 ChessPlayHomeScreen runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c15e44771ddc627e485bc3e7dc1eac442fada5e44f19d2098221d3df91e9f0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EffectsToolSheetKt.EffectsToolSheet: MethodTooLong \u2014 EffectsToolSheet runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/effects/EffectsToolSheet.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f332f4ada646960f559e86bb4f2f32daeb746e1dcfd0808a8555c29308ca3b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalModelManagementScreenKt.LocalModelManagementContent: MethodTooLong \u2014 LocalModelManagementContent runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/local/screen/LocalModelManagementScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3962ecac135187cfc5810dc8eac509d994f701cf9b926535fcf0684e270c570c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThemeSettingsScreenKt.GradientBackgroundCard: MethodTooLong \u2014 GradientBackgroundCard runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"23aa7f6f8f5e0e9bd589d07a754812d7cc74da94009e3eef44082b37292706f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/NewChatInput.kt: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 107 over it, 1.21\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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24605534430ba2c70db70781b5fd7d462ac21acfbc0c218df55c1a9db4b2d314"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backup/BackupCenterScreen.kt: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 106 over it, 1.21\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":"feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ff8e76d69a3afb51cb2c6d7087cd9798450e510a6b3d668ecdf96593f7de2d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CalendarShareCardRenderer.drawAlmanacCenter: MethodTooLong \u2014 drawAlmanacCenter runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f869e11d8bd3478f899d1c5ef55a4a89e9e3746ac2ea0d830ecd3871e4e73c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CalendarTabKt.SelectedDayCard: MethodTooLong \u2014 SelectedDayCard runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc0670cd668e96a02f79847db339a41788cc1ddb847e42b4b732ba22f41d791"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LoginOtherKt.LoginOther: MethodTooLong \u2014 LoginOther runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/ui/LoginOther.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6dd0d65551b7a5788c45f354e445a97d45da794fd2803d53732a3642832b04b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextBlockTransformHandlesKt.TextBlockTransformHandles: MethodTooLong \u2014 TextBlockTransformHandles runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextBlockTransformHandles.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"282507a83116773eb33c27f15a6cd3df5b357530500f0e3abbaf5fdd5e59ff91"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: XiangqiSetupScreenKt.XiangqiSetupScreen: MethodTooLong \u2014 XiangqiSetupScreen runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01c9b25bad74da4c13f537802a3c699f2ac4fd6f6b9166ff258d8b474c8d819"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dom.getElements: FunctionTooLong \u2014 getElements runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/core/dom.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"444c8b160a47f3021216b6c26a7e4d69bcb259df041c5c70ef516fcf78bc648c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic317.kt: FileTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-821). The bar is 500 significant lines; this is 101 over it, 1.20\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":"core/weather/src/main/java/com/weather/icons/Ic317.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd36a73348458edfc16018ac29b8d1db1ac97de7f7f530379da351cb08fe142"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/BookkeepingService.kt: FileTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: BookkeepingService (68-814). The bar is 500 significant lines; this is 101 over it, 1.20\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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/service/BookkeepingService.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb772b59784adff661e5a542f05e600ad10379c5a9aae01d188e542d5fd0c814"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WatermarkingComponent: ClassTooLong \u2014 480 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 400 significant lines; this is 80 over it, 1.20\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":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/screenLogic/WatermarkingComponent.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fbe92f157c70d99aad82c407c214c374e2ffe0007154b29347a01fd894b963"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: A2uiRendererModule: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/di/A2uiRendererModule.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50fa67ba31c9cefdce5509b0122a5127faf7e674f8c3928b841a61b72d6b672"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CreateAIAgentComponent: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1344f41dd236d794586dc978b8632ec3ee77df999af9201ba55f7353ea4b65c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PhoneStatusFormatter: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"feature/device-status/src/main/java/com/wanbaohe/devicestatus/screen/PhoneStatusFormatter.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb444388bb3f192a45148431c7bf10992f172aa5a0b46daa0d029ef61d72b87"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FileBrowserComponent: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/screenLogic/FileBrowserComponent.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ba29d6bf40cc9be28f037b27a49efbedbdeae5d4debea6d111355490139e5f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WebViewComponent: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"feature/webview/src/main/java/com/shifenmiao/webview/WebViewComponent.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42a90086a6577e313a76446b1c1a1ded1423704f45f1dd4298802cc0a86b440"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/AgentLoopExecutor.kt: FileTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: AgentLoopExecutor (75-906). The bar is 500 significant lines; this is 100 over it, 1.20\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/AgentLoopExecutor.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b373aaf33432df7d525b4a79f10bd4b694a5ebe1841912dcb1d4d9c09bc513a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuspiciousDayTabKt.AuspiciousDayTab: MethodTooLong \u2014 AuspiciousDayTab runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/AuspiciousDayTab.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf4ca52b7dd4e316415f6844b31082bab14847459ad0cf48cc318c459402a8d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatNodesKt.ToolCard: MethodTooLong \u2014 ToolCard runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/node/ChatNodes.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79521babb9fb7e7c96c74323c72a6a8ae284f92f8c1bdba9f462201f2f4fd09"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileTransferScreenKt.FileTransferScreen: MethodTooLong \u2014 FileTransferScreen runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/screen/FileTransferScreen.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6174ef85fdbe683baf63375d5cc94331517ca529c2c300b00c8648e860c0c89d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BlankCanvasSheetKt.BlankCanvasSheet: MethodTooLong \u2014 BlankCanvasSheet runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/home/BlankCanvasSheet.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c77ef00f70598fc36d8b1a1834322dfdf9961ab89fdefed032cf5f16a53fce"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VideoPlayerContentKt.VideoStage: MethodTooLong \u2014 VideoStage runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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":"feature/media-player/src/main/java/com/wanbaohe/media/ui/VideoPlayerContent.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33593477ade54fb935e9ad01f84c791418a3478919e655a9d28ddadf17904b3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CollageKt.Collage: MethodTooLong \u2014 Collage runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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":"libs/collages/src/main/java/com/t8rin/collages/Collage.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa5654b06ce1fd61349a6ae8adf434fd084d134cf3092b7f0a2862e8ca98e6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node/ChatNodes.kt: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 97 over it, 1.19\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/node/ChatNodes.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"894cd28a0aacf339781e55374486048651365bbad4f0113330617a33c3ab7907"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CalendarShareCardRenderer.drawWeatherCard: MethodTooLong \u2014 drawWeatherCard runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e3c9e81e03f909f3807086172e6dc8fba28102fc6a0e5573f2fe87c14421b1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AiEngineTestDialogKt.AiEngineTestDialog: MethodTooLong \u2014 AiEngineTestDialog runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"feature/common/src/main/java/com/shifenmiao/common/ui/ai/AiEngineTestDialog.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"348ade804e4dc18e073eb9db7f91f8b1e11399ede3e1ec5e50bfded3ea6e33e0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AudioPlayerContentKt.AudioPlayerContent: MethodTooLong \u2014 AudioPlayerContent runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"feature/media-player/src/main/java/com/wanbaohe/media/ui/AudioPlayerContent.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1af315f96049c96fea9f953056a70f25971dab884e9c44871f85308d980be62"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnitConverterScreenKt.CalculatorTab: MethodTooLong \u2014 CalculatorTab runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"feature/unit-converter/src/main/java/com/wanbaohe/unitconverter/screen/UnitConverterScreen.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fe53d473c6b8c2b783f66542e659fd7119f497baf15b37338852c9adeb0854"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: project/MarkupDocumentCodec.kt: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: MarkupProjectFormatException (64-638). The bar is 500 significant lines; this is 92 over it, 1.18\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ded95b92f7d15bd820c3da4733cb226c6f478ee2c00e9feb4d7cd8b46b3b96"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: other/QrPainter.kt: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 91 over it, 1.18\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/QrPainter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a05604dd0b5bb571f3df0c28a4760998336c959fddefdda70e3f8916fe8e33"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2080.kt: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-782). The bar is 500 significant lines; this is 90 over it, 1.18\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":"core/weather/src/main/java/com/weather/icons/Ic2080.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28681e4b527de64bf60f31a9d698ed20ef2bfdc612396ce6b1d3219da38d6293"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: content/MessageComponents.kt: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 90 over it, 1.18\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":"feature/ai/src/main/java/com/shifenmiao/ai/content/MessageComponents.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e0d5e0edf09f8b1c97f503b42e1e968ed1f2d68fe4137381a38a8516bbfcab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CreateAIPromptScreenKt.PromptStreamingSection: MethodTooLong \u2014 PromptStreamingSection runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef0d686dc9fb052c8e60cb5fb2396c73c84c1e6316b14f8601b6dfabc360485"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CalendarTabKt.CalendarTab: MethodTooLong \u2014 CalendarTab runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8c5815e21ee37230938190ba7a4c91ed00aea375708c27eee23aca19682492"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CalendarTabKt.FotoCard: MethodTooLong \u2014 FotoCard runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c2d6ba5c7db7aacc157f19a29c8930e1070da0560890505bd16a63dc46e541"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChessSetupScreenKt.ChessSetupScreen: MethodTooLong \u2014 ChessSetupScreen runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5543a6f3b85dc3cfccdf5ee75ae94f10e8b8ec897c905e7b298db1b45e5fb6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NoteAiRewriteSheetKt.NoteAiRewriteSheet: MethodTooLong \u2014 NoteAiRewriteSheet runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/online/src/main/java/com/shifenmiao/online/ui/NoteAiRewriteSheet.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"17aca00471102d4fe7dd75d7d0150114b35648c2dcd08f4baf2a4e6d9d357a28"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThemeSettingsScreenKt.ColorSystemCard: MethodTooLong \u2014 ColorSystemCard runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"9925d6a5acb85d4e2d6b4b768a44fc26cbdd24eeaf38dc9bba581c4acb1c6c09"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic315.kt: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-795). The bar is 500 significant lines; this is 89 over it, 1.18\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":"core/weather/src/main/java/com/weather/icons/Ic315.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b48a31655d3b2d5419c1770aa31c3367767eef37ba5ddc1cd6bd78bba00c85"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2524.kt: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-815). The bar is 500 significant lines; this is 88 over it, 1.18\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":"core/weather/src/main/java/com/weather/icons/Ic2524.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5093c26a206df3ab03271cb2e01531e6e01d09f3cbabc852b3e271798e6005"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2532.kt: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-815). The bar is 500 significant lines; this is 88 over it, 1.18\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":"core/weather/src/main/java/com/weather/icons/Ic2532.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fe9ed0a7fc981d476caef3b735b65f1d234ac6c64ad7fe23d37930393bee49"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DynamicCropState: ClassTooLong \u2014 469 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 69 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bad2f20fba1a03d20ff2a537f682141684a23c6b3447cdd12afefe255474e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2133.kt: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-828). The bar is 500 significant lines; this is 86 over it, 1.17\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":"core/weather/src/main/java/com/weather/icons/Ic2133.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73266b9b89febaa672a35f4e2306971b2d77f8b132a9a98fb554bacb02b84058"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plantuml/PlantUmlErdSubPipeline.kt: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: PlantUmlErdSubPipeline (37-728). The bar is 500 significant lines; this is 86 over it, 1.17\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ef02b4ff46fd94cb64e2f4f3c0b66454c0837e3f00236ad190995cb28e2916"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageBaseScreenKt.ImageBaseScreen: MethodTooLong \u2014 ImageBaseScreen 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":"feature/common/src/main/java/com/shifenmiao/common/ui/ImageBaseScreen.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a444c1dd1b16fd97c759a211f7c651a3bb8a5486f2ea474c42ced6e540f838ca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PdfToImagesScreenKt.PdfToImagesScreen: MethodTooLong \u2014 PdfToImagesScreen 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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_to_images/PdfToImagesScreen.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b280fb04162c3c672bb87ad09168df6116a3419c9268b12f87f026d7067c570f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CardCanvasPreviewKt.CardTextElement: MethodTooLong \u2014 CardTextElement 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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/CardCanvasPreview.kt"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"d617280ba38c049d3130d6e97d25d07f8a9c6eec659be4facb746843f5cd5590"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MermaidErSubPipeline: ClassTooLong \u2014 467 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 67 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ace4e7e85f9cedb98fd39f03242c7e6930eb81d56d98f0b34c31b8f6caaba7c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionStore: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SessionStore.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"40795fc888065303b33aca7149d8b97fc34e73dea7f98fdd0d126d8152877ec2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SudokuComponent: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/sudoku/src/main/java/com/wanbaohe/sudoku/component/SudokuComponent.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"545c2526a0fd76d9a40df422121ebe746fd53d5b395e791157b5bc416320ab10"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlantUmlErdSubPipeline: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"28784301b71306ab0e8dccee84b052ce047a317652600a2e959a35de083a8fa6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MarkdownSelectionController: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/selection/MarkdownSelectionController.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d42eae09031ae2a1347c9bd82b0a76349415ab0f1a04d0038a9653d7c0b8dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic408.kt: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-809). The bar is 500 significant lines; this is 83 over it, 1.17\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":"core/weather/src/main/java/com/weather/icons/Ic408.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc414c5ab7ca77b537fba7646896a3cf6e6d6e6c5006401b35865b41a502083"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrowserComponent: ClassTooLong \u2014 466 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 400 significant lines; this is 66 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserComponent.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"680ff7a9227ccd1391498144471ed9103ae7b16f5205b87caf5e89542d327198"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: helper/ContextUtils.kt: FileTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 81 over it, 1.16\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/ContextUtils.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9581fe956aa7e5084fa245b0e08bd0587632aea30d9dca24b3208c12dbc536"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlantUmlTimeSeriesSubPipeline: ClassTooLong \u2014 464 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 64 over it, 1.16\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlTimeSeriesSubPipeline.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f8c4d3cc14b081c46b015b46a84ea3953ca6a00c9f4addbd398f2f6eef8c7b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PhotoEditScreenKt.PhotoEditScreen: MethodTooLong \u2014 PhotoEditScreen runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"core/camera/src/main/java/com/wanbaohe/camera/PhotoEditScreen.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b8085b43644e0f89a7bfbd8ca5e76deead4f1a8940eea23f334f55aaab5d1d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChineseDatePickerDialogKt.ChineseDatePickerDialog: MethodTooLong \u2014 ChineseDatePickerDialog runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c5c650d1000bc588cdcd202f6dd2db9cdc698052a567fc022d3c4e7846f98a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DrawContentNoDataControlsKt.DrawContentNoDataControls: MethodTooLong \u2014 DrawContentNoDataControls runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentNoDataControls.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7dc00ba5c0087338731ffd2d2ed777bf1d7b16adcd89f7d8248a921ac13eec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatMessageItemKt.ChatMessageItem: MethodTooLong \u2014 ChatMessageItem runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/screen/components/ChatMessageItem.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6bc05d86b5033bd203ed178eddcbae86df8b84e4bb926f8b873b883586311f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: component/AgentLoopRunner.kt: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: AgentLoopRunner (73-866). The bar is 500 significant lines; this is 79 over it, 1.16\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AgentLoopRunner.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c99f784ee4f9a149252c7749f14339a257ba86f8c74fec228b7322f87aa921"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/IChingDivinationScreen.kt: FileTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 77 over it, 1.15\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":"feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b82a3e3c5ec5df62d8b04d0b6f027f1a1a7055b16b77eb146204f586c384851"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webview/WebViewComponent.kt: FileTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: WebViewComponent (89-871). The bar is 500 significant lines; this is 77 over it, 1.15\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":"feature/webview/src/main/java/com/shifenmiao/webview/WebViewComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f48855841691f7b0aaa5e8c7611449dc48428d2148b8767af6e32fbb8057a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/OcrTaskListScreen.kt: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 76 over it, 1.15\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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14539ab9e07c8960cf775cbc399f12140631f6926ce269ca35b121686707cd06"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/GeometryUtils.kt: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 76 over it, 1.15\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":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d33b09e4e5f3cbc39c2e5f4ee826b62d6993a6ab2e926f00aa34f3f9f872e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/DocConvertTaskListScreen.kt: FileTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 75 over it, 1.15\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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55adf85ee38c2009ebdc87e65ef552c17b6ebf8061fa3bb9369b831a591d7536"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AgentJsonEditorScreenKt.AgentJsonEditorScreen: MethodTooLong \u2014 AgentJsonEditorScreen 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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AgentJsonEditorScreen.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6111d4043891ca18bf806f5b36dba3a6e0a67c8581db1fb4f6eb7826293c84e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AltitudeGaugeKt.AltitudeGauge: MethodTooLong \u2014 AltitudeGauge 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":"feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeGauge.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"734549dc984faa601e80b66777745a3b666a8bf8ab8794b9a4096d3737e3415a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppContentKt.AppOverlayHost: MethodTooLong \u2014 AppOverlayHost 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":"feature/app/src/main/java/com/wanbaohe/app/AppContent.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"51392db37dd75d507a7429596fe66c15697302d03ca5e137047d8462fc1edb79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GradientMakerControlsKt.GradientMakerControls: MethodTooLong \u2014 GradientMakerControls 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":"feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/components/GradientMakerControls.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ceb43bb2fd7ad4ff565d479cff704753929ba561fecb2ace77fe5b7ba27e84"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CardCanvasPreviewKt.InPlaceTextEditor: MethodTooLong \u2014 InPlaceTextEditor 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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/CardCanvasPreview.kt"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec37d9d9c063a985fc09c9cd0f4f46bdfe7acf9f0f0192120683fc9d9214476"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KmpMarkdownRendererKt.KmpMarkdownRenderer: MethodTooLong \u2014 KmpMarkdownRenderer 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":"libs/markdown/src/main/java/com/wanbaohe/markdown/internal/KmpMarkdownRenderer.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bacc6f852e7c2e1edeffe4c26941a44635f2ad3a0e4f130f6abe20624e3fc82"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2312.kt: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-755). The bar is 500 significant lines; this is 73 over it, 1.15\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":"core/weather/src/main/java/com/weather/icons/Ic2312.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b92e216762cc6ffd30157942d31325c8e76576e16117e18c79739403f7f924"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FileAnalyzer: ClassTooLong \u2014 458 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 58 over it, 1.15\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":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a826594b0664b40fedbad9947530455fed0732953c3ebcb94d065fb5f93122e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mermaid/MermaidC4SubPipeline.kt: FileTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: MermaidC4SubPipeline (43-682). The bar is 500 significant lines; this is 71 over it, 1.14\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d578ae05bcac5b3bc8f0118a5bac9455871668091fea3d89276ce2f89bbc72e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PickImageFromUrisSheetKt.PickImageFromUrisSheet: MethodTooLong \u2014 PickImageFromUrisSheet runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/PickImageFromUrisSheet.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"97064353af4a645688ee0f48295331a1cebf06a94a0d84f34e8ff7d703c98643"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CategoryManagementDialogKt.CategoryManagementDialog: MethodTooLong \u2014 CategoryManagementDialog runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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":"feature/common/src/main/java/com/shifenmiao/common/components/category/CategoryManagementDialog.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2f6dbc044f351466a72652300cbf14603f3f06dab89f19e5486fed66edf822"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VoiceInputSheetKt.VoiceInputSheet: MethodTooLong \u2014 VoiceInputSheet runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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":"feature/common/src/main/java/com/shifenmiao/common/voice/ui/VoiceInputSheet.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"435226cc7d629b0d59bf6c7bca991d467a492252c64ac51f663968ea47bd7a6a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GomokuPlayHomeScreenKt.GomokuPlayHomeScreen: MethodTooLong \u2014 GomokuPlayHomeScreen runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuPlayHomeScreen.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9887b849c59150114ffbb1170d956aae5b880002e00e80049d790e8b8838bdac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FullScreenMarqueeRendererKt.FullScreenMarqueeRenderer: MethodTooLong \u2014 FullScreenMarqueeRenderer runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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":"feature/marquee/src/main/java/com/shifenmiao/marquee/screen/FullScreenMarqueeRenderer.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32ab52748db2abfda17c1969a3352ede8209ae779bbabcdef3097e1665758d6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DocumentScannerActivity.onCreate: MethodTooLong \u2014 onCreate runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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":"libs/documentscanner/src/main/java/com/t8rin/documentscanner/DocumentScannerActivity.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"23eefd86d6326ab962241239bac87551263478b510b33b379e06042f2c5e3051"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: activity/ActivityLogRecorder.kt: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ActivityLogRecorder (49-921). The bar is 500 significant lines; this is 68 over it, 1.14\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":"core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cef2164c52d02284dc1e9f2f7e3aa35940d39feca1d2e45e5da9d0a28fdec0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/OnlineMatchScreen.kt: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 68 over it, 1.14\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b559a58ddbc6a0588bea9110c536f21c3c17132d4d753db7c3c6e18a335e5bc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/OnlineMatchScreen.kt: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 68 over it, 1.14\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e37913f34904b4d8a66426838213a7aae0e7fc361eef9a831a7c178fefe51ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/OnlineMatchScreen.kt: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 68 over it, 1.14\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc51871b6142dd133f0b8d6b58c583f0c4dc401be6a4697f18a9018e16417de0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2007.kt: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-750). The bar is 500 significant lines; this is 67 over it, 1.13\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":"core/weather/src/main/java/com/weather/icons/Ic2007.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"470f8b35b62cc27ea46a553dcc94b784ad4ca8ee74d83b11f5fbd823ef426ced"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plantuml/PlantUmlDeploymentSubPipeline.kt: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: PlantUmlDeploymentSubPipeline (37-709). The bar is 500 significant lines; this is 67 over it, 1.13\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16b61a9b7ef81fe14ce980bb3e5489a76599ef79c6d6b256f8b95053b57670e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AiUtils: 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":"feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2357c79925dcf3e50992d4c053b6b684e00b3333dba6ed45a3ccd762b3b0288d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ResizeAndConvertComponent: 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":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1850636448ab2c75bd86bfb5ce2f9b513988a097fd5548a95effd15c7c6ecc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FiveFrameImage: 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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"915fd02933eb64ce04e972a31efe25a5eecf3ed8034a4cd3ac7d3f3ec99b0c41"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlantUmlTimeSeriesSubPipeline: 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlTimeSeriesSubPipeline.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a610b7fd3d2440944598faea66af985e2bb921809107f1b20903b9e472b345e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GomokuRouterComponent: ClassTooLong \u2014 453 significant lines (blank, comment-only and punctuation-only lines excluded), 59 methods. The bar is 400 significant lines; this is 53 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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6640f4049f8eeaa0eec03882981eb7f7f71c777674ae0934f1da4f5e28c625d0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MessageUiModel: ClassTooLong \u2014 453 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 53 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":"feature/ai/src/main/java/com/shifenmiao/ai/model/MessageUiModel.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2ea6ffb6e97fecdbe07748c1cabaa48af3af8438de4e0be431b76cb552be8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/XiangqiSettingsScreen.kt: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 66 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab06ae4e865f836fb04f391d1c31df92c2701508d8534b36803d04e3451c307"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: selection/MarkdownSelectionController.kt: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: MarkdownSelectionController (49-708). The bar is 500 significant lines; this is 66 over it, 1.13\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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/selection/MarkdownSelectionController.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb0488c044f821676a52228d69192dd7fd17a51201ded0cb41f6df12d6a2322"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AIEngineCatalogManager: ClassTooLong \u2014 452 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 52 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":"feature/common/src/main/java/com/shifenmiao/common/manager/AIEngineCatalogManager.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae8a155209ffba2175cc6865988c45f29c40b03ddfe5d743e8484de957363fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PickFontFamilySheetKt.PickFontFamilySheet: MethodTooLong \u2014 PickFontFamilySheet runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/PickFontFamilySheet.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbe0b2e530431e82a68066835eb73690c91c6c41123ca01371ce65dae58bd2a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AIChatScreenKt.ChatContent: MethodTooLong \u2014 ChatContent runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d714bdd1fd0a79e10216be27da0d590a44ab5ec881b3c686de93f401fc4df24"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailTabKt.DetailTab: MethodTooLong \u2014 DetailTab runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/DetailTab.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33c3fbb2e86474d7e13571f4e99c3e6852ed1bf80a834471a772bfdb5c682a7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommentsBottomSheetKt.CommentInputBar: MethodTooLong \u2014 CommentInputBar runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsBottomSheet.kt"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bac224a28838b39d99eeeadc728ea16bd8e268f0a4c5eb3063d913ab8f42879"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CreationMetaConfigSheetKt.CreationToolSelectionSection: MethodTooLong \u2014 CreationToolSelectionSection runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a79fba393ecebcafe4cd06fac42bdf5fbe5281502620bf43e91cfc134bee887"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AndroidTextCardLayoutEngine.paginate: MethodTooLong \u2014 paginate runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/AndroidTextCardLayoutEngine.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d517874f7f72aee9a27704f93521aea96fafbd2c6b41dc43e7ed2956355d265b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CardAnnotationLayerKt.CardAnnotationLayer: MethodTooLong \u2014 CardAnnotationLayer runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/CardAnnotationLayer.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f770051fb8f877ae68f367cc86ca1b404877b53e15e71d04f65954ba26a45ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screenLogic/ChessRouterComponent.kt: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: ChessRouterComponent (97-776). The bar is 500 significant lines; this is 64 over it, 1.13\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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b444d468251354e60acc11bcf29f6852d773ef050fb526d2a49f988208ab0f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AndroidPhoneStatusSource: ClassTooLong \u2014 450 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 400 significant lines; this is 50 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":"feature/device-status/src/main/java/com/wanbaohe/devicestatus/data/AndroidPhoneStatusSource.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"406d2cd93a25218a75f13af545f60a537a15b5dfc5a6b9b064cc40554a4468fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: editor/CardCanvasPreview.kt: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 62 over it, 1.12\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/CardCanvasPreview.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7222020cbdafc86bc8880083147411d1cf53f754a46c28a5c784189d628496"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screenLogic/WatermarkingComponent.kt: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: WatermarkingComponent (80-752). The bar is 500 significant lines; this is 62 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/screenLogic/WatermarkingComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a883922be13c80c9b27c78f03dc613d0ed6392f9fb616221dbc4a43d06e90c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: XiangqiRouterComponent: ClassTooLong \u2014 449 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 400 significant lines; this is 49 over it, 1.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9864258c674e3f9e4e1244334ad9efe15f43f14a919a388f4a8195bb23beb507"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic153Fill.kt: FileTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-731). The bar is 500 significant lines; this is 61 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/weather/src/main/java/com/weather/icons/Ic153Fill.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5fc40d17d179b97c1d119d5916e86a3e5ef6e8b5ba38021bf1eebff507785b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/PlaceHolderMessageCard.kt: FileTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 61 over it, 1.12\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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/PlaceHolderMessageCard.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"912c38ac553e458d95b0dfbc012d7aed0f1d32e547e7f3bc29ad98aea56a8ac3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AndroidZipManager: ClassTooLong \u2014 448 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 48 over it, 1.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/data/AndroidZipManager.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c8bea30b73d320c330445683fa40f1ece4013aed355e942744c97de1f6f701"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NewChatInputKt.StandardInputSection: MethodTooLong \u2014 StandardInputSection runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b857353b95bfaf43484060a3fdab38c1e099557679cac3237391ab83d33d30"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CloudFileGridKt.CloudFileGridCard: MethodTooLong \u2014 CloudFileGridCard runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/CloudFileGrid.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e178f3e1e4e97b51bb83310330342dc32488ef34c6ed1c43a62c67c94afd5dd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CategoryDetailScreenKt.CategoryHeaderCard: MethodTooLong \u2014 CategoryHeaderCard runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/CategoryDetailScreen.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74e9174383473de5677e618fd1789e6e1f7c5a9a1fed905efcc9063d1e66f3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/MeasurementScreen.kt: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 58 over it, 1.12\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":"feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72510824484046f48b473e49eee7de69779c9bf9160ef0ef3ae5e086b029bf6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FileHelper: ClassTooLong \u2014 446 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 46 over it, 1.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/utils/FileHelper.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc4987c2f1b51ca77de2e594961cf8037c0f91b705bf8dd6f626e8757b53240"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/FullScreenMarqueeRenderer.kt: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 56 over it, 1.11\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":"feature/marquee/src/main/java/com/shifenmiao/marquee/screen/FullScreenMarqueeRenderer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba45da635ac96c73fca01ae7c98abf4e2250cc9baa77132c48f06999e051bf9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommentsBottomSheetKt.CommentsList: MethodTooLong \u2014 CommentsList runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsBottomSheet.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dbdacaf4954bc50aedbfac378f89921223342928ad658dfc40554a329f19ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PdfPagesRearrangeGridKt.PdfPagesRearrangeGrid: MethodTooLong \u2014 PdfPagesRearrangeGrid runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72e1c245dee7871ca42138f8d121e3fef1214fe42d1a8ceb11cd62b6830326e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LegacyPdfViewerKt.LegacyPdfViewer: MethodTooLong \u2014 LegacyPdfViewer runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/root/components/viewer/LegacyPdfViewer.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7099a9251b6a6078d9fddf10f9ccc5f29b1d05ffd274b3ba660a9c734354d8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SvgMakerContentKt.SvgMakerContent: MethodTooLong \u2014 SvgMakerContent runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"feature/svg-maker/src/main/java/com/t8rin/imagetoolbox/feature/svg_maker/presentation/SvgMakerContent.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be941c4ae301c4efa68e5199cd054c22adde69fc4e48b9d5ddbcc7dc581686e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnnotationEditorUiKt.AnnotationLayersPanel: MethodTooLong \u2014 AnnotationLayersPanel runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/AnnotationEditorUi.kt"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3b2361c4644a5e912c4369efb990d546c112fc33ee648c1bb68ccdb9d2a3ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: XiangqiRouterScreenKt.XiangqiRouterScreen: MethodTooLong \u2014 XiangqiRouterScreen runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/XiangqiRouterScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae195c0e746b343271a39087541b76c5a38f8c83f5ba4844f33e08814305b6f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic407.kt: FileTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-751). The bar is 500 significant lines; this is 54 over it, 1.11\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":"core/weather/src/main/java/com/weather/icons/Ic407.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ca45ede25933c4a04d5e503b870b246ea5ceaa6d1358ca98c81c9af2ed654b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: export/ExportSettingsSheet.kt: FileTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 54 over it, 1.11\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/export/ExportSettingsSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"306d9c9dc320a830d0c54067a1fed39b388fd018611765cf6080fe1a23bd106f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: line/LineLoanCalculator.kt: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Icons (36-852). The bar is 500 significant lines; this is 53 over it, 1.11\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":"core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/line/LineLoanCalculator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ada567cec6d7b07f2a21f1b16ea638f2a597a339e2366c1651525325bb36d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: code-editor/editor.src.js: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 53 over it, 1.11\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":"web/code-editor/editor.src.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebce289be107f6e28ea371ffdf060239993dd6b78a9c54c2c026745935fd751"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: glass/GlassOutlinedTextField.kt: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 51 over it, 1.10\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e1ed05d90602e167fcea80cc9d8426d73c5e17580b5c60e1e63794ac3d69c9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MarkTodoRepository: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 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":"core/database/src/main/java/com/shifenmiao/database/marktodo/repo/MarkTodoRepository.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d0733b1a7f2451853c54e3db60d3372b60f345ea03820cd627d06686291dad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BookkeepingComponent: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/BookkeepingComponent.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac57edc98b23ce15bbce0d51a1597f46bfca8dc71ef744221466a6f0c317a91"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IdPhotoComponent: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 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":"feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screenLogic/IdPhotoComponent.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"afde766f2c9d2129afb47ad3222d9e9f0dce94b67fd79dab98e59173ef6aea08"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlantUmlNetworkSubPipeline: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"65945831b9413ea87577e8068a7c126187638604b8172ab814ac4a7b00446fb2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ManageTodoTool.handleList: MethodTooLong \u2014 handleList runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e3538d5a1fb5f9f707ae783f3b55f4254c1c0e51268a39f69f32a67ea39929"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileScreenKt.ProfileStatsRow: MethodTooLong \u2014 ProfileStatsRow runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/profile/src/main/java/com/wanbaohe/profile/ProfileScreen.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"471b1c7cb0580686052526ad99d7fa498546710ab3f4a8f81fb65f34bf8303d6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlantUmlComponentSubPipeline.drawNode: MethodTooLong \u2014 drawNode runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ff72ec9ba276a2a96ea1bc418c9e669f2f51ece0afdd9cd0ffe49eb54f1d9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1052.kt: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-744). The bar is 500 significant lines; this is 49 over it, 1.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/weather/src/main/java/com/weather/icons/Ic1052.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4978b33035a69b215d6f857fc8c815099aca51c2b62b8134749b521834d4139c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/PagingDataItemScreen.kt: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 48 over it, 1.10\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":"feature/online/src/main/java/com/shifenmiao/online/screen/PagingDataItemScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"193587143e652d31fd36d7b9acae30ec3755eaff29f8a03ecbb37ecb7399c446"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2554.kt: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-764). The bar is 500 significant lines; this is 47 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":"core/weather/src/main/java/com/weather/icons/Ic2554.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1674368cf2c517b9c4d807dcafefe4957a73982eae7fa2c2fd5a9ccf431c7a87"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ImageScaleMode: ClassTooLong \u2014 437 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods, 2 blocks, lines 85-651. The bar is 400 significant lines; this is 37 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":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/image/model/ImageScaleMode.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a2f01a72b343f5f08004b2a6e5095d02627df9b29fbca44861155f6d0edf81"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlantUmlC4SubPipeline: ClassTooLong \u2014 436 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 36 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b8af37ffdd3d81f3b95d4b400c02cdeb523829d37f195999ff65444773c349"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChessRouterScreenKt.ChessRouterScreen: MethodTooLong \u2014 ChessRouterScreen runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8d5e7d77738b5270639221399a8447023ea7121c0423a397e9723b0488264a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataSyncScreenKt.DataSyncScreen: MethodTooLong \u2014 DataSyncScreen runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"feature/common/src/main/java/com/shifenmiao/common/export/DataSyncScreen.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa55276ab6cabca9737f09a185853b2b31ed71a58bc2bfe8fc8fd5adceeb8e6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsSheetKt.ProviderEditor: MethodTooLong \u2014 ProviderEditor runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/SettingsSheet.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee7b34f8f3d11910f5f980f7d0b751d99cc4c21c438da6396ee207dbf35ca0d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HabitEditScreenKt.HabitEditScreen: MethodTooLong \u2014 HabitEditScreen runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/HabitEditScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d05b5b6f9b2506c961215d70b9ac2eb48fd0341002c86c2fc94f49208101868"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StackImageItemKt.StackImageItem: MethodTooLong \u2014 StackImageItem runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/components/StackImageItem.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82d1471b1b72f5733b4562a6e40c03c26604e9670aebdbafcaa6852420bb686"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AngleMeasureKt.AngleMeasureBackground: MethodTooLong \u2014 AngleMeasureBackground runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"feature/measurement/src/main/java/com/wanbaohe/measurement/screen/AngleMeasure.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fe4fdb2008a7829d59fb2cd686fad9bdec6f475ae96a5d134045bd75630017"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PdfPageKt.PdfPage: MethodTooLong \u2014 PdfPage runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PdfPage.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"668acb7ebfb4097b66841e1a3b018365d61bddc4aed88c7ebe158fa5d760f283"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PeriodChartsKt.CycleTrendChart: MethodTooLong \u2014 CycleTrendChart runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"feature/period/src/main/java/com/wanbaohe/period/screen/PeriodCharts.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ce8446e2af0f55543407e72854ca2719548e982f01574d623dbd673577f9a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AIEngineSettingsScreenKt.EngineListCard: MethodTooLong \u2014 EngineListCard runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsScreen.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"122e5189dee43c8e0c51b998657207f0569201ed543ba533f3b1ae6f36904053"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2215.kt: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-763). The bar is 500 significant lines; this is 42 over it, 1.08\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":"core/weather/src/main/java/com/weather/icons/Ic2215.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f616d020ec58cb3023e883d3ee5df2a27bc72f32b0c6a83faf7a7240a679c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: export/HtmlExporter.kt: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: HtmlExporter (60-776). The bar is 500 significant lines; this is 42 over it, 1.08\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":"feature/ai/src/main/java/com/shifenmiao/ai/export/HtmlExporter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0181bf95bbd6a09b451b75ddd555c065d2db4f2f11ec9b8f355a3ddcb3ac20b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/AIChatScreen.kt: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d05531b163acd6ea902333886823bc8ad5c00bacedf5f80eec72d41b5c90bae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screenLogic/FiltersComponent.kt: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: FiltersComponent (76-811). The bar is 500 significant lines; this is 41 over it, 1.08\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c68dfc50359cf9548bd4ae554fc6b848c00e9e3774b3de4b036b22a0833f3c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FavoritesContentKt.FavoritesContent: MethodTooLong \u2014 FavoritesContent runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/FavoritesContent.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9b24c51497b6dcfcaee4b3228eff4fa37f38c44643ca70d8ceb7427e5719e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdWatchScreenKt.AdWatchHero: MethodTooLong \u2014 AdWatchHero runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ad-watch/src/main/java/com/wanbaohe/adwatch/screen/AdWatchScreen.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1772b2efb589b3d9c0d397dc3f95d3eb60b872959e006b677d0856c7ad48f6c5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StatsTabKt.StatsTab: MethodTooLong \u2014 StatsTab runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2481fe9bba6786085b99d48ed8e39b91ad4e98d82bd8817c0ed1efbe09aba059"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GomokuRouterScreenKt.GomokuRouterScreen: MethodTooLong \u2014 GomokuRouterScreen runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/GomokuRouterScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb78d0ca35412c67a76b99ffa21256fc03c11b9974925d4cf187867a8eb2d93d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToneCurvesEditOptionKt.ToneCurvesEditOption: MethodTooLong \u2014 ToneCurvesEditOption runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/ToneCurvesEditOption.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3653cc5be20aa3600e81f6a24eaa254bd38f02643e6cc4a2ff7c938e6cd745"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MessagePersistenceWorker: ClassTooLong \u2014 431 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 31 over it, 1.08\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/MessagePersistenceWorker.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"707365cec6509b62c337a035de49dae0bdbc327408fae3cee5e7ea74144c52e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1047.kt: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-702). The bar is 500 significant lines; this is 38 over it, 1.08\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":"core/weather/src/main/java/com/weather/icons/Ic1047.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72de7b9eac7cebb209f9c7ddae765f3589691808bd7ba6230870db8794cd0f6f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MetadataTag: ClassTooLong \u2014 429 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 29 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/image/model/MetadataTag.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"125213f9e4a4e4463f61065b030586bd21cb2ddd9689f5ed6e578b8f4e03ec7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1066.kt: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QWeatherIcons (28-721). The bar is 500 significant lines; this is 36 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/weather/src/main/java/com/weather/icons/Ic1066.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bbe2e733b4df4805f3e2319242fe7ebddd2ab676f3337acc26404416b3f292"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: line/LineIconsPreview.kt: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 35 over it, 1.07\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":"core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/line/LineIconsPreview.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fdef65faca422035a288be8d7f0274a881ed232e4356634f3261633f164ea7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PictureKt.CoilPicture: MethodTooLong \u2014 CoilPicture runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/Picture.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e566aff603dab07fb62271d87c2f97f14fa4005ca848e26baa82116e1b89154f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FullScreenChatInputSheetKt.FullScreenContent: MethodTooLong \u2014 FullScreenContent runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/ui/FullScreenChatInputSheet.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0d22f8e831bf94257470371db87fd13961ec14932f1e8f48c63707bfc88f38"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SizeCustomizerKt.SizeEditor: MethodTooLong \u2014 SizeEditor runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/SizeCustomizer.kt"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee228ae2a25156ddd5bd937d06faab6327cf77f6e21446dadea476dcc50607a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PickColorFromImageSheetKt.PickColorFromImageSheet: MethodTooLong \u2014 PickColorFromImageSheet runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/pick-color/src/main/java/com/t8rin/imagetoolbox/feature/pick_color/presentation/components/PickColorFromImageSheet.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfa4db66cd3c63c385f7053f9695a284cb1b27808c21ee89ac8f7975ec07d6e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AIEngineSettingsDetailScreenKt.ServerConnectivityCard: MethodTooLong \u2014 ServerConnectivityCard runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ce42f1bf8716fb2d80dbda805d8582bd234cccd0c2f012eff53e3039d0b8e5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BookkeepingService: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/service/BookkeepingService.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"098ff3a2f08e7f5a3cd9fa4e7850804ab139663a46f6b4327e909acd75d34edb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AIEngineManager: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/manager/AIEngineManager.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f4cb2c275b62c3a876c77e12fd4364a46477c1eb2b6254df23aa963ae5c50e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AndroidPdfManager: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/data/AndroidPdfManager.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"663c6894c6ba65a8b454a06427665dda397c291b26163307f7e7fb4c10b8f191"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic314.kt: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: QWeatherIcons (28-723). The bar is 500 significant lines; this is 33 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/weather/src/main/java/com/weather/icons/Ic314.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c9215bbb932fa2e93e77dc253af91f32504fd31ae5294f79e9ef67e364f553"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plantuml/PlantUmlUsecaseSubPipeline.kt: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: PlantUmlUsecaseSubPipeline (36-672). The bar is 500 significant lines; this is 32 over it, 1.06\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c271356b13dce259cf8092c9c41a2876b9b35993c6db0d41ddbca32e95c26e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThemeSettingTool.buildThemeChange: MethodTooLong \u2014 buildThemeChange runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ThemeSettingTool.kt"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"893acdbf0466406e4571739b3f077f38bde6f574c1eff0f6e69f830882f06ae0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CropperKt.Cropper: MethodTooLong \u2014 Cropper runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/components/Cropper.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93ea534c50250248462ed868afdfc6e255dc172344c7d7ba5e56d08dfefb778"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddEditMaskSheetKt.AddEditMaskSheet: MethodTooLong \u2014 AddEditMaskSheet runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/addEditMaskSheet/AddEditMaskSheet.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9eb438196cb09df879e14b309bb8a2bb2cb3e28ad9d34d60c86ff39fb220507"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OcrResultSheetKt.OcrResultSheet: MethodTooLong \u2014 OcrResultSheet runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/screen/OcrResultSheet.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c568ef46a3a89ec6feb43a052539860a151e614a222dcf6d70fa4d1c95bda928"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileScreenKt.ProfileContent: MethodTooLong \u2014 ProfileContent runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/profile/src/main/java/com/wanbaohe/profile/ProfileScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac387402ebb4ee8ab7f6d26bf3448279940e388d4c46c4aa1d3e371a8dfd8d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1010.kt: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: QWeatherIcons (28-705). The bar is 500 significant lines; this is 28 over it, 1.06\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":"core/weather/src/main/java/com/weather/icons/Ic1010.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c053dcdbb29532a2831dd73744cf52a58ea073553425307a3dc36a479d810f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/LifeTimeScreen.kt: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 28 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d98a70f3b12966cef1dc8ff79f8454da23a76a3cff88f35c7f2fd8da5b8b35"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MarkupProjectStore: ClassTooLong \u2014 422 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 22 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7121837c7b726cd14b3e86dd2c6a268209b45f023f8d9b6d96242ffcc19087c1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MermaidRequirementSubPipeline: ClassTooLong \u2014 422 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 22 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"704432bf42778d7088194a97cc1acf7c204be81100e8542aee5202b20f3e031b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SingleEditComponent: ClassTooLong \u2014 421 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 21 over it, 1.05\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":"feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1c838c3d2ab23753f51126dc6a07ffc0327debdeb81bf223a4c71facf563fd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MarkTodoServiceImpl: ClassTooLong \u2014 420 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 20 over it, 1.05\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91e7850c2821f8de355154f0eb6da864b95126467feff364475da06e848db8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tab/SettingsTab.kt: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 25 over it, 1.05\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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/SettingsTab.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0b3145ee220f4e9dc9096b5963ceedf5e4ed3f215fff039c868621e1f8f67d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screenLogic/GomokuRouterComponent.kt: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: GomokuRouterComponent (94-723). The bar is 500 significant lines; this is 25 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a40fdbf2f2ba5ba7ea689f4c03642e370704c9e502e9e81263d51b658fcd41"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plantuml/PlantUmlArchimateSubPipeline.kt: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: PlantUmlArchimateSubPipeline (38-668). The bar is 500 significant lines; this is 25 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f897a4e02abf433588c76b956bbe3f05e7d1b5121fd8b36bbec1afbc3ce74ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plantuml/PlantUmlSubPipelineRegistry.kt: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: PlantUmlSubPipelineRegistry (41-641). The bar is 500 significant lines; this is 25 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSubPipelineRegistry.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a5f152258bc9f9964b1f20be0d9eb751ea71022f151f1e90d3c3d7d4605fc8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AIDuelChatComponent.startDuelInternal: MethodTooLong \u2014 startDuelInternal runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c90e8e02d841efeabc3699acd041eb1638cfcf03e7cb2288604fdcbe3d09296"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AIDuelChatScreenKt.DuelRoleSummaryCard: MethodTooLong \u2014 DuelRoleSummaryCard runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f4c1b6d241be56aab0957c49e8dc1f711bce5f6d7924f24cab19dddb170e27"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CalendarTabKt.DetailInfoCard: MethodTooLong \u2014 DetailInfoCard runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2345ef4a63939d157982294ed883d54d87a5957d6851b1311a40d0bd77f483"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PairingScreenKt.UrlStep: MethodTooLong \u2014 UrlStep runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/PairingScreen.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"909bc35045487b82955cb90e0c2e662653c322c1dc45163007a968de4c2bd6ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GifParamsSelectorKt.GifParamsSelector: MethodTooLong \u2014 GifParamsSelector runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifParamsSelector.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cb4d363b6c1527ad188c3c46fb364e8327fe41edf0d0ab846a3664c155f0c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PoemContentKt.PoemAiSection: MethodTooLong \u2014 PoemAiSection runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"feature/poem/src/main/java/com/wanbaohe/poem/screen/PoemContent.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bdc71976da1945c0c6f4db32d277f9691e1d84b52265171ea3d4be3fd518a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/AuthCodeSettingsScreen.kt: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 24 over it, 1.05\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":"feature/settings/src/main/java/com/wanbaohe/setting/authcode/screen/AuthCodeSettingsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35aa6ec2e3a70c551aee5f10c60c2ac6df65f4bdcbd08fd00e98d5a805d041fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screenLogic/XiangqiRouterComponent.kt: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: XiangqiRouterComponent (97-738). The bar is 500 significant lines; this is 24 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f05d53e03d5b8ad0fa05b5e44779a819d8f2a270c44ebb36f6e8cabb5e0f91"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: export/DuelHtmlExporter.kt: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: DuelHtmlExporter (53-697). The bar is 500 significant lines; this is 23 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/export/DuelHtmlExporter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb3fa6d8b678c67373cd0ea71e646bae5cacdbb8c10599575d0443f9c72c5a6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppComponent: ClassTooLong \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded), 65 methods. The bar is 400 significant lines; this is 18 over it, 1.05\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":"feature/common/src/main/java/com/shifenmiao/common/logic/AppComponent.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c64a9aa2b3140bd8f9b848901857697b3bfd490edd3008204cc29c4af6fe3c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2309.kt: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: QWeatherIcons (28-718). The bar is 500 significant lines; this is 22 over it, 1.04\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":"core/weather/src/main/java/com/weather/icons/Ic2309.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76919f7dcf134b096750559dbe540c737a0326ed80e49b58baa1579503d94fc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2420.kt: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: QWeatherIcons (28-707). The bar is 500 significant lines; this is 21 over it, 1.04\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":"core/weather/src/main/java/com/weather/icons/Ic2420.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"615535b564467778126c5e5f668443701554461d13d20519a4ae26e830870353"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AIStreamAnswerScreenKt.AIStreamAnswerScreen: MethodTooLong \u2014 AIStreamAnswerScreen runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIStreamAnswerScreen.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"282e97b77964bda8ccd7dc30e179c76d2cd3696b1c8748926d490a0e51d03d92"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FastBlurFilterKt.fastBlur: MethodTooLong \u2014 fastBlur runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastBlurFilter.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddcd4f307794e71d922fa3ecef4e75e5b0ec1f125cfdef9966c157126560767"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EditorScaffoldKt.EditorLayerStack: MethodTooLong \u2014 EditorLayerStack runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eca5fdb39777063be63a409f3baa1099ce3df51f30e16e9b9a7bff886caefc2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaPickerRootContentEmbeddableKt.MediaPickerRootContentEmbeddable: MethodTooLong \u2014 MediaPickerRootContentEmbeddable runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerRootContentEmbeddable.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"489b5f373ebdc9df2e61d5e2c5bc45af68e45c40ecd20c543285464af48700c9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AIEngineFormPartsKt.ProviderModelsPickerDialog: MethodTooLong \u2014 ProviderModelsPickerDialog runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineFormParts.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0b2a414ecb922bd5fb398434623c876957eb18785c1803824be16663b1ee78"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnitConverterScreenKt.RelativeTab: MethodTooLong \u2014 RelativeTab runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/unit-converter/src/main/java/com/wanbaohe/unitconverter/screen/UnitConverterScreen.kt"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"493f55da43ad7f7ddcdf19c315eada83adce5e8adbc30852c079f9fafc205244"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/CollageMakerContent.kt: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 18 over it, 1.04\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":"feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0c0576db10283e92174f98d14ae22a88c8843b132b0011de13ee753dde4fc7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MarkupProjectFormatException: ClassTooLong \u2014 414 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 14 over it, 1.04\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dc2c1c40a4267c1d777ad2cd92dfee47e0380891d99f48819c2b534469d4e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/MinesweeperScreen.kt: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/minesweeper/src/main/java/com/wanbaohe/minesweeper/screen/MinesweeperScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e7ffca352e0448c49eb8848de0c4fda6166ce4faa5a1dae4d357e9496bf726"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ActivityLogRecorder: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ea5aa272bacb37f095e130063c3b4479f36c742afb5b7071f8eff0c040529d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GradientMakerComponent: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/screenLogic/GradientMakerComponent.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f116d32109cf5c19e53b312014d2cc426f5593e6314b148a19df684101c539"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MarkupDocumentCodec: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b86fa87cba8c4f024dcbbfdbe65fc177f736c479a86672fd0827f8b7fc7f78"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextCardDocumentCodec: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/TextCardDocumentCodec.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6330ad7ab2e0feaff85df45ff9978e4db6e4f8e820bb42615ef7700af7ad2369"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ThemeResolver: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f318aca2c815f19d6c835ddf0b11ffb3aa6ea135f3be767b646f15bcc57b050d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: serialization/Mappings.kt: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 16 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/serialization/Mappings.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb269eb337260009fcd9feb2674fe478857f118d97f3504885d80dcc7b4d4d1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1002.kt: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: QWeatherIcons (28-685). The bar is 500 significant lines; this is 15 over it, 1.03\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":"core/weather/src/main/java/com/weather/icons/Ic1002.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c6230639aea70c0fe490ae8867cd01f58a509b95adb96e765e0f77f859d9cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/PeriodMainScreen.kt: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 15 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/period/src/main/java/com/wanbaohe/period/screen/PeriodMainScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3614e8956cf96b20c27802fa86a1a5b76aa793385a45659a967e9972f274c293"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: frames/SixFrameImage.kt: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 15 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d819b10f1527df9a32e3955efe24a5d659256098f7feed723fc3a23d26489fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CropOrPerspectiveParamsItemKt.CropOrPerspectiveParamsItem: MethodTooLong \u2014 CropOrPerspectiveParamsItem 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/CropOrPerspectiveParamsItem.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e04f9169f11cc6a63ccfe5bf2326c56ca48c0683c64cbc1a317fd28fc8f864"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AIChatScreenKt.ChatMessagesList: MethodTooLong \u2014 ChatMessagesList 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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8d6d5d7d8ef192a71ea2bd0760f1911afb7d4db99226fb8baacc450244eb0a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MeshGradientEditorKt.MeshGradientEditor: MethodTooLong \u2014 MeshGradientEditor 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":"feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/components/MeshGradientEditor.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"976b25a96c9d10801a2e4e2fda7d2e98bcbbde1f789474659eb4c805585bc804"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThemeSettingsScreenKt.GlassEffectCard: MethodTooLong \u2014 GlassEffectCard 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":"feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa09b5467cbc4cec15464513b86a88382743f9aa3f50d03e228b08bc8d5043f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2529.kt: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: QWeatherIcons (28-685). The bar is 500 significant lines; this is 14 over it, 1.03\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":"core/weather/src/main/java/com/weather/icons/Ic2529.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2c2d8c6029436ab81543e2181695d90bc4c2395e7ffe6471f3e4749f5d3038"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: upload/FileAnalyzer.kt: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: FileAnalyzer (101-860). The bar is 500 significant lines; this is 14 over it, 1.03\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":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1d389a47a884078cf13bab4a723b62bd78ca6ddffd2ac55281433d69c36eeb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DocumentScannerActivity: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 11 over it, 1.03\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":"libs/documentscanner/src/main/java/com/t8rin/documentscanner/DocumentScannerActivity.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"de155157ee6ff98cf0158e3526ee20c55f7299efe601c5955d0425306c56c4d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1062.kt: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: QWeatherIcons (28-704). The bar is 500 significant lines; this is 12 over it, 1.02\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":"core/weather/src/main/java/com/weather/icons/Ic1062.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acc5836fccbad4421403ee7a0fb9c28b798004eba7d8c0443ee002f797ab290"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/AndroidPhoneStatusSource.kt: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: AndroidPhoneStatusSource (88-671). The bar is 500 significant lines; this is 11 over it, 1.02\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":"feature/device-status/src/main/java/com/wanbaohe/devicestatus/data/AndroidPhoneStatusSource.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a57601cb927f1d9459b0becc045de3d14f2112ba8ba05dbfb101647772bd7b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DecisionWheelDialogKt.DecisionWheelDialog: MethodTooLong \u2014 DecisionWheelDialog runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/DecisionWheelDialog.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a822d299b374d0b567ea8c2bffb8f2be9c47fca9d5c31ac233dcccac7434b7a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: M3SwitchKt.M3Switch: MethodTooLong \u2014 M3Switch runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/M3Switch.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27a25c7c6bc9f375cd9a06b31e3233a204c1f37be41326afd79532a11da315f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TopAppBarTitleKt.TopAppBarTitle: MethodTooLong \u2014 TopAppBarTitle runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/TopAppBarTitle.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d6571c190d9ba26d9d5b2fd6a487677738cf75db3ee55ff64069b189ee9eb2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MemoryRepository.buildPromptFragment: MethodTooLong \u2014 buildPromptFragment runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/memory/MemoryRepository.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d02c24db86595ad496faf06f9dbadac60a413e1056907eb98a91965798cce52"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CipherContentKt.CipherContent: MethodTooLong \u2014 CipherContent runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cipher/src/main/java/com/t8rin/imagetoolbox/feature/cipher/presentation/CipherContent.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e293afa0a31cb985e9b4dcd232e6631da7a4eff78d37cd7d96644966d3d4a03a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ObjectDetailSheetKt.ObjectDetailSheet: MethodTooLong \u2014 ObjectDetailSheet runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/ObjectDetailSheet.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e299e27d433d9188b49edcd587d1d583bda2dd69ed049341a7464da3c00c27"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecognizedImageKt.RecognizedImage: MethodTooLong \u2014 RecognizedImage runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/screen/RecognizedImage.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bffbe4fc51339482ede18f61143e4e1389dba82c53082d2fe77e7df738e782"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageGenerationSettingsScreenKt.ConfigEditor: MethodTooLong \u2014 ConfigEditor runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/image/screen/ImageGenerationSettingsScreen.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"922bf5c4f0433d2707ec558769290c05bfaae8401a03c6b4bc8fe120fede0657"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SevenFrameImage.collage_7_10: MethodTooLong \u2014 collage_7_10 runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc647238bc921c6e7e4f0f83f06ea239cedf79b0abe560b66fc362fa865da3a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageCropperKt.ImageCropper: MethodTooLong \u2014 ImageCropper runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cropper/src/main/java/com/t8rin/cropper/ImageCropper.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ae8c7b6dc3f087cb54b146a1b46377e6e4d49312678a0837f947952685dd62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/ImageToText.kt: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Icons (36-659). The bar is 500 significant lines; this is 9 over it, 1.02\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":"core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/ImageToText.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3864867a635d8c75879c67df1958c7c1243067c991ad600f1354be47def259ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic2301.kt: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: QWeatherIcons (28-720). The bar is 500 significant lines; this is 8 over it, 1.02\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":"core/weather/src/main/java/com/weather/icons/Ic2301.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82b15e097d21828262fa58f9e54a312a474693bbfb288085eaf44835d048a66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic406.kt: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: QWeatherIcons (28-685). The bar is 500 significant lines; this is 8 over it, 1.02\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":"core/weather/src/main/java/com/weather/icons/Ic406.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56300e864c9b3f17d7d5b8e22933778fbf1a1a1b95a898ee028d3c071a2e977a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: navigation/AdaptiveNavigationLayout.kt: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/app/src/main/java/com/wanbaohe/app/navigation/AdaptiveNavigationLayout.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"362c0c98cbf1184010c7217ab7176da8d49552726e25b26106d094bdb81b87fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/IdPhotoScreen.kt: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screen/IdPhotoScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5c86fa9cbe378c2d4878c5d9e1eea709a705fbb2705ddf5568f0296d8fb353"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/DeleteSweep.kt: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7 over it, 1.01\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":"core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/DeleteSweep.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd389182ba18898e9394ef085983c4f98c29b5cc61a156c49b66654fa4d0a40e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: project/TextCardDocumentCodec.kt: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: TextCardProjectFormatException (61-548). The bar is 500 significant lines; this is 7 over it, 1.01\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/TextCardDocumentCodec.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47684bf5002a12875bacc04be75e25fd0a66be4c6be421177cbfe3ff2f88b756"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: browser/BrowserComponent.kt: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: BrowserComponent (63-770). The bar is 500 significant lines; this is 7 over it, 1.01\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":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2df63f78c453c8f21e660e1e5b3c76f9b5fc439f4a4936d98d360463974164"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: line/LineNoiseGeneration.kt: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Icons (36-687). The bar is 500 significant lines; this is 6 over it, 1.01\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":"core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/line/LineNoiseGeneration.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9f1cdad040e7d80986d293a6bbc42ddd3de0e25c6638ddb8a0c84c4b3b8e64"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EnhancedSwitchKt.EnhancedSwitch: MethodTooLong \u2014 EnhancedSwitch runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedSwitch.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"716786d00809e82b24bdf13d9598204c7103227099be5763a93271c7b388f31f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CompareWithUrisPageKt.CompareWithUrisPage: MethodTooLong \u2014 CompareWithUrisPage runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/checksum-tools/src/main/java/com/t8rin/imagetoolbox/feature/checksum_tools/presentation/components/pages/CompareWithUrisPage.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"00742ad42e3c9dcd627119cd35f247a4a27da88e8d79651db3f9b67360f51c98"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChessGameScreenKt.ChessGameScreen: MethodTooLong \u2014 ChessGameScreen runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bca8a66ca74ff25fb0223c158072edcbe9a5d8cbbfa66d5d9d0a748b1b298de"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MarkdownRenderWebViewScreenKt.MarkdownRenderWebViewScreen: MethodTooLong \u2014 MarkdownRenderWebViewScreen runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/MarkdownRenderWebViewScreen.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d9fe7379ed81f381ecb20d6890cf592ea97cce440be9b49b9c4ca0501b234f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic301.kt: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: QWeatherIcons (28-673). The bar is 500 significant lines; this is 4 over it, 1.01\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":"core/weather/src/main/java/com/weather/icons/Ic301.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6839bd0a8fc11fa2f44430d94a819ac3da8c6763795a2c8cfbb18499f0ed87d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic457.kt: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: QWeatherIcons (28-676). The bar is 500 significant lines; this is 3 over it, 1.01\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":"core/weather/src/main/java/com/weather/icons/Ic457.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc54607e35a0082f9ed4ffda6788ae06e64ad6b558482fa9f15fc65398c3cd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/Ic1609.kt: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: QWeatherIcons (28-687). 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":"core/weather/src/main/java/com/weather/icons/Ic1609.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d29d25402df5802243f2e8c6fecc884f78f721d65d7bc8079ab6a6e6c9370d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mermaid/MermaidErSubPipeline.kt: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: MermaidErSubPipeline (39-627). 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"650e225050844ab192548489998511b4e7dc1d8dfb6cf37b0ab91883ebe058a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (34 members, 16 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:145-193 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:195-243 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:294-343 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:345-395 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:397-445 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:447-495 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:497-547 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:549-599 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:601-651 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:803-852 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:854-903 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:905-955 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1625-1658 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:495-553 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:555-613 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:670-726 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:728-785 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:846-901 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:903-956 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:958-1011 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:152-196 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:198-241 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:243-288 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:290-334 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:336-379 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:621-659 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:30-90 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:92-151 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:153-213 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:215-275 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:277-336 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:338-398 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:461-520 \u2014 These 34 members are variants of one another: a block of 16 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 34 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 34 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f532167ad6dc98798ec446466da3cea70197931ff7daf23324127e485be3fd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (33 members, 17 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:145-193 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:195-243 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:294-343 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:345-395 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:397-445 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:447-495 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:497-547 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:549-599 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:601-651 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:803-852 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:854-903 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:905-955 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1154-1187 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1625-1658 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:495-553 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:555-613 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:670-726 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:846-901 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:903-956 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:958-1011 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:152-196 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:198-241 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:243-288 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:290-334 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:336-379 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:356-394 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:30-90 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:92-151 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:153-213 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:215-275 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:338-398 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:461-520 \u2014 These 33 members are variants of one another: a block of 17 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 33 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 33 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3113a5e68d4a284c77d6f457a54e43508941d65a4a694203f335a2de2f2be11"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (33 members, 15 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:145-193 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:195-243 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:294-343 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:345-395 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:397-445 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:447-495 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:497-547 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:549-599 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:601-651 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:754-801 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:803-852 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:854-903 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1154-1187 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1625-1658 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:495-553 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:555-613 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:670-726 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:846-901 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:903-956 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:958-1011 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:152-196 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:198-241 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:243-288 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:290-334 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:336-379 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:356-394 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:30-90 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:92-151 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:153-213 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:215-275 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:338-398 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:461-520 \u2014 These 33 members are variants of one another: a block of 15 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 33 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 33 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41192f150fa8602ffcb78681f24f65402d30c91c3f9412dfab689348a728b54"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (29 members, 14 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:145-193 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:195-243 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:294-343 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:345-395 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:397-445 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:447-495 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:854-903 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:953-985 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:987-1018 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:495-553 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:555-613 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:670-726 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:728-785 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:846-901 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:903-956 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:958-1011 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:198-241 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:290-334 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:336-379 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:530-567 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:580-619 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:30-90 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:92-151 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:153-213 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:215-275 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:277-336 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:338-398 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:461-520 \u2014 These 29 members are variants of one another: a block of 14 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 29 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 29 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94d81bef9b606be9f96370ef429e77345c705389761ed4df0948ca27ac68bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (26 members, 17 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:145-193 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:195-243 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:245-292 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:653-701 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:703-752 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:754-801 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:803-852 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:854-903 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:905-955 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:555-613 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:728-785 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:787-844 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:846-901 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:903-956 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:958-1011 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:152-196 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:381-423 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:513-557 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:396-433 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:476-515 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:621-659 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:277-336 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:338-398 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:461-520 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:522-581 \u2014 These 26 members are variants of one another: a block of 17 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 26 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 26 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"66199dd6b9975cd198a0a84d6d27a3d93f579c3b40a8d7e081f18c3306a7ddbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (25 members, 18 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:145-193 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:195-243 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:245-292 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:294-343 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:345-395 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:397-445 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:447-495 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:754-801 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:854-903 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:495-553 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:555-613 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:670-726 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:846-901 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:903-956 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:958-1011 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:198-241 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:290-334 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:336-379 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:381-423 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:30-90 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:92-151 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:153-213 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:215-275 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:461-520 \u2014 These 25 members are variants of one another: a block of 18 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 25 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 25 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34baafec458eb1f4b50df5d249054e3f1fad699eb6e471d4f4f3e0c469ef767"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (22 members, 20 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:145-193 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:195-243 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:245-292 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:601-651 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:653-701 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:754-801 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:854-903 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:905-955 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:555-613 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:728-785 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:787-844 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:846-901 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:903-956 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:958-1011 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:152-196 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:381-423 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:396-433 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:476-515 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:338-398 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:461-520 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:522-581 \u2014 These 22 members are variants of one another: a block of 20 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 22 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 22 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"29765de5aa941f62ca5cb3f158e9cd70585e76e931039c9d57826a08811973b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (22 members, 18 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:145-193 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:195-243 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:245-292 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:653-701 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:754-801 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:854-903 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:905-955 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1121-1152 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:555-613 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:615-668 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:787-844 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:903-956 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:958-1011 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:152-196 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:381-423 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:469-511 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:513-557 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:396-433 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:476-515 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:277-336 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:461-520 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:522-581 \u2014 These 22 members are variants of one another: a block of 18 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 22 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 22 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf14cbaba728dec63f85c634390c05c94048d912bc73027bc440f52fe80499a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (20 members, 13 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:145-193 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:195-243 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:601-651 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:653-701 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:854-903 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:905-955 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:555-613 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:615-668 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:728-785 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:787-844 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:846-901 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:903-956 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:958-1011 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:469-511 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:396-433 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:476-515 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:338-398 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:461-520 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:522-581 \u2014 These 20 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 20 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 20 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3202f7944af4817eb253d83c164639d6ab6a12daa3a8bd4941c3f8357df88b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (19 members, 24 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:145-193 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:195-243 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:601-651 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:653-701 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:854-903 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:905-955 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:555-613 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:787-844 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:846-901 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:903-956 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:958-1011 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:513-557 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:396-433 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:476-515 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:277-336 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:338-398 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:461-520 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:522-581 \u2014 These 19 members are variants of one another: a block of 24 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 19 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 19 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df1d61e3e5bd11fd0861c02b0da898d047ef1bf9d49419277ff85fac66f5826"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (19 members, 18 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:447-495 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:549-599 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:601-651 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1752-1794 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:495-553 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:670-726 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:728-785 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:903-956 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:958-1011 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:198-241 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:30-90 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:92-151 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:153-213 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:215-275 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:277-336 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:338-398 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:461-520 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:522-581 \u2014 These 19 members are variants of one another: a block of 18 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 19 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 19 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"9412a78f5377d9585732100d60bb218a101da55062eedeecd2f633d1c1aae2a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (18 members, 15 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:294-343 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:345-395 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:397-445 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:601-651 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1625-1658 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:728-785 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:846-901 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:198-241 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:530-567 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:580-619 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:621-659 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:30-90 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:92-151 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:153-213 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:215-275 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:277-336 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:338-398 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 \u2014 These 18 members are variants of one another: a block of 15 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 18 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 18 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0c24cacc9e4f26902fec812078c3203c47e4befca6fa442dc903be88c092a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (16 members, 17 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:294-343 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:345-395 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:397-445 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:601-651 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1154-1187 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1625-1658 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:846-901 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:198-241 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:530-567 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:580-619 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:30-90 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:92-151 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:153-213 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:215-275 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:338-398 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 \u2014 These 16 members are variants of one another: a block of 17 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 16 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 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e672d2f406f229cb02d3cc92ba271884f7b1158bddae0934ce60f1d1d086951"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (15 members, 25 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:145-193 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:195-243 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:601-651 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:803-852 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:854-903 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:905-955 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:555-613 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:846-901 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:903-956 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:958-1011 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:152-196 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:338-398 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:461-520 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:522-581 \u2014 These 15 members are variants of one another: a block of 25 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 15 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 15 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e96605097e9b5cee1317a3c25399bb568052f42ff551081b4875f91d1a591ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (14 members, 18 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:294-343 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:345-395 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:397-445 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:919-951 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1244-1276 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:846-901 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:198-241 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:530-567 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:580-619 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:30-90 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:92-151 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:153-213 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:215-275 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 \u2014 These 14 members are variants of one another: a block of 18 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 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c55799b9a82ce96d946a1003a394b9a07a8c106fa085ea82fb96e93dfc075f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (11 members, 24 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:447-495 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:497-547 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:549-599 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1087-1119 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1495-1528 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:495-553 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:670-726 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:290-334 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:336-379 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:356-394 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:435-474 \u2014 These 11 members are variants of one another: a block of 24 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe1d05498ae4e3ae08cb59dee1f3dd615894c82d0cd30e9585d6f2431f280f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (10 members, 18 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:294-343 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:345-395 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:397-445 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1020-1051 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:290-334 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:336-379 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:316-354 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:530-567 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:580-619 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:30-90 \u2014 These 10 members are variants of one another: a block of 18 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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"85847704bb29293fe68f6ea8f330f65b2b544ee12e5154f65791738a8ee493cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (9 members, 20 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:728-785 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:903-956 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:958-1011 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:425-467 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:277-336 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:338-398 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:461-520 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:522-581 \u2014 These 9 members are variants of one another: a block of 20 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"711a38b163d9dbfe17f0963b2c3f6f526541fa923e408be7ee23fa412d9535ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 16 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:703-752 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1199-1232 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:728-785 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:846-901 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:621-659 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:277-336 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:338-398 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:400-459 \u2014 These 8 members are variants of one another: a block of 16 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"d738a14ccfcc353316d9e23bf9a5594427ebdbbbe161b4a0ecad8de57e9f2c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 32 shared lines): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt:51-121 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/GlitchParamsItem.kt:51-121 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/KaleidoscopeParamsItem.kt:53-123 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearTiltShiftParamsItem.kt:51-121 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PinchParamsItem.kt:51-116 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RadialTiltShiftParamsItem.kt:51-116 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/WaterParamsItem.kt:51-116 \u2014 These 7 members are variants of one another: a block of 32 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 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c3dac76e0189522014d03bf34ca38c211aa9ae0a73dd36f94ed51f2cbad9e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 20 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:497-547 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:549-599 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:601-651 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:905-955 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:787-844 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:243-288 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:338-398 \u2014 These 7 members are variants of one another: a block of 20 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 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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"3203343ec29c5fec22cab1affa3c2fdca416ca8d512fa720130c46697a18ce31"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 29 shared lines): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ChannelMixParamsItem.kt:52-122 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt:51-121 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/GlitchParamsItem.kt:51-121 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/KaleidoscopeParamsItem.kt:53-123 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearTiltShiftParamsItem.kt:51-121 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt:57-145 \u2014 These 6 members are variants of one another: a block of 29 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 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ChannelMixParamsItem.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a83522026ecc7f2c2908bb3da0ed40ca7265a6910602af2b658f77a5cec2f35"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 16 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:703-752 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:803-852 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1199-1232 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:513-557 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:621-659 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:277-336 \u2014 These 6 members are variants of one another: a block of 16 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 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a7a95e7ebcd89ef3dec0410c12deb3709f894826d9d7e7cb7ef827b5b6a13c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 28 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:497-547 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:549-599 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:905-955 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:152-196 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:522-581 \u2014 These 5 members are variants of one another: a block of 28 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c63d15ecf45d8738394464d36750cc2176ae82b9f0090a582622277b8d712a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 19 shared lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:641-665 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:940-964 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:600-624 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:324-348 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:450-474 \u2014 These 5 members are variants of one another: a block of 19 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4ebf37f785d087bdcbdc346df9ee041feef0182357a3a0a43e44264521d364"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 18 shared lines): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ClaheParamsItem.kt:51-111 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PinchParamsItem.kt:51-116 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/WaterParamsItem.kt:51-116 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberQuadItem.kt:51-111 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberTripleItem.kt:50-105 \u2014 These 5 members are variants of one another: a block of 18 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ClaheParamsItem.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1885fe9730daded48612bfa4156d5413041de94ad28302b20430301176dbcca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 18 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1020-1051 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:649-682 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:425-467 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:238-276 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:278-314 \u2014 These 5 members are variants of one another: a block of 18 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"d312249b6807bde20fbe73cc8ef2404498f7efbece96d06475d51dbd1f4b0c7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 15 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:245-292 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:754-801 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:919-951 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1244-1276 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:381-423 \u2014 These 5 members are variants of one another: a block of 15 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3e54e916c003c0b08abc10482aa7f81311ffaef274b26d62e4d0af6712c012"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 36 shared lines): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt:52-119 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ClaheParamsItem.kt:51-111 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearGaussianParamsItem.kt:53-127 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberQuadItem.kt:51-111 \u2014 These 4 members are variants of one another: a block of 36 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb864a2ca43304c2acb1aac5b1466111c2b1dc31be3bdaca7746aeb4a701a0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 17 shared lines): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:245-292 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:754-801 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:614-647 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:381-423 \u2014 These 4 members are variants of one another: a block of 17 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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ed8fcd3916cb083f68db6af41d6221991fde0e39bf139afd12bbf69187acc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 17 shared lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:1005-1032 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:644-671 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:370-397 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:510-534 \u2014 These 4 members are variants of one another: a block of 17 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0015c65944db9f0279527fb3b9d43a0b98e0e239e0fbefbf25d2cfaa642bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 62 shared lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:174-269 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:183-274 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:175-269 \u2014 These 3 members are variants of one another: a block of 62 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"932c478bb8543ed44e6cbb17d62c24d6e7f57e23692ffa3cb6a1657f9c0ef095"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 61 shared lines): feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt:103-368 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddEventScreen.kt:109-336 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddMilestoneScreen.kt:100-306 \u2014 These 3 members are variants of one another: a block of 61 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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c454b2060156382a35c02194f5a3c61363bf32787983ce849b0be03d8803e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 57 shared lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:532-617 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:532-617 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:532-617 \u2014 These 3 members are variants of one another: a block of 57 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e10893396a48b55a9c4b12e5af981d4df9ecbf9fddc9f2450687813f2a6a8ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 49 shared lines): feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt:82-304 | feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:86-332 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:101-445 \u2014 These 3 members are variants of one another: a block of 49 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":"feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c983057b157583cc47ce435cb03493ce4768677543abbbf91c3a1429ca3b5fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 37 shared lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:287-344 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:294-354 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:287-344 \u2014 These 3 members are variants of one another: a block of 37 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44e90186abdb49758f8f814c95269da297be2229c9b8357e2f14cb1f6ef4363"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 25 shared lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:916-969 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:1043-1091 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:843-898 \u2014 These 3 members are variants of one another: a block of 25 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"87605a121c487052329c1888e3aa283671e7f8a9e2e1c913aa49005f4b6c4152"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 21 shared lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt:67-221 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuPlayHomeScreen.kt:67-211 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiPlayHomeScreen.kt:68-243 \u2014 These 3 members are variants of one another: a block of 21 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"806a9b93bf17d6078c224c0b4406e190e3a02dbab76e59a09cd5f0c704d79b18"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (208 shared lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:133-488 | feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt:132-464 \u2014 These two members are variants of one another: 208 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76cbf82f0de91c6ab346636541603731f848f52c43e12619fcd8ebaed96396f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (197 shared lines): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:121-418 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt:118-414 \u2014 These two members are variants of one another: 197 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cdc9f10958971317017075513c77a94819d2f8e2c1d451e4ca8dacdbf03e37"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (174 shared lines): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:146-487 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:137-475 \u2014 These two members are variants of one another: 174 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd12278ae181334451c574097dc67c69bad4e9a204348abad37d9cdc3a9a8fb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (165 shared lines): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:844-1087 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:803-1083 \u2014 These two members are variants of one another: 165 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4239988dc76588e5d70042ac25854a6d3ba1720903666540fa337bb88f2db52"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (136 shared lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt:114-430 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedSliderItem.kt:114-369 \u2014 These two members are variants of one another: 136 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d60a284acb73b52426aea68ddd2f2c37d0dffd5c80b146ba91449b7eed55998"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (130 shared lines): feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt:78-335 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditor.kt:93-487 \u2014 These two members are variants of one another: 130 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c068ec7e3b8e72f36d4b37c932d69cfa4faa16fd36524c06cd36d02bf4b51ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (130 shared lines): feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt:90-333 | feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt:87-315 \u2014 These two members are variants of one another: 130 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"321c13b60d5cdd7ff7d62e6f3535d63ebd547888873a70da21c01f90ae520184"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (129 shared lines): feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt:79-304 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt:127-402 \u2014 These two members are variants of one another: 129 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d192c54f68ab890d4035e1dd4ec6d78fec2233c55f92a884b0edadb8309f09"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (109 shared lines): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:637-824 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:618-785 \u2014 These two members are variants of one another: 109 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"e698c2d0915fbd7eb93532562d98abd50bdcaa0fb04f966afed682054feca0ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (77 shared lines): feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt:92-433 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt:93-497 \u2014 These two members are variants of one another: 77 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdf08f670b428754d711709bef150d0023123c9d4b197a2bacda9cd5280ff48"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (62 shared lines): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1098-1188 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:1092-1185 \u2014 These two members are variants of one another: 62 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbccccccd56eeb13b8d8c5e175a5ba09db6a011d90aa7f97dd4f6df4c111694a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (61 shared lines): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:550-628 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:533-611 \u2014 These two members are variants of one another: 61 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"96aef89616f978c60244b5e01af5c11e8f1712eccaa0953494d09b0028a7b691"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (57 shared lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt:62-159 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlWbsSubPipeline.kt:64-153 \u2014 These two members are variants of one another: 57 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e745a78f3ea8c338c5edb1b5a6fa93d30fdf961d1de6b040ec2019aeaff8e3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (53 shared lines): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageScaler.kt:190-252 | core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageScaler.kt:259-333 \u2014 These two members are variants of one another: 53 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageScaler.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c9cac8b908d5440061499f7e70138791aea907602acc331f63fff6b51d89c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (53 shared lines): feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:832-937 | feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:942-1053 \u2014 These two members are variants of one another: 53 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b332e3a57a0277c1e72da6593d158f968d029c69177cfa96ee1e98b4781e994"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (52 shared lines): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt:122-356 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt:127-413 \u2014 These two members are variants of one another: 52 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8679e7bad41d2a802ba81534879b800890749fb12398d974b2c58ffd784f83e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (49 shared lines): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:206-306 | feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt:200-301 \u2014 These two members are variants of one another: 49 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f967ccbc15a5f128c2021529a43b0de1e62bbbf8ab5e4d35a611fb3f582f80"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (46 shared lines): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PolygonParamsSelector.kt:59-125 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/StarParamsSelector.kt:61-146 \u2014 These two members are variants of one another: 46 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PolygonParamsSelector.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb0b7de52d3d57523d8696be69353dd7f69c2e0eae65ef62f2ee81172e935aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (43 shared lines): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:523-693 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:697-826 \u2014 These two members are variants of one another: 43 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccd604713f69de086909e9a43dcb5030c2be873cbc629a4b00b9fb4b564ae01"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (42 shared lines): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:525-671 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:679-798 \u2014 These two members are variants of one another: 42 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33daddc71109f8f895ef5b8ccfd5849fcfcb47410b79896a139e7d0d45721be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt:119-196 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt:211-259 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f50ed0a37a73dd2236e4cc1c9b94bc1ad94345e27257f75c8e02f1a4045bd0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1053-1085 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:727-760 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8473fec94e3d57746b316bcfaa083416415911e49514a35803fa569896facc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): libs/documentscanner/src/main/java/com/t8rin/documentscanner/utils/ImageUtil.kt:122-168 | libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/free_corners_crop/FreeCrop.kt:51-91 \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":"libs/documentscanner/src/main/java/com/t8rin/documentscanner/utils/ImageUtil.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a81ba44ee88d38e86dbdc0d1d2a639559f761ad6f5727735ee7529c7244d4ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:153-175 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt:171-202 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddfae7fd4c1c6b8bbf2f29ebf3f0a27d6ca6841a882377d2618cc31f4326dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (73 members, 50\u002B identical tokens): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:29-143 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:33-110 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:152-228 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:230-313 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:315-398 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:400-482 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:484-566 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:568-650 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:652-729 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:731-823 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:825-901 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1278-1362 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1364-1430 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1432-1493 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1530-1623 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1660-1750 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:32-100 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:102-170 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:172-240 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:242-310 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:312-376 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:378-450 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:452-516 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:518-578 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:908-966 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:968-1026 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1028-1096 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1098-1166 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:33-182 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:184-349 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:351-493 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:32-146 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:32-139 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:141-236 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:34-88 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:90-143 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:145-197 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:199-251 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:253-305 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:307-361 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:363-415 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:417-469 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:471-517 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:519-565 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:567-615 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:617-665 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:667-715 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:717-765 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:767-812 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:814-859 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:861-906 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:908-953 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:955-1001 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1003-1049 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1051-1097 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1099-1145 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1147-1197 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1199-1249 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1251-1301 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1303-1353 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1462-1508 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1545-1606 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1612-1652 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1658-1703 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1736-1773 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1775-1814 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1816-1856 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:72-94 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:96-129 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:135-157 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:159-188 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:194-216 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:222-244 \u2014 These 73 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 73 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 73 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a97d6c73ab5cb935c4632f47de8ef3f86cfd5cd990daed5500d3217055ad560"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:285-334 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:379-427 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:463-523 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:559-619 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSegmentedButtonRow.kt:172-197 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSegmentedButtonRow.kt:498-521 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/OutlinedText.kt:78-123 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/OutlinedText.kt:146-191 | feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:316-593 | feature/app/src/main/java/com/wanbaohe/app/components/RoundedTextField.kt:144-172 | feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt:621-667 | feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt:1193-1230 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineLayoutBlockText.kt:50-129 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/inline/InlineLayoutBlockSupport.kt:162-193 \u2014 These 14 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 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2328193221ad383da79a83233757debc6bf94ec739bc3398976b8b58467db82e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:354-409 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:417-480 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:488-553 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:180-288 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt:117-218 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:409-574 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:286-330 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:415-456 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:810-855 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:466-511 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:142-236 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:401-436 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:277-322 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:404-448 \u2014 These 14 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 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2f2f94654aca9c20806258e9751a78e63e1639b05d10a2bc72ac98e1028392"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:364-374 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:536-547 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:585-598 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:618-631 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:665-676 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:696-709 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:771-784 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:848-861 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:923-934 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:1000-1013 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:1079-1092 \u2014 These 11 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f2e8b0c7d2a27a2f33e6be7c7e8273ce426293a578026081150dd0c532bab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SideFadeRelativeItem.kt:55-108 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberBlurEdgeModePairItem.kt:50-86 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberBooleanPairItem.kt:49-98 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberMirrorSidePairItem.kt:50-86 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberTransferFuncPairItem.kt:50-86 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberTransferFuncBlurEdgeModeTripleItem.kt:53-103 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SideFadeRelativeItem.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2daa9001dbd56bb4a3f55c90bef1bdabb7af37ce0f76871ae20ee211907aad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/FloatColorModelPairItem.kt:54-99 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/FloatFileModelPairItem.kt:64-128 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/FloatImageModelPairItem.kt:52-90 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/FloatPaletteImageModelTripleItem.kt:63-157 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelColorModelTripleItem.kt:57-135 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelPopArtTripleItem.kt:61-149 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/FloatColorModelPairItem.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca22d19cf5673c1b6411220010b83334551c60ba4a16a452dc4004683741f842"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt:73-203 | feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:82-317 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuEmptyQuickPanel.kt:73-203 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:85-319 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:82-315 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiEmptyQuickPanel.kt:73-203 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2edd3009e855be26cfb5733638085a30d84fd6534c7c735c6d243364a39406"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:802-844 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:1047-1070 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:686-708 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:421-438 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:416-441 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:557-611 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5425079d5ff8ef23a2bf72695e63bbb6d5a5c5b838e2da3500e44be70c8e04e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt:122-410 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt:141-542 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/AddExifSheet.kt:102-306 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/ProcessImagesPreferenceSheet.kt:105-299 | feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerGridWithOverlays.kt:115-448 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3279e1d98883341184803f342d6f805a0c0d1d508e43334292c4e8119ab69549"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/AiDetectScreen.kt:109-175 | feature/calendar/src/main/java/com/wanbaohe/calendar/router/CalendarRouterScreen.kt:62-144 | feature/password-vault/src/main/java/com/wanbaohe/passwordvault/router/PasswordVaultRouterScreen.kt:41-75 | feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIPersonalizationScreen.kt:77-150 | feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIServiceHubScreen.kt:90-214 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/AiDetectScreen.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f6eafe5735295e336d1576705c4b412bfd4ce3fe892cbeeabee52118df8683"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssAdapter.kt:116-128 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt:116-130 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosAdapter.kt:119-134 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/HuaweiObsAdapter.kt:114-126 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/TencentCosAdapter.kt:113-125 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssAdapter.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"194012037591f730e65a99f4f398cbedfa3153e495c270df22c3e52a957af937"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/MilestoneInsightService.kt:50-69 | feature/poem/src/main/java/com/wanbaohe/poem/service/PoemInsightService.kt:55-77 | feature/poem/src/main/java/com/wanbaohe/poem/service/PoemInsightService.kt:84-104 | feature/poem/src/main/java/com/wanbaohe/poem/service/PoemInsightService.kt:107-127 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/service/HealthInsightService.kt:63-81 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/MilestoneInsightService.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2711432f78cfd37f2f9c35bbbb4fffe5f59dda0fe38b6989501530f685b1e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:554-565 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:444-453 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSequenceSubPipeline.kt:222-231 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:376-387 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:399-411 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"5084d27c9d8233dae7fde9c070e5dd41745e3222515c58a2b3728ca89c02d97c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGaugeSubPipeline.kt:57-146 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidKanbanSubPipeline.kt:62-166 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt:59-133 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidTimelineSubPipeline.kt:73-202 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlPieSubPipeline.kt:55-138 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGaugeSubPipeline.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e1a8513a2bd9b943885ea972e5362900683af462f6747e3bb4ec30c51a3a17"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:515-541 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:405-433 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:377-409 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:443-468 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:616-641 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bf9b7605d4762db2cbcbb85aa2102dfb1c2673558ca42743fcb673e863a5f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt:47-96 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/GridSelectorRenderer.kt:49-100 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ListSelectorRenderer.kt:53-124 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/RowSelectorRenderer.kt:49-98 \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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6d297d9ac6dc4c5c9fb5406bd0d3867ac0a7b72124738e4595115fd6014f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt:58-122 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FolderPickerRenderer.kt:55-94 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ImagePickerRenderer.kt:56-103 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/LocationPickerRenderer.kt:48-106 \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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c63d9541e8031b3effed8b3502191949456ce970bffac8b06f304a71d7780f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:451-474 | core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:502-525 | core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:756-779 | core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:805-827 \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":"core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de69e496d0e5a5bb95f9c12bf761f51a3aca2c8fab16a16a781c3853e390bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/network/src/main/java/com/shifenmiao/network/service/WebSearchService.kt:164-187 | core/network/src/main/java/com/shifenmiao/network/service/WebSearchService.kt:192-215 | core/network/src/main/java/com/shifenmiao/network/service/WebSearchService.kt:220-243 | core/network/src/main/java/com/shifenmiao/network/service/WebSearchService.kt:248-271 \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":"core/network/src/main/java/com/shifenmiao/network/service/WebSearchService.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbbc3bf9673d2f2c2a188e2408f8c24f3583c0ae54e2c40107d62887e9caa14"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt:120-347 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt:93-232 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt:104-299 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/components/PdfPagesRotationGrid.kt:96-263 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73575e7cd83978a07502f80d2ba36ee3427ef52ce65716323c8a480a42c0fdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:51-76 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:89-112 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:129-156 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:168-191 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb73626d29bdd99227a5499457ed409be58f0f065c06fb02320994fe24e876b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:73-119 | core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:121-165 | core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:167-217 | core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:397-445 \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":"core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b34029bf02e76c1efe7f405e432998b25617beb3f59a078289da39ce1163542"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/components/ApngParamsSelector.kt:64-169 | feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifParamsSelector.kt:64-205 | feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/components/StackingParamsSelector.kt:52-91 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/components/WebpParamsSelector.kt:59-143 \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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/components/ApngParamsSelector.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3651644939d7d175435b6f8b0e23667a80eb1629d9ac8acad9edfff23a4b6749"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:78-248 | feature/profile/src/main/java/com/wanbaohe/profile/screen/BindEmailSheet.kt:70-188 | feature/profile/src/main/java/com/wanbaohe/profile/screen/ChangePasswordSheet.kt:74-202 | feature/profile/src/main/java/com/wanbaohe/profile/screen/VerifyEmailSheet.kt:72-162 \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":"feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa47be937cfab30607fe380974927dbe44f89552999e4c855b20f33ded489e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): feature/base64-tools/src/main/java/com/t8rin/imagetoolbox/feature/base64_tools/presentation/Base64ToolsContent.kt:86-276 | feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/CropContent.kt:106-409 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/DrawContent.kt:103-398 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/SingleEditContent.kt:93-453 \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":"feature/base64-tools/src/main/java/com/t8rin/imagetoolbox/feature/base64_tools/presentation/Base64ToolsContent.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdeaedbacdb7a314cc176f4d9628eafe966fb32310cd252b963d14c02daf5365"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:92-165 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:93-173 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:92-166 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt:133-347 \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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5269b8317a80c400750e99d8fa083597ee86708ef0b0fd3723aed2347f825e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:197-211 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:213-231 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:252-270 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:272-301 \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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c909a622cecdbf7b3160b4dde5395bc27f84c442caa24b47694d14053ab6966e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt:393-437 | feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt:441-471 | feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt:550-577 | feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt:593-612 \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":"feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9b458745ffff99a67d9b1d34933669bf02eb7573347d806711381341391d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/LifetimeToolSupport.kt:61-71 | feature/poem/src/main/java/com/wanbaohe/poem/ai/tool/PoemToolSupport.kt:80-90 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/ai/tool/RecordCenterToolResults.kt:68-78 | feature/schedule/src/main/java/com/wanbaohe/schedule/ai/tool/ScheduleToolSupport.kt:61-71 \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":"feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/LifetimeToolSupport.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c291d53327db734553f3d18de5a8033d9946cf9757176c86b67008ee4509f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:283-335 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:126-195 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:252-296 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:129-150 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c4639f055eba985e32f07e901d5898ed233397b0146b08b6d13136b8b9ce27"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:84-324 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:73-273 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:57-293 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:82-333 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e672a8ca0b8a82b99b5d2be1be1a2004a38a3537708f213a1352de2560af8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:298-338 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:468-539 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:450-483 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:594-645 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f076948fb7213b9c45b490e8d615abd4cedfb9384e840e87a3be2c747085af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:630-647 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:445-464 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:421-440 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:654-671 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"00eb14f32332ec5e9f8f130258001c4d26bdce3251fb9bdc45cd9b40307551f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (171 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:80-250 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt:79-249 \u2014 These two members are one piece of code written twice and then edited apart: 171 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"027a950a227608c707163fddae5ffe423c06fcab0d8c34e8144f25d23a6a3b91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (147 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt:95-241 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt:95-253 \u2014 These two members are one piece of code written twice and then edited apart: 147 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c774925e1dec8da81927f81406c13d74f2fbf0d423ff1f7f1fb7f3acd7594f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 154\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt:60-215 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/GomokuRouterScreen.kt:60-213 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/XiangqiRouterScreen.kt:75-233 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 154 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":"feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff2fd70b2f51eea613749724ca52a33ebad0edd7432cc074d549d88b89382e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (111 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1242-1356 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1364-1474 \u2014 These two members are one piece of code written twice and then edited apart: 111 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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a9b85e0af4c4a47431c21f74bf014d1556a43f59ccf03c7890a6651430b3cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (95 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt:99-229 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt:97-191 \u2014 These two members are one piece of code written twice and then edited apart: 95 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6aa7328401ab9d9a04f35f883ec36a801aa625ddeb0944c20757ede53ca02e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:513-573 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:242-317 \u2014 These two members are one piece of code written twice and then edited apart: 61 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d1b4a779346a234a80477ccc097fb8f2eb1c435332f5644bea6e806aad731c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (125 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:459-585 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:496-620 \u2014 These two members are one piece of code written twice and then edited apart: 125 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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"72574e2c9096dce1acfe11e7c4c5337247f94e75d047d5a11680e8ac115f1e45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 123\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:400-522 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:400-522 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:400-522 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 123 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb18a4e2a28d4dc2a12e5124b5c6425ff61af50af14b3a1ddd80b846aca51a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (121 corresponding lines): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_to_images/PdfToImagesScreen.kt:82-256 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/split/SplitPdfToolContent.kt:78-198 \u2014 These two members are one piece of code written twice and then edited apart: 121 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_to_images/PdfToImagesScreen.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57d992c2f787ff0757b9ac6de437768e4590fe448c1ae2eeef9edf016e9f266"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (124 corresponding lines): feature/common/src/main/java/com/shifenmiao/common/components/category/CategoryManagementDialog.kt:297-421 | feature/common/src/main/java/com/shifenmiao/common/components/category/CategoryManagementDialog.kt:440-563 \u2014 These two members are one piece of code written twice and then edited apart: 124 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/components/category/CategoryManagementDialog.kt"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f270d914d37803a52358f1593024bcfd748bd41e626d4ee83a4ca89bf0dd182a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:835-914 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:959-1041 \u2014 These two members are one piece of code written twice and then edited apart: 80 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5faa58618a0b6bef154634a92483e67bccd22b07f8929cfa7e130d8e59bc1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:371-460 | libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:462-526 \u2014 These two members are one piece of code written twice and then edited apart: 65 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":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"836a8df51a161031144a308992dad6863297e76fe07f7cd4e110c9ca2d038075"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (121 corresponding lines): feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt:71-192 | feature/profile/src/main/java/com/wanbaohe/profile/components/PlayProductSlider.kt:81-201 \u2014 These two members are one piece of code written twice and then edited apart: 121 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a860f126e9a3d9d4809623e61c557226e8974af9798ff71e58e5260ac31f4378"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (91 corresponding lines): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt:437-527 | feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleSelector.kt:249-360 \u2014 These two members are one piece of code written twice and then edited apart: 91 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":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76ecfda814c3fc7e6d2505dc2238aa47f0b292b8848627d4b311ba2fef816d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (88 corresponding lines): libs/collages/src/main/java/com/t8rin/collages/view/FrameImageView.kt:656-743 | libs/collages/src/main/java/com/t8rin/collages/view/FrameImageView.kt:751-840 \u2014 These two members are one piece of code written twice and then edited apart: 88 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":"libs/collages/src/main/java/com/t8rin/collages/view/FrameImageView.kt"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"3743f675e1df7b6fb21ada6d5960a31f13defc2c6394bf92f746981a12150a9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (93 corresponding lines): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt:57-149 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/VoronoiCrystallizeParamsItem.kt:57-156 \u2014 These two members are one piece of code written twice and then edited apart: 93 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc38db8081eb31ff35a0b6e0430b4fedf2fcc3a9af10a30a48a753268ad26a4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 83\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ExportDialog.kt:62-144 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/ExportDialog.kt:62-144 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/ExportDialog.kt:62-144 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 83 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ExportDialog.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ba550989ccfa92012ee2335ce7377b0a15ab28a2925cd2690b544342b664ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/DateInputRenderer.kt:59-168 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/TimeInputRenderer.kt:56-134 \u2014 These two members are one piece of code written twice and then edited apart: 79 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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/DateInputRenderer.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ce7c388b28628d109a6c9bba2d8c20429ada2d01ac89cbdf74067e07809299"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt:141-201 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuLibraryScreen.kt:142-204 \u2014 These two members are one piece of code written twice and then edited apart: 61 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf28dbe907bca0a3f50234d17da2b6facd65045a737f75c28f27eeeba0d2dfdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (96 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/CompressImageTool.kt:89-184 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/LimitResizeTool.kt:107-220 \u2014 These two members are one piece of code written twice and then edited apart: 96 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/CompressImageTool.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"09df6429286e4222d5b5b6fef01408b204fccb349e3cc6e489c9c0580be5678e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:311-349 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:182-230 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79f08781103f7c9e36afb67f49b21e4ca87744eed5b34af1e01d83776e906fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (92 corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/ThemeGroupCard.kt:98-189 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/ThemeGroupCard.kt:214-322 \u2014 These two members are one piece of code written twice and then edited apart: 92 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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/ThemeGroupCard.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc4a211d8b1bc00a0ee6bb1d53f0905d39e1f1df4a16e7e568bba1baaa803d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:304-337 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:282-327 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8207408526af1c4bbccfd4b4c440935baa6462c3a8f0433972e05b1e8d6b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/ui/ChessOpponentPicker.kt:49-99 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/GomokuOpponentPicker.kt:49-97 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"feature/chess/src/main/java/com/wanbaohe/chess/ui/ChessOpponentPicker.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0e24a3b9558d185696b56623c7b40bc7d878e1c3a914628ffc265ab7dfe91e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/Pixelate.kt:116-174 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/PixelationTool.kt:76-134 \u2014 These two members are one piece of code written twice and then edited apart: 59 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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/Pixelate.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"282e7cb47eaf45c4671d39e77f74ea170844b63b61e52ed18a354bc66bf5d171"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt:185-275 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt:174-255 \u2014 These two members are one piece of code written twice and then edited apart: 82 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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6482471d4df8b802214f64111b5ec38eecb3f1e80d582767f8c80aec65d174"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (93 corresponding lines): libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt:81-173 | libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt:220-343 \u2014 These two members are one piece of code written twice and then edited apart: 93 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":"libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc00e179f004e3ba7fe2ac30eaff4e5aeddaa5fe0514698e1fd6faebdc509ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (85 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/AddLocalAiEngineTool.kt:111-211 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/AddLocalAiModelTool.kt:101-185 \u2014 These two members are one piece of code written twice and then edited apart: 85 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/AddLocalAiEngineTool.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71b9a6adcae3f9954dff8819d621b8813652352aa56eb96e4c9fd275f4edca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt:140-190 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ImportGameUseCase.kt:145-200 \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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89a0ac4efe4318b674735a0a0b43bb077f6711d62fef3e5915349f2111a9ac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/TopAppBarEmoji.kt:218-265 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:259-335 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/TopAppBarEmoji.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a069915a557885e334167347a346856ec9dc449897b0b87feeb825276cada703"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPacketSubPipeline.kt:51-83 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStructSubPipeline.kt:54-88 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPacketSubPipeline.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f55c0654163a207e4b0d4521090869c4b988d0a18c6e85b7b18c825f32b5969"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:283-317 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:320-368 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e4500dee55f050c7a4ba9fb788b3f2d7168aa188df0427bf36d47ac600a1d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:399-458 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:557-585 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c3c69e6b2ec1c06234a77fe191a2f090d83ff37cb49fef65954149ef8e4e17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt:208-290 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt:210-282 \u2014 These two members are one piece of code written twice and then edited apart: 73 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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd01b1361e30e2f5f3eee1fc44d1974cc0af82e03795edc615858f123bc79925"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt:51-122 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SmearParamsItem.kt:51-117 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9921522da7071ae47862a6a41353ca95be9105d364072b34bfee6c47d9e69dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt:84-138 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuLibraryScreen.kt:85-139 \u2014 These two members are one piece of code written twice and then edited apart: 55 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"aada7a7b51857b28090ddc5a9490c6bd3d2c833a6e2e1d4390dd7d32841c709b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:208-267 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:240-299 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"79329fa41173554bfdd288e797e34ec6b33ea26b72e3df174892158a8b65bc4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterReorderSheet.kt:64-141 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/MaskReorderSheet.kt:64-144 \u2014 These two members are one piece of code written twice and then edited apart: 78 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterReorderSheet.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de07214b92e1c8b5eb954f17e34205d4815e003fe4b1b6b5c5773466c299fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersFloatingPanel.kt:185-246 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersSheet.kt:216-284 \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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersFloatingPanel.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2417373b7d293c6095a69d6f9f254955b90f5950211dcdba1f6c3c9d7f166f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:177-241 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt:231-298 \u2014 These two members are one piece of code written twice and then edited apart: 65 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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6f1d55307e3271969d48c78b987e45249b4194615a6b38125252480c04975e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/CupertinoSwitch.kt:101-176 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/CupertinoSwitch.kt:234-310 \u2014 These two members are one piece of code written twice and then edited apart: 76 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/CupertinoSwitch.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c1ebbc09540f1a361cc99dea210e2a057b9c653c5ac103d983a5971139025c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): feature/common/src/main/java/com/shifenmiao/common/ui/ai/AIModelPickerSheet.kt:415-498 | feature/common/src/main/java/com/shifenmiao/common/ui/ai/AIModelPickerSheet.kt:658-743 \u2014 These two members are one piece of code written twice and then edited apart: 84 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":"feature/common/src/main/java/com/shifenmiao/common/ui/ai/AIModelPickerSheet.kt"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"6872ef908810a6a9c472a4ee2fd03b58a7af23f3a82e1b0bdb7d087784baad43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt:76-137 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/search/XiangqiSearch.kt:80-147 \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":"feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5168af10666c932ec8d348ee28669b2a0c338b60caaa9a24c4a166eedd67be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:272-326 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:303-357 \u2014 These two members are one piece of code written twice and then edited apart: 55 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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"3003cff6e62388ef3867854d7c26dfd69fbd287026bedf55e6a77b7c87bd415b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt:375-430 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt:430-486 \u2014 These two members are one piece of code written twice and then edited apart: 56 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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"145f76ca5cf7c12772f50c7a3f6a23807bd63f54183054cef1c8b464c1e976e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorPicker.kt:161-217 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorPicker.kt:226-302 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorPicker.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe9a6b7dec0c478779089fb7cb400c9c9b2b08b841db3306a546addea214f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 56\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:427-482 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:437-492 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:429-484 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 56 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91189ccbbd1cc084c86917b14049c1f2ecc949241827ce15b9914b818ec4c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (75 corresponding lines): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PairItem.kt:45-128 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/TripleItem.kt:44-118 \u2014 These two members are one piece of code written twice and then edited apart: 75 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PairItem.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd52ff4586cb79a1947f8ee967777710743939ccd3c6563e02365f9b7a9f853"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:702-751 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:730-780 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f1ec74676cd9fa10ae50b1ca8834bbb6e811e71c743a978114bc42621e083b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/components/CompareSheet.kt:76-153 | feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/components/CompareSheet.kt:162-231 \u2014 These two members are one piece of code written twice and then edited apart: 70 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":"feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/components/CompareSheet.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b890539e0f2c0e24fe893e615807ede60a298d3dfc9b4c59ea327673fe85c44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:426-494 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt:337-399 \u2014 These two members are one piece of code written twice and then edited apart: 63 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":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfb57995616b600666e22ab650782205d3e6961ac7acd3741b749ea16fd2d84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt:101-156 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt:92-145 \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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4731aa030d20e82f1112a6131df417786d501cdfab06cdfa626b48e9ef4dd6cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:342-406 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:382-443 \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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"045bcb00ee94344b48f9fd00453fa56eeaa6f02f48ca94d32d9da6b49b3b5f22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:361-404 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:289-332 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d4fab74eac0fb31e3a1d9a8765262024f9d4ebe5b3bd8136b294211cfa4d93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 39\u002B corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/TopAppBarEmoji.kt:269-307 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:762-831 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:834-900 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 39 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/TopAppBarEmoji.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab4dbe83806afe3ef0e497ade53f9f8af287853b736eb72e197cc91bfd7c2d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (77 corresponding lines): feature/login/src/main/java/com/shifenmiao/login/ForgotPasswordBottomSheet.kt:53-129 | feature/login/src/main/java/com/shifenmiao/login/RegistrationBottomSheet.kt:53-139 \u2014 These two members are one piece of code written twice and then edited apart: 77 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":"feature/login/src/main/java/com/shifenmiao/login/ForgotPasswordBottomSheet.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3535f7784a27f2931c212ba35236af8d6ed6e2fe143569952a75d125a9be46c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:182-211 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:197-231 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e291f845f0de387b0a2682b64f4d1d08b68f8b2ecca83e9c769877265327dcf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/data/AndroidImageCutter.kt:129-201 | feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/data/AndroidImageCutter.kt:207-278 \u2014 These two members are one piece of code written twice and then edited apart: 72 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":"feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/data/AndroidImageCutter.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2e19ede776c1e705b0767441567b6b01cb19b4159358a7cf0920db47238ded"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 62\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:384-445 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt:388-449 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt:519-581 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 62 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c12d24a90424f7817baf68dd4573d3690aa55cc8027b10a956200e5ffe0118d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt:207-252 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt:287-331 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccc7b287d48ca5b21088d449288b91bebb4ffbb8cef564ec8126cf38096311f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/dialogs/ImageInsertDialog.kt:56-127 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/dialogs/LinkInsertDialog.kt:56-109 \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":"feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/dialogs/ImageInsertDialog.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b412be3fdcbf485c5e75a05642f34cb802ac5305c683bf32a113a4d2fc42bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): core/base/src/main/java/com/shifenmiao/base/utils/FileUtils.kt:394-432 | core/base/src/main/java/com/shifenmiao/base/utils/FileUtils.kt:434-472 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/shifenmiao/base/utils/FileUtils.kt"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe916d942a3eef7b498ff0f742280ae3dd2e7c9df265a5d32302a2c43c2fe72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifToolsTopAppBarActions.kt:67-122 | feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageTopAppBarActions.kt:68-131 \u2014 These two members are one piece of code written twice and then edited apart: 56 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":"feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifToolsTopAppBarActions.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9b1a6fc284d07392a2c6f0e46b6f3a1972a56df0085f123513195831efc229"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleSelector.kt:154-237 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/SizeSelector.kt:148-221 \u2014 These two members are one piece of code written twice and then edited apart: 74 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleSelector.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6245de21e652fab0d61b6893ca606bbc5436f0b7c9e86355e74fd36fd06ce4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/CodeEditorPreloadConfig.kt:47-74 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/MarkdownPreloadConfig.kt:58-86 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/CodeEditorPreloadConfig.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"beddf318470c425150b306ac39ac1a7bc76db2ec5820feebc35bcc028345d6da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/TaskListContent.kt:367-452 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/ThemeGroupCard.kt:404-470 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/TaskListContent.kt"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"946e23a03940979bd9c78cceedf655871c6542d17a7f2d2e202d1af63069cbe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:541-603 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt:447-506 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb2edf25325ac9a05895cc0c66743bcc5f6aee04f5d578bd61e5206b8922189"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt:318-375 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt:386-439 \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":"feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fa59183e458167e7156e3d3d8482de0dd38d4f25ccfdbf4e92332f131b89ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt:655-708 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt:712-773 \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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb63f32960eef26ee101bd0323991f2d352126a9e95dc20faa4820a205a1e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 57\u002B corresponding lines): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberColorModelQuadItem.kt:59-133 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberNumberBlurEdgeModeTripleItem.kt:54-110 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberNumberColorModelTripleItem.kt:57-122 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 57 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberColorModelQuadItem.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"286286255e6dd40308843ffd49585f42b15056146af52300be813131b8b63dfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageActionButtons.kt:53-114 | feature/wallpapers-export/src/main/java/com/t8rin/imagetoolbox/feature/wallpapers_export/presentation/components/WallpapersActionButtons.kt:52-113 \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":"feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageActionButtons.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"08aeaf97a9ca5d383c2cc12f17e53b99a117ce0fa095d5e295efed5214077523"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/cloud/ReadCloudFileTool.kt:80-127 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/cloud/SearchCloudFilesTool.kt:84-143 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/cloud/ReadCloudFileTool.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bca860498e2a12c41ecea18a9c1bcf0366b5880d396d5ae1b615f29bb5bba0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt:111-150 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/CreateGameUseCase.kt:118-158 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/CreateGameUseCase.kt:124-168 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 40 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d9a9cbbfada99dae73063e77dae869c0c6390ea3c5711ac7a32cd301d4b50f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:470-502 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:524-571 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5fffb913d892e0411ccdf5baca9f38fedd85e7c9f783e911dea2a2d7664ba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 53\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:662-714 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:662-714 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:662-714 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 53 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"d446d1062331226908a59e31bf711b339e7417ba9550f33dd544f4f5f21424aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/LayerBaseRemap.kt:90-144 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/LayerBaseRemap.kt:319-360 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/LayerBaseRemap.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd38d676303bd49db021f8a5a515344528b15a77419bf0bd60584f353888051"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:85-119 | libs/collages/src/main/java/com/t8rin/collages/utils/CollageLayoutFactory.kt:116-146 \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":"libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6910d0f273cc9ee3682b1e3c0e0db85544f253597cda3d101dcfaa93d02ec680"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 42\u002B corresponding lines): feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserBookmarksPage.kt:258-313 | feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserBookmarksPage.kt:320-361 | feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserTabsPage.kt:133-184 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 42 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":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserBookmarksPage.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"212a91d6a2dcb127d504494dd87164bd3fe36c40fb54bf2c375e2a20e4660485"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt:169-190 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlWbsSubPipeline.kt:163-184 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d406c762553d090b0bdd2c1d63c7a23eae98f92470296fb57572ef8d4e4d483b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt:74-122 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:285-335 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a96bde1abff25f867da490973ece8b57281a1f7eb977203e006c92252aadb3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/hunyuan/HunyuanImageProvider.kt:67-110 | core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/qwen/QwenImageProvider.kt:67-110 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/hunyuan/HunyuanImageProvider.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"671011195417f73dbaccc1912402bf10cc35dca29127ea7484549f6a118c14df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassAssistChip.kt:73-130 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassAssistChip.kt:155-210 \u2014 These two members are one piece of code written twice and then edited apart: 56 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassAssistChip.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c93014eaaef03ab2220e8cdfeda18a50e56f7d621fad4d42f4a6dd23fb9e9cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:98-138 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:85-118 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"717c63d9a36e5b63b339d55fef2bc09c436e7e7e93657fa1f2ea9093421ac957"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassButton.kt:81-138 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTonalButton.kt:62-124 \u2014 These two members are one piece of code written twice and then edited apart: 58 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassButton.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfc0c474438456b52ac6794b5f7dd9881d8811a04c2661eaed02238bbdcec42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:112-150 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:278-314 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfff36383674af8318ce33aceb6159309e3bfe8d35fc6df326adecd13f056576"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/blessing/BlessingEffectHost.kt:369-399 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/blessing/BlessingEffectHost.kt:402-430 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/blessing/BlessingEffectHost.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c4d73ef0009c1d45b80a6edbbe78b1145ac5fb16eea597a8ef2b909948032b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): core/ui/src/main/java/com/wanbaohe/base/ui/image/IconImageBox.kt:56-135 | core/ui/src/main/java/com/wanbaohe/base/ui/image/IconImageBox.kt:195-256 \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":"core/ui/src/main/java/com/wanbaohe/base/ui/image/IconImageBox.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d443c905ed2aaa2481c757aec69e88f7b25bd9e4f9d48813508617cc6bebcf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt:48-93 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosSigner.kt:51-94 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7b4892b06552f523acdbcfbc703434e92b2d728a9f825a02b4b765163a2cf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCustomSlider.kt:323-359 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCustomSlider.kt:375-415 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCustomSlider.kt"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e41b024e77922eedcd7ded8e4a7bd76e7edd9d28224f0177dc813b92ccad1fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/AuthorizationCodeScreen.kt:141-173 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/AuthorizationCodeScreen.kt:185-218 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/AuthorizationCodeScreen.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba286a381406e2e2f14ad1be589ade7e69ffcb1c88046790171e5ca19a9da20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImageGalleryViewer.kt:167-223 | feature/image-viewer/src/main/java/com/wanbaohe/imageviewer/components/ImageViewerScreen.kt:139-212 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImageGalleryViewer.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb96fae7464e52daf0403736c2c7cb1c850c0e1dcef398e90069b7d62a548cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphIrRenderer.kt:282-292 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:363-375 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphIrRenderer.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"db75178390d592c3abac7c70a969c74a6194113356e869c43c8876979ca31416"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:284-300 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:344-368 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"952396c6e13abee70f27a0dd2c3c73106862f8c80b7d71d0f892ca2fd10a2834"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt:462-503 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt:605-650 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1fa8d872ac463de80560671c47425112ae837d788a44a81c2ebf2f62a3dead"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:448-480 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:383-419 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"929402a7c0e0fbc261eb874541b916ba19ab66d89c56fa8ad74bd176723bdf47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:223-252 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:186-213 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b656e1e0f4977e0ca3db01d843fb57be6536b490d64f4e888a9669fd1a9c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:609-625 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:336-352 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:386-402 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d08aec79941701940ced49781df1b142ec034913afdf5fda778ff8b0ba5f7bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): feature/survive30s/src/main/java/com/wanbaohe/survive30s/screen/Survive30sScreen.kt:808-858 | feature/survive30s/src/main/java/com/wanbaohe/survive30s/screen/Survive30sScreen.kt:867-917 \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":"feature/survive30s/src/main/java/com/wanbaohe/survive30s/screen/Survive30sScreen.kt"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e540517425c9c49f33f231a6f991b8a97efa946435f2a833a189ae2d59535f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:425-442 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:361-374 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"615745d533923f6dc429f3437f06d99d94b87c36fa23ff364930297a6b4fd73c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:284-298 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:257-276 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc43edca82bbea0d5f079446f1754982fdcb96361cae45b074fc48b8b6fe9a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/LifeTimeCalculator.kt:66-101 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/LifeTimeCalculator.kt:106-149 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/LifeTimeCalculator.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c956c98976553030c4103ed8e7d2e73633ce999a9829899f18f2c5a7bef5ca52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ImagePickerList.kt:128-175 | feature/common/src/main/java/com/shifenmiao/common/ui/ImagePickerList.kt:174-219 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ImagePickerList.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64b5f329dde6154d169f863af189bb839bdbd72caf805ab5c0d6bb1c9184e2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 47\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/EngineMoveChooser.kt:56-109 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/EngineMoveChooser.kt:57-106 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/PikafishMoveChooser.kt:61-107 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 47 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/EngineMoveChooser.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de448872b49f18ecd988a65b3cba3ba281928c65815feddcd62765554f1088b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt:358-396 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt:350-393 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e783e2a7f9f299651d8a3990c1890d9d84652203e0849627e7e28c27d4def99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt:101-139 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosSigner.kt:102-140 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9400b9155f07c7e1108e15216ba6cf5d36b6d675825afb4a15bfc226527be88c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:359-388 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt:359-388 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageXiangqiTool.kt:356-385 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"f689694e6ffea4fe0f2ef3ee5c49cbb9127751cadc870f921c4330b6484fd2dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/ArrowParamsSelector.kt:57-104 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/RectParamsSelector.kt:58-103 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/ArrowParamsSelector.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d259e567a1efd485dc06feaa047fa6203d711a28e6ae4a59aa7f79ac79049c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): feature/search/src/main/java/com/shifenmiao/search/screen/SearchScreen.kt:142-181 | feature/search/src/main/java/com/shifenmiao/search/screen/SearchScreen.kt:186-225 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"feature/search/src/main/java/com/shifenmiao/search/screen/SearchScreen.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd3af0c209aa420ed6ee3e943c2eadd1797e64ab8cf3e45b60643bd6b068d51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:354-394 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:364-404 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:356-396 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0593bf5990c9028f40f08da7bfab45315bb69a5d4cceaefc410d780ba218b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:597-635 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:809-848 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"a550ff3fb6b282488ba062a17607b786e714e4ab13433fcfb20487c59c00d63e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): feature/household-items/src/main/java/com/wanbaohe/householditems/screen/ItemEditScreen.kt:328-371 | feature/household-items/src/main/java/com/wanbaohe/householditems/screen/ItemEditScreen.kt:378-423 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/household-items/src/main/java/com/wanbaohe/householditems/screen/ItemEditScreen.kt"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"595cf07e01c64e87140936328da07c007a648e05f3042eb3da4d27448dfef5f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt:394-436 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt:440-486 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"239ec955bc9a06c52bfe585a1d2325200852d252ba88079568e2472947cc2e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (248 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/export/DuelHtmlExporter.kt:309-666 | feature/ai/src/main/java/com/shifenmiao/ai/export/HtmlExporter.kt:417-664 \u2014 These two members are one piece of code written twice and then edited apart: 248 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":"feature/ai/src/main/java/com/shifenmiao/ai/export/DuelHtmlExporter.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6c1177df6c32e3c52c9380207e4edabac3ac768051eb9969842a2e74be1447"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 47\u002B corresponding lines): feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/AddCountdownEventTool.kt:88-142 | feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/AddLifeMilestoneTool.kt:88-142 | feature/schedule/src/main/java/com/wanbaohe/schedule/ai/tool/DeleteScheduleEventTool.kt:85-131 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 47 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":"feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/AddCountdownEventTool.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"88eaa90ccd8b31623fcd07b3b2a9132460bc2b79e3d8be1fa0ac20ecbabc7575"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/AddWatermarkTool.kt:210-264 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ConvertImageFormatTool.kt:164-209 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/AddWatermarkTool.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c73b103ba234c8fb0ef90b649cfa11e8bf3c433d46c322c04adbd6109ff5dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 53\u002B corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomRangeSlider.kt:446-503 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomRangeSlider.kt:508-562 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSlider.kt:392-444 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 53 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomRangeSlider.kt"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd8cfa6689e89fb46235580377a0c0d5052b8f616adeb4b60a29b90d33e905f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt:148-183 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/search/XiangqiSearch.kt:158-196 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcd0793668398e1ea059b127fc77e4ec202c60440da65c12237ca331a57eecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/RoundedTextField.kt:95-139 | feature/app/src/main/java/com/wanbaohe/app/components/RoundedTextField.kt:71-115 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/RoundedTextField.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"65317211062bcda2a8bfa82ad58aca34ed187f04b414582fdf74156454e3396d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:106-124 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:576-595 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4ae68d0b790980faafbc60dfba510959b47443c57a78f4791c2b7638cd058a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt:268-314 | feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt:321-365 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a01694ae4aa512a4a197de735a2f89710c73d76c0f09db1ec0d7de1d8c58722"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt:245-270 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/TodoDetailComponent.kt:159-183 \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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f69754101b518794fbc686c3cc5af1ebd7c997336ce71670d4f595cd14e48ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/BookkeepingScreen.kt:118-149 | feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt:190-221 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/BookkeepingScreen.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e720ebeb2d08e4068bceefaf58dd6a9f88753b3d0c777314886ad0bdd1daa1a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 39\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:720-758 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:720-758 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:720-758 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 39 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"68326e4ec0afbb3c08d97bd3b0438b5b9e0dffc041670cc0064d2f7f95e2abb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt:612-653 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt:659-700 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"c699eb2a2d08594a122b586619405c04a29b738dd94a086188a786ee809ee4e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/data/AndroidApngConverter.kt:96-146 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/data/AndroidWebpConverter.kt:83-127 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/data/AndroidApngConverter.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"555cfd38ad971199544d16eb7001b247821d789b72122e556a9c51c6ec15e45d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/StatusCards.kt:118-156 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt:976-1014 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/StatusCards.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fa5e6422fe30ee92e4c6d2d28c88367b788ef3857f14eecbf34cbf6cadcf3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:763-791 | feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:793-824 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"672854194073402d2554ee6726f7f981abe3a739ecabe5319404cdb7daea52c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): feature/calendar/src/main/java/com/wanbaohe/calendar/data/LunarJavaBridge.kt:181-220 | feature/calendar/src/main/java/com/wanbaohe/calendar/data/LunarJavaBridge.kt:225-257 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/data/LunarJavaBridge.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec781b1c675c717f56bb69d05b71bea7100bb97340e873afbd52f84a1c955a12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt:58-90 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AiOrchestrationUseCase.kt:59-85 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"211f905958114afb9bf87948deccd723726216dade243e761010031aa9c727f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1752-1794 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:836-870 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:872-906 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 35 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3e43ad0b08e3ab85a7e75b5105355522a6c95d80c38b374125b7be81b0ca5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 38\u002B corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:189-226 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt:189-226 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageXiangqiTool.kt:189-226 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 38 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1dcd58a3a5ee6ce4a4adb62fc1eea7907a775a4f4768cf4b491d8e2a441913"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCustomSlider.kt:262-307 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderDefaults.kt:164-200 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCustomSlider.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06bcf7b17d19c4caba0cc07ca108fb750ca561bbc71d75466e9dcbead988253"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 49\u002B corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassIconButton.kt:55-103 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassIconButton.kt:122-172 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassIconButton.kt:190-242 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt:74-130 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTextButton.kt:72-124 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 49 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassIconButton.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c5551db14397884d76835c965fbaab16c33b76ceb3d358803c20d6a5154088"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 47\u002B corresponding lines): feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:256-314 | feature/profile/src/main/java/com/wanbaohe/profile/screen/ChangePasswordSheet.kt:209-268 | feature/profile/src/main/java/com/wanbaohe/profile/screen/VerifyEmailSheet.kt:167-213 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 47 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":"feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d361b5401a856ed19cc6cbb78aed54f0b846dd0aab1888994ef8c9be707fb8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt:132-163 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AiOrchestrationUseCase.kt:128-154 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e422474f9548dd7405ee97627106127353e44bc993dd272a91b009ef026938"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): feature/password-vault/src/main/java/com/wanbaohe/passwordvault/detail/PasswordVaultDetailScreen.kt:312-349 | feature/password-vault/src/main/java/com/wanbaohe/passwordvault/detail/PasswordVaultDetailScreen.kt:359-400 \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":"feature/password-vault/src/main/java/com/wanbaohe/passwordvault/detail/PasswordVaultDetailScreen.kt"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"825c190a070e220d685ae84e42074fa1a44dc1b8f95aa610317849aea679566a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt:794-841 | feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt:844-885 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b64231f07dbaf248e75f2d01a8c08357b8a6c8dca30402a4b862383502ad59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt:382-439 | feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/service/ScreenshotImageProcessor.kt:104-143 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31fd6e55cf8c45fd1ced44cb249adf455012733e056610005fcdd6f4d1bae06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): feature/compass/src/main/java/com/wanbaohe/compass/ui/ClassicCompassPage.kt:58-130 | feature/compass/src/main/java/com/wanbaohe/compass/ui/luopan/LuopanPage.kt:69-130 \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":"feature/compass/src/main/java/com/wanbaohe/compass/ui/ClassicCompassPage.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d0ace1933e24c26419be33858f0c03edbc37ac07f99f20e27e6b6ef8ba2887"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): feature/poem/src/main/java/com/wanbaohe/poem/ai/tool/QueryPoemFavoritesTool.kt:78-113 | feature/poem/src/main/java/com/wanbaohe/poem/ai/tool/SearchPoemTool.kt:89-130 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"feature/poem/src/main/java/com/wanbaohe/poem/ai/tool/QueryPoemFavoritesTool.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9966b40deb99a96712959e4a7594da1dfa4825431dab9fb64b8d96784d76445"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:413-430 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:435-452 \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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c49bb9ed84271ea05994feeb8026c845abf32993207f801abd7a836c16bf5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/GlobFilesTool.kt:80-113 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/GrepFilesTool.kt:84-118 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/GlobFilesTool.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ede88b70546fbf2d578251f7f4cfd9692aaf687df84b772f212f01beefb3d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:119-152 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt:119-152 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageXiangqiTool.kt:119-152 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"122b10f3f652319a38ea01367213d92d3cbc8c319fdb870c2f092dcfdf8c5ae6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/BookkeepingScreen.kt:59-107 | feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/HabitMainScreen.kt:52-99 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/BookkeepingScreen.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ff6644049dac6fd47105bc2857080c992cc789498c030eeaf4a803a6b1f1cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt:208-241 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt:247-278 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"88dc2dee2934bdb8a21ffdfc7219fea7e89e5b26576ad77ee4232a0ab1f6f4df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/AiDetectScreen.kt:205-243 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/RecordCenterScreen.kt:116-153 \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":"feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/AiDetectScreen.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"915f812d54b82f23e41a8c420219c4d505fafc02bb050630b7a6ef75ecd8bbab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt:388-404 | libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt:406-422 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3143cc4a4ab36674d113d88bf2e63006a4b66d3298a3ca8b9bdec3a019dcc1cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 37\u002B corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt:88-133 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt:142-187 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:407-443 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:446-488 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:491-534 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:537-578 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:641-677 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 37 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba016249dd52a7a2950efc36e754618e90f3550c652d1be2f3525251b86d3d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:110-134 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:86-112 \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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d161be0099cfe788b5d84a91b294c13a6ebf9c451aac02764907c88fe4ea2c9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/screen/TokenUsageScreen.kt:485-514 | feature/ai/src/main/java/com/shifenmiao/ai/screen/TokenUsageScreen.kt:520-554 \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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/TokenUsageScreen.kt"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd626614fffb487f86391ecf4c4cff16eff2d3b8538f3e7251c68f0607e4e02b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrEmailEditField.kt:49-92 | feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrSmsEditField.kt:49-84 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrEmailEditField.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"116129ccecdc8eb6ed652206a2482a5b65cf9f0c5965a61def6c037d91fe5fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt:161-190 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt:195-222 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"18986eefc7f2fe50028e60967e21017701765d6897d457faf7a2c67819ec173d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 32\u002B corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageBookmarkTool.kt:232-264 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:156-187 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt:156-187 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageXiangqiTool.kt:156-187 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 32 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageBookmarkTool.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"11775bee3cf0f9969814b09c34f7626c790d796d5054489bffacb481fc33091f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelRouterScreen.kt:123-151 | feature/sudoku/src/main/java/com/wanbaohe/sudoku/screen/SudokuScreen.kt:109-137 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelRouterScreen.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f735d1f40035c41921aa101b1124d1db237f6c28e3ddc0ab62033857f76913"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:492-534 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:478-519 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb9151d070a5d40dd085e21ac2a794734b0eaed1f6bffdc6246dffff0c0b35d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt:249-283 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/board/XiangqiBoard.kt:351-381 \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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b669a2af05d3c967ce0763082c24e88e07fe537a0acbcbd8072d17f8cc421d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:468-487 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:611-623 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt:484-503 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:693-708 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a18355ec16570828bd2200b5aaba204f5a7aca9b9605600ea8ddf75a1cdb891"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): feature/loan-calculator/src/main/java/com/wanbaohe/loancalculator/domain/LoanCalculator.kt:162-210 | feature/loan-calculator/src/main/java/com/wanbaohe/loancalculator/domain/LoanCalculator.kt:217-250 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/loan-calculator/src/main/java/com/wanbaohe/loancalculator/domain/LoanCalculator.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ff560814fe9dfd24212d5374c2a71ecff7e161a7b7e8e48715d5033cd49c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 42\u002B corresponding lines): feature/document-scanner/src/main/java/com/t8rin/imagetoolbox/feature/document_scanner/presentation/screenLogic/DocumentScannerComponent.kt:117-158 | feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:259-304 | feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt:162-208 | feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:203-250 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 42 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":"feature/document-scanner/src/main/java/com/t8rin/imagetoolbox/feature/document_scanner/presentation/screenLogic/DocumentScannerComponent.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c957c5f468ce311cd2054ee6d9719b3a66df5893b25916fcb6c75250272f9d85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/CloudRelayApi.kt:83-122 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/DshApiClient.kt:189-229 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/CloudRelayApi.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e1a2a4ee84c0a0a951eeffefd3ea1405d94672a6d153f4bc7bc34cdb3a03d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): feature/household-items/src/main/java/com/wanbaohe/householditems/search/HouseholdSearchProvider.kt:38-66 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/search/MarkTodoSearchProvider.kt:38-68 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/household-items/src/main/java/com/wanbaohe/householditems/search/HouseholdSearchProvider.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dcd60868e2f28f3f79befb193d1840cab48d38ffff957c1607281fb3ef6977"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/screenLogic/LoadNetImageComponent.kt:128-168 | feature/wallpapers-export/src/main/java/com/t8rin/imagetoolbox/feature/wallpapers_export/presentation/screenLogic/WallpapersExportComponent.kt:127-168 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/screenLogic/LoadNetImageComponent.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1378a4fcd12ec4457fcde509c1f1160b04f6a96a0a4c8332473efc8fb0f4b9eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt:140-172 | feature/online/src/main/java/com/shifenmiao/online/component/CreateNoteComponent.kt:124-153 \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":"feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d3c671e65bce70b34ed440d89e9bef41998f5df150f9da139668233c977e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:436-459 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:462-485 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f5837006dff7076d8cb8e6242a42328b85bf84a1b9f1c1dbdef17f8991537a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:603-644 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:638-672 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92ed58351433080b4c6d3e4d922f044ba9a420074160554a08b1554ef846ab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt:278-314 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt:338-363 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e309c472f4c9bd8fcf1686a2ba144a9a2a15bed3a5b75638ebcf6c8aeb43737a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 33\u002B corresponding lines): feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrContactEditField.kt:203-235 | feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrContactEditField.kt:241-278 | feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrContactEditField.kt:284-316 | feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrContactEditField.kt:322-354 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 33 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":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrContactEditField.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04a42e68d513c53db705af151e41a20a096a4f9f4b3cd867090baa1ec8b1d39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:804-839 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:829-855 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd29bd38da99477731cd44a3e298deec633f32007b01baf08b5342ebd501caf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): feature/online/src/main/java/com/shifenmiao/online/screen/NoteItemScreen.kt:175-210 | feature/password-vault/src/main/java/com/wanbaohe/passwordvault/detail/PasswordVaultDetailScreen.kt:227-262 | feature/password-vault/src/main/java/com/wanbaohe/passwordvault/edit/PasswordVaultEditScreen.kt:127-159 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 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":"feature/online/src/main/java/com/shifenmiao/online/screen/NoteItemScreen.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c87de95f887b1472879f17d95d642561028eff18957c40086555c4ce24394e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageSelector.kt:74-129 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageSelector.kt:140-183 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageSelector.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d4f7c706e4e57936a1fec2accb255bd4d607b301f534e27d7f8a4f4624443e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:337-367 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:218-248 \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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"7598ac5d4a7cefe8e861f7c317e43c580df09a8a8b4121dd62133ec0a92485e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 14\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:253-266 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:362-377 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:379-397 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:359-374 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:376-393 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:335-350 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6f5edff2108f4c8c387fcf222d9bdfb144212b47ac9ce3e98d8487067663f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt:405-448 | feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt:457-494 \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":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"a789cbce2c98cb37e906198d2ac810054b8b620befe04d41725f90b770749556"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessOriginDialog.kt:42-63 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuOriginDialog.kt:42-63 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiOriginDialog.kt:45-68 \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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessOriginDialog.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"428babe1154a5e13ba76b9edd7d3d9f02fb2a1e49db3c3f1c6dc873610a6e00a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessGridItem.kt:62-95 | feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessListItem.kt:66-111 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessGridItem.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"250cd6452436af43ee6bfa321361e7d357f66e8f69489e26e0d676b241f55d01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): feature/common/src/main/java/com/shifenmiao/common/handle/UrlNavigator.kt:344-378 | feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/data/DefaultScanCodeResultResolver.kt:81-110 \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":"feature/common/src/main/java/com/shifenmiao/common/handle/UrlNavigator.kt"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"007a7039b3cf9065e11f8f455729d5d40138ffeb2dd8d38117e21aa9fd297bf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/cropper/src/main/java/com/t8rin/cropper/state/CropStateImpl.kt:383-415 | libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt:351-383 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cropper/src/main/java/com/t8rin/cropper/state/CropStateImpl.kt"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a59a6814a498db22a647f7be0f58a169aef42b6b55a023ed5d062c603e72542"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): core/base/src/main/java/com/wanbaohe/base/ui/MakeDown.kt:245-274 | core/base/src/main/java/com/wanbaohe/base/ui/MakeDown.kt:282-312 \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":"core/base/src/main/java/com/wanbaohe/base/ui/MakeDown.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a7748235bc8af4f5e140cf04ae3681d8dc34d78ba1ca558378f8014cc21dc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsBottomSheet.kt:1092-1117 | feature/notification/src/main/java/com/wanbaohe/notification/screen/NotificationScreen.kt:533-553 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsBottomSheet.kt"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cb6a6d7f6d1a85049c81ef3ea73a6abed81aa510cc7839a72e831976f632ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:592-601 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:435-443 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:411-419 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:470-478 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:643-651 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6715587f16fa4ee78ce3aef3d7c3492fffd594caf4fd306d1f080f7f080c4cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): feature/audio-cover-extractor/src/main/java/com/t8rin/imagetoolbox/feature/audio_cover_extractor/ui/screenLogic/AudioCoverExtractorComponent.kt:113-155 | feature/audio-cover-extractor/src/main/java/com/t8rin/imagetoolbox/feature/audio_cover_extractor/ui/screenLogic/AudioCoverExtractorComponent.kt:157-203 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/audio-cover-extractor/src/main/java/com/t8rin/imagetoolbox/feature/audio_cover_extractor/ui/screenLogic/AudioCoverExtractorComponent.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88835a49207012eee509b53c692f8799aaa56759156989cad9443e67804835b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/EmptyStates.kt:133-171 | feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/components/ZipArchiveList.kt:451-488 \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":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/EmptyStates.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dd72f26f35060d2c1c364d77a948e04506bcebb1a5494f8d544c7431d3c765"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): feature/schedule/src/main/java/com/wanbaohe/schedule/integration/SystemCalendarProviderAdapter.kt:129-153 | feature/schedule/src/main/java/com/wanbaohe/schedule/integration/SystemCalendarProviderAdapter.kt:160-183 \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":"feature/schedule/src/main/java/com/wanbaohe/schedule/integration/SystemCalendarProviderAdapter.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5215ca9cb21c1669a2e75c9867df32af8e2b05e427753ffd1ae23eb435fa4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/EditExifTool.kt:95-127 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ProcessFileTool.kt:106-136 \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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/EditExifTool.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da3efadbabc418c1ece5127d7c3eafb8b20cadffe1acccce1e03b94b2dee1bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt:506-535 | feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt:1050-1082 \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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"7715b56b8eaa66e56eeeb1843bddc0d17079e8a6cdacf7281e93db8c5af8da85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsComponent.kt:277-306 | feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsComponent.kt:308-337 \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":"feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsComponent.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5077fe425f1da3db2c45b5ad5d4f36591486f258e7be4e82236b61df7eee9bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): feature/file-browser/src/main/java/com/wanbaohe/file/browser/utils/FileHelper.kt:351-378 | feature/file-browser/src/main/java/com/wanbaohe/file/browser/utils/FileHelper.kt:383-414 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/utils/FileHelper.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"498db4bc2e119613294e06ad93f894271f8f7343deb87e6d955a893171f59807"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/data/AndroidMediaRetriever.kt:61-98 | feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/data/AndroidMediaRetriever.kt:112-153 \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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/data/AndroidMediaRetriever.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbba711bef9a7561d73736990cdefa1a51378f6bdc67419e24a1d15ad7b927a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCard.kt:62-101 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCard.kt:123-166 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCard.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e83e312f0e897fecd8de642021b43c12a39d3e085c12bc15fb72bd404578bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:421-450 | feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt:357-385 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"69964667c79b9615fb7b254c6a7deb2a612b0d98465f72e085b6e608349c442c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt:550-594 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/draw/BrushSettingsDialog.kt:229-269 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/shape/ShapeToolSheet.kt:235-274 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 40 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"89685412f2875a30bac6cd1f68ed980e686715b378cda81bb19790518a0a5075"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt:91-117 | feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt:124-156 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4b547e85f46b2988be714ba613533f1bd2e72b124b802e269c1a4f3e9c6bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt:94-121 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt:127-152 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd147b04690fb8f7e5a75e4c8ee0c52cd8336abd9ffc04ff788eff5673dc8530"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:139-153 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:149-163 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a854f006f38d8e9e2516ef85742cdc57782c912bb3f6c06c634af6ea3e3284"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:553-572 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:706-722 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"74923981ada8e03ebe28bf173c30045fd2c4355cd107c8191aca7a14ec9529dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): feature/compass/src/main/java/com/wanbaohe/compass/screen/CompassScreen.kt:188-218 | feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt:462-492 \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":"feature/compass/src/main/java/com/wanbaohe/compass/screen/CompassScreen.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2230a3e9ee6b5e3a1dc2bd21fe67b04381b0518d0542d091bd8d36619264cdc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:356-366 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:214-230 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a7e87c17cfe606995dac2c6ea257e7c7e6b97deddfd0ab69d5850fb3cb0f5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/SizeCustomizer.kt:421-466 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/SizeSelector.kt:232-271 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/SizeCustomizer.kt"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dc6a6f464fc9f3d12d43283429f00fc24bd0bc1083f677f763c762c847b332"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/diagram/src/main/java/com/wanbaohe/diagram/HeadlessDiagramRenderer.kt:93-117 | libs/diagram/src/main/java/com/wanbaohe/diagram/OneBoxDiagramTheme.kt:10-34 \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":"libs/diagram/src/main/java/com/wanbaohe/diagram/HeadlessDiagramRenderer.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f13c8f9846ee7f7fb9931193f8a77fb31fddca84bb30192a9a3d720f6fa25aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ChoicePickerRenderer.kt:68-87 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/SelectorSupport.kt:57-77 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ChoicePickerRenderer.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e3647d9994e51ec0f73cde2da253e626ff928a61fba6e63097353669ea0e68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:1421-1447 | feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt:336-357 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"072348343f30397cfbd8e96e23191941560820934da515080840187698a6fe5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:103-128 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt:97-124 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe9f747b5b0df906ca96561e71740939a3e4cb7380e926655db7d174479b9c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:312-343 | feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt:311-337 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"548e2d375ae04a5ab0d18c50fe35f6fe9954d28305c4add465490af54166b111"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt:174-199 | feature/online/src/main/java/com/shifenmiao/online/component/EditPromptComponent.kt:206-231 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"89decf1afcad85fa1d6c11210f3f761cc4d4558d37e019b3eba1d35e9e0e9b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:506-516 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGaugeSubPipeline.kt:177-189 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt:163-175 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlPieSubPipeline.kt:168-178 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7521eed05ee39f294a9fee0c236f46c0466c4ea356227dd91bf48d54b9c474"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt:115-166 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt:209-249 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bafba383a9355c43c974a737abaddd0e82c4fa276c70b77c8bb96a1bc4c968"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 31\u002B corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/FontScaleSettingTool.kt:102-132 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ImportFontTool.kt:112-143 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/NightModeSettingTool.kt:103-133 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/StartEntrySettingTool.kt:106-137 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ThemeSettingTool.kt:192-223 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 31 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/FontScaleSettingTool.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dafc9200b6bcd140fc8a95be14c0f3a2b366d033d6268964c24f15c5290845a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:309-338 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:447-484 \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":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ec229c2e4fefda6ad3b1c18244f8cce9a9ddd19dd8498bde654ed47bc4821e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCheckbox.kt:58-88 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassRadioButton.kt:54-98 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCheckbox.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d33fb5e039cd4ee0ad4439e297f63649279cba6525599243d88dd8daee8617d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt:483-509 | feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdStatsTab.kt:427-455 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6df7f13f355d8802d3f84cb30d1e012e72a1da684e7c7522eae24949dd3505"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleSelector.kt:82-114 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/SizeSelector.kt:73-108 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleSelector.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8268e82b36eddce74a29ba3d009e71bddd200ef3de7e3a2c7b512201e9ba27ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt:60-90 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/LlmMoveChooser.kt:60-90 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/LlmMoveChooser.kt:60-90 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7f8ebfa6a01200ef03272d6ce7509728e831a1f87a61952bd6b7eca6d281ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:228-255 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt:228-255 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageXiangqiTool.kt:228-255 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b707003ccf24ed5dff0f270ce652cdece67b7ff1bad057dc7f7c54dacf8339"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/presentation/ChessGifReplay.kt:41-62 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/presentation/GomokuGifReplay.kt:41-62 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/presentation/XiangqiGifReplay.kt:41-62 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"feature/chess/src/main/java/com/wanbaohe/chess/presentation/ChessGifReplay.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"292dcb7acca1a55c7fb4baf9068f437f7dd8770b46cbaa19697f4b6154466015"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screenLogic/IdPhotoComponent.kt:277-309 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screenLogic/IdPhotoComponent.kt:341-370 \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":"feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screenLogic/IdPhotoComponent.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4527a47a6b68e0846a83e40228b9681789ab6347df76e3f023fdd905bae59d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): feature/profile/src/main/java/com/wanbaohe/profile/viewmodel/PayComponent.kt:342-379 | feature/profile/src/main/java/com/wanbaohe/profile/viewmodel/PayComponent.kt:416-455 \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":"feature/profile/src/main/java/com/wanbaohe/profile/viewmodel/PayComponent.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"935709c601639f17e2892e3c6f40804b14469a00be3bf820998c39348701f13b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/CheckboxRenderer.kt:46-68 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/SwitchRenderer.kt:46-68 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/CheckboxRenderer.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bc43de009b193385c7144d965843c99e617711494edbb7a20ff2b74b576600"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ExportGameUseCase.kt:97-126 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ExportGameUseCase.kt:99-134 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ExportGameUseCase.kt:91-120 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ExportGameUseCase.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7ee0179d43c22fc683f04815262158a2702281b45c8476d3ffe8e03528e7c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/PairingScreen.kt:565-596 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiLibraryScreen.kt:444-474 \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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/PairingScreen.kt"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3dbaf120cd6ad7b04d059f385155c5ec4680ba6bd658bdf527a848378259c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt:138-165 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/crop/CropToolScreen.kt:405-431 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19d8af01b90349477ea6ccbf05a6419f215eeb8ca9b254785f703c697a2b930"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/WatermarkRenderer.kt:312-335 | feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/WatermarkRenderer.kt:524-549 \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":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/WatermarkRenderer.kt"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10fc8cab6aeac756f4327ef0c43f070204fb9860b1d56c3c2614737163d16d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): feature/common/src/main/java/com/shifenmiao/common/manager/AIEngineCatalogManager.kt:683-717 | feature/common/src/main/java/com/shifenmiao/common/manager/AIEngineCatalogManager.kt:723-749 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/manager/AIEngineCatalogManager.kt"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6651bb5d2c0d743ea14ed7bb8cee4f9505ec252d868c5d7bcab66c2b26aa653"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/GameCard.kt:276-307 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiLibraryScreen.kt:407-437 \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":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/GameCard.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"433ed908deccd0c8261be491169f153106b59229ade73b7cb904aea2a0d8e24d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt:196-213 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/search/XiangqiSearch.kt:209-229 \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":"feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad00e497be51c25c9a26671fd3f5c16d3104129416294d593c0e0b6d6900204"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): feature/common/src/main/java/com/shifenmiao/common/components/DatabaseBackupRestoreSection.kt:51-82 | feature/pick-color/src/main/java/com/t8rin/imagetoolbox/feature/pick_color/presentation/components/PickColorColorCard.kt:210-247 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"feature/common/src/main/java/com/shifenmiao/common/components/DatabaseBackupRestoreSection.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7883d984e2151910eff6f3e4341cfdb2e38825ceb88cdd9de6ddc2e17f3de5ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt:398-412 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/TextCardDocumentCodec.kt:361-378 \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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"838ab18e203b2988b47c0372ad9546c955184df751d74fa9e5ff8b8e9a162401"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:375-389 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:485-502 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:317-334 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"982e3801e53f2b86f84e1cbd76adb27670112216dc26d6c45a072206ee84d86d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedCircularProgressIndicator.kt:50-83 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedCircularProgressIndicator.kt:95-130 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedCircularProgressIndicator.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b854949167b53787411b6cf2a552f8b4f893e4ceaddcffaad4441ea3a5dc18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/palette_selection/PaletteMappings.kt:32-44 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/palette_selection/PaletteMappings.kt:46-58 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/palette_selection/PaletteMappings.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af67592dff1f879b9264ac876cc4ef43d3b95555e4f4dcc67d0f84092b7040e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt:62-100 | libs/modalsheet/src/main/java/com/t8rin/modalsheet/FullscreenPopup.kt:80-122 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"03628b74d688cd1430b6ab4a379e60aca0bfc45dc4cc38b5287acc43985fa19a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/StatusCards.kt:77-109 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt:935-967 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/StatusCards.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4bd012efbabcf2b8c54058110358a73e5f7b73b963ae9acf4f09618c2f2662"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): feature/common/src/main/java/com/shifenmiao/common/voice/FunAsrClient.kt:78-101 | feature/common/src/main/java/com/shifenmiao/common/voice/IFlytekAsrClient.kt:91-112 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/voice/FunAsrClient.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab936c57d4ff8970fe02f4b328d9a663e2f8a2caf495ae6f14f45832e808b0ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AgentToolRegistry.kt:381-412 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AgentToolRegistry.kt:424-463 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AgentToolRegistry.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87efec62cb88d386e3e2707f40bbe241626d3560f8f32c5660925b6b75583bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): feature/online/src/main/java/com/shifenmiao/online/ui/NoteCategoryChips.kt:59-101 | feature/online/src/main/java/com/shifenmiao/online/ui/NoteCategoryChips.kt:108-138 \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":"feature/online/src/main/java/com/shifenmiao/online/ui/NoteCategoryChips.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36bd8db8e47ac25d4f218d33c84aca5f034fed146b68376e10910abaeb7a8f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/RecordsTab.kt:76-102 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/TrendsTab.kt:84-109 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/RecordsTab.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"128569667e319c57f825890caf3b04f581496b53701fca2ee4dfef26301b2176"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:330-357 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt:330-357 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageXiangqiTool.kt:327-354 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5210e4bc1b13cc47fd1e51297b4bcfe1e2272fb70576fb2d3e146023c60d89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt:287-321 | feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt:549-585 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca815c0a330124e8be1c83b97e95fd1ddf8aec05f75f59386ebf06e28597bac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIFeatureSettingsScreen.kt:184-221 | feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIFeatureSettingsScreen.kt:233-263 \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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIFeatureSettingsScreen.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3518c51067290979db6f7e3567854f93e5fdd2dc07223b34c762553f105b202e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/layout/ColumnRenderer.kt:44-60 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/layout/RowRenderer.kt:43-59 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/layout/ColumnRenderer.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c976235a4bf6e50681707ffe7b0e6f952a8ea836c4364c9bb63362ffb3c2d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/SaveResultHandler.kt:75-103 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/SaveResultHandler.kt:105-131 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/SaveResultHandler.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9580134bc7d373f691cf4366cdfd30ba40912b0948753e003e9fef145479dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt:127-142 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/GameQueryUseCase.kt:125-140 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59a09e65cf3df2c8bb6bb1c0a9df73f391ebefc603671841aaf9afef9504993"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:711-733 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:787-807 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:638-664 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1969a2171b7d1b6a0dab3f418e0cea9a8a35b242a1a0e09b461753fc01f0905"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/service/HabitService.kt:74-95 | feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/service/HabitService.kt:98-116 \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":"feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/service/HabitService.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9b875801ad91e24dd8d37f42f98d701d704fe0b09c9b931527bf43a4d88644"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/LayerEffectsProcessor.kt:340-353 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/LayerEffectsProcessor.kt:361-373 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/LayerEffectsProcessor.kt"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e02d6aff6051fe1f985f5970f5385203486d9f6403e1b55cad931f13e1fb75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/ClipboardUtils.kt:47-85 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/ClipboardUtils.kt:88-123 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/ClipboardUtils.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"79305f342f51dc127f417f1531f854d681b6c9510cdc6fa8c2d8217a80a6e0c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/ToolRail.kt:139-174 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt:1931-1962 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/ToolRail.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"88652390efb39d56be636ac81c3f642926a2772859d61e17347b28c9a5f607e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GameDtos.kt:113-139 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/dto/GameDtos.kt:113-139 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/dto/GameDtos.kt:121-148 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GameDtos.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"04476ad2e94d9c8d7da331efda6c5013db83dc08371f0e509d129af1e4e76ae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 30\u002B corresponding lines): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:404-433 | feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt:277-307 | feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:382-416 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:598-627 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 30 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":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bc0a61a547c10426341a4c7aa79102c15d1ba0eaf65f9f966694dc8428d375"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeScreen.kt:485-510 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeScreen.kt:519-544 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeScreen.kt"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"18547a0bac4dd968f8c537d45ab41d7a22ea989c0f1a679e6578e3f612aa441b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt:708-724 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/TextCardDocumentCodec.kt:565-580 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab508ed58663d1b4f1d09d96b8d7a15c5b3221162ddec02b04e96111a665a44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:426-442 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:354-377 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9082faf1a4b406ecc11ec034f06f8e14d51ec8472026ce01fd722645883960d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TableRenderer.kt:111-139 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TableRenderer.kt:242-268 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TableRenderer.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dec2d8900c06b9403b0f4d2e519774ca9cbfab6d7d58982c41a8bd29ea6a898"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/display/TextRenderer.kt:75-92 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1479-1496 \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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/display/TextRenderer.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b8ea73d8e16a43e76135e23c2ddc3d6228ffc47cb265eaeb76bae0a7598ac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): core/ui/src/main/java/com/wanbaohe/base/ui/button/ExtendedFloatingActionButton.kt:60-93 | core/ui/src/main/java/com/wanbaohe/base/ui/button/ExtendedFloatingActionButton.kt:107-140 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/java/com/wanbaohe/base/ui/button/ExtendedFloatingActionButton.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7ba30c4f30f17c7251850a16690c87d7a58284a3acd63e7be228ba353558ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:47-68 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:48-68 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f4ca65b080df6f7d9db935db161b937aafa45bd84fb3380639dd954d06e6ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): feature/teleprompter/src/main/java/com/wanbaohe/teleprompter/ai/tool/ManageTeleprompterTool.kt:151-174 | feature/teleprompter/src/main/java/com/wanbaohe/teleprompter/ai/tool/ManageTeleprompterTool.kt:176-211 \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":"feature/teleprompter/src/main/java/com/wanbaohe/teleprompter/ai/tool/ManageTeleprompterTool.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"17beae392bafe0e34a640680574f9a2fe3a330cc8b04fc3e491061c6a699112f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:908-928 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:943-964 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c70db2552e6cf39872b1ec52d8fa63e4f35a8b3b4bbefab7757acaad8e8b4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/DiscoverAppsTool.kt:106-134 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/DiscoverToolsTool.kt:107-132 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/DiscoverAppsTool.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df3e6466363725f61e9b99f39839752441b8074ab9019a111ed220668503fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/service/BookkeepingService.kt:179-204 | feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/service/BookkeepingService.kt:627-651 \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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/service/BookkeepingService.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed20f1c231af2040c5a06b92fea261d4ddf3980c08211ed8a735cb38ac9f792"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): feature/device-status/src/main/java/com/wanbaohe/devicestatus/screen/DeviceStatusScreen.kt:223-251 | feature/device-status/src/main/java/com/wanbaohe/devicestatus/screen/DeviceStatusScreen.kt:254-282 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/device-status/src/main/java/com/wanbaohe/devicestatus/screen/DeviceStatusScreen.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7409b1f88c508d1f59f3e55b1184768cd1364094a9c2f195f005c6be78c9a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/HeadingRenderer.kt:148-172 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/engine/DefaultMarkdownLayoutEngine.kt:642-667 \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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/HeadingRenderer.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cbd047b40b63276cb63932d22365dd75e4ebd96999682704f40b6e64997a85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt:57-71 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/CreateGameUseCase.kt:58-74 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/CreateGameUseCase.kt:61-84 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"114dfacd09e2f0768230a58bd6958deee987f07f7fd5b842a9b06489545d7c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): feature/compass/src/main/java/com/wanbaohe/compass/ui/CompassDial.kt:227-244 | feature/compass/src/main/java/com/wanbaohe/compass/ui/luopan/LuopanDial.kt:435-452 \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":"feature/compass/src/main/java/com/wanbaohe/compass/ui/CompassDial.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"5810d0d31923fa3afd323552a62cb1b3ba4c3bebfa52e89347ae4e48b9967d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): feature/sudoku/src/main/java/com/wanbaohe/sudoku/screen/SudokuCompleteContent.kt:243-284 | feature/sudoku/src/main/java/com/wanbaohe/sudoku/screen/SudokuStatsContent.kt:222-260 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/sudoku/src/main/java/com/wanbaohe/sudoku/screen/SudokuCompleteContent.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3301dd72f151ddef14b1a47719a3b0bbe5a4045d03df893e1e7de8e5a08e0110"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): feature/webview/src/main/java/com/shifenmiao/webview/WebViewComponent.kt:362-392 | feature/webview/src/main/java/com/shifenmiao/webview/WebViewComponent.kt:749-778 \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":"feature/webview/src/main/java/com/shifenmiao/webview/WebViewComponent.kt"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2abdfa7bd8b011f771adf2c475c4775692cebccdcb5fdcdd860e1c14752196"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 12\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:205-220 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:90-104 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:190-202 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:291-303 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:169-180 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:180-195 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 12 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5698aaf24410fb773c888e26a0d5c6096b9eeae540305f22a583ef279d286a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:601-615 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:134-147 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:130-144 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:142-156 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:150-168 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fb1d44c7b284059262215ed4650dfd4336680e1cbc135ea4bc43e8dbcc5b75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): feature/period/src/main/java/com/wanbaohe/period/model/PeriodCalculations.kt:55-67 | feature/period/src/main/java/com/wanbaohe/period/model/PeriodCalculations.kt:139-151 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/period/src/main/java/com/wanbaohe/period/model/PeriodCalculations.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3f2d42a688b7a51d4935b0ce9c7a900f893dd33b4bc7efc86961d6a9151aa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): libs/gesture/src/main/java/com/t8rin/gesture/AwaitPointerMotionEvent.kt:83-134 | libs/gesture/src/main/java/com/t8rin/gesture/AwaitPointerMotionEvent.kt:187-239 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/gesture/src/main/java/com/t8rin/gesture/AwaitPointerMotionEvent.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72a839053fa71af86bcc32d8dbc7e860bd22a5430daffa318a768c0fb177779"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/LoadingDialog.kt:135-180 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/LoadingDialog.kt:190-224 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/LoadingDialog.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8459963d048e1c46826b75183715a89599bff609c8e38d1af254e298a484ebfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageDecisionWheelTool.kt:131-157 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageDecisionWheelTool.kt:159-187 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageDecisionWheelTool.kt:189-214 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageDecisionWheelTool.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9982a6b4539e6600234a42f8805848e1d49d48487f0fe3cecad23ceba920906b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:826-848 | feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:850-872 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd0773978f838b5c1f0c5eebd65fe904b8b06a1c7b4dc9bbfd18232b35707d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/screenLogic/CameraWatermarkComponent.kt:381-423 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screenLogic/IdPhotoComponent.kt:592-630 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/screenLogic/CameraWatermarkComponent.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a4073f0b4d15569a334f9ba5a5b64ab144f5ed05cb5fae4592721aca687aff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt:985-1008 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt:760-783 \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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1c0a773fc20be01d823a9ad9ca54afc850f614ada539033dd4131ac6fa576f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/storage/src/main/java/com/shifenmiao/storage/AppSharedStorage.kt:383-396 | core/storage/src/main/java/com/shifenmiao/storage/AppSharedStorage.kt:398-417 \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":"core/storage/src/main/java/com/shifenmiao/storage/AppSharedStorage.kt"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a17ccaba0449ce2dd7669e1fd7bdea8914ecd17c72a8a559ac1b2b2a90c79e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/Base64Tool.kt:87-112 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/BrowseFilesTool.kt:94-119 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageFilesTool.kt:108-139 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/WebpTool.kt:109-134 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/Base64Tool.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdde8afae54c9e4b875e0de2f0b218743c50b55e8ff970793ae9ba1f4d8d78be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/model/BookkeepingBackup.kt:111-130 | feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/model/BookkeepingBackup.kt:132-152 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/model/BookkeepingBackup.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"003bff155d8ac4959f8a38950a42fdbdfa93105eebf2966237a4eaf3c9fa7b8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/screenLogic/ImageStackingComponent.kt:144-183 | feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/screenLogic/ImageStitchingComponent.kt:168-203 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/screenLogic/ImageStackingComponent.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcbbb143c40c1f6d93de3e4fb282090eaa45e4de3cfcd30ee13e60949ec2ed0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/LockScreen.kt:453-484 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/LockScreen.kt:820-852 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/LockScreen.kt"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2fe5a27efe9571d4f90c94ad654b3ffcd4021bd7c4b3b973b3723dd2d9ab20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeScreen.kt:587-613 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeScreen.kt:681-707 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeScreen.kt"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd5ad2b2a06215af891c35d67ef7d0403c99b7f1d94460d284cc9bebc4e2a40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 29\u002B corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt:846-877 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt:1458-1487 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt:1495-1524 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/PairingScreen.kt:604-632 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 29 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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b304c472d7f50ad6629e75a4f4fbd11cff2554cf2c00af4095945554dc2105"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessGridItem.kt:107-132 | feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessListItem.kt:124-154 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessGridItem.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd21c363eee4c343b526c09bf7724a1cb75c6914404c49a8418ee30739d933f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:568-573 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:589-592 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:599-602 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c319a6b21d728e41686baf2adac56e8fc94def8ca9c485a31dcca9ca942972c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/CountdownEventCard.kt:54-87 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/PersonalMilestoneCard.kt:47-76 \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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/CountdownEventCard.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"51834aab7bf88d3f250b8859989936492598c09ad05529224bb263a41ad54bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1188-1221 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1514-1539 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1709-1734 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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":"libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a5e2fa57f7c1437e31a73c0b2fa85f61a2bd8322743a9a3cdc823642cfbe39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/reminder/HabitReminderReceiver.kt:62-88 | feature/schedule/src/main/java/com/wanbaohe/schedule/reminder/ScheduleReminderReceiver.kt:54-79 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/reminder/HabitReminderReceiver.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d47240106ac50d9e1e37a6a3ddb463f84ed0fd6e1e0d846fe45cd023c67b2ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:281-290 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:349-361 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:363-381 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d16401dc330a7398ce6cf84fe608be57a7264a8a2bb08882a54dbeb159817d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/cropper/src/main/java/com/t8rin/cropper/util/ImageContentScaleUtil.kt:51-72 | libs/image/src/main/java/com/t8rin/image/util/ImageContentScaleUtil.kt:51-72 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cropper/src/main/java/com/t8rin/cropper/util/ImageContentScaleUtil.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6e11457e320f0a01da796f00188f842a10a08803fa664afa73542568e0004a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:245-251 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:268-279 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:349-360 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:362-373 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e33ea03efe247745cd413d5fcfc11edb0cd14d1a43be39901161c2e11c10eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:651-669 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:679-697 \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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"5152e52f7c189166171dbecb4b0678380880edc80484af9f1adeefb3cb3090ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/screenLogic/ImageStitchingComponent.kt:205-232 | feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/screenLogic/ImageStitchingComponent.kt:308-336 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/screenLogic/ImageStitchingComponent.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"283e3e5009298f7f79b810607f5f97de8f6e071f1adece5bc068fdee1c825e91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PagesSelectionParser.kt:30-43 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PagesSelectionParser.kt:30-43 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PagesSelectionParser.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b844c01db395ea888bcb2a203a81999427e38793c156a7cc3496365aa5a8dd87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:267-288 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:227-248 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:238-259 \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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"65584784f9888595b8d5893e3c58735a9e5df974a5bcb13942f49ca50a04e746"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:205-224 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:202-222 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:230-249 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"648392034e394bdb06bd4baad00ad3d28e6b4f828dc9bb1429875c554b31a1ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt:69-96 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddEventScreen.kt:75-102 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddMilestoneScreen.kt:66-93 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c06635c587b7cd0c6fa0586d923a3740a99bbcd62012c60c3995ac4fd26310"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt:315-331 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt:339-353 \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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"546d12f785f035e748b5b11e6475b40a720c1dabf503ec600c4db9319af92ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt:487-511 | feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt:517-548 \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":"feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f004eba0525f2a2d6670d78d9c539b64e9b926b34b7f5f8a9cbec2af06748a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): feature/image-splitting/src/main/java/com/t8rin/imagetoolbox/image_splitting/data/AndroidImageSplitter.kt:129-153 | feature/image-splitting/src/main/java/com/t8rin/imagetoolbox/image_splitting/data/AndroidImageSplitter.kt:161-184 \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":"feature/image-splitting/src/main/java/com/t8rin/imagetoolbox/image_splitting/data/AndroidImageSplitter.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d43884e95abecec98c733cdb4e857e7077e55909e6a4ce1c13e65eca0917ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/ModeSettingsPanel.kt:212-241 | feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/ModeSettingsPanel.kt:247-272 | feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/ModeSettingsPanel.kt:502-527 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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":"feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/ModeSettingsPanel.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5d9c47c815d9280b4df5b6d07f41e9435e5ad17bf252f1ebf3b78977a6cecc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/model/src/main/java/com/shifenmiao/model/wechat/common/MediaMessage.kt:77-95 | core/model/src/main/java/com/shifenmiao/model/wechat/common/MediaObject.kt:151-168 \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":"core/model/src/main/java/com/shifenmiao/model/wechat/common/MediaMessage.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"104acf935a70b53dc35c6927ed2d30f0b77ba890852742599e5a9f9d2ec078c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderColors.kt:101-115 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/CupertinoSwitch.kt:390-406 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderColors.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"35878df29684b3ad1c8aaeb1bd86e5b370fbb5227818d1c359f7f9813b0668a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:508-525 | feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt:427-444 \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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"26aff52c0e954936daa4c19d74b292fca2e3e149a0f43cb8d4e8370af973f4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:252-263 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt:252-263 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/online/SignalingClientImpl.kt:252-263 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f73788b19699a0aa463fe3941d26f388bd7ba230d890a4793277acc6711fece"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/QrInfo.kt:264-283 | feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/QrInfo.kt:288-312 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/QrInfo.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"d707f41584203f78b6e2996cee5fde51691e31c798c22c70d7f2624058c3fbb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIPersonalizationScreen.kt:157-175 | feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIServiceHubScreen.kt:221-239 \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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIPersonalizationScreen.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc38fec41991efb4e029d31e3cfa0fc001a50b9286c18176bdd221b4833cced3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ProcessFileTool.kt:154-173 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ProcessFileTool.kt:175-195 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ProcessFileTool.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d884b1678e61375ffa4b7dd8fa21ae0c619b196f74a008b553f86c492e18fa02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt:450-472 | feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/tab/StatsTab.kt:232-264 | feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdStatsTab.kt:389-416 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20973ce1f884cf23705d4d81c388e87d573270494a0a469c356a7ee38a2eac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:309-334 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt:313-338 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6f1c1793f874687ca398f1b163032e43769d8b0c4843cb051e49738f364971"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SubagentStore.kt:409-431 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SubagentStore.kt:434-456 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SubagentStore.kt"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"166d581d37da08ddb569630455a6972adafdd8830df0bef609e2c90c98709b29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:581-587 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:347-352 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"9246ea5891d5431242ba4b33328263dcdee421d861897b9665c3e63790bda86a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/camera/src/main/java/com/wanbaohe/camera/PhotoFileProcessor.kt:202-220 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screenLogic/IdPhotoComponent.kt:691-708 \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":"core/camera/src/main/java/com/wanbaohe/camera/PhotoFileProcessor.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74d16a9e15c7d13b7f60a0e3b3d5930fa9e7168e76d7828e995b95b66a817fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/database/src/main/java/com/shifenmiao/database/item/dao/ItemDataDao.kt:128-145 | core/database/src/main/java/com/shifenmiao/database/item/dao/ItemDataDao.kt:148-170 \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":"core/database/src/main/java/com/shifenmiao/database/item/dao/ItemDataDao.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa4cd51b5e2277df840eeac0d5c92be6d210965e49783446fdde3ddc9363461"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt:50-67 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:60-79 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66893c629ee5edad39837cc3bb0e1ace493a06aa90179804e25b705350ba4ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FormatExifWarning.kt:52-77 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/IcoSizeWarning.kt:52-82 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/OOMWarning.kt:49-74 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FormatExifWarning.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bce078d00e80856466ebc2af6b78c437b13b331b9daeb35ae0de8ac47798135"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/PickFilesTool.kt:108-135 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/PickFolderTool.kt:100-125 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/PickFilesTool.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb056a575bf3b4523b9793494418c42a651ee01c8c6d6436858b1eb43e386b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt:219-242 | feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt:250-275 \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":"feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba86343436c678d2dcc95c8b96e347c96947dfa4e65b11432016d420b3a8a761"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:787-798 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:801-812 \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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bad478e8f1c79a819e09d5cd9d8fedf52b365e6ff7af6202387448ca2240e5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:182-200 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt:182-200 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/online/SignalingClientImpl.kt:182-200 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3113bf2326c125a5d35d7c3d85e71a89752563404192f5179422f9c8f5a6b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/domain/GameArbiter.kt:60-75 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/GameArbiter.kt:54-69 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/GameArbiter.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a067eb7aa4be8b9b6d37d94832d79361b42747263fc0a5a32cd51e1f8e193335"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PagesSelectionParser.kt:45-60 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PagesSelectionParser.kt:45-59 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PagesSelectionParser.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"381d2b33a3038bf46a92390678f0c795425c8af994239e42aa633c05256f57b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/component/Chips.kt:77-104 | feature/unit-converter/src/main/java/com/wanbaohe/unitconverter/screen/UnitConverterScreen.kt:1126-1151 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/component/Chips.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7add6abd7b8eb1e5ca98da161863e5880ca8d086fc8cd5ebe0169b7b68328200"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarAnimations.kt:43-73 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarAnimations.kt:79-95 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarAnimations.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0549964c97c96355d6fc066e302d8057108f2220590cd4a61e053e0aa931aa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): core/base/src/main/java/com/wanbaohe/base/ui/shapes/ChatBubbleShape.kt:41-64 | core/base/src/main/java/com/wanbaohe/base/ui/shapes/LeftChatBubbleShape.kt:41-64 \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":"core/base/src/main/java/com/wanbaohe/base/ui/shapes/ChatBubbleShape.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4dd61bf4f7398508dd3ba14c8cce9b625814f39bf68799ac0d0ca1a187ea2d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): fastlane/push_images.py:144-151 | fastlane/push_listing.py:75-82 \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":"fastlane/push_images.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50accf3286e25fb99818ecc347c8e1b5c84faca2df6fbb395d505f4aa99c15c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:452-472 | feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt:387-407 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9d90136a7cdc325647c81ef386b047eea7fe8ac1573de3ed67497fbfe0099d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/WebDavFileSystemAdapter.kt:69-85 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/WebDavFileSystemAdapter.kt:91-110 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/WebDavFileSystemAdapter.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"78531fd3dd64cf6ac17fee781d7acb98e8428d68267d8cd74ad51fdd94bbd594"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt:129-151 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:164-184 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e471bee7b12eb2dafff9f6c7ec29ded5739a4c5ba707f08997e3a4ff2511f1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:667-687 | core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:707-728 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"72893a88f64a5ca4078b312920d4c813aba00ac27fc8c5739e49324791f491a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): feature/checksum-tools/src/main/java/com/t8rin/imagetoolbox/feature/checksum_tools/presentation/components/ChecksumEnterField.kt:50-78 | feature/checksum-tools/src/main/java/com/t8rin/imagetoolbox/feature/checksum_tools/presentation/components/ChecksumPreviewField.kt:50-81 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/checksum-tools/src/main/java/com/t8rin/imagetoolbox/feature/checksum_tools/presentation/components/ChecksumEnterField.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee63239b2c41166df438b9d985a8ee55ff8af1081d718f69496f36215dba3157"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GamePreparation.kt:102-115 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/dto/GamePreparation.kt:92-103 \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":"feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GamePreparation.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70e5276b7dd75646129f4343b08e5cb6c0d18ecbc484c759bca0fd2b8798e57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:336-354 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:336-354 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:336-354 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"db13452171b4b35f0605eb6772e55e5cc9072dac07c278607f5a64d29917e0e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): feature/code-editor/src/main/java/com/wanbaohe/code/editor/component/CodeEditorComponent.kt:234-257 | feature/code-editor/src/main/java/com/wanbaohe/code/editor/component/CodeEditorComponent.kt:268-295 \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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/component/CodeEditorComponent.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d509115ef998f08abb69378d1491d2691bb9eaf79154eba6e3fb4836cb52be0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/screenLogic/LoadNetImageComponent.kt:181-212 | feature/wallpapers-export/src/main/java/com/t8rin/imagetoolbox/feature/wallpapers_export/presentation/screenLogic/WallpapersExportComponent.kt:181-211 \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":"feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/screenLogic/LoadNetImageComponent.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd10aae9c6a29504955cd400293aae1d941a9d7f261292105a283e4a7395e2f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditorState.kt:52-79 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditorState.kt:45-68 \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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditorState.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf622a9b14a6ba36564dc2400f25bf3643814b0dabf6480d5dc01f8a9998ca2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/screenLogic/CollageMakerComponent.kt:200-233 | feature/noise-generation/src/main/java/com/t8rin/imagetoolbox/noise_generation/presentation/screenLogic/NoiseGenerationComponent.kt:99-136 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/screenLogic/CollageMakerComponent.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab49fe6991b1e11f27d9719b46064e4b6ff499c2e023bb34c9feb21fac8ddc97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:1250-1276 | feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:1278-1301 \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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"533ee791e67f0a00c9f8895a6be7dd93265384743c175d2a13c741126539dee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt:442-462 | feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt:471-493 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2613a0cc5ff61ae3070ae8bc5435f77f5077c72198a8d248bd8338101aab4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:537-552 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSequenceSubPipeline.kt:211-220 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:364-379 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea1140b195f4d4ecef509f0663875bb41c0dca843f8a7f89155395dae2cbb49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageGetter.kt:79-102 | core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageGetter.kt:138-160 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageGetter.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb754b3fd6f556ec7c3c2b77c3948d3a5e35f4ff49bf263ef2701b4209aded0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/cloud/ManageCloudConnectionsTool.kt:181-212 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/cloud/ManageCloudConnectionsTool.kt:214-246 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/cloud/ManageCloudConnectionsTool.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1aab788a0869764216e31e7de6297ccd2a0ec809f7c2716de0c763cb1ff190"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:275-288 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:307-320 \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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4c731f29d41a3f7e21338e56aa1908ae43d08a89e2b101374b4225baa1e1c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 27\u002B corresponding lines): feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/GameCard.kt:315-345 | feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessImportDialog.kt:42-68 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuImportDialog.kt:42-68 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiImportDialog.kt:42-68 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/GameCard.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c24b8499f2c7de84d8ededd1e9eb0907ac7982242a1ba92d337ca0c03a817d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/screenLogic/FileTransferComponent.kt:438-460 | feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/screenLogic/FileTransferComponent.kt:465-488 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/screenLogic/FileTransferComponent.kt"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd02d9ef3b138652a87c2639f88cf2dad923f316fcfd0eaa5905f485d6d2ee46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt:208-217 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlTreeRenderSupport.kt:370-378 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea22a553d18e5af88fbd10eed09fce2dd7a6e5ad0ec3551140374274ed0f510b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:411-416 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:543-549 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6e1fad849fa5ad6278560156c7cc0ed76c6745b210ed93250ae119a8194131"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/database/src/main/java/com/shifenmiao/database/utils/DataBaseUtils.kt:43-55 | core/database/src/main/java/com/shifenmiao/database/utils/DataBaseUtils.kt:87-100 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/utils/DataBaseUtils.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59cce444a24c83f9fb1855fe5bca431337b4f217846459ced612b945c4d9466"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:293-304 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:85-98 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:84-97 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0498fe6eff79ca225ae98808dbdf23e7b1203fef175a8781a82f9066a61abb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): feature/document-scanner/src/main/java/com/t8rin/imagetoolbox/feature/document_scanner/presentation/screenLogic/DocumentScannerComponent.kt:238-265 | feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:340-369 | feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt:214-241 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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":"feature/document-scanner/src/main/java/com/t8rin/imagetoolbox/feature/document_scanner/presentation/screenLogic/DocumentScannerComponent.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afbc0006fa2ae3a7aa9625c675ca0db2223b10dfa3e0ed76429398a64ee6684"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/a2ui/src/main/java/com/wanbaohe/a2ui/domain/A2uiJsonPointerResolver.kt:131-143 | core/a2ui/src/main/java/com/wanbaohe/a2ui/domain/A2uiJsonPointerResolver.kt:145-159 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/domain/A2uiJsonPointerResolver.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"81412130bbac376d851dab510c095bdb5c31980edef1b4ff2fed333c100f8ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): core/database/src/main/java/com/shifenmiao/database/passwordvault/entity/PasswordVaultEntryEntity.kt:51-67 | core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/saving/model/ImageSaveTarget.kt:50-68 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/passwordvault/entity/PasswordVaultEntryEntity.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3300f6652b04e1623bb8fff20ba1b0ff46e9dec11f0adf3377dfdf593612d84a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:226-237 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:224-235 \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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"745bd46e335c2296e0d9dc5187fa508e28111c44b968438301a6d9edefdb4139"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/PaperTexturePainter.kt:108-127 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/PaperTexturePreview.kt:103-120 \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":"feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/PaperTexturePainter.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63179b68adf34c00aeacd082a331ebc5f0538e6453697b92e0b10823063a46a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): core/database/src/main/java/com/shifenmiao/database/ai/entity/ConversationEntity.kt:69-89 | core/database/src/main/java/com/shifenmiao/database/ai/entity/ConversationEntity.kt:91-114 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/entity/ConversationEntity.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9608270bdc37fdcf645bcf0c53806a4fb9cba7b9ea965b25e536fcbc546df654"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderColors.kt:117-129 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/CupertinoSwitch.kt:408-420 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderColors.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b6337f7e52d59a3547def677a2f92417d025ebd7348e509ead2623ea9fd4dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:377-400 | feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:350-378 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:571-594 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"563aa4c7901cfb1ce5699e6603ebe4fe83292664ed0120d70c54bf4f613a7d4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/repository/PaddleOcrRepository.kt:247-270 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/repository/PaddleOcrRepository.kt:282-305 \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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/repository/PaddleOcrRepository.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5a71c4420707ae2b325f062363bd30ba24b465bb1c71988bcad8310f0b1529"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt:210-229 | libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt:231-248 | libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt:447-464 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe05c5c6b864f8220afd8cdd22c219877ec0cc612b80ccb0101bc19cdead383"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt:139-162 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt:137-163 \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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f778ce22080eb62f7110814479e784cb590dd34625e1c502c88d168371d312"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt:101-122 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/GameQueryUseCase.kt:99-120 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/GameQueryUseCase.kt:98-119 \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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4985cea658a5857e4581b34c265a50e1fdab997f940def01e57d2ed0d4f3fe1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessEvaluator.kt:129-139 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/search/XiangqiEvaluator.kt:155-165 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessEvaluator.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb36ddaeb39ebfcb2df91655206800a98c27dbe78f5e985ee746451dba0311a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt:384-411 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/DrawUtils.kt:501-528 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e961ed625b44d602bf97b6044e5a0257244dbbf30a6501e89645451b66121b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt:791-806 | feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt:808-823 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3decba52592ca1b7a5738b313acf1e855b056fb17d16435f1f99537144e731d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/model/MessageUiModel.kt:392-413 | feature/ai/src/main/java/com/shifenmiao/ai/model/MessageUiModel.kt:490-513 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/model/MessageUiModel.kt"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"662ea4b9a3878a399f791bb824732a9cda032f259c9b063e5e658db60a32e078"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:207-225 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:177-202 \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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b2ecb71a10e48c4a970855980910b8d1069e8f500b1652d7b5274df0017a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/screenLogic/ImageStackingComponent.kt:185-211 | feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/screenLogic/ImageStackingComponent.kt:242-270 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/screenLogic/ImageStackingComponent.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dac9f2a5160ff02a9cf09e588d59dcf857941663076c7543d285ce69b9e2c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): core/base/src/main/java/com/wanbaohe/base/ui/TextFields.kt:141-172 | core/base/src/main/java/com/wanbaohe/base/ui/TextFields.kt:186-213 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/wanbaohe/base/ui/TextFields.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0b6170b5c6bfd9f6d55152cc41775d208bc1804952255dc278582203ba9e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AgentToolRegistry.kt:119-137 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AgentToolRegistry.kt:288-303 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AgentToolRegistry.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc18963aa6e316c28e5d7c211e25913f4c482f911f66c9ac39e56acbf144cdda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/ui/AiBottomSheetCommon.kt:64-91 | feature/common/src/main/java/com/shifenmiao/common/ui/ai/AIModelPickerSheet.kt:254-280 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/ui/AiBottomSheetCommon.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"133d8b2f15ea976ae84f75716924a61135e08ded395dc888fb35f2a27d20d8a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt:348-357 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ImportGameUseCase.kt:299-312 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ImportGameUseCase.kt:170-179 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"9747e8bf374a9958cfdb028b99c117c32d9c65c0c0cdc78a7fd5a7c38e6a36ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:722-733 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:675-686 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:690-701 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"4199c895da02c72c51bacd58161a50792d50071ed43c884a08b896a211524719"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt:270-286 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt:353-369 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ae77850149a31a22894f88e4de2f807f04fa3b3f06007f8560d14c8233939c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:118-128 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:131-146 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"abad98404ceafa4aff71a9c1b1d157666ecd1a5349cb277a0b446511a5d67e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/MiscRenderers.kt:129-155 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/MiscRenderers.kt:163-186 \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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/MiscRenderers.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3954353a8e169434dbd0058f57b2f83828d4ec2a246ec096333e83d0348fcc14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:179-197 | feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt:173-191 \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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6e4d082fe0752387f83193de32e38055a42f4fcfc8af0515f9464308670848"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:442-457 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt:363-377 \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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bed5a188a9a646095a2b028d0a0a037d862ae64feff9b5abf3540eaad7fe041"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/device-status/src/main/java/com/wanbaohe/devicestatus/screen/PhoneStatusFormatter.kt:133-146 | feature/speed-test/src/main/java/com/wanbaohe/speedtest/data/SpeedTestRepositoryImpl.kt:208-221 \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":"feature/device-status/src/main/java/com/wanbaohe/devicestatus/screen/PhoneStatusFormatter.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8a3beb6c628d7264aead232d12dba915461d62a164becfad3be8187065e9f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:339-345 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:401-406 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:357-362 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbce8e3971de2a69db1434600214291645697e73e6787a4e0ae218a6881aec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/twain/src/main/java/io/noties/markwon/prism4j/syntax/Prism4jThemeDarkula.java:47-63 | libs/twain/src/main/java/io/noties/markwon/prism4j/syntax/Prism4jThemeDefault.java:47-57 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/twain/src/main/java/io/noties/markwon/prism4j/syntax/Prism4jThemeDarkula.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc102e53028fce01eb0ea4603253c72d85860c7cb29e353d025d2504f4c2914c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidShareProvider.kt:193-210 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/ContextUtils.kt:773-788 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidShareProvider.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d72e98083bafd588f3d0f43565bb121763676593dc82aa66d9983d51c1b334"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedButtonGroup.kt:145-175 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedButtonGroup.kt:219-255 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedButtonGroup.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa665bb22126928a7e5cec8ca947c3ddb54d0ec2e4266e626a3ac51d3f860fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt:238-251 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt:200-214 \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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d4134c009bc173d91ed414dbec8cacee42bc270289fa16e86756fe38fe27c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssAdapter.kt:32-46 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt:33-46 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosAdapter.kt:33-46 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/TencentCosAdapter.kt:32-43 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssAdapter.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9ae9f33e7c2ab4d721aecc28c18369f5a9c04acbb9bf3f7453babe3a7de58a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): feature/compass/src/main/java/com/wanbaohe/compass/ui/luopan/LuopanPage.kt:197-222 | feature/compass/src/main/java/com/wanbaohe/compass/ui/luopan/LuopanPage.kt:226-253 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/compass/src/main/java/com/wanbaohe/compass/ui/luopan/LuopanPage.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"58388a16557910b2413d3cb642f31b1d4df028ad38e3f7368315a1a32728d9eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:22-41 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:69-92 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:116-137 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:233-250 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"51babd33a605e2d6e2e45f47f92ce732bd2f7724c59d340d985a85133fc9232c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/home/MarkupHomeContent.kt:276-298 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/home/MarkupHomeContent.kt:355-384 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/crop/CropToolScreen.kt:905-929 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/home/MarkupHomeContent.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35d9f9f426248e9735af0dcfa53192bd48e3d1135175442f7355798b6c6f4ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:400-409 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:531-541 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf59dc419d3b7b37c658a75e5c4498401702dfa86e6b41899c532e0b3b3a8f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:1168-1196 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:1199-1224 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5abcfe59ab12f666e9c25d73d9fe676151759a92fa9a19d3993b6bb87bdfe6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt:68-88 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GameDaoAdapter.kt:66-86 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e16000fcbcc58e22820fba2277f4d5a49e88b863e2f98613473f7d811c526eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:149-171 | feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt:117-139 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:177-198 \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":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7474d56746b7ca0f66b8187d408d0b99c3dfbf6893c047ca5a4fe30c507f2001"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:204-225 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:488-514 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad1d439bf4a6da0f7fd294a3110dc04bbacd2303fcb36fae6b00b72946550a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): feature/notification/src/main/java/com/wanbaohe/notification/component/NotificationComponent.kt:295-309 | feature/notification/src/main/java/com/wanbaohe/notification/component/NotificationComponent.kt:311-325 \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":"feature/notification/src/main/java/com/wanbaohe/notification/component/NotificationComponent.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"84710610b19da397406342822216b207d1830832ba02ad9a54b63067a3cf9473"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/screenLogic/ZipBrowserComponent.kt:222-247 | feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/screenLogic/ZipBrowserComponent.kt:253-282 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/screenLogic/ZipBrowserComponent.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4428c0debe035dad753ffe2dbf51866bac71cda5ffb2a19bf70a9dde6741103e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/EraseModeButton.kt:50-72 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/PanModeButton.kt:47-68 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/EraseModeButton.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef27c5f8dc6fd4ecdb955e4be76c0258364ad24544005017c4124d68cb7a99ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/demo/src/main/java/com/shifenmiao/demo/screenLogic/DemoComponent.kt:289-299 | feature/file-browser/src/main/java/com/wanbaohe/file/browser/utils/FileHelper.kt:134-151 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/demo/src/main/java/com/shifenmiao/demo/screenLogic/DemoComponent.kt"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6da51903f6f53c8bf6ccb2525db0b62d2020345d36b8834f7814ac871fc252"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/domain/model/MediaOrder.kt:35-53 | feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/domain/model/MediaOrder.kt:55-73 \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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/domain/model/MediaOrder.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5d013561b63e7e44359bedb2075050876eba1a23c6e3b66f3ca660166fb2b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineModelAdapter.kt:510-532 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineModelAdapter.kt:578-594 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineModelAdapter.kt"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b188df53336cfe1bf9c8fda6abeda271a1b39811c90f72f82c3b0fefa8716da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/AddBookkeepingRecordTool.kt:102-120 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/ai/tool/AddHealthRecordTool.kt:114-132 \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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/AddBookkeepingRecordTool.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ddd9a2f97e8b90ef3e54d8406f9998e7609a76d99b5755dd0ef2e2fc08800a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:309-318 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:100-108 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:99-106 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16c4e3494f02651fc759d2ff0ecc2b4b06ee2d644e8454e48bfe0763ca485f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt:224-240 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/search/XiangqiSearch.kt:248-261 \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":"feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f03be62d6095fbbe77f9916656694c5f9d2b3a3afde7c9207e5b900cf004c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/common/src/main/java/com/shifenmiao/common/localmodel/DefaultLocalModelRepository.kt:155-169 | feature/media-player/src/main/java/com/wanbaohe/media/data/ContentResolverMediaEntryResolver.kt:150-160 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/localmodel/DefaultLocalModelRepository.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6743542f95c034f9b119eb6fbae4890fc47125d34d593a582d07a90c5b2c30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:180-192 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:116-123 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8804c6cdf532930822fb6f54d12ad82cf0a233880b3c42e78ff176e8789c08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/HeadingRenderer.kt:29-44 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/HeadingRenderer.kt:53-68 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/HeadingRenderer.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd5acb2f24d63aae6a38411c729f2d4e99dfa8f4564b7642d39b2917c55d3c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt:272-287 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt:289-304 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/TodoDetailComponent.kt:185-200 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/TodoDetailComponent.kt:202-217 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52e9500b69825be99027dcdcccba6111802d08b4abda1c53f8b1771c548f68f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/injector/TouchInjector.kt:42-64 | feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/injector/TouchInjector.kt:70-92 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/injector/TouchInjector.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b538d1c79e35782dd47f5801dbf6099cfdd653efa824ff2de52c4a0ea2c27a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TableRenderer.kt:147-170 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TableRenderer.kt:361-380 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TableRenderer.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2370116eeff7e635d6cfbc5f9cda1307a0ce4e893f2ca594aadcfeb6f2a5e83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:248-275 | core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:287-311 | core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:322-348 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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":"core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8e4ef295a64f1dc2a7752b31078c7bc4afb6c8b7ff61e511315921522c09af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderDefaults.kt:220-241 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderDefaults.kt:261-282 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderDefaults.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c701ba3e8cd797c22ee54921e7b408e5c15d7dceb3b090e4f1ea60774a318a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/logic/ChatInputComponent.kt:239-260 | feature/file-viewer/src/main/java/com/wanbaohe/fileviewer/data/ContentResolverDocumentSource.kt:53-71 \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":"feature/ai/src/main/java/com/shifenmiao/ai/logic/ChatInputComponent.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d779255def68a8d93a95d198e5b99107750b4c7dd08755bb5f7067d2bd81a38b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): feature/common/src/main/java/com/shifenmiao/common/file/AigcFileMetadataReader.kt:198-213 | feature/common/src/main/java/com/shifenmiao/common/file/AigcFileMetadataWriter.kt:282-297 | feature/common/src/main/java/com/shifenmiao/common/file/AigcFileMetadataWriter.kt:303-318 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 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":"feature/common/src/main/java/com/shifenmiao/common/file/AigcFileMetadataReader.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"587b857ecbd4f3493d4acc5080e410b89a54945fc3b01af52df47b5cf933b3f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/network/src/main/java/com/shifenmiao/network/di/NetworkModule.kt:82-94 | core/network/src/main/java/com/shifenmiao/network/di/NetworkModule.kt:99-110 \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":"core/network/src/main/java/com/shifenmiao/network/di/NetworkModule.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"58485fae2d198ebf4fad86b2f6144e601b2f4899df924fce0f977373655de50e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PageInputField.kt:47-70 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PageInputField.kt:47-70 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PageInputField.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"337367a6043866410f6f9e7f21031f8ce85b1e1a9a66ab3a5f922d4ce3fddee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/EditFileTool.kt:190-209 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/EditFileTool.kt:214-234 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/EditFileTool.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dfd1f7f151f7eff9383337e9a6fda7b8d7b483293a8b174b1ab68f7a2cda7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt:313-330 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt:240-256 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8d188f94c7d5f4aaf594537739d952ba6a73ddabe923156324cdab15053dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:277-284 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:159-167 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"3587032a8a1ed299acdb07c29e1141c16bb245eaf43c5082e1ea6cc9e4942af9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:222-232 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:235-245 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:248-256 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:259-267 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:270-278 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"3401bedffd74e520093bb7a600c227f613af1a0acbaa8d92264afcedc6d8b025"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ImagePickerList.kt:97-117 | feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleSelector.kt:122-143 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ImagePickerList.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47e737729452495ac4087c61245c763e4b2e60ad2231941b4fb9a998a9c4df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): feature/profile/src/main/java/com/wanbaohe/profile/viewmodel/PayComponent.kt:305-334 | feature/profile/src/main/java/com/wanbaohe/profile/viewmodel/PayComponent.kt:386-408 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"feature/profile/src/main/java/com/wanbaohe/profile/viewmodel/PayComponent.kt"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba964ec15873848ec5937ef53da8289637c5bd931eaf69e50e395e4b2b580caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/service/VisualAutomationService.kt:204-216 | feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/service/VisualAutomationService.kt:218-230 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/service/VisualAutomationService.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c291842ad3de0b858417084532c7eff1a3c9fbf81555ed2e72683a125b36a974"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): feature/webview/src/main/java/com/shifenmiao/webview/utils/WebViewExportUtils.kt:450-466 | feature/webview/src/main/java/com/shifenmiao/webview/utils/WebViewExportUtils.kt:478-494 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/utils/WebViewExportUtils.kt"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa2b30adc8a0fb4945528fafae2e413ff268f93970bb3ceeec641717844a1cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/components/ZipArchiveList.kt:155-177 | feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/components/ZipArchiveList.kt:494-516 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/components/ZipArchiveList.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"7174690cd9a09064aa70a499acb0d585d054cb67767cffbd6ab7a1b373dffa51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:445-454 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:585-594 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"603d3712b13d5d24012656ce3511fd40bd02ee4aaf6f517f2d995f4b48edc8d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/resize_group/components/BlurRadiusSelector.kt:51-74 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/PixelSizeSelector.kt:46-69 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/resize_group/components/BlurRadiusSelector.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60fd2f412dc17cbc987a5f456c0ba950f2e5020c8df29f76c61cebde99e3838"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/AIStreamAnswerComponent.kt:171-184 | feature/common/src/main/java/com/shifenmiao/common/ai/AIPromptExecutor.kt:416-430 \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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIStreamAnswerComponent.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efa83a2f081aed498dd0716499e6026565dc680681a39951b94306c7116c508"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/BookkeepingComponent.kt:389-402 | feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/StatsAggregator.kt:128-143 \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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/BookkeepingComponent.kt"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac95901e03ef6faac550c2d9a9efedaf4bd2bd27070ebc6fcf41645e07f29e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:239-252 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:237-250 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:264-276 \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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"24617f2321659983b3ce9942d46ce0099afd10c769d9e44f2585bb82220ecf07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/screenLogic/CollageMakerComponent.kt:237-262 | feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/screenLogic/CollageMakerComponent.kt:266-288 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/screenLogic/CollageMakerComponent.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"104d0f6b53fb0f72b649a6fd4338a08b0bcada64387a645e1c764321637dbb05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/display/DividerRenderer.kt:43-56 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/display/IconRenderer.kt:46-58 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/display/DividerRenderer.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0d72dea686c1a143c36efeb138851cbc8548296d7085328a77c4c4fa6ba530"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt:130-152 | libs/modalsheet/src/main/java/com/t8rin/modalsheet/FullscreenPopup.kt:155-178 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e46c39862147866c4ab7e53ad74883fd9187dcf00c435a4d2fbb8e76157859"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt:397-418 | feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt:1013-1032 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c3515db7e13658f1844533e04f41e9487d865a1932fd4022d6d496650b5b38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:149-159 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:124-132 \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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f5f21beddd6df394da1cb65550c7a2576ecca45b2bae822fa7d1809c166dff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:285-302 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt:289-306 \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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"082e04e08a83534a88425bc9ebc23ea79eb6f5f0e307f5d6ca3ca3688a402ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:641-657 | feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:659-676 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bfd844f834371c22a5ca40d9bf93720db879bd1e5aefbbf955be389fe334f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/repository/PaddleOcrRepository.kt:105-131 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/repository/PaddleOcrRepository.kt:147-172 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/repository/PaddleOcrRepository.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9279400f2de065cf0ef82f2b51340db263ae7ea0a53730da81a434f92ea038d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt:392-409 | feature/online/src/main/java/com/shifenmiao/online/component/CreateNoteComponent.kt:536-554 \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":"feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2f00c2616c0b2e71eb814128cbef4e3e71350c7125cd8afa938a797aa43b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GameDaoAdapter.kt:105-124 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/GameDaoAdapter.kt:105-124 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GameDaoAdapter.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb36d1e6cce22075b299bd41c01ed6ef5156acfc3d4d9f95c93447e3dc997ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): core/network/src/main/java/com/shifenmiao/network/utils/NetworkUtils.kt:237-257 | core/network/src/main/java/com/shifenmiao/network/utils/NetworkUtils.kt:259-278 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"core/network/src/main/java/com/shifenmiao/network/utils/NetworkUtils.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9585325291adbf30b1582664dd28600d7ca32007b38fe5a1a02921c401bd10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:519-529 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:421-431 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"0198af48e61845fd5114c7affb81cde8df87cf094c2b6864f9ab62ed2005d2b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphClusterLayout.kt:62-75 | libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphClusterLayout.kt:77-89 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphClusterLayout.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b2d01e44108ad5b85c17343a17a16a945e8960a0ddb0899634adeee7af12a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt:309-324 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt:423-437 \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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"709ceb28c1a15e34656bb7b7eac19c5b96ad8e1aa6839cd1dee2a67592a1fc3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/InteractiveToolRuntime.kt:280-302 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/InteractiveToolRuntime.kt:309-331 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/InteractiveToolRuntime.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"842276ef92d4d950dcb433f296b5d9bc52759b18a63b1dfd4f155413e4b117dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:547-563 | feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt:466-482 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bdb64f5af3a77ddcc64c3e74e33255bc6f50cb5c44ce1f8e6eaba1cdf836cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PixelationParamsSelector.kt:37-52 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PrivacyBlurParamsSelector.kt:45-61 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PixelationParamsSelector.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd30cc5a284df91e5d86afcf894d3b4e4cdc1869b1a5a00d1120844015c14215"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/HourglassHeroCard.kt:592-603 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/HourglassHeroCard.kt:605-616 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/HourglassHeroCard.kt:618-629 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/HourglassHeroCard.kt:637-649 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/HourglassHeroCard.kt"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"634ba5edcd26fdca416bc9a94383e5daa91b3519e683a11fb826b87161101513"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): feature/poem/src/main/java/com/wanbaohe/poem/ai/tool/QueryPoemFavoritesTool.kt:115-136 | feature/poem/src/main/java/com/wanbaohe/poem/ai/tool/SearchPoemTool.kt:147-171 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/poem/src/main/java/com/wanbaohe/poem/ai/tool/QueryPoemFavoritesTool.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7c3b83e9ccb83ea2c06cbe88a32eb9fd74d1effd5972784dafd3e08b40b7dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:133-148 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:133-148 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:133-148 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca4fce7606b9600caaed67813f951148e35651c6847cb6b5d981d9bf118c1cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt:690-703 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt:790-806 \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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c551963bc422bc812d97b445ea4832b1bc554c702ba686e2ac9af92bad074f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt:1470-1480 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt:1928-1937 \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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda712b34070f66433a3624a999b3835f2da8b2a4f936916b56428464aeaba3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/dsl/DynamicUiBuilder.kt:350-365 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/modifier/ModifierRegistry.kt:113-122 \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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/dsl/DynamicUiBuilder.kt"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c87300dd8e2a6283ed7bc3f8f426c151165dc815357042232564c247c726d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/parser/SchemaToIrMapper.kt:181-196 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/parser/SchemaToIrMapper.kt:198-207 \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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/parser/SchemaToIrMapper.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9de0a05b42d30ed79bb797d78d68f9ce0b882491737eda1225babac774ead7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/InteractiveToolRuntime.kt:451-472 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/InteractiveToolRuntime.kt:476-497 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/InteractiveToolRuntime.kt"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"56697fb1e610a0a5a0fc8041657ea16809182f077037ba8a0cd5e124252059cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/BrushSoftnessSelector.kt:46-67 | feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/components/SpacingSelector.kt:45-67 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/BrushSoftnessSelector.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e3d34997abcc143e74a7443dfec00045e4a3d204274ba5de627b26af28df3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt:286-304 | feature/period/src/main/java/com/wanbaohe/period/screen/PeriodMainScreen.kt:197-216 \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":"feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c8462553c83823e2fed7f93994f6f5b6cbc7d0cf8c3d86fe5ac7b6fa66a03e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): feature/ai-detect/src/main/java/com/wanbaohe/aidetect/component/AiDetectComponent.kt:142-157 | feature/ai-detect/src/main/java/com/wanbaohe/aidetect/component/AiDetectComponent.kt:181-196 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai-detect/src/main/java/com/wanbaohe/aidetect/component/AiDetectComponent.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"648a1f59ac6a9d842c7cba204791ef07d86a7efe6abc027a824d6af1281cd8d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/ChessMoveFallback.kt:42-64 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GomokuMoveFallback.kt:45-67 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/HeuristicMoveFallback.kt:40-62 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/ChessMoveFallback.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a683bb254e12c8858461146812456389ba731b9ce67e34ac3840f1d5fe76a91c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/DrawPathModeUtils.kt:279-297 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/DrawPathModeUtils.kt:304-324 \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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/DrawPathModeUtils.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6bd0c14cef7397485662a8da104f5e082e1fdb3d8c86d1d53222f73245616e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:395-399 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:177-181 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:329-333 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"684c0d3c5c6fa09d89fe6038f7c017ff57b7e98db786eb4c393608364c005f20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/base/src/main/java/com/shifenmiao/base/audio/NetworkAudioPlayer.kt:67-84 | core/base/src/main/java/com/shifenmiao/base/audio/NetworkAudioPlayer.kt:115-133 \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":"core/base/src/main/java/com/shifenmiao/base/audio/NetworkAudioPlayer.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff127dca0cdf684861be60a18a1669aa573fe7f33814f462a8b7d0ee5a59815"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1061-1073 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1076-1088 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"872502121d0711f1256242f296292ec4a3d1e44d9d6b251770dbd6de9c99665d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): core/ui/src/main/java/com/wanbaohe/base/ui/empty/EmptyStateGuide.kt:165-186 | feature/common/src/main/java/com/shifenmiao/common/markdown/OneBoxMarkdownCodeBlockHeader.kt:91-113 | feature/online/src/main/java/com/shifenmiao/online/ui/HomeCreationExperience.kt:178-200 \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":"core/ui/src/main/java/com/wanbaohe/base/ui/empty/EmptyStateGuide.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dbcb39e13ae0b157fb1bb0914ddd0e770be102b648ec41f898f39b70f7d14b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/ObjectDetailSheet.kt:198-216 | feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/components/ZipArchiveList.kt:378-397 \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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/ObjectDetailSheet.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52703e02b137081d361c62c1f4a18407a22f70d73f3e6b5cdf2e6498b7aba93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:320-335 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:203-216 \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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a03a5e580711d5e68a233a94405ec8585e43ddfcd349e7a23cce4726817ef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): feature/media-player/src/main/java/com/wanbaohe/media/ui/MediaControls.kt:188-209 | feature/media-player/src/main/java/com/wanbaohe/media/ui/MediaLibraryContent.kt:306-325 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"feature/media-player/src/main/java/com/wanbaohe/media/ui/MediaControls.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fec8b7253e206687033b6d1feeaae4dad7c9f97d1461a2dff5b9fac8a1c3ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt:340-351 | libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt:353-364 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"5904cc1f4d5ebbb0916b6f93734d1e4e574220cbeb1f1214fc90784081abd513"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:889-900 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:924-935 \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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"921c998161dbfdd73d3798f7be9684bef8e7a5302de661213e59b02f6894fd05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/ExifMetadataParser.kt:96-109 | feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/ExifMetadataParser.kt:114-131 \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":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/ExifMetadataParser.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aba0952a5bdc6bf27b739d7ec8879e543f955a8efde46c394e88854854ea40a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessLibraryComponent.kt:122-137 | feature/chess/src/main/java/com/wanbaohe/chess/component/ChessLibraryComponent.kt:140-155 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuLibraryComponent.kt:137-152 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiLibraryComponent.kt:123-138 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiLibraryComponent.kt:141-156 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 16 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessLibraryComponent.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7853916fc1c33e3404d78ef5a9aaa3b2b379101aa2b793749547054526c8c765"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/domain/BoardSetupDraft.kt:50-62 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/BoardSetupDraft.kt:53-65 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/BoardSetupDraft.kt:49-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 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":"feature/chess/src/main/java/com/wanbaohe/chess/domain/BoardSetupDraft.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaba5386c8fd6b3b830a651faf39a4ff776a944bc05ae7b2b8b72b2a95c9884"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/domain/GameArbiter.kt:77-91 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/GameArbiter.kt:71-81 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/GameArbiter.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7dad2a8849f5297f640a15ac9a6719934f5dbefdd1c02d144e5c162107ff26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:688-700 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:632-645 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:654-664 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"8909b7eea75ee7dc82962124f0354b82c24a323d12b85fd1d1c22b7526ff4bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/SmbFileSystemAdapter.kt:144-163 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/SmbFileSystemAdapter.kt:299-316 \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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/SmbFileSystemAdapter.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7391dd0bfefdf9cade048176047d5f9b81d66428aab51f57141e338357edca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/sudoku/src/main/java/com/wanbaohe/sudoku/component/SudokuComponent.kt:254-269 | feature/sudoku/src/main/java/com/wanbaohe/sudoku/component/SudokuComponent.kt:271-282 \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":"feature/sudoku/src/main/java/com/wanbaohe/sudoku/component/SudokuComponent.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1499d6260919bfc9375028307b03674bcba78b18af2c65b759ad1166f81e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 12\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:402-414 | feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:416-428 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:505-516 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:518-529 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:381-394 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:396-409 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 12 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"5830e9b4bf7b4eaa7f688be1650ceeca9e61f87948639651060f89124a8cd979"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:735-742 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:688-695 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:703-710 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"793c9530a0236414d0bd00661d1b8bfdd6abf82a8ab3226266e8e6dc1d3ce425"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): feature/common/src/main/java/com/shifenmiao/common/file/PngAigcInjector.kt:133-141 | feature/common/src/main/java/com/shifenmiao/common/file/PngAigcInjector.kt:147-155 \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":"feature/common/src/main/java/com/shifenmiao/common/file/PngAigcInjector.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2a6cd1753637a0db8cfdcdfd67d3eadecd4ff603dc81e7d93955763f7a61fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): feature/device-status/src/main/java/com/wanbaohe/devicestatus/screen/PhoneStatusFormatter.kt:122-131 | feature/speed-test/src/main/java/com/wanbaohe/speedtest/data/SpeedTestRepositoryImpl.kt:197-206 \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":"feature/device-status/src/main/java/com/wanbaohe/devicestatus/screen/PhoneStatusFormatter.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5e8cbb7d7c96662f25ddf0655efb9107db27c818162a2a395f377cca8a0e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): feature/iching-divination/src/main/java/com/wanbaohe/iching/domain/IChingInterpretationService.kt:130-142 | feature/poem/src/main/java/com/wanbaohe/poem/service/PoemInsightService.kt:147-159 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/iching-divination/src/main/java/com/wanbaohe/iching/domain/IChingInterpretationService.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3d478ec919cab0d340fecd43282b5e6485f44cb91b9f661cf9acca9c35bebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaExtensionHeader.kt:45-66 | feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaSizeFooter.kt:45-66 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaExtensionHeader.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf60201b94e28a0aa5bdc3038d903aa6fd424ac9f5a333da94175ad34766a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:149-157 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:146-154 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:230-238 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:158-166 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:170-178 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3350014718cf41387724dbee1476519aff1b77b33457aa7caab26054ed69cc42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/dsl/DynamicUiBuilder.kt:385-401 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/modifier/ModifierRegistry.kt:125-141 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/dsl/DynamicUiBuilder.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fdda81d4cb97cba53fe075acc1f9d27c0bc7feca138348780d1b341a23cdf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheetComponent.kt:219-242 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheetComponent.kt:367-393 \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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheetComponent.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d4c34ba999b21fdd42a6a8c2f0291489ee2832ceee5cd5a1423ff485e94550"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EdgeModeSelector.kt:44-63 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/MirrorSideSelector.kt:45-65 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/TransferFuncSelector.kt:45-65 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EdgeModeSelector.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"04de75b04edeb8fe06d3817132a40edecdd0cabc36b97d7ca4cbcd7f05fc3c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content_pickers/FileMaker.kt:85-109 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content_pickers/FolderPicker.kt:71-94 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content_pickers/FileMaker.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ba35a0b0458093af5f2b3979730c49d5b52e76568f1894d77ce9d52785911c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/AiPickerBottomSheet.kt:164-180 | feature/common/src/main/java/com/shifenmiao/common/ui/ai/AIModelPickerSheet.kt:516-532 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/XiangqiAiPickerBottomSheet.kt:331-347 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/AiPickerBottomSheet.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"516a7ee7f45bdc2e7adf542d7838381bde7de89de4a51e903c6304f746ff4aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt:67-73 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AudioFeedbackUseCase.kt:66-74 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7edb9dde004555fc854459feb7e6d1434a0d84f8835c9a24e09256b23e5a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt:142-160 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt:154-171 \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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dfac8919be0a41d4bee6a39eb615989db94fe537ab253a4578bf917103d816"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 14\u002B corresponding lines): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/BlackHatFilter.kt:44-58 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/BokehFilter.kt:44-57 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/ClosingFilter.kt:44-58 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/DilationFilter.kt:44-58 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/ErodeFilter.kt:44-58 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/MorphologicalGradientFilter.kt:44-58 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/OpeningFilter.kt:44-58 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/TopHatFilter.kt:44-58 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/BlackHatFilter.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a882f7f0516122695b514f4b3e59cd95db56b07d17d2fbe4bb084c1195d0f4b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/tab/CheckInTab.kt:238-258 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/RecordListScreen.kt:605-621 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/tab/CheckInTab.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74da880fd24010c7d2eb6c59fce06aa2b778e28afb6efc00397167e8dd0f249"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/data/OcrModelStore.kt:134-147 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/local/XiangqiEngineWeights.kt:225-236 \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":"feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/data/OcrModelStore.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e8a10b86a0cdabf2e6e7e4e997534e8de5f95c18fa238056ece2e2d71d8821"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphIrRenderer.kt:244-245 | libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphIrRenderer.kt:248-249 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphIrRenderer.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a999482e61ecb16bc0ddf7d9b43f7e898f557b5fbef4e8cc63c2ea158a02a9c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt:124-131 | feature/app/src/main/java/com/wanbaohe/app/ui/AIGlobalActionOverlay.kt:51-58 \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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"990b19efa1f34002b1b9bca3f6b0208f8abfea987ced4def2a5ee38efa79ebe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageGetter.kt:187-199 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/ContextUtils.kt:790-802 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:150-162 \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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageGetter.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eafa6fdfec41793a8780a698c1b2f2af46cdd2427fc5f9f1225fc7398d94801"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessLibraryComponent.kt:102-120 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuLibraryComponent.kt:101-119 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiLibraryComponent.kt:107-121 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessLibraryComponent.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b66eb7f9624b19e26a10c7d80913917e74f25d58e282fd7069880e78c7dc380"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/presentation/AiOpponentDisplay.kt:27-36 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/presentation/AiOpponentDisplay.kt:27-35 \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":"feature/chess/src/main/java/com/wanbaohe/chess/presentation/AiOpponentDisplay.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a82477f6a40cfe7338ba8cd4e3cae5eae103b9b7dc65d251a34ee0366af3905"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/settings/src/main/java/com/t8rin/imagetoolbox/core/settings/presentation/model/UiFontFamily.kt:160-176 | core/settings/src/main/java/com/t8rin/imagetoolbox/core/settings/presentation/model/UiFontFamily.kt:178-190 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/settings/src/main/java/com/t8rin/imagetoolbox/core/settings/presentation/model/UiFontFamily.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5eecf4b08ec63a6acf60210e53f835f952290ee06c75850ba865f100e8e10e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt:108-116 | feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt:127-138 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ImportGameUseCase.kt:130-143 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ImportGameUseCase.kt:89-100 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c9bd2ca0f89552111ffb22e030f00d3c3e936d73d588f076ef28b3a5b5ab6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt:90-105 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GameDaoAdapter.kt:88-103 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/GameDaoAdapter.kt:89-103 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"277e1ccabab54471e848943e618b1beb777278f2204864aa4fb954f8f1ef3a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): feature/compass/src/main/java/com/wanbaohe/compass/ui/CompassDial.kt:206-221 | feature/compass/src/main/java/com/wanbaohe/compass/ui/luopan/LuopanDial.kt:286-294 \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":"feature/compass/src/main/java/com/wanbaohe/compass/ui/CompassDial.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba0f95c23e8c71824769ac82c4263357992f78905a7b678318710ae214fbf84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:842-868 | feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:874-903 | feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:912-941 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"162838c3f0343af4226a36f66324fd56a41f7c31800ba0039f208c7b79da15af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt:186-201 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt:442-457 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"030c01f4b6de176f4f8b88e2a492fbf363da639071653fd892675b13ac5b6390"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/period/src/main/java/com/wanbaohe/period/model/PeriodCalculations.kt:41-48 | feature/period/src/main/java/com/wanbaohe/period/model/PeriodCalculations.kt:125-133 \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":"feature/period/src/main/java/com/wanbaohe/period/model/PeriodCalculations.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cbb6292d6f4d2ccff4d84051575027acec62e80de3a9423b72514921f42c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:79-101 | core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:115-136 | core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:147-167 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 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":"core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7add6c8a03ac52a7850b6c7496c7205e823be07dd00dcdd70a1ca3749d86dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt:51-57 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/GameQueryUseCase.kt:51-57 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/GameQueryUseCase.kt:46-52 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a32ed101c23fb107d74ace54d104cf84618299f143e42efec60b6799eb401fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:323-329 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:108-114 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6180e39bfb885f2c061de2d1bd830c9badf06acc22737d6359404ce889afa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt:58-78 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuLibraryScreen.kt:59-79 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiLibraryScreen.kt:88-108 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf70732f6584c33e0ee12f2ae8dd70c2705215da9356b32dc5a830cf3adf5815"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt:683-701 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/panels/PanelControls.kt:91-113 \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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a594f3856c2e081a0b97ee502fba4b29b70f3d6ab652b6f4730f5d2058f74bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:192-198 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:167-173 \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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f781886fd40215d77d304c53f200674fa4ed33a10cc202c572b15036a4dcf33a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:324-340 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:326-344 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:322-338 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"2632ed2107abb2783a71f5537b3f3827bb0f765a84c88a899020d27c8c46620d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/SourceTextEditing.kt:58-71 | feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/SourceTextEditing.kt:77-90 \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":"feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/SourceTextEditing.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dab5d4773c4d59d61597cc88b9feb2c4a81e2834eee26263537c311f8de14c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:465-483 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt:523-541 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt:385-400 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"2873efe5de3decc56053261fd136e93b9f98bf6f2ebe2eefffe6ab4b26d90363"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ImportGameUseCase.kt:109-119 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ImportGameUseCase.kt:72-78 \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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ImportGameUseCase.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"348f826bfa7234995e8bc93a370eebba29830e51fa03756a4e0142ca52d82391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddEventScreen.kt:339-347 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeScreen.kt:722-736 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/EventPickerSheet.kt:277-286 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddEventScreen.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4b7fbd5d8d7ce6fc3159339f6dbb1da355c0024f3e00ec9dd0d410bc18e1c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt:698-706 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/TextCardDocumentCodec.kt:552-563 \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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"043424347820526fc8f989c95756d2524c280470d82720b71cd3f621156bac2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:382-395 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:322-333 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d393c1f76fa2c1b152c5a6f568bd6b45f27ec3d5a9ab49e0c33cdb3cfbceb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): core/base/src/main/java/com/shifenmiao/base/utils/ColorBuilder.kt:38-54 | core/base/src/main/java/com/shifenmiao/base/utils/ColorBuilder.kt:57-73 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/shifenmiao/base/utils/ColorBuilder.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bee9ab173595b776a64f5c7bc3e7a96bd913a95955c68362f9840321241c91d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): feature/ai-image/src/main/java/com/shifenmiao/ai/image/controllers/AIImageComponent.kt:113-130 | feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/screenLogic/CropComponent.kt:288-306 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/screenLogic/DrawComponent.kt:428-446 | feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/screenLogic/GradientMakerComponent.kt:484-506 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai-image/src/main/java/com/shifenmiao/ai/image/controllers/AIImageComponent.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"56488f6a27b6d774a2a814d2f95f7c9370f34e799fcc35e7bf39fa26484646a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:129-144 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:157-175 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbd51e0c7f9a952c08add4e64d8c9b56f9ee764bd3418981ccec6ca80f67c3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/BackgroundPanel.kt:62-77 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/BeautyGroupPanel.kt:71-87 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/BackgroundPanel.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c39b606fc622f67f78f0b24c7ede8dc377e55d3882ae55189da122282a88dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): feature/image-viewer/src/main/java/com/wanbaohe/imageviewer/components/ImageViewerScreen.kt:223-238 | feature/image-viewer/src/main/java/com/wanbaohe/imageviewer/components/ImageViewerScreen.kt:245-260 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/image-viewer/src/main/java/com/wanbaohe/imageviewer/components/ImageViewerScreen.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5a80d342f85c437e20964957515a35264fc3db1d92aaa8eb48e7bc54ff68a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageTransformer.kt:66-83 | core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageTransformer.kt:89-104 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageTransformer.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c689c5339d8b5fe1bf069da2d833b4d3edfec27f87f59294f403411a19702a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt:100-105 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt:108-113 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:386-391 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:394-399 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"576e9d5992776793f081cbe91096f3d79365d8c3bd537d4e2d6904d61983891a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/AgentJsonEditorComponent.kt:113-130 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt:549-565 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/AgentJsonEditorComponent.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5bbaf431e9d43f54a37a44bbaa2866c6bb3aef65ef2973cae366863ac49838"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): feature/calendar/src/main/java/com/wanbaohe/calendar/data/LunarJavaBridge.kt:259-269 | feature/calendar/src/main/java/com/wanbaohe/calendar/data/LunarJavaBridge.kt:271-280 \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":"feature/calendar/src/main/java/com/wanbaohe/calendar/data/LunarJavaBridge.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b398545b0ce997428e6a9e575ad4c1e6bfdaa944d5605c23fbd264ae86cb0a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt:92-100 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AudioFeedbackUseCase.kt:92-100 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AudioFeedbackUseCase.kt:96-104 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"40460ea46b0f497a72ddf852a172f3503fc2e53a3957bede22897052e24cbeb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt:85-99 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/GameQueryUseCase.kt:83-97 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/GameQueryUseCase.kt:78-94 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0badb8ad3ef9aaf1baffa10e93a70875151c23b3cd44e2aa9fec4ef35e8372b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:823-833 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:947-957 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:814-824 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d858474022227ef52d09cd92f6e3cd2b0213c91f7f6f1463a2fa07c1b8b7ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/service/ChessServiceImpl.kt:75-85 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/service/GomokuServiceImpl.kt:75-85 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/service/ChessServiceImpl.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"802f567119c0ac6fd28fe5c2720c85e34f95577d7761f13d45b500bb415e75f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:528-552 | feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:579-602 | feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:1365-1384 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ce8bd718561559e2e255f70884a180a63c8cc92586dde2f67b4ce98daaa44d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/storage/src/main/java/com/shifenmiao/storage/SearchHistoryStore.kt:35-49 | core/storage/src/main/java/com/shifenmiao/storage/SearchHistoryStore.kt:64-83 \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":"core/storage/src/main/java/com/shifenmiao/storage/SearchHistoryStore.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd645deaa001db39b3069d7e00277974363509e020fe7b3c796ca113121ef16b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/utils/src/main/java/com/wanbaohe/com/string/TimeFormatter.kt:154-164 | core/utils/src/main/java/com/wanbaohe/com/string/TimeFormatter.kt:169-180 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/utils/src/main/java/com/wanbaohe/com/string/TimeFormatter.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1a26cb0530e0317d64571e850eb77eff1a5090feace6bde8cb672b99a64eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:682-692 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:710-720 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"282e2a4b204448b61e5346ae4faead534a4ddf4d0bddf054770834154b45e3ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/repository/DefaultPromptRepository.kt:34-46 | feature/ai/src/main/java/com/shifenmiao/ai/repository/DefaultPromptRepository.kt:48-62 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/repository/DefaultPromptRepository.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6f6bee112538dd2c87c456ee424e553ab487f1d2191cd1c05011aa1fa91cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/domain/BoardSetupDraft.kt:64-72 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/BoardSetupDraft.kt:67-76 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/BoardSetupDraft.kt:63-71 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"feature/chess/src/main/java/com/wanbaohe/chess/domain/BoardSetupDraft.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bfa1b2046819f624608c69624e8e7bb7638b36ce70fcbf0657cb0e74cfc6f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:54-67 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:94-107 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:139-155 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:172-185 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e529e723af0d331916ecd94d7a25de5f9a098a05774d1efdff37abb6e16173de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt:1523-1538 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt:1560-1570 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"2493d8acbd859c95ee469f9d42d56090a0bbb907c819beb0353b80179a4e0237"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/settings/src/main/java/com/t8rin/imagetoolbox/feature/settings/data/AndroidSettingsManager.kt:698-711 | feature/settings/src/main/java/com/t8rin/imagetoolbox/feature/settings/data/AndroidSettingsManager.kt:716-729 \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":"feature/settings/src/main/java/com/t8rin/imagetoolbox/feature/settings/data/AndroidSettingsManager.kt"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48841c60c5c9bc460bda316de0d35eda1a80e0685e94e6dcbd28289f4418138"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:341-347 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:559-565 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb7fbe7991e5c7f12e3e07e7c774c68b6fc64e725d8e536d4c4192223c39b38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:133-143 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:121-128 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6685324a53a96c8601843eaab21b1530a0d8bdd625c8f370613dc1a6659242ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:183-186 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:197-200 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0be1192f7766e98cca93d93475629b842d83f130c569528a4eb2c97423671e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt:198-208 | libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt:311-322 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fb3d985d189dd850db3e5714de61bf96dc03b025f41981c69dc47ec1fc8095"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/LazyUtils.kt:59-74 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/LazyUtils.kt:91-108 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/LazyUtils.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb1ec2fcad1201130c97c85aaa4ab2af410dae002fc969b01071806c60b1644"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/AlphaSelector.kt:52-70 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/LineWidthSelector.kt:49-68 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/AlphaSelector.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"730880f945a2eeeef7b4ae2a836a43dd0c45f368eb627ce7c6aaa6f67fb5bbed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:286-294 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt:286-294 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageXiangqiTool.kt:286-294 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"f536a7897dc431c8dcde2b4a06dd1531c5bac5772bf6e185b0352b11af0836d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): feature/app/src/main/java/com/wanbaohe/app/app_screen/FavoriteScreen.kt:999-1004 | feature/translator/src/main/java/com/wanbaohe/translator/component/TranslatorComponent.kt:350-355 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/app/src/main/java/com/wanbaohe/app/app_screen/FavoriteScreen.kt"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fb6d1eb37f4f189923413ccca791bda65bfe7a0b12ef2e728293f3545eb261"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/calendar/src/main/java/com/wanbaohe/calendar/calendar_view/screenLogic/CalendarViewComponent.kt:111-117 | feature/calendar/src/main/java/com/wanbaohe/calendar/calendar_view/screenLogic/CalendarViewComponent.kt:120-126 \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":"feature/calendar/src/main/java/com/wanbaohe/calendar/calendar_view/screenLogic/CalendarViewComponent.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ee268ec0f79b8fddb6973b2cf0d0079d0bb7f2011b8d147ef60bc16e19b422"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt:114-125 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/LlmMoveChooser.kt:114-125 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/LlmMoveChooser.kt:113-124 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd35dba07614a64dde9977a0c67755b7cf3f8a314eb675124c68b253e15ac173"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt:162-181 | feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt:282-298 | feature/period/src/main/java/com/wanbaohe/period/service/PeriodService.kt:173-186 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc8adabdefad68be4110a1be3bc3f391d30a47cc6f5d398c9dbc91c5fe085d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt:326-332 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt:439-449 \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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"652aef703f22e036206b22fdc3607aacb0b5718d9675f0aedba02d8acbc9866a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:305-321 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:323-339 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:363-379 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0407dc2b4ddee527bc2e135a3ca006012c5654a8f3f4c59908e269abec544c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt:108-118 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AudioFeedbackUseCase.kt:108-116 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AudioFeedbackUseCase.kt:112-126 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"508a156aeed336035651e4f47106dd20803bc2c3a1cc5f14fed896c0a786f71a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/TodoDetailComponent.kt:355-366 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/TodoDetailComponent.kt:368-379 \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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/TodoDetailComponent.kt"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"17272ef4fd2c96c71747a02b33e19f586ade988049b472c956f576eb19c64c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt:2758-2775 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt:2777-2795 \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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt"},"region":{"startLine":2758}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26cbe5d21e68b317ff3c7c8c98f601523346db67ece7bf6a714a9729abc532f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/data/MmkvOcrHistoryRepository.kt:114-121 | feature/translator/src/main/java/com/wanbaohe/translator/data/MmkvTranslationHistoryRepository.kt:88-95 \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":"feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/data/MmkvOcrHistoryRepository.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb48c318edb28d4dce946d1b1a5875f4f02d35cea7e68ed52f6033185e17f69e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 5\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt:221-225 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:993-997 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:627-631 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:647-653 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:477-481 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a1239330c75c90a99fc0c89f18594a2656c911ec54ce43bbacd2aafe2ca3ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/CompareButton.kt:45-60 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/ZoomButton.kt:45-60 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/CompareButton.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef8dd7b3299ebf0c950b686b32574d6aed5c819333b4524f1794c397b6a8da9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/domain/GameArbiter.kt:174-184 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/GameArbiter.kt:107-113 \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":"feature/chess/src/main/java/com/wanbaohe/chess/domain/GameArbiter.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9e85c0b87cd57bc8700af436dc7687317bcbaba854270e461995849229bd1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:195-203 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:191-200 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:219-228 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:251-262 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3755a916cfbf390708715d8b3ce05c2c8fdbdce1572283b13cf10dfbf5cbc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:266-276 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:260-270 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:291-301 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b3d18ddb56a497035abd47af5a7019b5e502a3bc8542d71915fe9130b7a102"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/screenLogic/DrawComponent.kt:384-397 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/addEditMaskSheet/AddMaskSheetComponent.kt:212-226 \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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/screenLogic/DrawComponent.kt"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3faed855db76d3b9e6d1e9cccbe967258db8cec47b9081694c5a768c28e28c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/screen/components/ChatSessionList.kt:48-62 | feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/screen/components/ChatSessionList.kt:70-87 \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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/screen/components/ChatSessionList.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"98be339337c1b922aad6734e6e707dc5a6f79af5432d13742699c99d7b4bd43e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/screenLogic/ScanQrCodeComponent.kt:149-169 | feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/screenLogic/ScanQrCodeComponent.kt:180-199 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/screenLogic/ScanQrCodeComponent.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a280699ef2cec4464cda7cac9e00079eea51808fa04a2ee61e0c3286aa2f9005"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): feature/search/src/main/java/com/shifenmiao/search/logic/SearchComponent.kt:137-152 | feature/search/src/main/java/com/shifenmiao/search/logic/SearchComponent.kt:154-166 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/search/src/main/java/com/shifenmiao/search/logic/SearchComponent.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed373e775433f257acedf2f05886c67b521392b9437e26e8ef3e27837d55a95f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:527-535 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:335-343 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:345-353 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:354-362 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c3cf703182598370ac8bbc11e0efe55f010ffd0c97f459a4109ce8c54d9d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): feature/base64-tools/src/main/java/com/t8rin/imagetoolbox/feature/base64_tools/presentation/screenLogic/Base64ToolsComponent.kt:102-119 | feature/base64-tools/src/main/java/com/t8rin/imagetoolbox/feature/base64_tools/presentation/screenLogic/Base64ToolsComponent.kt:140-158 | feature/base64-tools/src/main/java/com/t8rin/imagetoolbox/feature/base64_tools/presentation/screenLogic/Base64ToolsComponent.kt:160-179 \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":"feature/base64-tools/src/main/java/com/t8rin/imagetoolbox/feature/base64_tools/presentation/screenLogic/Base64ToolsComponent.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33bb027126a09091b6ff15ade803cbcfe05a4fc48f947b4681eb3165a73a783"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ExportConfigPanel.kt:193-214 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/IdPhotoExportConfigPanel.kt:201-220 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ExportConfigPanel.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbb1d848dc6c520a5ce1d39ff52dcb78885603382d740a1430c4b8df50cb64c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:1527-1550 | feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:1589-1612 | feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:1622-1649 | feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:1657-1680 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"008df99444eab8dd1d50ced3fa8afdacf00f50d8895edc0b7b6b47fabcaf2f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:530-543 | feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/screenLogic/WatermarkingComponent.kt:691-702 \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":"feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b984928ffb7cd5ccdb1a6fffa3af9803ca618bef1d12cf70263d9ea7f2d256"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiAnalysisComponent.kt:261-275 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:621-636 \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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiAnalysisComponent.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc976e455fda9f611ff91499fb9aa47aacc89903cf56f88bdc7da362fd50553"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TabBlockRenderer.kt:59-69 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TabBlockRenderer.kt:76-86 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TabBlockRenderer.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab9c47c15636cff228aaf81c8b38451f60c35821ea1062edb37942f0d0adf31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt:403-411 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt:413-424 \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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e310101f560a3ac4fce140066c16ab600fc6c20bc8987e412e494d1a7ce513e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt:113-124 | feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt:126-137 \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":"feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b442a9eab661ce6ae922a9090c3937cca52f3f5f0d32972edb222309d5e767dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/service/ChessServiceImpl.kt:112-127 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/service/GomokuServiceImpl.kt:112-127 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/service/XiangqiServiceImpl.kt:105-120 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 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":"feature/chess/src/main/java/com/wanbaohe/chess/service/ChessServiceImpl.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c95e05ce3553612936732d0f2102fdaba4984e91a0d05ad4df4362ef38d8080"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/code-editor/src/main/java/com/wanbaohe/code/editor/component/CodeEditorComponent.kt:375-386 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt:495-506 \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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/component/CodeEditorComponent.kt"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edd34f1c8722a30741bce77ee30cfece20e46dcb98c285355d7de583bb706dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): libs/cropper/src/main/java/com/t8rin/cropper/draw/Overlay.kt:181-200 | libs/cropper/src/main/java/com/t8rin/cropper/draw/Overlay.kt:218-237 | libs/cropper/src/main/java/com/t8rin/cropper/draw/Overlay.kt:255-274 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cropper/src/main/java/com/t8rin/cropper/draw/Overlay.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e989fdb8bd9aab9e23e285e634866182340d2ae00766a89d8ee2a746cbd1e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:407-413 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSequenceSubPipeline.kt:195-201 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSequenceSubPipeline.kt:203-209 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bb89429d9423cdab25382399b727292177069469d9c18a60f2328d28dbebe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): app/src/google/java/com/shifenmiao/app/push/OneBoxFirebaseMessagingService.kt:99-111 | feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferService.kt:184-198 | feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferService.kt:203-217 | feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/reminder/HabitReminderReceiver.kt:90-102 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/google/java/com/shifenmiao/app/push/OneBoxFirebaseMessagingService.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d61d42b8edefb9ac8a599b09f1c36f20e852cadfc9686f1d83c50b3ffaa25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/DrawUtils.kt:41-52 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt:530-541 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/AndroidFilterMaskApplier.kt:185-196 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/DrawUtils.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2736fe79818ef5b4de410ec426c49977771af61243f360a546b1a30c1f5ea41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/AutoContentBasedColors.kt:64-78 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/AutoContentBasedColors.kt:96-108 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/AutoContentBasedColors.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59992674c8dd04ad53ee3bad9d54fa2228154fae1b72abd403e830d68c93dec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/app/src/main/java/com/wanbaohe/app/ui/AIQuestionContent.kt:234-252 | feature/app/src/main/java/com/wanbaohe/app/ui/AIQuestionContent.kt:261-279 \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":"feature/app/src/main/java/com/wanbaohe/app/ui/AIQuestionContent.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3db1f800edb82415a24450b0481dad684f8c25f48b2d6ecba2ccd158a6a9b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt:73-83 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/CreateGameUseCase.kt:86-96 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f30283976eaf8a06dc52a1717763e54a4f8bb4af960931520bdd0c60ad6e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/domain/FenCodec.kt:87-101 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/FenCodec.kt:63-77 \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":"feature/chess/src/main/java/com/wanbaohe/chess/domain/FenCodec.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3194da9375b465fb05c90b0cb5aaf9111a4d90f89f918b38a08d2a0d15c8613"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SessionStore.kt:598-607 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SessionStore.kt:669-678 \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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SessionStore.kt"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a793837483e86edd9e9de10524ef13230bfb4a0c25cb439216b4a8096fa1bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/reminder/HabitReminderScheduler.kt:77-90 | feature/schedule/src/main/java/com/wanbaohe/schedule/reminder/ScheduleReminderScheduler.kt:79-92 \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":"feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/reminder/HabitReminderScheduler.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"397115ef03dd5c526d2afaaa667830331ddcafc2714291cc75d243e4c15e3b4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt:306-313 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/domain/PointsCost.kt:25-32 \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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b6c3813ae0514436cf0bb3757cf11b2f2674d28ebce5ea2cf0f7873740cc06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:518-525 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:345-352 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"185ae00553afa0c63e82d412b04247022ea9fa7a4a3237c4ba5403cd84eee9ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/ui/src/main/java/com/wanbaohe/base/ui/button/Buttons.kt:62-77 | core/ui/src/main/java/com/wanbaohe/base/ui/button/Buttons.kt:85-102 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/java/com/wanbaohe/base/ui/button/Buttons.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd002fc04ee9c3d5fde390647f536fcd8f6f0bcb5ceb0d1c0faee941999c9923"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/Downlink.kt:364-379 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/Downlink.kt:395-406 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/Downlink.kt:422-433 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/Downlink.kt:449-460 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/Downlink.kt"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"e830f233919c6939c6b4c3c753319ee091530e38a74273f885c0da4bf41b7644"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/TextLayerRichText.kt:66-71 | feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/TextBlock.kt:179-184 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/TextLayerRichText.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e8a6ff59b958b0078d9ad5f8b785be8a736b02d66597699074660f152ca29e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:486-500 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:547-562 \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":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8320e4cc8b6c969b92204babb6108500e598f997f39953ff1b6ce425658fd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/AdmonitionRenderer.kt:51-66 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/CustomContainerRenderer.kt:61-76 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/AdmonitionRenderer.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0ed602b245afb2b8235079b54bdcda786e03f290594203fe37df0fcfa49e94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/BibliographyRenderer.kt:29-44 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/MiscRenderers.kt:60-73 \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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/BibliographyRenderer.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"50684c33e9ba8c45fe121be696e3637673c88217e5e3ff813b1a161c4b952e11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/state/UiStateScope.kt:115-125 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/state/ValueExprResolver.kt:138-148 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/state/UiStateScope.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c5b7b9fcc16e40636d81dc23b7a38fcde3a2e0040c74c7472c9bffac109560"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt:545-551 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextBlockTransformHandles.kt:292-298 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38c93ad2b40bb1990bb0eae6246dca7179176a802024139a99432aa5b54f670"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:110-117 | feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:119-125 \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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"088365d4f5fb4d7c73cd0162a50ca24af1e6a7c2797ad505c48ca4d14fdb0466"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): feature/cipher/src/main/java/com/t8rin/imagetoolbox/feature/cipher/presentation/screenLogic/CipherComponent.kt:163-174 | feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/screenLogic/GifToolsComponent.kt:202-214 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt:192-204 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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":"feature/cipher/src/main/java/com/t8rin/imagetoolbox/feature/cipher/presentation/screenLogic/CipherComponent.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e0c2e5b6ed84f93edb5f40e4db8964250a5dedd5da8685fe5338f63787f8d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/EventNodes.kt:1026-1037 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/EventNodes.kt:1040-1051 \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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/EventNodes.kt"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b0c24de9da533ba0b363eeefe0d6236204b238d494904c984e7eef780669e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/FeedbackStore.kt:124-137 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SettingsStore.kt:177-190 \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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/FeedbackStore.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6566dc0ea225aaf27504faa58fb4a9ca8d3e54b54c9018eb469669d3e094b308"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/ChatWebSocket.kt:182-197 | feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/ChatWebSocket.kt:228-239 \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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/ChatWebSocket.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6067d07651fdda2ec0ec17b81b42288acfaa6123fb9367593e2f5b9976ca9d2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/online/src/main/java/com/shifenmiao/online/component/NoteItemComponent.kt:196-206 | feature/online/src/main/java/com/shifenmiao/online/component/NoteItemComponent.kt:208-218 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/online/src/main/java/com/shifenmiao/online/component/NoteItemComponent.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"973834a275880331abff5c613c3085b41a4afa068c180237fbce57f899899f47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/cache/DrawEntityKey.kt:35-45 | libs/diagram/src/upstream/java/com/hrm/diagram/render/family/EntityKeySegments.kt:7-18 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/cache/DrawEntityKey.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcd3f79eee95d98c001c3b047395b5556b4a41831f3af6bf4593b83ba245dc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 5\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:999-1003 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:633-637 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:364-368 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:483-487 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 5 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c35e6093b7e791ba03decc1d5d40067f09784273fb51676e04fd0551f80d8b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:380-397 | core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:408-425 \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":"core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89c1623ea53025413156cbaedfb4636517e9cff197c571cd29d012e159ddc88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt:488-495 | feature/app/src/main/java/com/wanbaohe/app/ui/AISpecializedQuestionField.kt:394-401 \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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6f44a2a8747614b434013fae0bc5fb109e54bcb8e0387eb15dbc593f857608"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCard.kt:242-251 | feature/common/src/main/java/com/shifenmiao/common/components/text/TextSelectionToolbar.kt:368-374 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCard.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd40bf9c3a00e2880e6244d3cbb41e61446c101f2146c188535d50dd8cdc3e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:971-977 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:1093-1099 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:900-906 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfad7027d9e93f5f7486e34e3af731179083f1d6b1a00c5ef0b3598c6c2b3035"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): feature/color-tools/src/main/java/com/t8rin/imagetoolbox/color_tools/presentation/components/ColorInfoDisplay.kt:309-314 | feature/color-tools/src/main/java/com/t8rin/imagetoolbox/color_tools/presentation/components/ColorInfoDisplay.kt:322-327 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/color-tools/src/main/java/com/t8rin/imagetoolbox/color_tools/presentation/components/ColorInfoDisplay.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"847a942d3032e5dd91a2d9bfdcfa4528fc319be1cac7f220fe21e812eaa6ea6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:187-204 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:183-197 \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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6ba8a31c8292efd73f6461035432d2af341e2e5e5221c4ee1f1b849951f439"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/password-vault/src/main/java/com/wanbaohe/passwordvault/detail/screenLogic/PasswordVaultDetailComponent.kt:94-106 | feature/password-vault/src/main/java/com/wanbaohe/passwordvault/edit/screenLogic/PasswordVaultEditComponent.kt:124-135 \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":"feature/password-vault/src/main/java/com/wanbaohe/passwordvault/detail/screenLogic/PasswordVaultDetailComponent.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fdc85334e1a1c79660644d4d84d97f7ad9b48693ffb9add720a8ddbf3f5b40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt:472-479 | feature/app/src/main/java/com/wanbaohe/app/ui/AISpecializedQuestionField.kt:370-377 \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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"e376c4f1ebcba461b9b5ae18d07bf23ccecbba5572a6e3d525c2019176667021"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): feature/ai-image/src/main/java/com/shifenmiao/ai/image/controllers/AIImageComponent.kt:95-111 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/screenLogic/DrawComponent.kt:351-368 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai-image/src/main/java/com/shifenmiao/ai/image/controllers/AIImageComponent.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e599685fe8aaf5d161852401aed472ea818ecd12b36c1cfd48c9e2cf8363c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/base64-tools/src/main/java/com/t8rin/imagetoolbox/feature/base64_tools/presentation/screenLogic/Base64ToolsComponent.kt:227-238 | feature/common/src/main/java/com/shifenmiao/common/logic/AppComponent.kt:752-765 \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":"feature/base64-tools/src/main/java/com/t8rin/imagetoolbox/feature/base64_tools/presentation/screenLogic/Base64ToolsComponent.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b2f6ab3410378a0644c8718ffb47ceb71f190b38d81c7895b776101b72efc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessLibraryComponent.kt:160-174 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuLibraryComponent.kt:157-171 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiLibraryComponent.kt:161-175 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessLibraryComponent.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca394257a29951e22b874d56bbb59d49b79ccf8c481485c527f7e3a1eacafef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:426-434 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:402-410 \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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ee8a0dfd9e748c2118beab8f28e6268d59c568f187ae410635b84f2612328b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/GoalStore.kt:57-66 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/GoalStore.kt:74-84 \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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/GoalStore.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c067f519cc382f8721fe51c218c8006f8f8ac3e0ccd31aa419142dcf0a815fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/file-browser/src/main/java/com/wanbaohe/file/browser/screenLogic/FileBrowserComponent.kt:368-379 | feature/file-browser/src/main/java/com/wanbaohe/file/browser/screenLogic/FileBrowserComponent.kt:381-392 \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":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/screenLogic/FileBrowserComponent.kt"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48b215a5b580da8b91caf52dc3204adb5b264dafb28514c38575bbfb11b0223"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:134-151 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt:153-169 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac611889eaa284f5060ba0abb21d6791eb3c39a0aec29b522e7862ed0f9e23e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/data/MarkTodoMapper.kt:84-102 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/data/MarkTodoMapper.kt:104-122 \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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/data/MarkTodoMapper.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7f187807f2b3c7af1397669aa7459797a055e220aed47fdf62d16f1407ad5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt:2152-2168 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt:2325-2338 \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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt"},"region":{"startLine":2152}}}],"partialFingerprints":{"codehealthFindingId/v1":"709f408086c6e85c199ceb101a985593611a28bb7cef81931473008a6e16e2e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphClusterLayout.kt:24-31 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:201-206 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphClusterLayout.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4fd1affead1c4b4f8a6f6d50b11349d9698d2943ee426f9700d15bdebb3726"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt:100-110 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt:115-125 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e3d5dfd0d61092b6e8bd01eacfbdd895a5e6167255c3beb9ac55bb6977b69a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/Pulsate.kt:42-56 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/RotateAnimation.kt:42-56 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/Pulsate.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fa261faf913b7868f298cd4ede545dbce4f85d181220b4bfb47afcfad58ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/BookkeepingComponent.kt:167-177 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/component/RecordListComponent.kt:227-237 | feature/teleprompter/src/main/java/com/wanbaohe/teleprompter/component/TeleprompterComponent.kt:121-131 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/BookkeepingComponent.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d042eb63a00fcbbaedd458c854446ed418b269738f186e145d0e8e2a9e9da11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt:131-137 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AudioFeedbackUseCase.kt:139-145 \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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bdbbb3cc7058f33c45f9f9ba95c34a2c65d1de4f73f9d5a41d687adff4cc0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/domain/model/GameSetup.kt:48-54 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/model/GameSetup.kt:48-54 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/model/GameSetup.kt:47-53 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/model/GameSetup.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f30b9d96ef075e29937cecbb9d37f584aface5f95cc66a99080237689f782c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/domain/model/GameSetup.kt:65-71 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/model/GameSetup.kt:65-71 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/model/GameSetup.kt:63-69 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/model/GameSetup.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31ba35b0e974e0a0bb4d713018ba246a30dcd83ad6c936541a14a03e06100ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screenLogic/CloudStorageComponent.kt:284-296 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screenLogic/CloudStorageComponent.kt:298-307 \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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screenLogic/CloudStorageComponent.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"af405bc6157e8b668cb3c178da144289529a44c488e70a5c1c9d5466bfc1cfcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/screenLogic/CompareComponent.kt:206-222 | feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/screenLogic/CompareComponent.kt:325-342 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/screenLogic/CompareComponent.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a41d833f2ae97c24ecf31dfc8a500473494684c4dbf7fa39a2ab6e3693a2521"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:1135-1142 | feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:1017-1024 \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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3c88a298b8d2479556bc1afb2a8e9f9d4dc8a36d45ed83b2acf335c4b24716"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt:544-552 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt:554-562 \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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5a89f7493c218b0084e3dcc915a9476cdc0b0949a9b1c8d3be26e48fd8d2df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserComponent.kt:481-496 | feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserComponent.kt:658-676 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserComponent.kt"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a70f69cc72113c2fb32651e68360bb00268cdadd4f1d88d14dcc707621eb1b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidShareProvider.kt:307-318 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/ContextUtils.kt:762-771 \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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidShareProvider.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ea44b527fd4e7e4c6dc04f767c1fa6fdc9200c39354867a0b047e384f91902"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/ScaleSmallImagesToLargeToggle.kt:43-54 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/resize_group/components/UseBlurredBackgroundToggle.kt:45-56 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/ScaleSmallImagesToLargeToggle.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7e176ca207117513566028e1cfc1693e5199f3ce4f03dfdf1b74cef96267ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt:321-327 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:779-785 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:610-619 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a12e654c9095e1c57ec7abbc2a60c66a8f59e1f24ad9c7a68ee3e8bd8b74cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): feature/lifetime/src/main/java/com/shifenmiao/lifetime/data/CountdownEventRepository.kt:72-86 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/data/CountdownEventRepository.kt:88-102 \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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/data/CountdownEventRepository.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53604030aa0b86dda4de00ed9fa8a24a52b897aaa80a7c40c0f45a1a7af5163"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:1502-1518 | feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:1560-1581 | feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:1689-1705 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbba5418d45251e7663bed1322e94a81da9542ae92377431aa127e6fd44a2ca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/settings/src/main/java/com/wanbaohe/setting/theme/component/ThemeSettingsComponent.kt:329-336 | feature/settings/src/main/java/com/wanbaohe/setting/theme/component/ThemeSettingsComponent.kt:343-351 \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":"feature/settings/src/main/java/com/wanbaohe/setting/theme/component/ThemeSettingsComponent.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc0726d85c9e7a5e3c8f1f0c613de1e301dc2edbfe7503fcb0b9a7632c50df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 6\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:708-713 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:715-723 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:725-730 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:732-737 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:739-744 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:746-751 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:753-758 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"3732a3610cb8a3149428b0ae8302ddb8f27f9300f2df403bde74f1ff12eef31d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/ColoredGlass.kt:50-67 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/ColoredGlass.kt:82-99 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassModifier.kt:74-91 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/ColoredGlass.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b3aefe8fa1a7de1b0f7f3d6a1c3bba6ec39a1de97ccda56bc4286393915477"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/logic/ChatInputComponent.kt:293-300 | feature/ai/src/main/java/com/shifenmiao/ai/logic/ChatInputComponent.kt:457-463 \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":"feature/ai/src/main/java/com/shifenmiao/ai/logic/ChatInputComponent.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c1ed3ad6f63739e1640df1486b11f9b76f8f6afe0be9015d2cefac84e385d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt:307-317 | feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/screenLogic/GifToolsComponent.kt:373-383 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt:299-309 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef583dc5b547cccfa41a451bb229ebfa598fa9c91351f67b619dd7bf103ab5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/domain/model/BoardPoint.kt:41-46 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/model/BoardPoint.kt:41-46 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/model/BoardPoint.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d76d0ace2ac8933cf11e69267f3351959b37d018d02232034058ac2c58ac333"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/lifetime/src/main/java/com/shifenmiao/lifetime/component/LifeTimeCountdownDetailComponent.kt:71-78 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/component/LifeTimeMilestoneDetailComponent.kt:124-131 \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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/component/LifeTimeCountdownDetailComponent.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcf39acde38a0c3ed37529648c82c36b344eef2a24bc049a6249ea562eec49b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt:390-404 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/TodoDetailComponent.kt:288-303 \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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe170697319c6b6b5e47ca49b08b6f5c032ed496a2852900f494ba37e84803a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/model/CipherType.kt:171-177 | core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/model/HashingType.kt:119-125 \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":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/model/CipherType.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7825dfd3ed645d835ebea9e88c7c61a31c1f0c5b2e7b899a2cecd8e7caa5de2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GamePreparation.kt:62-68 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/dto/GamePreparation.kt:63-73 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/dto/GamePreparation.kt:52-62 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GamePreparation.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a50e48c5dc9d120f5372f05fc4d09f6874b0b275f25d5ec3c04da028e618f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/MarkdownEngineHost.kt:65-82 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/MarkdownEngineHost.kt:97-114 \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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/MarkdownEngineHost.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ac33026b7bb1698d4446c2d681ce36aec9d318da5828c9a40bea1a820c5901"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColorPickerRenderer.kt:96-105 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/RadioGroupRenderer.kt:97-104 \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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColorPickerRenderer.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"451febc9b1a90319ad55eba0dd27838630047d7290590ba5c81ead02866af1c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt:455-463 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1535-1543 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/state/PromptCollector.kt:300-309 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"7812a4f7974310873bd75524d334955977a72ca44ae73171cea7a445aeecff36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt:783-789 | feature/ai/src/main/java/com/shifenmiao/ai/model/MessageUiModel.kt:601-607 \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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3b9b6353f263c5e257be1c42ca5a7a40f523b4ac37d3ed18cff4727483a7f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt:190-202 | feature/document-scanner/src/main/java/com/t8rin/imagetoolbox/feature/document_scanner/presentation/screenLogic/DocumentScannerComponent.kt:163-174 \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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4b574a0390d476e00499f17c18af5ec8f6dcc8eef4de3d282ba18482de96da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt:319-331 | feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/screenLogic/GifToolsComponent.kt:385-397 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt:311-323 \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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"824a9f9607ee225709074772ea3847b5ea3b3a37acd49bf904c764514b48a1a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:1394-1408 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:887-903 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/IdPhotoExportConfigPanel.kt:295-310 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d856c0083fc7b137cf5141ed949b74f41d36b4e95d100e0c0cbb6d0d11de7b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/screenLogic/CameraWatermarkComponent.kt:169-182 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screenLogic/IdPhotoComponent.kt:430-443 \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":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/screenLogic/CameraWatermarkComponent.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da53f90fcea9fb06c0f83a400e5132743de24ab1133eec2fedc91b9c01584ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/common/src/main/java/com/shifenmiao/common/utils/BaseUtils.kt:103-118 | feature/common/src/main/java/com/shifenmiao/common/utils/BaseUtils.kt:124-137 \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":"feature/common/src/main/java/com/shifenmiao/common/utils/BaseUtils.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"06be546ee1ddda147a91ef522154e1a532fbd35af81c2fb4657ec4e8a08a7fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:558-571 | feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt:1736-1754 \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":"feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"7678d2d7c6461d17e5e5bff808c78ed30f657bbfc946c283e8f187f35e35d9b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): feature/settings/src/main/java/com/wanbaohe/setting/ai/component/AIEngineSettingsDetailComponent.kt:356-365 | feature/settings/src/main/java/com/wanbaohe/setting/ai/component/AIAddEngineComponent.kt:176-185 \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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/component/AIEngineSettingsDetailComponent.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6758dc13e508c230e5ac9acb5bc87f1eaad26177219d193f61be784d249ca84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt:210-214 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:256-260 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3c220d90552f0ffbd23258daec9211bcddc655cf81fbba985a17256d7be5a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/AgentLoopExecutor.kt:505-520 | feature/ai/src/main/java/com/shifenmiao/ai/component/AgentLoopRunner.kt:759-770 \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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/AgentLoopExecutor.kt"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"2046bb65ed90461427f51ebeef4869799f4f8f5f18c590a1f9142d89d3e216d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:444-456 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:481-493 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07fdc1ad49d645a451dc4180f27490f734a28cbb5b9e835a87881e32e068556"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:136-144 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:116-122 \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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ced9c7e170874592b837a522fda98c54ba5ab0faafe02d060602a4e4a6897f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/HourglassHeroCard.kt:361-376 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/HourglassHeroCard.kt:387-407 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/HourglassHeroCard.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"836579e5e28613338f3b3c2773f16ed41b96f0e7e6faaca76c4c3fd983d73d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt:288-299 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt:371-382 \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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db5ce316badb72b4e87a9d45ce16bac2647fd247cb62bdf47b8a074a7eca51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt:364-367 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/TextCardDocumentCodec.kt:250-259 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"946782ae8cf537eee4cc1fb344ad78f13e283a9db3c3b7572c91162b297b409f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/engine/BlockMeasurementKernel.kt:229-234 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/inline/InlineFlowLayoutEngine.kt:221-226 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/engine/BlockMeasurementKernel.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d17d9301726db1056971ced9d00247d4217fc1fd54d8c0d797e51ef59391a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheetComponent.kt:188-197 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:613-623 \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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheetComponent.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1fdfad2dcbaeac841eb58719245c282043bc07a2dd39f2e7f683066ea10f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt:262-280 | feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:261-276 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"af63fc855e8b7092a981a87d8ce618109402f1c4beb21749d8bc52dd6ed18da1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/LifetimeToolSupport.kt:76-85 | feature/poem/src/main/java/com/wanbaohe/poem/ai/tool/PoemToolSupport.kt:95-104 | feature/schedule/src/main/java/com/wanbaohe/schedule/ai/tool/ScheduleToolSupport.kt:76-85 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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":"feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/LifetimeToolSupport.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d72c1b17b46f1e81baf96506be12ff0674ff49de09352c78f75f2dbef7e229"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/model/src/main/java/com/shifenmiao/model/ai/unified/LlmProtocolModels.kt:93-101 | core/model/src/main/java/com/shifenmiao/model/ai/RequestContent.kt:76-83 \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":"core/model/src/main/java/com/shifenmiao/model/ai/unified/LlmProtocolModels.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4dbafcde5189058f09495f78554dc8b21c81a9db6c0c9cf45293c601074bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeGauge.kt:413-427 | feature/settings/src/main/java/com/wanbaohe/setting/skill/screen/SkillManagementScreen.kt:451-464 \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":"feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeGauge.kt"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"8705a8702687ad794f936b8691c87491f5db84390b291a3ef1a58b40e6ecb727"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:1929-1935 | feature/file-viewer/src/main/java/com/wanbaohe/fileviewer/data/ViewerWebHost.kt:304-311 \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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4622af2ec32ae61198de13664545ac9d704ad2d31a929df950e48de31d56e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/media-player/src/main/java/com/wanbaohe/media/playback/ExoPlaybackEngine.kt:430-436 | feature/media-player/src/main/java/com/wanbaohe/media/playback/ExoInlineMediaPlaybackController.kt:226-232 \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":"feature/media-player/src/main/java/com/wanbaohe/media/playback/ExoPlaybackEngine.kt"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27f8ff89d25ad9bf25d6c2bcc11bff7d54181d8b7749fb454add2ad81bcb9e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): feature/online/src/main/java/com/shifenmiao/online/component/CreateNoteComponent.kt:183-198 | feature/online/src/main/java/com/shifenmiao/online/component/CreateNoteComponent.kt:200-214 \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":"feature/online/src/main/java/com/shifenmiao/online/component/CreateNoteComponent.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"33813b5ffae0456ee43180d9429f3123b619134e5433de60636df609086fdf59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt:742-752 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt:761-771 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt:894-904 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt:947-957 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt:960-970 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 11 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"698e8f1d0b5e8d2c3889434cfd0e9bbdf4cc46f585723c2473b1dd82d9d92b08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/screenLogic/ImageStackingComponent.kt:231-240 | feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/screenLogic/ImageStitchingComponent.kt:297-306 \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":"feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/screenLogic/ImageStackingComponent.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"92577aab9a46577ee2caba3fda1d964ca74aa49c0f97e1106803d97980a54a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): feature/media-player/src/main/java/com/wanbaohe/media/playback/ExoInlineMediaPlaybackController.kt:143-148 | feature/media-player/src/main/java/com/wanbaohe/media/playback/ExoPlaybackEngine.kt:203-207 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-player/src/main/java/com/wanbaohe/media/playback/ExoInlineMediaPlaybackController.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e458d680746ea316a7ce8aef540856d7fb99168641980c3d9b2061f0bff000"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): feature/poem/src/main/java/com/wanbaohe/poem/service/PoemInsightService.kt:129-141 | feature/poem/src/main/java/com/wanbaohe/poem/service/PoemService.kt:256-268 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/poem/src/main/java/com/wanbaohe/poem/service/PoemInsightService.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88c4f237a2af40a462e60cadf854c3af6d5834c87879fd3b0ab1e12de62c1ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:242-258 | feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:192-202 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"595f0ef21eeb098fc263d27ff06f038bfda008e843f2e6196a5352efce262b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/GameArbiter.kt:41-52 | feature/chess/src/main/java/com/wanbaohe/chess/domain/GameArbiter.kt:48-58 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/GameArbiter.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4d8de9d55d53c136458fe1e7bd578461f3c408cb794a89a983449f4a447c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStructSubPipeline.kt:129-132 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlTreeRenderSupport.kt:43-49 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStructSubPipeline.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f598a2ef4fb381495a8058e8e6ddd5d43d63d709ae91654b954ad3f685e90d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineRenderUtils.kt:15-22 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/core/compile/InlineCompiler.kt:418-427 \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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineRenderUtils.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"36448d44b4a9c15341594725b5147d7568dce88150b00ebb9358b2396219e9cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:465-467 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:548-550 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:450-452 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cce4daa4513105ea1b8df856b4b0d86eeeb3333d27607848e7463dc78cfa9e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/S3CompatAdapter.kt:238-247 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/WebDavFileSystemAdapter.kt:238-248 \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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/S3CompatAdapter.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0e7fd0d7b52275b541527e169a08fb179ea645a4ea667e6ebe4bc15b018be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssAdapter.kt:55-65 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/HuaweiObsAdapter.kt:48-57 \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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssAdapter.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e735f2e81a2352078e3b6c5e02aa4261b24f34187f78f207f4280965a5a3c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt:384-391 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiAnalysisComponent.kt:332-339 \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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafd519812751e657206967e7a4af587dc7776f897dfaa53895fe1148ab6e87d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/model/src/main/java/com/shifenmiao/model/remote/ShowBindPhoneConfig.kt:31-45 | core/model/src/main/java/com/shifenmiao/model/remote/AgentSensitiveCheckConfig.kt:29-41 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/model/src/main/java/com/shifenmiao/model/remote/ShowBindPhoneConfig.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b7c4f52dce323928b3b15c1feb4439cbedac6a1e5370b20e16e3ecb4cd9438"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt:103-111 | feature/common/src/main/java/com/shifenmiao/common/utils/BaseUtils.kt:60-67 \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":"feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"804bb85bda3a4e67a4c2ea2aeed4f486ed498d608c980c9ae9e64d6749444fcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): feature/code-editor/src/main/java/com/wanbaohe/code/editor/component/CodeEditorComponent.kt:339-350 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt:513-522 \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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/component/CodeEditorComponent.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"8909259fbe727c14e88268bf2b590fd3573e1ab05c4c96433b5d74dad0a3489a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt:248-270 | libs/cropper/src/main/java/com/t8rin/cropper/state/StaticCropState.kt:107-126 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ba15d790fd6fc7d88c3f7ebed37a7c175b8f235053963f6df38496202df883"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/base/src/main/java/com/shifenmiao/base/utils/NetWorkUtils.kt:35-40 | feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/util/NetworkUtils.kt:97-105 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/shifenmiao/base/utils/NetWorkUtils.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c5ca7ddb9f2009809ce189bde048a7f027bcf8fd4e6db369ad46d8a34b2cd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/model/QrType.kt:194-194 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content_pickers/ContactPicker.kt:273-273 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/model/QrType.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8017d8be19df8a35e40fc3d4dc42d893eb5d3d5414f80037dee80ce5ec9249aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/ui/src/main/java/com/wanbaohe/base/ui/painter/TextPainter.kt:55-70 | core/ui/src/main/java/com/wanbaohe/base/ui/painter/TextPainterNoBg.kt:54-64 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/java/com/wanbaohe/base/ui/painter/TextPainter.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"12eafa94f57c81773719a82cce981d771cc21510a03774becf8ea47e18135625"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt:593-604 | feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/tab/StatsTab.kt:397-410 | feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdStatsTab.kt:681-692 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c753f786eadcd9e57252701ccd78db2d8ad6f634a93f0ce0194dea773bc9c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/mahjong/src/main/java/com/wanbaohe/mahjong/data/local/LocalMahjongAi.kt:160-167 | feature/mahjong/src/main/java/com/wanbaohe/mahjong/domain/rules/MahjongEngine.kt:456-463 \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":"feature/mahjong/src/main/java/com/wanbaohe/mahjong/data/local/LocalMahjongAi.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e54cdb62072c6707633351c953eaae302d2d32b6728b65cddb26f648a2a40c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/AgentComponent.kt:184-193 | feature/ai/src/main/java/com/shifenmiao/ai/component/AgentDetailComponent.kt:241-248 \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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AgentComponent.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e741276a4bc839f76a36644c0a6890513e78bf3dca7bc85c731f5a82588fd6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:461-463 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:545-547 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:446-448 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa38456efd692b25cc0da8f56fcd56f79a2fb1ff04fda133c8280b35b8af6f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/screenLogic/RearrangePdfToolComponent.kt:92-104 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/screenLogic/RemovePagesPdfToolComponent.kt:91-103 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/screenLogic/RotatePdfToolComponent.kt:104-116 \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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/screenLogic/RearrangePdfToolComponent.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afb4aec85f05957a7ae5c1a9bfd85c4e5f1f189f5ff8986ad4a00406a040054"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssSigner.kt:184-189 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt:141-146 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosSigner.kt:142-147 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssSigner.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d07b433260d3c5ca33c60c3ab4045d31c1a36a3da3bec2f1d1ccb30cb3fa9be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/demo/src/main/java/com/shifenmiao/demo/screen/GlassComponentShowcaseSheet.kt:504-517 | feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt:931-945 \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":"feature/demo/src/main/java/com/shifenmiao/demo/screen/GlassComponentShowcaseSheet.kt"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef49172896ff9d81290ddfdd42d7b781992e01996229604deba85cfb7828d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt:513-524 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/AndroidFilterMaskApplier.kt:168-179 \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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"970f5fcc51d4986227c6465dea7a1c15ad18349e82db5e2792c2a8575fff1620"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:507-515 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:639-643 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ab5e91592402dccbb23723c7141b2fff8b9125464d0120633ad901c05d2d70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:258-261 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:218-221 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:229-232 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"140887f311cc14f7d75f9fb3ae8d0cb423fb3b115d1ca2581cbaf167e29509c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt:239-242 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt:253-256 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiAnalysisComponent.kt:230-233 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"53694c5a252eea939095d8b5c3fe8452f21364d80cf95be3c6a13c2b1696e83c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/domain/MoveGenerator.kt:44-49 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/MoveGenerator.kt:34-38 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/MoveGenerator.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"624d94b883c261f167dd73a567af1908c86eef445e148338e78f48b0c636fb4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): feature/common/src/main/java/com/shifenmiao/common/components/text/RichTextStyleSpan.kt:47-51 | feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/TextBlock.kt:111-117 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/components/text/RichTextStyleSpan.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86459897f1eed795ae653d2d5c32dc6ad567295f0d42ba2771a7343513640aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt:807-809 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/domain/TodoTaskQuery.kt:97-102 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"de963b45c0a1d6d85630c5031331c7c510de79ca61c9136b46da229e284a4d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/component/BlessingWallComponent.kt:126-138 | feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareComponent.kt:314-326 | feature/minesweeper/src/main/java/com/wanbaohe/minesweeper/component/MinesweeperComponent.kt:155-169 \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":"feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/component/BlessingWallComponent.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b4f74a72dd2e8f688731733101d1815a1d2a2810407f91140af167404afe90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt:360-366 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ImportGameUseCase.kt:314-321 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ImportGameUseCase.kt:194-200 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d54e8a9668043ced31cae8badc613ce50d5805f3c35476e48849eb3b3fb4f1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt:465-470 | feature/app/src/main/java/com/wanbaohe/app/ui/AISpecializedQuestionField.kt:389-392 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"796dfb8edf2752fe1ad9d28712d8be59822f433583c1a83c61351396eb0a236a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/component/AIStreamAnswerComponent.kt:211-216 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/QuickAddTodoComponent.kt:417-423 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIStreamAnswerComponent.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"da54d83d8a67121a4df653fab5f0d4629765b93f93b1402b6ca991a3551cee28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:663-666 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:580-583 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c70300894db207b460b8c14537471b8bf67530184ad2c60872d8e7fd2bce07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/LinearTiltShiftFilter.kt:40-48 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/RadialTiltShiftFilter.kt:40-47 \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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/LinearTiltShiftFilter.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a611e96cf391f62ff0458533cbd159c891267db961efae0d611d0c9261b3dd27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/screenLogic/GifToolsComponent.kt:344-356 | feature/svg-maker/src/main/java/com/t8rin/imagetoolbox/feature/svg_maker/presentation/screenLogic/SvgMakerComponent.kt:162-174 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/screenLogic/GifToolsComponent.kt"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"236532e8a2d73bcfda3aa69ba504c89f0fda882a9a0b2888e1bf8ed9b4bb1010"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt:301-311 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt:384-394 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae867e6e221c910dbd5d6911d2af6384614d0e8a099c9b3515f640e4e70f51ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/MediaStoreWorkspaceFileScanner.kt:83-97 | core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/SafWorkspaceFileScanner.kt:116-130 \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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/MediaStoreWorkspaceFileScanner.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e608efcf2e1c6e242f21c70ad58986a6b66af18ea77222eba804cd9a8ec8c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:400-409 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt:400-409 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageXiangqiTool.kt:397-406 | feature/teleprompter/src/main/java/com/wanbaohe/teleprompter/ai/tool/ManageTeleprompterTool.kt:291-300 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07b4c429f79b3e8df7e16268922bfe35464ac48d65f8721c42a170ba5876d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/ChessMoveFallback.kt:91-94 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GomokuMoveFallback.kt:136-139 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/ChessMoveFallback.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"547149ef812d6455d3c5e412fb8e122715e428c320f073a81ea7fdd3f2c5b876"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/DshApiClient.kt:328-333 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/DshConnectionController.kt:584-589 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/DshApiClient.kt"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f526c6dc50b088505f417d772775dc02da8da20edf8831b8850b2bf724cb4baf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:370-382 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:452-466 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5d9d9c4f81d94f38084f04a18a0eaf76c4a183ca87633f6824d2dfcbc2b707"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/image-generation/src/main/java/com/shifenmiao/imagegeneration/di/ImageGenerationModule.kt:126-131 | core/network/src/main/java/com/shifenmiao/network/di/NetworkModule.kt:155-161 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/image-generation/src/main/java/com/shifenmiao/imagegeneration/di/ImageGenerationModule.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"201f17688072f3b837e19e4968ae25607c843917ecb8a9e70e881b9d3df0213e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/AgentLoopExecutor.kt:525-532 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/ConversationToolPolicyRepository.kt:89-96 \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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/AgentLoopExecutor.kt"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bd2507a66e71cd8c9d7ee7802e00637f654cabacc12f3105beac84b37443a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt:169-172 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/PlayMoveUseCase.kt:134-137 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/PlayMoveUseCase.kt:119-122 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d556cec28b7588e931f89527ca41fe5114374d90ffdc792feeb1bd252680b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:602-607 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:527-531 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e64af4216c3d21fac20b109299e9dc4e8b4780fa0e7a86cf2594e43216f1a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/domain/model/OnlineMessage.kt:81-82 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/model/OnlineMessage.kt:81-82 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/model/OnlineMessage.kt:80-81 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 2 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":"feature/chess/src/main/java/com/wanbaohe/chess/domain/model/OnlineMessage.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"198b8264923163b71d09850bdde8a8327565eacd7dc93c748ce55f420794f1ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:554-561 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:456-463 \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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded996eee7cd2e24dea643879881ffca519111dec176dd9523cb60c4aae67568"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/service/ChessServiceImpl.kt:69-72 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/service/XiangqiServiceImpl.kt:68-71 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/service/ChessServiceImpl.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36c728971b340e25f1a4396ce13ad9bc31d4f9c8cedef1d19d95e9317b1b799"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/TrajectoryPage.kt:410-411 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/node/ChatNodes.kt:719-720 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/TrajectoryPage.kt"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"645d7da4aa2514dacedb1061f4eb6dd953ab8557f59f8bc9df42e3f2590cd40e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/screenLogic/DrawComponent.kt:399-406 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/addEditMaskSheet/AddMaskSheetComponent.kt:228-235 \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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/screenLogic/DrawComponent.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbed162b6d72fb584b86c600c0fc1692b97a95153f6efa45ecda512121c3260e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt:172-177 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt:161-166 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1e91319c9c3faebfdb002f4b34cbe7f42dc6c21440d71e594029ae47f64e3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/inline/InlineFlowLayoutCache.kt:23-33 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/inline/InlineRenderResultCache.kt:22-30 \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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/inline/InlineFlowLayoutCache.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9096d0a4ebee70995d0bb6e56cfc590a1c95e079934674fc464d7a6433701550"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/AgentLoopExecutor.kt:891-905 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/InteractiveToolResultFactory.kt:62-75 \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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/AgentLoopExecutor.kt"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb597935d995b5cdb78fe9fa7ca1276c25ce53f2053f1af5346cec014b03070"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/AiTaskDaoAdapter.kt:57-66 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/AiTaskDaoAdapter.kt:57-66 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/AiTaskDaoAdapter.kt:57-66 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/AiTaskDaoAdapter.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bae159d14aa9403b164a03ea91367fac2c6d5b2f7b9359342fce4b89a4f191"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/domain/model/GameSetup.kt:39-45 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/model/GameSetup.kt:39-45 \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":"feature/chess/src/main/java/com/wanbaohe/chess/domain/model/GameSetup.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e0437312cc1c7ad80b057c01380fd3879dac4f1e6239f3c797bb61b98c5f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/domain/model/GameSetup.kt:56-62 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/model/GameSetup.kt:55-61 \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":"feature/chess/src/main/java/com/wanbaohe/chess/domain/model/GameSetup.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b67db2efb7401ac9cba2d0c0d5a9b2bc3b551ad11f8311f71d1aede8b0272a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:320-330 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:398-410 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaf396132c8546f28b564ea4f0ae661f427a49d7cd0de006c0b5a0ae9f8193d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:332-342 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:412-424 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e60551af36a05ec107eafd762c1a1a346b4da91975e08962154e5c2842b5954"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:491-491 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGaugeSubPipeline.kt:159-162 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt:145-148 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlPieSubPipeline.kt:150-153 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f4292f22dbfb98361a855dc11eb4946e50322f9ede04124bf2e1d9aa40438c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:581-585 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:667-667 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:358-362 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be25bf33a840c8b59c5b2446b3e4db2c925602ad5bdd5808b942eb86331c288"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/theme/src/main/java/com/shifenmiao/theme/AppColors.kt:213-220 | feature/settings/src/main/java/com/wanbaohe/setting/image/screen/ImageGenerationSettingsScreen.kt:367-372 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/theme/src/main/java/com/shifenmiao/theme/AppColors.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc427ef9914bacf5f11e7be10b808403e4ba8207ded5baa53b63bcd32ad8164c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt:786-789 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/TextCardDocumentCodec.kt:644-647 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa15c6a1e13dd7558b530d186a50497db08c6105e9b110690c4939e196f0b054"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/signature/screenLogic/SignaturePdfToolComponent.kt:113-116 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/watermark/screenLogic/WatermarkPdfToolComponent.kt:109-112 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/signature/screenLogic/SignaturePdfToolComponent.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ca00251cfda9ad20230e8c3b7ab993bc1feb40e7a39cb80e8f8148a2b3e2e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:1158-1165 | feature/dice-roller/src/main/java/com/wanbaohe/diceroller/screen/DiceRollerScreen.kt:311-318 \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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"630719b1e2afa196051d3c68c91884f518558b43dec0d0c38fe32e0112d06542"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GamePreparation.kt:74-75 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/dto/GamePreparation.kt:79-80 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GamePreparation.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2030eab6ae4ef60b044803c90c07a0e77d07b65fbc33a9a02f6574c9c65820f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt:44-47 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GameDaoAdapter.kt:42-45 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/GameDaoAdapter.kt:44-47 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac33b400a77a490e213bc4b54b6d617641bf1f7f1b8302e6ee4baf3d213e354"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/cache/Quadtree.kt:115-115 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:434-434 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:521-521 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/cache/Quadtree.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff71ca731c8b04abc5547943732295685558d7304aaf47d05235c6b535540b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): feature/common/src/main/java/com/shifenmiao/common/voice/VoiceRecognizer.kt:173-174 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/CloudRelayApi.kt:264-266 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"feature/common/src/main/java/com/shifenmiao/common/voice/VoiceRecognizer.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dc68ea43d8a256f40c16b7b91f74e0df3f52c31fbaaa6d6f906f4fbfb73dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/component/DecisionWheelRouterComponent.kt:189-199 | feature/household-items/src/main/java/com/wanbaohe/householditems/component/HouseholdItemsComponent.kt:176-186 | feature/period/src/main/java/com/wanbaohe/period/component/PeriodComponent.kt:130-140 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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":"feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/component/DecisionWheelRouterComponent.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d49a111375e55dccdb36d5163d8cd5886633454f5ae2d5829a580bd943cf51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedButton.kt:170-173 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedFloatingActionButton.kt:158-161 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedIconButton.kt:178-181 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedButton.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"610cde1115d34651f38f463c553edee0271acd690b277017b6c06a74546563c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): feature/ai-detect/src/main/java/com/wanbaohe/aidetect/service/AiDetectService.kt:197-200 | feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt:359-362 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai-detect/src/main/java/com/wanbaohe/aidetect/service/AiDetectService.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1243e71d827cf061c9125a1279455ebe985411f28eaeffb58c0a283e6234c4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/domain/GameInteraction.kt:50-53 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/GameInteraction.kt:48-51 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/GameInteraction.kt:48-51 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/GameInteraction.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbe1b0e7782051a0c79923a778905be051b3e58f95a332cc4a4894f424fbdb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): feature/common/src/main/java/com/shifenmiao/common/sync/ItemSyncManager.kt:214-221 | feature/common/src/main/java/com/shifenmiao/common/sync/ManualRefreshPolicy.kt:44-51 | feature/common/src/main/java/com/shifenmiao/common/sync/SyncIntervalPolicy.kt:42-49 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 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":"feature/common/src/main/java/com/shifenmiao/common/sync/ItemSyncManager.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"50dae4b96bed346ffbbfbe37df2ddff86b3cd23d593de511f88146a809ab43bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/screenLogic/DeleteExifComponent.kt:141-149 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt:205-212 \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":"feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/screenLogic/DeleteExifComponent.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90423b16518c7b21de204f1a8e5bf9f837fd6078aed3db09a71bd1c2e4270aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/BoardSetupDraft.kt:102-106 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/BoardSetupDraft.kt:99-103 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/BoardSetupDraft.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8470977ed7b071376145f429ab881d1616653a4d7f1d58250e6532ba4307149c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderUtils.kt:50-50 | libs/cropper/src/main/java/com/t8rin/cropper/util/DimensionUtil.kt:61-61 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderUtils.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a5b1ff9f49b147b8cf4007e972515c94f6aa607e21be027090d36d0fe73a9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/NavigateAppScreenTool.kt:221-227 | feature/webview/src/main/java/com/shifenmiao/webview/HtmlMarkdownConverter.kt:378-384 \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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/NavigateAppScreenTool.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87ba9fa029ce076b80725252cc73b3c5f1794795a7ceb4996c28ef15cde01cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:1057-1061 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:987-994 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e91a4f67c3e4386b85ee68baeef5b30f582aa485ba6e7319b3a136e20c97242"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/service/ChessServiceImpl.kt:98-101 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/service/GomokuServiceImpl.kt:98-101 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/service/XiangqiServiceImpl.kt:91-94 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/service/ChessServiceImpl.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea216df53e004af7f21fc9846bc34e235602e89978edcdd467a3616d304b76e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/TextLayerRichText.kt:47-48 | feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/TextBlock.kt:166-166 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/TextLayerRichText.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa095021d8b0e5ed6a5eec058e5ad5b94b2e4d9a66e926a01bff1f3fe61ffec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/TextLayerRichText.kt:52-53 | feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/TextBlock.kt:170-171 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/TextLayerRichText.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3581b91f94bc40186886822c773c5d1425a33b8fe5a0df9e080869befbafdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/ad-watch/src/google/java/com/wanbaohe/adwatch/ads/GmsRewardedAdController.kt:66-72 | feature/webview/src/main/java/com/shifenmiao/webview/browser/AndroidWebViewNavigator.kt:169-175 \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":"feature/ad-watch/src/google/java/com/wanbaohe/adwatch/ads/GmsRewardedAdController.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3db6879c129a2e5cef3e85460fa30847079aa760d612f3523b9bf1cc416aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt:68-71 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/GameQueryUseCase.kt:66-69 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/GameQueryUseCase.kt:61-64 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b11c684d446cdd5e2ce0f8faed97ca51f7f922b77c1fc7bf4315610dcd1324"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/domain/model/OnlineRoomConfig.kt:42-45 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/model/OnlineRoomConfig.kt:42-45 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/model/OnlineRoomConfig.kt:41-44 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/model/OnlineRoomConfig.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc5b1ea2c2e92ade9e8fbe9d3eb37ea8905637c97a9565ae37c29f759d2404a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/service/ChessServiceImpl.kt:103-110 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/service/GomokuServiceImpl.kt:103-110 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/service/XiangqiServiceImpl.kt:96-103 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 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":"feature/chess/src/main/java/com/wanbaohe/chess/service/ChessServiceImpl.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfc445631323c5f5cf0ff5e85734c4007cddf34e6ea44f7d429bddc6403742a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:457-457 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:597-597 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:151-151 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97211a0865753c4085f5c8b68c8c3be6c55740b9f3435966816af5f961ffb55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/twain/src/main/java/io/noties/markwon/prism4j/languages/Prism_c.java:28-31 | libs/twain/src/main/java/io/noties/markwon/prism4j/languages/Prism_scala.java:25-28 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/twain/src/main/java/io/noties/markwon/prism4j/languages/Prism_c.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e09bbd11f52d513bc7ec56d7bb93a41c8190b29f3e4fa0330d2188adbbfa99e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content_pickers/FilePicker.kt:159-166 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content_pickers/ImagePicker.kt:313-320 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content_pickers/FilePicker.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9e0df7b96f38c20db6d04bec3f778d61d5420c7b422f44e4d9bbb966179f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:1065-1066 | feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt:495-495 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:998-1001 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee26613da755d49d5cec9f03364eae14f37eaae9e5e752a29310522ba6c38f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/FenCodec.kt:51-55 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/FenCodec.kt:47-51 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/FenCodec.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df0b95b04797a27b67c72236951ef8ee0ba6d9235066cc8e945b06fa195096a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (159 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:172-330 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:172-330 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:172-330 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 428 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:172\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ConnectionState\u0060 names \u0060com.wanbaohe.chess.domain.model.ConnectionState\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.ConnectionState\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf68ad1babc07cfc0ab8beec247dd1c29f33b5650c99ed50aa636473eab9131"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (83\u201385 lines \u00D7 2): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_to_images/PdfToImagesScreen.kt:112-196 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/split/SplitPdfToolContent.kt:94-176 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_to_images/PdfToImagesScreen.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/split/SplitPdfToolContent.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060ExtractPagesPdfToolComponent\u0060 in one and \u0060SplitPdfToolComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_to_images/PdfToImagesScreen.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edf6feb29cb17ff0b57fbb7133800539104f94a4f359f6266fcfba47f9ae1fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:239-311 | feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt:238-310 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt\u0060 and \u0060feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 208 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:239\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, \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:312\u0060 calls \u0060rememberFilename\u0060, \u0060rememberFileSize\u0060 and \u0060feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt:311\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c8664ecf908259b360e3c7e9f5099ba3e2191b81a3a99e942ffae5e6fb3fb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70\u201371 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:509-579 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:545-614 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:509\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e217da298dac1f9a8313caab9a70d9fc4120f4fa808b197a1edf52e08802eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2): libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt:112-170 | libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt:277-335 \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 \u0060libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt:112\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":"libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5207e8c350c16ad894c2c0210a02076f3266267d124b86935fda937ccea8548c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56\u201357 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagesPreviewWithSelection.kt:199-254 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagesPreviewWithSelection.kt:278-334 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagesPreviewWithSelection.kt:199\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagesPreviewWithSelection.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"90432c5fa164a88bc3df347b3a2749c21cd249ae611a68d38361e29bc8633611"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55\u201356 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/CupertinoSwitch.kt:104-158 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/CupertinoSwitch.kt:235-290 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/CupertinoSwitch.kt:104\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/CupertinoSwitch.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"287e60a641e346bf6b613e2f64fb93e6c39c293ea5adf10e85499dc5039f4288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): libs/cropper/src/main/java/com/t8rin/cropper/image/ImageWithConstraints.kt:100-155 | libs/image/src/main/java/com/t8rin/image/ImageWithConstraints.kt:100-155 \u2014 before extracting anything, compare \u0060libs/cropper/src/main/java/com/t8rin/cropper/image/ImageWithConstraints.kt\u0060 and \u0060libs/image/src/main/java/com/t8rin/image/ImageWithConstraints.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cropper/src/main/java/com/t8rin/cropper/image/ImageWithConstraints.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abe773a7525ae886c0928605a261cdccc3e992fe29f341789fc63c2f69877e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt:237-288 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedSliderItem.kt:234-285 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedSliderItem.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 136 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt:237\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f09ac8035aaad63672dbe5b1a309b4bea7f8a88f588b81eeeb5a6ddaf6783f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201351 lines \u00D7 2): feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt:101-148 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditor.kt:139-189 \u2014 before extracting anything, compare \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt\u0060 and \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditor.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 150 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditor.kt:134\u0060 calls \u0060LaunchedEffect\u0060 and \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt:99\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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6010bda225cdbea801291aaef1a90ef42affc52632507e44b542372412c44a26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt:458-507 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextBlockTransformHandles.kt:229-278 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextBlockTransformHandles.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb02f9ff40158b297fb234733101dff77784e07a98d02192d9faf19ec5b9fd09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/resize_group/ResizeTypeSelector.kt:241-289 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/resize_group/ResizeTypeSelector.kt:292-340 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/resize_group/ResizeTypeSelector.kt:241\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/resize_group/ResizeTypeSelector.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"278d778568daf903806b376150f505c2956bf63f7c2d3f59d4df3bf3d48e6ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201348 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:460-507 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:497-543 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:460\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"858d88852bfa32e368e668f32419f00ea0af06825165bfca10da31a04cc40085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1258-1312 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1378-1432 \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 before the matched lines, \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1256\u0060 calls \u0060propInt\u0060 and \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1377\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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"112d1c586c4a634d7468a5a4923b8a8de3c7ee78e4032fe2d13f919f8e2e5a11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt:91-137 | feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt:89-135 \u2014 before extracting anything, compare \u0060feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt\u0060 and \u0060feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 131 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 \u0060feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt:91\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060ImageStackingComponent\u0060 in one and \u0060ImageStitchingComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e276d4bb4dd7469ab4033aa162500d2136ad1d1534f1572abd09db76043ee916"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (80\u201381 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt:416-495 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/DrawUtils.kt:382-462 \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 \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt:416\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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c49dc7366988c7d7be498bf8e7e275fef915757914fdd36a6b6f0f7c70d955"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt:142-187 | feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt:141-186 \u2014 before extracting anything, compare \u0060feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt\u0060 and \u0060feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 131 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 \u0060feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt:142\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060ImageStackingComponent\u0060 in one and \u0060ImageStitchingComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"31eaed4eba7b5f6d3cd8e44b7803a5deb12c5e04eb14b3c18f1cd0c4e7f8e3ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201346 lines \u00D7 2): feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt:182-218 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt:245-290 \u2014 before extracting anything, compare \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt\u0060 and \u0060feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 155 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 \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt:182\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":"feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"470711dbc65dc65bdbb8d750935146ae5944453fb138d57647bb32b51a4b4765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201346 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt:234-278 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt:284-329 \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 \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt:234\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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ef9d66909320401c345c339b71a72a2ea9aa2e43ec997799d59fbbd1049925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:134-178 | feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt:135-179 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt\u0060 and \u0060feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 208 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:134\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5f4ce9f270a36e69ee1fc44737cce8dcf245549f3d0156336adac17e42146b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201345 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt:162-203 | feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:273-317 \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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt:162\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e679cd4727ce28db797a46d58c7c5eafb5786ee1a7b29439d48b19da3e7d57cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201345 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuEmptyQuickPanel.kt:162-203 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:275-319 \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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuEmptyQuickPanel.kt:162\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuEmptyQuickPanel.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"446585944c061626416e780e0f26bd131531fdc2626fcbe57c9c35ab68bc21d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201344 lines \u00D7 2): feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:272-315 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiEmptyQuickPanel.kt:162-203 \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 \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:272\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4556123557bd210fec879b9644557ec331b504d6b9794d7ae9d0a0849d1fe43d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:123-164 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt:123-164 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/online/SignalingClientImpl.kt:123-164 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060OnlineMessage\u0060 names \u0060com.wanbaohe.chess.domain.model.OnlineMessage\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.OnlineMessage\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"930155d3d65d67cd74233fba4c828b3e63aa4474d5df5b36be8e23c42deffe48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): core/settings/src/main/java/com/t8rin/imagetoolbox/core/settings/presentation/model/UiFontFamily.kt:206-247 | core/settings/src/main/java/com/t8rin/imagetoolbox/core/settings/presentation/model/UiFontFamily.kt:249-290 \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":"core/settings/src/main/java/com/t8rin/imagetoolbox/core/settings/presentation/model/UiFontFamily.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31b22e4db4b06460b84281c27f1e4d77805eeb4078e3e1ee0f2cb5a67963a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/Glitcher.kt:102-142 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/tools/Anaglyph.kt:37-77 \u2014 before extracting anything, compare \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/Glitcher.kt\u0060 and \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/tools/Anaglyph.kt\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/Glitcher.kt:102\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/Glitcher.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9ea9ecf9e2a9fb90646793fbce198321b3ce6fb06461714a66304c73b61d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/OutlinedText.kt:79-118 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/OutlinedText.kt:147-186 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/OutlinedText.kt:79\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/OutlinedText.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8363b9a301a0b81441031bff6ac6b8f78e5f05257b99bdc2d2dd9877a30e625c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:982-1021 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:978-1017 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:982\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80d5a0d8c78c9de714831f12d2d7c679ca3c7648dfb46920571e5beb73a3bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201340 lines \u00D7 2): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ImagePickerList.kt:129-168 | feature/common/src/main/java/com/shifenmiao/common/ui/ImagePickerList.kt:175-212 \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 \u0060feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ImagePickerList.kt:129\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Close\u0060 names \u0060androidx.compose.material.icons.filled.Close\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Close\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ImagePickerList.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf38767a16a7724ccd2d028b92fa043f1e7f62a16224a4f6edf6dc73cef811e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201340 lines \u00D7 2): feature/file-browser/src/main/java/com/wanbaohe/file/browser/screen/FileBrowserScreen.kt:383-421 | feature/file-browser/src/main/java/com/wanbaohe/file/browser/screen/FileBrowserScreen.kt:452-491 \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 \u0060feature/file-browser/src/main/java/com/wanbaohe/file/browser/screen/FileBrowserScreen.kt:383\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":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/screen/FileBrowserScreen.kt"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4bf3c1436f7156df4c069fd621aa8d095cf50de979d637fc1ef59ac3e74909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): libs/cropper/src/main/java/com/t8rin/cropper/image/ImageWithConstraints.kt:172-211 | libs/image/src/main/java/com/t8rin/image/ImageWithConstraints.kt:172-211 \u2014 before extracting anything, compare \u0060libs/cropper/src/main/java/com/t8rin/cropper/image/ImageWithConstraints.kt\u0060 and \u0060libs/image/src/main/java/com/t8rin/image/ImageWithConstraints.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060Canvas\u0060 names \u0060androidx.compose.foundation.Canvas\u0060 in one and \u0060androidx.compose.ui.graphics.Canvas\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cropper/src/main/java/com/t8rin/cropper/image/ImageWithConstraints.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d420f2dde197ed562165b39711f7c0e822a57f17c2e1bc2a0825c91d1f8271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt:177-214 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/ImageReorderCarousel.kt:149-187 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/ImageReorderCarousel.kt\u0060 as WHOLE FILES: this scan already matched 3 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt:177\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Add\u0060 names \u0060androidx.compose.material.icons.rounded.Add\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Add\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"da289851a19946f43a3db0e7d31a59f1a103548d47fafa0f55c868de7bbd38dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201338 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:199-236 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:205-239 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:199-236 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:199\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060GameMode\u0060 names \u0060com.wanbaohe.chess.domain.model.GameMode\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.GameMode\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:198\u0060 calls \u0060padding\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:198\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"defefe81e93a0d3bc610f79c444cdebebd088fd93c8f526021621830531df952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/TopAppBarTitle.kt:94-130 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/TopAppBarTitle.kt:154-191 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/TopAppBarTitle.kt:94\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/TopAppBarTitle.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed56fb8b11a94f7bfd234ed2f506e6bb13058776c1970983227a74b4ba3f12fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201338 lines \u00D7 2): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:110-147 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:133-166 \u2014 before extracting anything, compare \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt\u0060 and \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 190 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 \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:110\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060FormatConversionComponent\u0060 in one and \u0060ResizeAndConvertComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb11d082e8416380084f04d6d0157e19d604f76ffd548c0f9582dee0d292a23c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 4): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/components/ApngParamsSelector.kt:65-101 | feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifParamsSelector.kt:65-101 | feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/components/StackingParamsSelector.kt:53-89 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/components/WebpParamsSelector.kt:60-96 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/components/ApngParamsSelector.kt\u0060 and \u0060feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/components/StackingParamsSelector.kt\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/components/ApngParamsSelector.kt:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060onValueChange\u0060 to \u0060(ApngParams) -\u003E Unit\u0060 in one and \u0060(GifParams) -\u003E Unit\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/components/ApngParamsSelector.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9c03833452344cd46bd08cb140e9d8b96f52dcf608f73eb0aecdc3d9bda0ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberColorModelQuadItem.kt:97-133 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberNumberColorModelTripleItem.kt:86-122 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberColorModelQuadItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberNumberColorModelTripleItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberColorModelQuadItem.kt:97\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberColorModelQuadItem.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"158e0a9b25303dbe6109aa83298cdb6a952e3992be421c3f3ed029a2562bb2b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/view/FrameImageView.kt:677-713 | libs/collages/src/main/java/com/t8rin/collages/view/FrameImageView.kt:771-807 \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 \u0060libs/collages/src/main/java/com/t8rin/collages/view/FrameImageView.kt:677\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":"libs/collages/src/main/java/com/t8rin/collages/view/FrameImageView.kt"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"20080fbf1e8738cc007271f3736f5a4b7fc6da36bb64335be9ac1c9c0e87004a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201336 lines \u00D7 2): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt:87-122 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:301-334 \u2014 before extracting anything, compare \u0060core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt\u0060 and \u0060core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 77 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 \u0060core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt:87\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:335\u0060 calls \u0060flowOn\u0060 and \u0060core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt:124\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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c14109dbb0538f9ef834d47d680ec3f9cb4c935d97a97bcac44703273010328"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentControls.kt:210-245 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/DrawEditOption.kt:329-364 \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 \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentControls.kt:210\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentControls.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c2337b485a0a88e878c6e07100b29d8591956c7b9730e88c321116e4a72dc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201336 lines \u00D7 2): feature/login/src/main/java/com/shifenmiao/login/ForgotPasswordBottomSheet.kt:65-93 | feature/login/src/main/java/com/shifenmiao/login/RegistrationBottomSheet.kt:65-100 \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 \u0060feature/login/src/main/java/com/shifenmiao/login/ForgotPasswordBottomSheet.kt:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ArrowBack\u0060 names \u0060androidx.compose.material.icons.automirrored.outlined.ArrowBack\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.ArrowBack\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/ForgotPasswordBottomSheet.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"56aa5761b16af53b473ca867c79c654447a8146edc4eeff93296431dafa6941c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201336 lines \u00D7 2): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:195-230 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/SingleEditContent.kt:201-234 \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 \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:195\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060ResizeAndConvertComponent\u0060 in one and \u0060SingleEditComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"658b657b4406598c24ec382dbb23048bef56b8d26aca4e13213d6a3d5dbf94ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/components/ApngParamsSelector.kt:135-169 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/components/WebpParamsSelector.kt:109-143 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/components/ApngParamsSelector.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/components/WebpParamsSelector.kt\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/components/ApngParamsSelector.kt:135\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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/components/ApngParamsSelector.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"99504b38d1a9ba69bfcb5e371181313e76ff33c0dd5337963894b9c06b5248e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/StatusCards.kt:122-156 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt:980-1014 \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 \u0060feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/StatusCards.kt:122\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":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/StatusCards.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ab814e0ccbe46265d25564531660138c2ef661e652ab9d8a6a64156dca1748"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 4): feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:147-180 | feature/profile/src/main/java/com/wanbaohe/profile/screen/BindEmailSheet.kt:116-149 | feature/profile/src/main/java/com/wanbaohe/profile/screen/ChangePasswordSheet.kt:106-139 | feature/profile/src/main/java/com/wanbaohe/profile/screen/VerifyEmailSheet.kt:99-132 \u2014 before extracting anything, compare \u0060feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt\u0060 and \u0060feature/profile/src/main/java/com/wanbaohe/profile/screen/BindEmailSheet.kt\u0060 as WHOLE FILES: this scan already matched 4 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. 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 \u0060feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:147\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a91f78065360f9f4ad9a5da25c72989f1a9d1325ae3da0f7834823390505f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt:110-143 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt:108-141 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/components/PdfPagesRotationGrid.kt:98-131 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt:110\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b685e61b00affa72254434abdd3527ca4a6382d63523e22412d85d8cc1223d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:371-404 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:299-332 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:371\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07e2f9136e0347d57e9b217283e00149ddb64cff480c29d1c29ff7b28392d35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt:171-204 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/components/PdfPagesRotationGrid.kt:182-215 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/components/PdfPagesRotationGrid.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 161 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 \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt:171\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a4c19e6b8ae1da41deb4743002d34148b01318638d33daea11375ff0609e65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201334 lines \u00D7 2): libs/documentscanner/src/main/java/com/t8rin/documentscanner/utils/ImageUtil.kt:128-161 | libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/free_corners_crop/FreeCrop.kt:63-88 \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":"libs/documentscanner/src/main/java/com/t8rin/documentscanner/utils/ImageUtil.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"697957da7f95e72d51d04c3478b02c074a3ade0fe08a853069d17335a1679087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 3): feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt:179-211 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddEventScreen.kt:173-203 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddMilestoneScreen.kt:174-206 \u2014 before extracting anything, compare \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt\u0060 and \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddEventScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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 \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt:179\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe1265f1637d704c58430bb572244d31ca178e303e4a5e2ea3f3021a322b221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt:149-181 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt:222-253 \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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a6207e6e685428f106ebabca38b01675e4c8a65347f25b5c2f456eefeaeb29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 2): core/ui/src/main/java/com/wanbaohe/base/ui/picker/CityPicker.kt:204-234 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/Picker.kt:79-111 \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 \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/CityPicker.kt:204\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/CityPicker.kt:235\u0060 calls \u0060isEmpty\u0060 and \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/Picker.kt:112\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":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/CityPicker.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"102811eaefc1c6dc0a50b4e0903d0b7c44ac8dd81efcedcb94a89ac81e62e2f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:198-230 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt:198-230 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 239 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 \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:198\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Close\u0060 names \u0060androidx.compose.material.icons.rounded.Close\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Close\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d1ccd04ac715a2a22f63c2c1d2488982223b4a00233d752e97d8f699dccfdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/components/category/CategoryManagementDialog.kt:211-243 | feature/common/src/main/java/com/shifenmiao/common/components/category/ReorderableScreen.kt:156-188 \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 \u0060feature/common/src/main/java/com/shifenmiao/common/components/category/CategoryManagementDialog.kt:211\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":"feature/common/src/main/java/com/shifenmiao/common/components/category/CategoryManagementDialog.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d80dd2452e606fe75f26dd9ad9ecf0acddf871cfa1e512f79143460d992aeba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/utils/DrawRepeatedPath.kt:65-97 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/DrawRepeatedPath.kt:64-96 \u2014 before extracting anything, compare \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/utils/DrawRepeatedPath.kt\u0060 and \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/DrawRepeatedPath.kt\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/utils/DrawRepeatedPath.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"193f341cd01cee8c47031c231cd440563721af473f64a232fa34dd558e0e606a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201333 lines \u00D7 2): feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt:134-166 | feature/profile/src/main/java/com/wanbaohe/profile/components/PlayProductSlider.kt:147-175 \u2014 before extracting anything, compare \u0060feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt\u0060 and \u0060feature/profile/src/main/java/com/wanbaohe/profile/components/PlayProductSlider.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 64 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 \u0060feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/profile/src/main/java/com/wanbaohe/profile/components/PlayProductSlider.kt:176\u0060 calls \u0060padding\u0060 and \u0060feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt:167\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":"feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8727643688d42c7998f3b4438ff274bfc4d15c3178f2229c0bd4b25934b4ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:492-523 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:588-619 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:492\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ed68fd08832fc236995feec82e8f9905ad07319c92f9d3bf24d3b52847c474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/components/CompareSheet.kt:121-152 | feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/components/CompareSheet.kt:200-231 \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 \u0060feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/components/CompareSheet.kt:121\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/components/CompareSheet.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"011594a32b47b4b7fefefdbceb3f43e7dec61f29cee72e206524535490f66f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:229-260 | feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/ImageCutterContent.kt:207-238 \u2014 before extracting anything, compare \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt\u0060 and \u0060feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/ImageCutterContent.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:229\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":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6fc94f90a5041dcde21b3cf75c3a3c625f0487beee73f86007d5c4165754f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageActionButtons.kt:83-114 | feature/wallpapers-export/src/main/java/com/t8rin/imagetoolbox/feature/wallpapers_export/presentation/components/WallpapersActionButtons.kt:82-113 \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 \u0060feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageActionButtons.kt:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageActionButtons.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d5a2f9482456446b1c1e01b58ec33ad484942def8b0c1fffb7103a428a3907"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): feature/login/src/main/java/com/shifenmiao/login/ForgotPasswordBottomSheet.kt:97-128 | feature/login/src/main/java/com/shifenmiao/login/ForgotPasswordScreen.kt:86-117 \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 \u0060feature/login/src/main/java/com/shifenmiao/login/ForgotPasswordBottomSheet.kt:97\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":"feature/login/src/main/java/com/shifenmiao/login/ForgotPasswordBottomSheet.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"692fe0c3db7900d69be6e0e79365830dc5a4f279307b1f18c20bc2fcc137e46f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/seam_carving/SeamCarver.kt:508-539 | libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/seam_carving/SeamCarver.kt:684-715 \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 \u0060libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/seam_carving/SeamCarver.kt:508\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":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/seam_carving/SeamCarver.kt"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18adc7cacbe306ae261bb2803e7c0a1554475d30b21cb431fa9735c28c3a7c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt:325-355 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedSliderItem.kt:302-332 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedSliderItem.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 136 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt:325\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b33fa5e7b1206134775bb10dc1a33db328758249cce46e7eddaa3fd7c74a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt:121-150 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/CreateGameUseCase.kt:128-158 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/CreateGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt:121\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: \u0060GameAiPlayerConfig\u0060 names \u0060com.wanbaohe.chess.application.dto.GameAiPlayerConfig\u0060 in one and \u0060com.wanbaohe.gomoku.application.dto.GameAiPlayerConfig\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcf11e4a17a6dbaecb3652b6a3eb6c65ad4b83c2149ce0bedc96988b668799f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawLineStyleSelector.kt:402-432 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawModeSelector.kt:183-213 \u2014 before extracting anything, compare \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawLineStyleSelector.kt\u0060 and \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawModeSelector.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 72 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 \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawLineStyleSelector.kt:402\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawLineStyleSelector.kt"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dd5beee86148bf587c4a0d956b87436e924d81eb3b093ea5f9f89115648ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt:346-375 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt:409-439 \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 \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt:346\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":"feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"3798eab4113027327d5b519b7af612bf470ffd139112e915fc79659d935e85f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt:410-440 | feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt:461-491 \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 \u0060feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt:410\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt:409\u0060 calls \u0060onClick\u0060 and \u0060feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt:460\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":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9c93fb92d04295de84da54478afc2cc27777ec53b00d8f3e5d6edede61ce75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/components/ZipArchiveList.kt:238-267 | feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/components/ZipSourceList.kt:276-306 \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 \u0060feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/components/ZipArchiveList.kt:238\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/components/ZipArchiveList.kt:237\u0060 calls \u0060clickable\u0060, \u0060padding\u0060 and \u0060feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/components/ZipSourceList.kt:276\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":"feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/presentation/components/ZipArchiveList.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb751aa1c5da9b210a39eecbe8edf27ffb43126ff52a27cd0580cd26110aa77f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:420-450 | libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:492-520 \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 \u0060libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:420\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:521\u0060 calls \u0060checkNotNull\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:451\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":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"489688f5f13918f9290ae8bfb0d15a6134cf30b0de0de14b31bf484781763e1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/CubeLutDownloadDialog.kt:105-133 | feature/mesh-gradients/src/main/java/com/t8rin/imagetoolbox/feature/mesh_gradients/presentation/MeshGradientsContent.kt:160-189 \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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/CubeLutDownloadDialog.kt:105\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/CubeLutDownloadDialog.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e311aa7754037c39519d61529c451dbf31bbb396c9473d6029a0c7b3386497e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:286-315 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:380-408 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:286\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"2caecac218add4062abf03f1c5a0207be1a0530961e974179901c328f435e29d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201330 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:202-231 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:192-218 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:202\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 first that the copies are not typed on the same thing: \u0060Add\u0060 names \u0060androidx.compose.material.icons.outlined.Add\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Add\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e43765a92afc93f7e51a2f87c0b1fd0cfc5538321c8e55eb3040d5dada7bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:424-453 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:412-441 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:424\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c10248a49d515962ee6ad8a3aa570d5bc7fa8fbb34d4180f26bb3b5eb1d854"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201330 lines \u00D7 2): feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt:298-323 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditor.kt:378-407 \u2014 before extracting anything, compare \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt\u0060 and \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditor.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 150 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 \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt:298\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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"2964c15b66c6f8b0fd50be990a94474b718b50fc4829d077ca9e72067f28dede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/Pixelate.kt:193-223 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/PixelationTool.kt:153-183 \u2014 before extracting anything, compare \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/Pixelate.kt\u0060 and \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/PixelationTool.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/Pixelate.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e5ebeb2386cd00ff42780668fd43f2104e2f84982a0c39fde37c550ffadb14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt:577-606 | feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt:688-717 \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 \u0060feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt:577\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":"feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"a735c62e1143db15e715dab1e47e05b501697eb6305b78ca8fd2fc4417aaf79a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt:137-166 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt:145-174 \u2014 before extracting anything, compare \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt\u0060 and \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 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 \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt:137\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060DocConvertTaskListComponent\u0060 in one and \u0060OcrTaskListComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d109877d022c824eed17e6e5333197462a1f1931c31d68b713f50b2c4ac13f49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PinchParamsItem.kt:72-100 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RadialTiltShiftParamsItem.kt:72-100 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/WaterParamsItem.kt:72-100 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PinchParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RadialTiltShiftParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PinchParamsItem.kt:72\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PinchParamsItem.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2d4fc872ea3252f36377fbcadd0e2d9ead707d288fa0a3d658fb89c6460ad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:690-718 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:733-761 \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 \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:690\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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9a534ad7cec7eb16a47b3de2d5befd5cf7032d8fbfedc0d2c9ea5561ee248f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:501-529 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt:406-434 \u2014 before extracting anything, compare \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt\u0060 and \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 147 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fc8df0c65384e285d54bf874adfd4e3060ab8ce7f3e01624b4d373d9d576e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt:138-166 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedSliderItem.kt:137-165 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedSliderItem.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 136 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt:138\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b566c5229c123f87fdd1151081da7faf137cc73bd6328ca6292b815fcc2a219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:251-279 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:238-265 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:251\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a99d49edb85000644ab4e5714325552ed83aff95857b5a9d538a864ea1c177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt:297-324 | feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt:325-353 \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 \u0060feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt:297\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":"feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"72be77a54dc14a73e218351581dc003f191ac4cce0e97e1b99b12a4975986925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:785-813 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:858-886 \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 \u0060feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:785\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":"feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"791dcff160deb2f2d69420b5492f534b6dcbf130b5bddd8592712693b010eb4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1318-1345 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1435-1462 \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 \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1318\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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6d95a33c9d15948e0057413fb6a8b1bbee3222b275120937777ea51791e597"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:452-479 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt:360-386 \u2014 before extracting anything, compare \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt\u0060 and \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 147 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 \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:452\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, \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:451\u0060 calls \u0060Spacer\u0060, \u0060width\u0060, \u0060Icon\u0060 and \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt:360\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":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d3d71c395dff1411e3d567aacfb1912fab98710d8389cb5bd11265a1828d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/BottomButtonsBlock.kt:285-312 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/BottomButtonsBlock.kt:387-414 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/BottomButtonsBlock.kt:285\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/BottomButtonsBlock.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fffc08702f8e3456d830ebd2eca19ea590de4f8f34f198a52e2279a981e4f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:391-418 | feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt:377-404 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt\u0060 and \u0060feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 208 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:391\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f999903be37032c3333ec8e00a090c7ff0b3262666c4e30e53df553d12c41a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:460-487 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:448-475 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:460\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d620c4bcb0cdea954d9aec76d33dcdcf999cafd169d6f6176fb998a256b5ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:798-824 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:758-785 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:798\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f91b22d7721a2842e2df6880ec7381f9c7395a4162167ed5487bf7860124378"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1039-1066 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:1035-1062 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1039\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Edit\u0060 names \u0060androidx.compose.material.icons.outlined.Edit\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Edit\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24e60d98b93ac324c0eb951371459ee529443a2c2f5722d0913401cd6eb0830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): feature/audio-cover-extractor/src/main/java/com/t8rin/imagetoolbox/feature/audio_cover_extractor/ui/screenLogic/AudioCoverExtractorComponent.kt:128-155 | feature/audio-cover-extractor/src/main/java/com/t8rin/imagetoolbox/feature/audio_cover_extractor/ui/screenLogic/AudioCoverExtractorComponent.kt:176-203 \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 \u0060feature/audio-cover-extractor/src/main/java/com/t8rin/imagetoolbox/feature/audio_cover_extractor/ui/screenLogic/AudioCoverExtractorComponent.kt:128\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":"feature/audio-cover-extractor/src/main/java/com/t8rin/imagetoolbox/feature/audio_cover_extractor/ui/screenLogic/AudioCoverExtractorComponent.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ccba6922802a21dac31ae0807d85251c2a2cbd4d5c22e0f4b0830dfa6f6366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 2): feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt:281-304 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt:328-355 \u2014 before extracting anything, compare \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt\u0060 and \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 101 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 \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt:281\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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a6c7bfb66a47c7380c3e224ac0091b6871b194f0833b0a3d6279fd9f8b55fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:257-284 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:355-382 \u2014 before extracting anything, compare \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt\u0060 and \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 190 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 \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:257\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":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9dfa21e68f743c52df91b56ac8b8a5de566e16fc52b606543aa52d463a1498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201328 lines \u00D7 2): feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt:282-304 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt:375-402 \u2014 before extracting anything, compare \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt\u0060 and \u0060feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 155 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 \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt:282\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":"feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da78368824be0c936ec2bde9a426125ef0c846ced8855668bac242c4f627756"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/cropper/src/main/java/com/t8rin/cropper/image/ImageWithConstraints.kt:223-250 | libs/image/src/main/java/com/t8rin/image/ImageWithConstraints.kt:223-250 \u2014 before extracting anything, compare \u0060libs/cropper/src/main/java/com/t8rin/cropper/image/ImageWithConstraints.kt\u0060 and \u0060libs/image/src/main/java/com/t8rin/image/ImageWithConstraints.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060Canvas\u0060 names \u0060androidx.compose.foundation.Canvas\u0060 in one and \u0060androidx.compose.ui.graphics.Canvas\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cropper/src/main/java/com/t8rin/cropper/image/ImageWithConstraints.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbb9e9bbcf34e9f60d92264c9481e9470ad6631fc672dfc9a5a0cc2324369d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:243-269 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:248-274 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:243-269 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:243\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f6c8217faf4d233d1b0bb3dab8669436f4af908a71b03b004c826417ce09ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:104-130 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:104-130 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:104-130 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f79324368de7c001d2a1232f4d339acd29ca16384f106ee8f10ad01064eb1a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:363-389 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:363-389 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:363-389 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0719164584cd364e07954061765c16647868cabf62a43f8dad8f43e1133f04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:721-747 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:721-747 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:721-747 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 428 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:721\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060RoomInfo\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.RoomInfo\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.RoomInfo\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fab9ae188493530fc847d9b83c355073e26df2b42c3ff3218202b357035f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/MeshGradient.kt:309-335 | feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/data/AndroidGradientMaker.kt:354-380 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/MeshGradient.kt\u0060 and \u0060feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/data/AndroidGradientMaker.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/MeshGradient.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8a9407931d7fa02925b026a0f48e5542725f174a0f040a26f4240cb2033a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/MeshGradient.kt:342-368 | feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/data/AndroidGradientMaker.kt:387-413 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/MeshGradient.kt\u0060 and \u0060feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/data/AndroidGradientMaker.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/MeshGradient.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df453d3eccb4d9848204151762459de5efc0115d5fc814f5465f602c5355af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:93-119 | core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:139-165 \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 \u0060core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:93\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":"core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6509fa2e069a3afb690ce9fbadf39095af0f9957f36dab6e8edf56845a80c657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:239-265 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt:239-265 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 239 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 \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:239\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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"be256e3bd844c602319af61b6abd5bf8fea955d0f23833c5c09fa194fdd937e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt:232-258 | feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/screenLogic/GifToolsComponent.kt:251-275 \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 \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt:232\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt:231\u0060 calls \u0060getFramePositions\u0060 and \u0060feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/screenLogic/GifToolsComponent.kt:250\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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08f20d54aad40a170afb31425dfbde4be10bc435c805fb9748faab08da8dadc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:345-371 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt:349-375 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 138 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:345\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"520aa22309d1b2f489094514df82c8a0154801591d6480aaa20811207cd9d34c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201327 lines \u00D7 2): feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt:249-271 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditor.kt:317-343 \u2014 before extracting anything, compare \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt\u0060 and \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditor.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 150 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 \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt:249\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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"379126f9644dd847b5ef3ff26b9ddcca5174a2c768d7a186c461ed47a70f82be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:214-240 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:211-237 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 164 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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:214\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ef49d355349d10108649d0d5e601a8178c5895cba137ed1a33f35f185e57f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeCountdownDetailScreen.kt:91-117 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeMilestoneDetailScreen.kt:108-134 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeCountdownDetailScreen.kt:91\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 first that the copies are not typed on the same thing: \u0060Delete\u0060 names \u0060androidx.compose.material.icons.outlined.Delete\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Delete\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeCountdownDetailScreen.kt:118\u0060 calls \u0060remember\u0060, \u0060CountdownCalculator\u0060, \u0060calculate\u0060 and \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeMilestoneDetailScreen.kt:135\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeCountdownDetailScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae57f1efcd17c124fde74efb1fd6a57c75b78c5fc7caea0ee59ada7c66d8f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt:506-532 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt:617-643 \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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"0672dba3b7872fdf4dd0e12e7b98ec5eb8eaa6a09d087a8fadcbd4a2ed48d4bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/ai/VisualAIClient.kt:112-138 | feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/ai/VisualAIClient.kt:203-229 \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 \u0060feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/ai/VisualAIClient.kt:112\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/ai/VisualAIClient.kt:139\u0060 calls \u0060errorBody\u0060, \u0060orEmpty\u0060 and \u0060feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/ai/VisualAIClient.kt:230\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":"feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/ai/VisualAIClient.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a69ef76d7d951ef373d83679143fc48cd721139aa73877cee5af556f1a5f11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/MarkdownColors.kt:33-59 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/MarkdownColors.kt:61-87 \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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/MarkdownColors.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92347a28ad89c4ea366f320f303bba60787c2ba0108ce557b7734678213f665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 5): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt:381-406 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt:356-381 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/AddExifSheet.kt:277-302 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/ProcessImagesPreferenceSheet.kt:264-289 | feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerGridWithOverlays.kt:284-309 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 108 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt:381\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94eafa88b8a32b931544b3a26baa9c0d2c679864e045e9a33821f8c80900a04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt:216-241 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuEmptyQuickPanel.kt:216-241 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiEmptyQuickPanel.kt:216-241 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuEmptyQuickPanel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c22b7881e1d3f44c84f59c20846837b9164fa543615621d8ef4d6db39350ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:671-696 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:671-696 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:671-696 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 428 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:671\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 first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.wanbaohe.chess.R\u0060 in one and \u0060com.wanbaohe.gomoku.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"627aefee287f31eba50fdedc87c60ed82724c095154542fcd77f36f07f8f995b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelColorModelTripleItem.kt:82-106 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelPopArtTripleItem.kt:86-111 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelColorModelTripleItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelPopArtTripleItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelColorModelTripleItem.kt:82\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelColorModelTripleItem.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ff21487ee7a749010b96caf6dbfc8504a0be115d8f50d206ce1c294c57d02b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201326 lines \u00D7 2): core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:542-567 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt:448-467 \u2014 before extracting anything, compare \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt\u0060 and \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 147 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 \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:542\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":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95fc507bb2f10d65138da79226b25e7d8bb7b9cffd6937526b6f985d0aad3a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/AuthorizationCodeScreen.kt:143-170 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/AuthorizationCodeScreen.kt:187-214 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/AuthorizationCodeScreen.kt:143\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Check\u0060 names \u0060androidx.compose.material.icons.outlined.Check\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Check\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/AuthorizationCodeScreen.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c2fd42055b10f873936f4c1e9ba2a1224c850226a9b886912f951b3babfbc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassAssistChip.kt:80-105 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassAssistChip.kt:161-186 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassAssistChip.kt:80\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassAssistChip.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bd464f348bdcf06b39724ef793504a4f243d1329666d7bc816b305930a8904"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:464-489 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:560-585 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:464\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c704c1b81345cb68c8362ba0d8c29532738a36195f744095f4fb9c46ca4c40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:147-171 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:138-163 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060CreateAIAgentComponent\u0060 in one and \u0060CreateAIPromptComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef024d09af17e031c78ce06e0f8a1823ad87a665ee787ae33e9f155cedf956a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersFloatingPanel.kt:186-210 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersSheet.kt:217-242 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersFloatingPanel.kt:186\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersFloatingPanel.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"586800576ce43b55afe88ab878674d47907b3a9104242a8215dbcf71ca119f1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberBlurEdgeModePairItem.kt:51-75 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberBooleanPairItem.kt:50-74 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberMirrorSidePairItem.kt:51-75 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberTransferFuncPairItem.kt:51-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 all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberBlurEdgeModePairItem.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1fa8033d7f344f044985359fb475b5e132c05e4088d9a36e128b392a35c63b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt:314-338 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt:358-382 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiAnalysisComponent.kt:306-330 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060FenCodec\u0060 names \u0060com.wanbaohe.chess.domain.FenCodec\u0060 in one and \u0060com.wanbaohe.gomoku.domain.FenCodec\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"2405022cbb7ad68ce0b104e7666dd94aabd18624f05410ef96c85ee41f4c8e5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt:138-162 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuEmptyQuickPanel.kt:138-162 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiEmptyQuickPanel.kt:138-162 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuEmptyQuickPanel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 72 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt:138\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa34bce6906567b53c4f106f5a30a743f547bda4ff98a55b5370522847c3165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): core/base/src/main/java/com/shifenmiao/base/utils/FileUtils.kt:408-432 | core/base/src/main/java/com/shifenmiao/base/utils/FileUtils.kt:448-472 \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 \u0060core/base/src/main/java/com/shifenmiao/base/utils/FileUtils.kt:408\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":"core/base/src/main/java/com/shifenmiao/base/utils/FileUtils.kt"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"66273444fcd94235c0a532ec5a07c74f62b1413f54342d17956157a40de43582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SideFadeRelativeItem.kt:64-88 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberTransferFuncBlurEdgeModeTripleItem.kt:65-88 \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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SideFadeRelativeItem.kt:64\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SideFadeRelativeItem.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"703b8ac79ebd2aac99d0182de2cdb957b3e1807f9ac7c9964a0984d0bca7fe79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorSelectionRow.kt:139-162 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorSelectionRow.kt:237-261 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorSelectionRow.kt:139\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorSelectionRow.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d6ac93b327fa0ee3682e458d96c8d4931c3ab64367ea15921b22e584a21619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedButtonGroup.kt:151-175 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedButtonGroup.kt:231-255 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedButtonGroup.kt:151\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedButtonGroup.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b9b874a44df51c97af804d18a98bf42bf1beffda08a23d886c3e3bea134c74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/MeshGradient.kt:201-261 | feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/data/AndroidGradientMaker.kt:246-306 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/MeshGradient.kt\u0060 and \u0060feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/data/AndroidGradientMaker.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/MeshGradient.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda22357bef667e45ff011796ede66b61b6d928841e9232563b72a89464e86e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/RoundedTextField.kt:112-135 | feature/app/src/main/java/com/wanbaohe/app/components/RoundedTextField.kt:89-113 \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. 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/RoundedTextField.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f596cf0f27590792c59a51f7e920f1d331f3c4c87ce6a2757b7fc6198dc923"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:709-733 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:676-698 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:709\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce41b814ec1094040ea7fee5bf754fcb49bf8b671091604a4028e538d9b0bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/upload/CloudFileUploadHandler.kt:150-174 | feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt:653-677 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/upload/CloudFileUploadHandler.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3454061600778ac4729e55a08818490942e858e1c83854858c16aaa071c31e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt:115-139 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosSigner.kt:116-140 \u2014 before extracting anything, compare \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt\u0060 and \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosSigner.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt:115\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c56a9f60858a08e05fb627585b80d5e2a2839ae093238a762bb6e0bf9fa45f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt:205-229 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt:326-350 \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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt:205\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf098b6fb288f36329ed2882932e6a9d4b18193c4e27c0e132212f790e29ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt:551-575 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/draw/BrushSettingsDialog.kt:230-254 \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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt:551\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d8b76deeaa9f938ea09ee6f470410bba9a562226e21a34e0524080b815aa78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt:63-87 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlWbsSubPipeline.kt:65-89 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlWbsSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5555da028dc23adc2f98add1be495ddb7470f4167b5447b7ea7cfad4e503deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:160-183 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt:160-183 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageXiangqiTool.kt:160-183 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:160\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bef23543953140d7b13993975d9c7372e957a20c13acb12a2d944837ea516e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:427-450 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt:338-360 \u2014 before extracting anything, compare \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt\u0060 and \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 147 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 \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:427\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:451\u0060 calls \u0060Spacer\u0060, \u0060width\u0060 and \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt:361\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":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccad120562ebaa6ebc9785f25efb515712092dc00a83068c017a614f462365b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt:189-212 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedSliderItem.kt:194-217 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedSliderItem.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 136 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c889d69930905deb27e09e735bc5c4aeefe806638515468cc766f491507a155a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/ToastHost.kt:265-287 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/ToastHost.kt:329-352 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/ToastHost.kt:265\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/ToastHost.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff84110cc00d1b9068883fd06f9072a7777cf0840d0583682c17350b650dc903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:237-260 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:269-292 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:237\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d98ac581ed7cc6493310f6fdcbac965beac137991c313409856e4201b9556d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:395-418 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt:391-414 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 239 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 \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:395\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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"283ab84ec7b33880f277174587ba2ad3e7b8d75716eb36fb1e6466c538a1dcd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201324 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/ui/ImagePager.kt:170-193 | feature/common/src/main/java/com/shifenmiao/common/ui/ImagePager.kt:230-247 \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 \u0060feature/common/src/main/java/com/shifenmiao/common/ui/ImagePager.kt:170\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":"feature/common/src/main/java/com/shifenmiao/common/ui/ImagePager.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9433538f74130f2b0ba5b97181a7676fa6c1ca386a8af5638b7f699c8a202b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelSettingsScreen.kt:168-191 | feature/sudoku/src/main/java/com/wanbaohe/sudoku/screen/SudokuSettingsContent.kt:259-282 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelSettingsScreen.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0ec9df911d10d7ff1a9fcce70b5d1c8b980b4fb154d051122313516234aa7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt:291-314 | feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:227-250 \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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt:291\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9821b763ab9f4377055b3aec09890b01253f5da30b155ef98ef756624053ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt:111-134 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddMilestoneScreen.kt:106-129 \u2014 before extracting anything, compare \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt\u0060 and \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddMilestoneScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 125 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 \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt:111\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060initial\u0060 to \u0060CountdownEvent?\u0060 in one and \u0060PersonalMilestone?\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec52a2496aff871f1c2164ab981b906f1e6d0914089a40bcaa37c75fa6a6f00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt:125-146 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt:184-207 \u2014 before extracting anything, compare \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt\u0060 and \u0060feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 155 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 \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt:125\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":"feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7905f8cb2767ac1cb01bbc465214b460920e353cb38fdf891e5b557f0c75671f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): feature/login/src/main/java/com/shifenmiao/login/RegistrationBottomSheet.kt:107-130 | feature/login/src/main/java/com/shifenmiao/login/RegistrationScreen.kt:94-117 \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 \u0060feature/login/src/main/java/com/shifenmiao/login/RegistrationBottomSheet.kt:107\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":"feature/login/src/main/java/com/shifenmiao/login/RegistrationBottomSheet.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"939ab184ac08dd290ea20a5428aef3809e4c10a985869ea01dc4ab794b23f1a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt:862-884 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt:892-915 \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 \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt:862\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"5693928f51434ff12ebafdeeb20f7d7b4d2da1e22a5b901834d2378b5f1339c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:229-252 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:190-213 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:229\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34f274b260b5c7c568ce55756802dfc9654ac1bef42147a67a974ff8e13c01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSubPipelineRegistry.kt:211-234 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSubPipelineRegistry.kt:440-463 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSubPipelineRegistry.kt:211\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSubPipelineRegistry.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4720c9569c2b395d82000ece775dc627fd4390f26a4fd27a697534d68446cacf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt:65-87 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/LlmMoveChooser.kt:65-87 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/LlmMoveChooser.kt:65-87 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/LlmMoveChooser.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060MoveDecision\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.MoveDecision\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.MoveDecision\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"594a11918386e7d25f84fa09a6d2cf76422ddb82e17ff0c997f196e80bb89d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:1008-1030 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:647-669 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:373-395 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 163 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:1008\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"95619abdc3ee6a9ea147e563253e76bc0467a6f86054065cfe6ba07bc74ee848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/RecentAndFavoriteColorsCard.kt:170-192 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/RecentAndFavoriteColorsCard.kt:279-301 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/RecentAndFavoriteColorsCard.kt:170\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/RecentAndFavoriteColorsCard.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb76a9697c69c97e8995b6fcaebf0d67bc232a5083c9130657500049a474f010"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:196-218 | feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt:194-216 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt\u0060 and \u0060feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 208 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:196\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt:217\u0060 calls \u0060getOrNull\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:219\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"064b2a2bc17774cc0ebe4865384de838354359dc8a7e901b62762abbe636678c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:384-406 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:421-443 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:384\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cc974d86105ce956c1f51246e966b96cdcdcccc7bf64360d3bb041a500b520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:622-644 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:650-672 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:622\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fe3ccc2f19d5cd323705712ae0643ec6e325b16663592a0a909eeb9177a42e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201323 lines \u00D7 2): feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt:96-111 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt:151-173 \u2014 before extracting anything, compare \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt\u0060 and \u0060feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 155 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 \u0060feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt:151\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060LimitsResizeComponent\u0060 in one and \u0060WeightResizeComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac73b863f3fcbcbd727d48e366290c07f80146228b40409f4e321c2d96939d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt:431-453 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt:258-280 \u2014 before extracting anything, compare \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt\u0060 and \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd201a1635f8b8baddc3656d054a295474bd37d2e0a1f2b598b6d7403edfed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt:177-199 | feature/online/src/main/java/com/shifenmiao/online/component/EditPromptComponent.kt:209-231 \u2014 before extracting anything, compare \u0060feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt\u0060 and \u0060feature/online/src/main/java/com/shifenmiao/online/component/EditPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt:177\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":"feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"663bfd0916dd11a584de227d5697208836ab18f85a3425e013b4395b8b62b995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:954-976 | feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:1504-1526 \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 \u0060feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:954\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":"feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"675ebe25a68bed469056138ea412563cfd0ba53231a1d92361ffe40fdc9b4c57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/gesture/src/main/java/com/t8rin/gesture/AwaitPointerMotionEvent.kt:101-123 | libs/gesture/src/main/java/com/t8rin/gesture/AwaitPointerMotionEvent.kt:205-227 \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 \u0060libs/gesture/src/main/java/com/t8rin/gesture/AwaitPointerMotionEvent.kt:101\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, \u0060libs/gesture/src/main/java/com/t8rin/gesture/AwaitPointerMotionEvent.kt:100\u0060 calls \u0060onDown\u0060 and \u0060libs/gesture/src/main/java/com/t8rin/gesture/AwaitPointerMotionEvent.kt:204\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":"libs/gesture/src/main/java/com/t8rin/gesture/AwaitPointerMotionEvent.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a71ac6dca7aaffb4b076336b363983a9d0f71d96fff71399184229ee53f03b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 4): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt:210-264 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt:443-497 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/AddExifSheet.kt:145-199 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/ProcessImagesPreferenceSheet.kt:137-191 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 108 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt:210\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ArrowBack\u0060 names \u0060androidx.compose.material.icons.automirrored.rounded.ArrowBack\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.ArrowBack\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"93aa98d3fbceda082cc791b215ef80569ae60da5ca81323ba7d3282f28e8e3bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:390-409 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt:394-413 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt:527-548 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 138 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:390\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"89832db0b86b7cd8978aa3b80a4f2420ce0afee2cbdc93d568aca4f68d51f452"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:533-554 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:533-554 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:533-554 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 428 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:533\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a45c75d77a43f96f6cdab8f88fa069fac5970b1a1b745095a36af345820a98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionItem.kt:175-196 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/TemplateFilterSelectionItem.kt:139-160 \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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionItem.kt:175\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionItem.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f4e297f39fe2088694ab2e8ae150e72d810382adc69bd7f540fe63bc2675e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt:469-490 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/ProcessImagesPreferenceSheet.kt:163-184 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/ProcessImagesPreferenceSheet.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 133 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt:469\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 first that the copies are not typed on the same thing: \u0060ArrowBack\u0060 names \u0060androidx.compose.material.icons.automirrored.rounded.ArrowBack\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.ArrowBack\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ddcc4ac2bb35291a6d28a0bd71395cc14015e15e305ccb59fae46544d4bf9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt:508-529 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/AddExifSheet.kt:210-231 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/AddExifSheet.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 120 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt:508\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Search\u0060 names \u0060androidx.compose.material.icons.rounded.Search\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Search\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"670728ed687e534fa1190d6b56979b693692e894d4d7407b2fc440d32878a594"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt:101-122 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SmearParamsItem.kt:96-117 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SmearParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt:101\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a483c1b61ed33edce198b43db1b72fff56436ede2c4db53a3eda0174870506d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): core/ui/src/main/java/com/wanbaohe/base/ui/image/IconImageBox.kt:59-80 | core/ui/src/main/java/com/wanbaohe/base/ui/image/IconImageBox.kt:150-171 \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 \u0060core/ui/src/main/java/com/wanbaohe/base/ui/image/IconImageBox.kt:59\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":"core/ui/src/main/java/com/wanbaohe/base/ui/image/IconImageBox.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"351f1e15cc2fcbf77af7a8234103501421562147da6b9c83fea126a739b277e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:285-306 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt:230-251 \u2014 before extracting anything, compare \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt\u0060 and \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 147 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":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"12abba72ccec69eaed2ba86f42063fd3463869765870bfdb711023a84b5db165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt:121-142 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/ImageReorderCarousel.kt:107-128 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/ImageReorderCarousel.kt\u0060 as WHOLE FILES: this scan already matched 3 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b1d2226f907ac0eca27f0a24c17df8c4e767fc8b3afa24873370e776425b1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCustomRangeSlider.kt:92-113 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCustomSlider.kt:109-130 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCustomRangeSlider.kt:92\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCustomRangeSlider.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddd0aa770e6170a916bd1ce8ad07181803779144928c8d60ec45f4532e33df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt:632-653 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt:679-700 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt:632\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc964ca6f8c9d2296c1adcbc974a9226e92087de6bb43f8fe2b9c32c417fd47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:845-866 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:804-824 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:845\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ee82f7fe6c6f304306edda2f414733ad4250960eabd91d1d7c0eb9f4f49775"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:275-296 | feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt:270-291 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:275\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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"feccc0a102a0e5d52cbe478ad035829b595aba6f4408370d6545337ef0f981e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:120-141 | feature/profile/src/main/java/com/wanbaohe/profile/screen/BindEmailSheet.kt:90-111 \u2014 before extracting anything, compare \u0060feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt\u0060 and \u0060feature/profile/src/main/java/com/wanbaohe/profile/screen/BindEmailSheet.kt\u0060 as WHOLE FILES: this scan already matched 4 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. 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 \u0060feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:120\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":"feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76f6537931dd7b940702bb860820eacdbc896a28f1fd9f64a0d0ba785651a78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/CloudFileGrid.kt:356-377 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/CloudFileGrid.kt:491-512 \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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/CloudFileGrid.kt:356\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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/CloudFileGrid.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b8f57731e18a832c42b8b8963882a4d724571cd96d29525ff6e630712c634d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt:255-276 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/DrawUtils.kt:304-323 \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 \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt:255\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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9f3fe4904adde7579d3c984ccdffb8fbf89186d41f70b3b386b01a1d5a5e5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawLineStyleSelector.kt:125-145 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawModeSelector.kt:112-133 \u2014 before extracting anything, compare \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawLineStyleSelector.kt\u0060 and \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawModeSelector.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 72 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 \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawLineStyleSelector.kt:125\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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawLineStyleSelector.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"738c802ba32dac197746e59eb7e98105b7a2c946ae2e301794dd63fcff557d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawModeSelector.kt:173-194 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/DrawPathModeInfoSheet.kt:63-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawModeSelector.kt:173\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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawModeSelector.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a994dcb35cdf6a22bcaea104522caedff33d7110861613d59c490bd50836b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): feature/login/src/main/java/com/shifenmiao/login/ui/LoginBody.kt:178-198 | feature/login/src/main/java/com/shifenmiao/login/ui/LoginBody.kt:240-261 \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 \u0060feature/login/src/main/java/com/shifenmiao/login/ui/LoginBody.kt:178\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/ui/LoginBody.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2473bcd5262582a40ffb65c999367d6fd6bd87166cb69393540a58778428dca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt:456-477 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt:283-304 \u2014 before extracting anything, compare \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt\u0060 and \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"606741cc20ae7a801f24f67d05a822d9e012a369f39c1b243fca23737383b785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): feature/pick-color/src/main/java/com/t8rin/imagetoolbox/feature/pick_color/presentation/components/PickColorEmptyContent.kt:270-290 | feature/pick-color/src/main/java/com/t8rin/imagetoolbox/feature/pick_color/presentation/components/PickColorHistoryContent.kt:277-298 \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 \u0060feature/pick-color/src/main/java/com/t8rin/imagetoolbox/feature/pick_color/presentation/components/PickColorEmptyContent.kt:270\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/pick-color/src/main/java/com/t8rin/imagetoolbox/feature/pick_color/presentation/components/PickColorHistoryContent.kt:276\u0060 calls \u0060onSelect\u0060 and \u0060feature/pick-color/src/main/java/com/t8rin/imagetoolbox/feature/pick_color/presentation/components/PickColorEmptyContent.kt:270\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":"feature/pick-color/src/main/java/com/t8rin/imagetoolbox/feature/pick_color/presentation/components/PickColorEmptyContent.kt"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"262a3eed64068cb7f9b88cd156220193e195c11e999f4eacfe4f88d29a32db7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): feature/profile/src/main/java/com/wanbaohe/profile/viewmodel/PayComponent.kt:358-379 | feature/profile/src/main/java/com/wanbaohe/profile/viewmodel/PayComponent.kt:433-454 \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 \u0060feature/profile/src/main/java/com/wanbaohe/profile/viewmodel/PayComponent.kt:358\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":"feature/profile/src/main/java/com/wanbaohe/profile/viewmodel/PayComponent.kt"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75d1d8e61bd3bc6f18418b08bc7a37d8f98f07e0bf7d5d3ed39190a8d23b141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:518-539 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:624-645 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 144 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:518\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fb6c2da376c640515381a705fff604cd10cb2f41b9ef93d23bed5deb4b3f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt:74-94 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ClaheParamsItem.kt:73-93 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearGaussianParamsItem.kt:75-95 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberQuadItem.kt:73-93 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearGaussianParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt:74\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearGaussianParamsItem.kt:74\u0060 calls \u0060toInt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt:73\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e14f0f7aeab816f8851196bf4cb0f78e74d1471704df204e69932b72389377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:245-265 | feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/components/GradientMakerBottomButtons.kt:74-94 | feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/ImageCutterContent.kt:223-243 | feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt:287-307 \u2014 before extracting anything, compare \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt\u0060 and \u0060feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/ImageCutterContent.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:245\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":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"4082e118debc8f6e19125bf2c7d8c38393e594ddba0429ed3db82e7a2acd097d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt:244-264 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt:304-324 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt:334-354 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt:244\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fb1e5fbb0246250558a6ab10da70a590d5da1f48765195953d36c772a2871f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt:80-100 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuEmptyQuickPanel.kt:80-100 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiEmptyQuickPanel.kt:80-100 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuEmptyQuickPanel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 72 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt:80\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessEmptyQuickPanel.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b5bcbae328109244a046f45ebafe771cd7a37eee52f94fa540d777e7b965a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:571-591 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:571-591 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:571-591 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 428 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:571\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"c849dd2213d9d210013f77a32b599037aed83114846d6ad6621950774807c554"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 3): feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt:149-169 | feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:162-181 | feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/GradientMakerContent.kt:123-142 \u2014 before extracting anything, compare \u0060feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt\u0060 and \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt:149\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060DeleteExifComponent\u0060 in one and \u0060FormatConversionComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb7cb747f396a026ddf0ce361f0c57d694bc9725004cf18f3e6e4ef6ef3e0af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt:104-124 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/VoronoiCrystallizeParamsItem.kt:124-144 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/VoronoiCrystallizeParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 96 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt:104\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4aff95e85492f5a1270eea30843d6b5bf7fb8364ec0806783688b2149ffd089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt:70-90 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:88-108 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt\u0060 and \u0060core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:111\u0060 calls \u0060fromSingleUri\u0060, \u0060lastModified\u0060, \u0060printStackTrace\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt:92\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2e380ec4db9adfa3573cefa4f8691e014b5b962ebb9a7494c6b7646ff06d62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/ToolRail.kt:70-90 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt:1588-1608 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/ToolRail.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f393b7864c3758271d649e4acfd41e03e29ab3ccd4688c1018f63917b102ad80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:582-602 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:565-585 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:582\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Close\u0060 names \u0060androidx.compose.material.icons.outlined.Close\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Close\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"839208afe662717b616d1d2a890ae7d4b09351d5dfafc053b97ea4bec671ae8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:774-794 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:736-756 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:774\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"939542cea16dd0b7a81ac468c4640a4a17cb2336e26c21bb19ee88287bb349db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1099-1119 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:1093-1113 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1099\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b4e30cdbb146b81a9ee62cab852b109b23ab98f834c2753f2d3a4ea404581b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): feature/app/src/main/java/com/wanbaohe/app/ui/WebViewModalBottomSheet.kt:129-149 | feature/app/src/main/java/com/wanbaohe/app/ui/WebViewModalBottomSheet.kt:153-173 \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 \u0060feature/app/src/main/java/com/wanbaohe/app/ui/WebViewModalBottomSheet.kt:129\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":"feature/app/src/main/java/com/wanbaohe/app/ui/WebViewModalBottomSheet.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0e45d92a7616521b379c7facd716cc5146b4db359c02ee21a2ed3675ebf3f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): feature/edit-exif/src/main/java/com/t8rin/imagetoolbox/feature/edit_exif/presentation/EditExifContent.kt:255-275 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:419-439 \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 \u0060feature/edit-exif/src/main/java/com/t8rin/imagetoolbox/feature/edit_exif/presentation/EditExifContent.kt:255\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":"feature/edit-exif/src/main/java/com/t8rin/imagetoolbox/feature/edit_exif/presentation/EditExifContent.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef61ad2778afccdfef6d69aed64908734d90e80e8ee7cbe3f76d594b5657ab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/dialogs/ImageInsertDialog.kt:64-84 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/dialogs/LinkInsertDialog.kt:64-84 \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 \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/dialogs/ImageInsertDialog.kt:64\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":"feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/dialogs/ImageInsertDialog.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d4d44ac7aa116997687ba29796eeb47156356bb1bd18406e452d0231cf56df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/AddCategoryScreen.kt:220-240 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/AddTodoScreen.kt:411-431 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/AddCategoryScreen.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"415c269f5c36d858089dfcf8cd974b03cf0d8d6dc8f223079606b29c0e86f2b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:532-552 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:434-454 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"363594e95f2cd0be035206d66641a7ac0599b4925ba5bf693d306577d650a4f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt:243-262 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/components/PdfPagesRotationGrid.kt:238-258 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/components/PdfPagesRotationGrid.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 161 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 \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt:243\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10be3f3189954a4d6418fb287f3fc3398508ee5530ffd8e62a386a6417bf253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:311-331 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/SingleEditContent.kt:280-300 \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":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bea9fb9b09195bfc0f89148f9f5781babcb77decab891a3688e89c8cadcf39c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIFeatureSettingsScreen.kt:185-205 | feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIFeatureSettingsScreen.kt:234-254 \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 \u0060feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIFeatureSettingsScreen.kt:185\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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIFeatureSettingsScreen.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce016bcbbd8bef15b185f54c161db9464d17708981f36199617d39203ffc9dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): feature/settings/src/main/java/com/wanbaohe/setting/authcode/screen/AuthCodeSettingsScreen.kt:590-610 | feature/settings/src/main/java/com/wanbaohe/setting/authcode/screen/AuthCodeSettingsScreen.kt:637-657 \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 \u0060feature/settings/src/main/java/com/wanbaohe/setting/authcode/screen/AuthCodeSettingsScreen.kt:590\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":"feature/settings/src/main/java/com/wanbaohe/setting/authcode/screen/AuthCodeSettingsScreen.kt"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"620fa6a0be723b1109a80d0b42b7a36aa76325a81eefb5f5bc0ffe99d412ef6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): feature/sudoku/src/main/java/com/wanbaohe/sudoku/screen/SudokuCompleteContent.kt:252-272 | feature/sudoku/src/main/java/com/wanbaohe/sudoku/screen/SudokuStatsContent.kt:226-246 \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 \u0060feature/sudoku/src/main/java/com/wanbaohe/sudoku/screen/SudokuCompleteContent.kt:252\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":"feature/sudoku/src/main/java/com/wanbaohe/sudoku/screen/SudokuCompleteContent.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda489cf6639dc59da2fa46278ff6a77a9c458670c7ab811b7284578725a9b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/injector/TextInputInjector.kt:56-76 | feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/injector/TouchInjector.kt:43-62 \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 \u0060feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/injector/TextInputInjector.kt:56\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":"feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/injector/TextInputInjector.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcd5eb376d285514ae5776b7effa83319e7119240ed64a3410e18ea4db0d692"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PinchParamsItem.kt:77-96 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RadialTiltShiftParamsItem.kt:77-96 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt:83-102 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SmearParamsItem.kt:77-96 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/WaterParamsItem.kt:77-96 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PinchParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RadialTiltShiftParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PinchParamsItem.kt:77\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PinchParamsItem.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0d09ab2cdcfe2f0ee2fba643cb24cc32b24af86c49dfe7aa86a8f1e3274ae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:197-216 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt:197-216 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageXiangqiTool.kt:197-216 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:197\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8951a0c5ca0ae01ce244bae54cbd6e40fd510c0ce2d7294fa889e0903112ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ExportGameUseCase.kt:107-126 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ExportGameUseCase.kt:115-134 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ExportGameUseCase.kt:101-120 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ExportGameUseCase.kt:107\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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ExportGameUseCase.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"32554a2ef82dd691b27abbe4e0ce4dde791516e523c5aceb970a1c40e354f5e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:358-377 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:368-387 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:360-379 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:358\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"960f774bcbff3636c0c473f535a36e4911b1afd4c69483348f1403cbd0f646b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt:631-650 | feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt:299-317 | feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt:281-299 \u2014 before extracting anything, compare \u0060feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt\u0060 and \u0060feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 131 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 \u0060feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt:631\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":"feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"927cc9fe76ea68f804e3204fd08bae65d1e1afd6a5e361d8fd07d0964e1b9b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt:70-89 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddEventScreen.kt:76-95 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddMilestoneScreen.kt:67-86 \u2014 before extracting anything, compare \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt\u0060 and \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddEventScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060LifeTimeAddCountdownComponent\u0060 in one and \u0060LifeTimeAddEventComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1831b49f7c1ab9651d823639d8d8c1365dee23612d3bb8375902e5bda0b4886c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): core/base/src/main/java/com/shifenmiao/base/components/ErrorBox.kt:176-194 | feature/common/src/main/java/com/shifenmiao/common/components/ItemNormalCard.kt:96-115 \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 \u0060core/base/src/main/java/com/shifenmiao/base/components/ErrorBox.kt:176\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Refresh\u0060 names \u0060androidx.compose.material.icons.outlined.Refresh\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Refresh\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/shifenmiao/base/components/ErrorBox.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f72e8dd2226929d42843984837b61755ba3c642d5753171038480b0632f2794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageScaler.kt:216-234 | core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageScaler.kt:295-314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageScaler.kt:216\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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageScaler.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee12eb11fb29d8953b90963d5c3cb3185e6ec711dcb8ec260433af94273a093a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/BottomButtonsBlock.kt:265-284 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/BottomButtonsBlock.kt:366-384 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/BottomButtonsBlock.kt:265\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/BottomButtonsBlock.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"773af222e4392b28892d9bb5773c6c54c16edb0fe358268be6604c090b54f853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageFormatSelector.kt:237-256 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageFormatSelector.kt:296-315 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageFormatSelector.kt:237\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageFormatSelector.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a17536c4b1701ab4c10693248d4aed961543043f51a6f9c278e1a7ae4ff6cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:314-333 | feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt:311-330 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt\u0060 and \u0060feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 208 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:314\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:312\u0060 calls \u0060rememberFilename\u0060, \u0060rememberFileSize\u0060 and \u0060feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt:310\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfc6eaecf60761837c045f5cebbfdcd8f6925c4bc9cd21eea01241f1dc9902a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/ImageDetectTab.kt:92-111 | feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/TextDetectTab.kt:72-91 \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 \u0060feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/ImageDetectTab.kt:92\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":"feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/ImageDetectTab.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc58f35e398222d589d156c88a2056a8211897dabd130f2878155510078c962"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:772-791 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:801-820 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:772\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0146da23a2e3bf775cfcb74cf667186e2aa691b69b1e25da804be76d3efaddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): feature/ascii-art/src/main/java/com/t8rin/imagetoolbox/feature/ascii_art/presentation/AsciiArtContent.kt:140-159 | feature/edit-exif/src/main/java/com/t8rin/imagetoolbox/feature/edit_exif/presentation/EditExifContent.kt:169-188 \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 \u0060feature/ascii-art/src/main/java/com/t8rin/imagetoolbox/feature/ascii_art/presentation/AsciiArtContent.kt: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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060AsciiArtComponent\u0060 in one and \u0060EditExifComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ascii-art/src/main/java/com/t8rin/imagetoolbox/feature/ascii_art/presentation/AsciiArtContent.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac09b8e701b0026d26bde5f821e9d5b4c049c70bf26822fccdfb5ff2bc28999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt:792-811 | feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt:907-926 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt:792\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0d7da34ac8dd7d40c97c0abae6c04a5e2dfc0aaf838a44b99b79fe962c2f8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ExportConfigPanel.kt:164-183 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/IdPhotoExportConfigPanel.kt:172-191 \u2014 before extracting anything, compare \u0060feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ExportConfigPanel.kt\u0060 and \u0060feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/IdPhotoExportConfigPanel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ExportConfigPanel.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5aff45783566248ad53ca8511c14dd43542a7596cc9abbe0ba5b0dac5fddb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt:257-276 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:332-351 \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 \u0060feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt:257\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":"feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"97346d2c2ba7bbd8a35f778ddacaf6b1236a437b92b1e75e75e4a52d657e70f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt:163-180 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt:209-228 \u2014 before extracting anything, compare \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt\u0060 and \u0060feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 155 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 \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt:163\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":"feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7b2b4e17af2fd0f694befd35ae0d4a55a3bd5bfe089dfa5b09d5f3bb8f9402"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt:648-667 | feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt:760-778 \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 \u0060feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt:648\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":"feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d78d14cc8654e1b24a9cbcd4077719b3a54975b23e4eaa05830cc7bef2ab5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/repository/PaddleOcrRepository.kt:251-270 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/repository/PaddleOcrRepository.kt:286-305 \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 \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/repository/PaddleOcrRepository.kt:251\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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/repository/PaddleOcrRepository.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0361bccc3035a654dd57c653e172ca76db1dba271423c715af7210bc00d3dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt:94-113 | feature/profile/src/main/java/com/wanbaohe/profile/components/PlayProductSlider.kt:117-135 \u2014 before extracting anything, compare \u0060feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt\u0060 and \u0060feature/profile/src/main/java/com/wanbaohe/profile/components/PlayProductSlider.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 64 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 \u0060feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt:94\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":"feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb67081e902ff938c9a43f2ed834ea7dda0629faf7677eed6322e7cf9be9958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrCalendarEditField.kt:198-217 | feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrCalendarEditField.kt:231-250 \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 \u0060feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrCalendarEditField.kt:198\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":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrCalendarEditField.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a273c344413acb33a29beb739ca5f3ca1f1375d0403e208d9f57bfaa826a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/diagram/src/main/java/com/wanbaohe/diagram/HeadlessDiagramRenderer.kt:98-117 | libs/diagram/src/main/java/com/wanbaohe/diagram/OneBoxDiagramTheme.kt:15-34 \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 \u0060libs/diagram/src/main/java/com/wanbaohe/diagram/HeadlessDiagramRenderer.kt:98\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":"libs/diagram/src/main/java/com/wanbaohe/diagram/HeadlessDiagramRenderer.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c695a4eb8728a290470d85e6d1519ee12db956a550534270e90d0b50a5a7a003"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSubPipelineRegistry.kt:300-319 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSubPipelineRegistry.kt:537-556 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSubPipelineRegistry.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd15456c56fc60a2a6cb88fcdeba29cedb878f6833618ab110f10132716d0c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 15): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ChannelMixParamsItem.kt:104-121 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ClaheParamsItem.kt:93-110 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt:103-120 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/GlitchParamsItem.kt:103-120 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/KaleidoscopeParamsItem.kt:105-122 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearTiltShiftParamsItem.kt:103-120 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PinchParamsItem.kt:98-115 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RadialTiltShiftParamsItem.kt:98-115 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/WaterParamsItem.kt:98-115 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberPairItem.kt:79-96 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberColorModelQuadItem.kt:102-120 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberQuadItem.kt:93-110 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberNumberBlurEdgeModeTripleItem.kt:85-102 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberNumberColorModelTripleItem.kt:91-109 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberTripleItem.kt:87-104 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ChannelMixParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ChannelMixParamsItem.kt:104\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ChannelMixParamsItem.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd69a9bc5e5a5d00659dc2b0e430e02c0b662657c719cbcd9ccdb9ce18787a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 4): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:127-144 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:131-148 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:127-144 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt:199-217 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:127\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060ChessAnalysisComponent\u0060 in one and \u0060GomokuAnalysisComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"139acf5e6b2049bf7ea0aabd6b7f4dea51b7de927a0820f380dd6aad988d5e9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt:342-360 | feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:1024-1042 | feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:1565-1583 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt:342\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"9779a7769612bb46421411d423072831f6fd1330301e6754df54b7091747677d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): feature/audio-cover-extractor/src/main/java/com/t8rin/imagetoolbox/feature/audio_cover_extractor/ui/AudioCoverExtractorContent.kt:177-195 | feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifToolsImagePreview.kt:77-95 | feature/svg-maker/src/main/java/com/t8rin/imagetoolbox/feature/svg_maker/presentation/SvgMakerContent.kt:131-149 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/audio-cover-extractor/src/main/java/com/t8rin/imagetoolbox/feature/audio_cover_extractor/ui/AudioCoverExtractorContent.kt:177\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":"feature/audio-cover-extractor/src/main/java/com/t8rin/imagetoolbox/feature/audio_cover_extractor/ui/AudioCoverExtractorContent.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4550978c4989341f2dcafc68241fc6686972d59ff13e18fd79b48274469480d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:169-187 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:147-165 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:140-158 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060GameStatus\u0060 names \u0060com.wanbaohe.chess.domain.model.GameStatus\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.GameStatus\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbdb3d230a3a70e28cd6be7b55bd800f670fc043e0aa2675b87012b28806445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:410-441 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:410-441 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:410-441 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 428 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:410\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7802ab2809060a89d43b5477817103c9a3ff266f8b76a756e7323535f825fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt:859-877 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt:1469-1487 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt:1506-1524 \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 \u0060feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt:859\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"7727384a4538eb0f8b22b1906044dd10a0a7d8a508be120f27176d6fac681633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:838-856 | feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:948-966 | feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:1064-1082 \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 \u0060feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:838\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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ecfda1a7cfd39de7906dd5f5c227d0fee532718c28ad3e66716892a6f31185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt:145-163 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt:162-180 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/components/PdfPagesRotationGrid.kt:173-191 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt:145\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, \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt:181\u0060 calls \u0060rememberLazyGridState\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt:164\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"120647f1eadb8c7670966271502c8ad3d7aa724d33a2d3e44018702e2828e236"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 3): libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:652-667 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:800-818 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1400-1415 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 234 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:652\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"29315c310caf869dd2de40fc4f9117c08ce6f2cdd203e16af5a4db3400dcc564"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt:308-326 | core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt:416-432 \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 \u0060core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt:308\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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63e280763dd27d2f7f7ae7f09f0aac590d2d6e6377b38c69ecb9f77f91a0d63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateCreationSheet.kt:221-239 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/addEditMaskSheet/AddEditMaskSheet.kt:178-196 \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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateCreationSheet.kt:221\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateCreationSheet.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"23536584f34d531cbccdb81c62bb4e2ae3a5841c1a4a90a4e631969acfef6ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/FavoritesContent.kt:191-209 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/OtherContent.kt:308-325 \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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/FavoritesContent.kt:191\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/FavoritesContent.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f913aaee94bc8eef7b212e4015c9b152112e4bd3d7642986b6e802cabf87a36e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt:99-117 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearGaussianParamsItem.kt:100-118 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearGaussianParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt:99\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"defdd39a0e6c98d7cdfb76248f7d44850153f37b7b0a74b34315d11a1a17148c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/confetti/Particles.kt:165-183 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/confetti/Particles.kt:353-371 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/confetti/Particles.kt:165\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/confetti/Particles.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"896e657289ded8311c52b8d07c75a927a70714777f9d930b043ec0480a6a0b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageSelector.kt:103-121 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageSelector.kt:164-182 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageSelector.kt:103\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageSelector.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"69511f85c81a06ba613d441e8b3181b2621182aa5498731e0f9175c81c925bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:219-237 | feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt:218-236 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt\u0060 and \u0060feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 208 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:219\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt:217\u0060 calls \u0060getOrNull\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt:218\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"767014916cf8c844b597ecafe72cac0942e98b1c93642ebcc4ac6f72660ca635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/MeshGradient.kt:87-105 | feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/data/AndroidGradientMaker.kt:157-175 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/MeshGradient.kt\u0060 and \u0060feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/data/AndroidGradientMaker.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 134 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/MeshGradient.kt:87\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/MeshGradient.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f8598cb7c8e076946ed4783589ebfc60332ebdffafe76cd1bf1f3a15da7f07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt:131-149 | libs/modalsheet/src/main/java/com/t8rin/modalsheet/FullscreenPopup.kt:157-175 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt\u0060 and \u0060libs/modalsheet/src/main/java/com/t8rin/modalsheet/FullscreenPopup.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ef67a44acde180e9861d3e31f3876cc1b6f407052b2b9bc9702769206b805e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:728-746 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:909-926 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:728\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"c007c3d68931a7228600ef9b9dbfaccb2b963dda7d227e783f048d990a23cbd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:878-896 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:838-855 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:878\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2a4eb2cd70085c2d5a1fc9601e4c294d7f0d2e7f6c4a09f18e4931c20f99cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/ui/JsonTreeViewer.kt:159-177 | feature/ai/src/main/java/com/shifenmiao/ai/ui/JsonTreeViewer.kt:210-228 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/ui/JsonTreeViewer.kt:159\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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/JsonTreeViewer.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4998c7f4a287d67acfaffc1276d54475c8aa2a9d8ff59472d4d09b230ad0a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeTrendChart.kt:93-111 | feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/tab/StatsTab.kt:331-345 \u2014 before extracting anything, compare \u0060feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeTrendChart.kt\u0060 and \u0060feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/tab/StatsTab.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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 \u0060feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeTrendChart.kt:93\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeTrendChart.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5927d8fadce2df00fab8e2813084362155f68f674aefb7a375a60d754d9139"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:144-162 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt:143-161 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 239 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 \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:144\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060ApngToolsComponent\u0060 in one and \u0060WebpToolsComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf1fe2756df3626f1fa2859ea35ccf009cb6efdb3c2b78fc4fcacb949c9b5a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/screen/BlessingWallScreen.kt:674-692 | feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/screen/BlessingWallScreen.kt:737-755 \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 \u0060feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/screen/BlessingWallScreen.kt:674\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":"feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/screen/BlessingWallScreen.kt"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9ccf1de0911e2f3fc1111141920f06a14d18869e598897a36ae8e73231f76d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/AiPickerBottomSheet.kt:67-85 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/XiangqiAiPickerBottomSheet.kt:103-121 \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 \u0060feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/AiPickerBottomSheet.kt:67\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":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/AiPickerBottomSheet.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3700d1c3995a289a710c936b80ddba5fb0d46489de15f0793b1a820f90a350dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt:1100-1118 | feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt:1135-1152 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt:1100\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5ca65d55c48b093dae51ab9631276a0402c44f15b0d63fe3cf4ce78c518025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:868-886 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:995-1013 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 106 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:868\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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"331218133b18b2a08d657c48758cef4cd24cb99e777a1be500a75ce27e4bb128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt:109-127 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/search/XiangqiSearch.kt:120-137 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/search/XiangqiSearch.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt:109\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":"feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d69ebc1b5ad73a18807008bd04d23853d7acd4c53af2913418cc202272ebab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:310-328 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt:314-332 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 138 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:310\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0aeb09e13f5ec6720456716238c8447ff5f845a72afbfec679900373547b086"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt:65-83 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosSigner.kt:68-86 \u2014 before extracting anything, compare \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt\u0060 and \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosSigner.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt:65\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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b36b937fb55dab788bfdd0ea8a15050e56508dae4fd35d3fa367950135d9ac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt:415-431 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt:473-491 \u2014 before extracting anything, compare \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt\u0060 and \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 101 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 \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt:415\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt:495\u0060 calls \u0060onGoBack\u0060 and \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt:432\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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"e475d4f3f0195ae360b03a854f424bfc47587b3bb89218918e6572d9b67c18a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/CropContent.kt:200-218 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/DrawContent.kt:226-244 \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 \u0060feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/CropContent.kt:200\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Icons\u0060 names \u0060androidx.compose.material.icons.Icons\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.Icons\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/CropContent.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6463eb29bb6c5f3df82039284ae8aa95872f52d342793ff3c1e96148d2679b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/utils/DrawRepeatedPath.kt:35-56 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/DrawRepeatedPath.kt:35-56 \u2014 before extracting anything, compare \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/utils/DrawRepeatedPath.kt\u0060 and \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/DrawRepeatedPath.kt\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/utils/DrawRepeatedPath.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4b9d15b9e7a30f3aaf9e8283e30a674937bc118b94b6e4454f885763e1540c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt:679-697 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt:743-761 \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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt:679\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"422da34686268f3cc43055cdaa35e4d443877af9ebf96a54dc5bdf6d35175229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:90-108 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:105-123 \u2014 before extracting anything, compare \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt\u0060 and \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 190 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 \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060FormatConversionComponent\u0060 in one and \u0060ResizeAndConvertComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea31a72bd4384f6a1c4153df0f731c47dc0df0df5856c0f6e73c9ca5fb4c063b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt:390-408 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/panels/TextStylePanel.kt:631-649 \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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt:390\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea453b408d446d1fb9c7c8bcd38d6db4c4c9faf44c28b5808ad5ccda362b5262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt:608-626 | feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt:719-737 \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 \u0060feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt:608\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":"feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89526b0e3ce242ae5d4ff7bf8b8cb5d28523a3be3995bdc6e2429bbe4758d1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_to_images/PdfToImagesScreen.kt:197-215 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/split/SplitPdfToolContent.kt:178-194 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_to_images/PdfToImagesScreen.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/split/SplitPdfToolContent.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 117 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 \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_to_images/PdfToImagesScreen.kt:197\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_to_images/PdfToImagesScreen.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"265532c1dfb14fddbe758742433463c18ac6b1432757ed351a037ed85a3cf174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/cropper/src/main/java/com/t8rin/cropper/util/ImageContentScaleUtil.kt:87-105 | libs/image/src/main/java/com/t8rin/image/util/ImageContentScaleUtil.kt:87-105 \u2014 before extracting anything, compare \u0060libs/cropper/src/main/java/com/t8rin/cropper/util/ImageContentScaleUtil.kt\u0060 and \u0060libs/image/src/main/java/com/t8rin/image/util/ImageContentScaleUtil.kt\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060Canvas\u0060 names \u0060androidx.compose.foundation.Canvas\u0060 in one and \u0060androidx.compose.ui.graphics.Canvas\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cropper/src/main/java/com/t8rin/cropper/util/ImageContentScaleUtil.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0735bab7c052b6a63d754fcd6761fd849e49d42b2f60ee77ed3ec3538f43d62c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 5): feature/ai-image/src/main/java/com/shifenmiao/ai/image/screen/AIGCImageScreen.kt:62-79 | feature/base64-tools/src/main/java/com/t8rin/imagetoolbox/feature/base64_tools/presentation/Base64ToolsContent.kt:138-153 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/DrawContent.kt:252-269 | feature/edit-exif/src/main/java/com/t8rin/imagetoolbox/feature/edit_exif/presentation/EditExifContent.kt:154-169 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/SingleEditContent.kt:189-204 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/ai-image/src/main/java/com/shifenmiao/ai/image/screen/AIGCImageScreen.kt:62\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060Base64ToolsComponent\u0060 in one and \u0060EditExifComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai-image/src/main/java/com/shifenmiao/ai/image/screen/AIGCImageScreen.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7434efd8e51ff76c69527df81b12e0cb2b053553defa11920c0d194a2e238691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt:151-168 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/FiltersContent.kt:121-138 | feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:164-181 | feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/GradientMakerContent.kt:125-142 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:183-200 \u2014 before extracting anything, compare \u0060feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt\u0060 and \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt:151\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060DeleteExifComponent\u0060 in one and \u0060FormatConversionComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86c4cac7722caf54bbd5eb91d13c89cd7c791200e0b37480b458f9c99745893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt:627-644 | feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:253-269 | feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/components/GradientMakerBottomButtons.kt:82-99 | feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt:295-311 \u2014 before extracting anything, compare \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt\u0060 and \u0060feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 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 \u0060feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt:627\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":"feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93a4a5c2dbac708d982dd90c128be5ded9350954276fd318c3db1b3a61dcd2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:244-260 | feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/ImageCutterContent.kt:222-238 | feature/image-splitting/src/main/java/com/t8rin/imagetoolbox/image_splitting/presentation/ImageSplitterContent.kt:210-227 | feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt:286-302 \u2014 before extracting anything, compare \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt\u0060 and \u0060feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/ImageCutterContent.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:244\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt:285\u0060 calls \u0060isNotEmpty\u0060 and \u0060feature/image-splitting/src/main/java/com/t8rin/imagetoolbox/image_splitting/presentation/ImageSplitterContent.kt:209\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":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edefe4a40e09f715433561b02529e5e68f1fb837cb798eba81ecfb9459a3938"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:630-647 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:447-463 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:423-439 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:654-671 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 163 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:630\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3887341f0144f7312ff520c9fc91179a337620a4198deba3c7bdf2acd3984b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt:48-65 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/GridSelectorRenderer.kt:50-67 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/RowSelectorRenderer.kt:50-67 \u2014 before extracting anything, compare \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/GridSelectorRenderer.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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, \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/GridSelectorRenderer.kt:68\u0060 calls \u0060resolveInt\u0060, \u0060coerceAtLeast\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt:66\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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"17284f0feedc408508544736fde2c92b27469842a7f83dbb78849f2d0303d1d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt:94-111 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearGaussianParamsItem.kt:95-112 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt:114-131 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearGaussianParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt:94\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8265ed6cf31adebf774e75a1e42cc5e9868c4add51634ec27cde95b6d6100c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/resize_group/ResizeTypeSelector.kt:364-381 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawLineStyleSelector.kt:411-429 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawModeSelector.kt:192-210 \u2014 before extracting anything, compare \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawLineStyleSelector.kt\u0060 and \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/DrawModeSelector.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 72 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/resize_group/ResizeTypeSelector.kt:364\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/resize_group/ResizeTypeSelector.kt"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6603b31f8fe7a17aae18858be9a2d5cb2d0b1e0919b9b2b0957cdf7edee5d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:146-163 | feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/GifToolsContent.kt:140-157 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt:145-162 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 239 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 \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:146\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060ApngToolsComponent\u0060 in one and \u0060GifToolsComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd89446398c7115e343b470c3a0a5a47821a423776e85bd360b5ca24f92852b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/BaZiTab.kt:260-277 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:349-366 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:491-508 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/ui/BaZiTab.kt:260\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/BaZiTab.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ef0df465881cbb3c1c8be8be7c4c5aa8a3fc5d769e10cc23515867cdaa8c43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt:83-100 | feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:87-104 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:102-119 \u2014 before extracting anything, compare \u0060feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt\u0060 and \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060DeleteExifComponent\u0060 in one and \u0060FormatConversionComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt:102\u0060 calls \u0060mutableStateOf\u0060 and \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:106\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":"feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3aecc5361176fe3702cd59e4478e9467b08746bc4941e13a911ae0af4e1fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt:136-153 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddEventScreen.kt:131-147 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddMilestoneScreen.kt:131-148 \u2014 before extracting anything, compare \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt\u0060 and \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddEventScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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 \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1631d3355e5c94e4fbba648f4091784157f9f6a1b97b4b088ab11dc61292ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:327-344 | libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:408-425 | libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:480-497 \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":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"541e614321f1f2e1261ac5a245a9119b0c85863d1c1608f8f6424315a30d09ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt:88-105 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/VoronoiCrystallizeParamsItem.kt:96-113 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/VoronoiCrystallizeParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 92 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt:88\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d5a2a04b887a75c0ed6cf13e33ab109087e3c708ddd8c8adab2cac99df97e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorPicker.kt:200-217 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorPicker.kt:288-302 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorPicker.kt:200\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorPicker.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5a771e17b371c2cdde72e090d84037c57d6962769445c1edf71912a2fffd6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/DataMultipleSelector.kt:200-217 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/DataSelector.kt:196-212 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/DataMultipleSelector.kt:200\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/DataMultipleSelector.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc8bab57008a936d93efcad020526a7c2b1243aa0e45e1663715f36731d44ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/LoadingDialog.kt:146-163 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/LoadingDialog.kt:192-209 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/LoadingDialog.kt:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/LoadingDialog.kt:164\u0060 calls \u0060progress\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/LoadingDialog.kt:210\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/LoadingDialog.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8813e494a02d5d89a674c09f6ee0862092d6eedc3a581d90cc40908c552dda37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCard.kt:78-95 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCard.kt:140-157 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCard.kt:78\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCard.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"30150ee30f0ac60c69aa23c6d15f68d71b8e4c93f597499760eba8d052d8f04e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/CupertinoSwitch.kt:160-176 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/CupertinoSwitch.kt:293-310 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/CupertinoSwitch.kt:160\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/CupertinoSwitch.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"829868735896f601986eba0499d2befe87bfb0131df9651d426166129e5a5226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt:167-184 | libs/modalsheet/src/main/java/com/t8rin/modalsheet/FullscreenPopup.kt:193-210 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt\u0060 and \u0060libs/modalsheet/src/main/java/com/t8rin/modalsheet/FullscreenPopup.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/modalsheet/src/main/java/com/t8rin/modalsheet/FullscreenPopup.kt:212\u0060 calls \u0060dispatchTouchEvent\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt:186\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfe03c8c5fa7ba40be186920aa93c599dfe0621aea5d4b0bc0dec5f2279d2a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/content/MessageComponents.kt:500-517 | feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:554-570 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/content/MessageComponents.kt:500\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":"feature/ai/src/main/java/com/shifenmiao/ai/content/MessageComponents.kt"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"2406e4ec8477673cafddca9ae059eb94722d75d3ede432cfc0c40080f6807180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:926-943 | feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:1089-1106 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:926\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bf48d97aa6c007863c8fc141dca0fbc4027469f10e6ec37cc6bd30aef2b422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:493-510 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:479-495 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:493\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"65be7f9c62aa78e3736b8b74606705a8b7d1d279d58c5178a7f2de3080f0b06b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:936-951 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:931-948 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:936\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2b5129b08f712bc60707e09a4ea9074a625dd22ebdb9f7c3634e4512b9780d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1143-1160 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:1142-1159 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1143\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1142\u0060 calls \u0060verticalScroll\u0060, \u0060rememberScrollState\u0060, \u0060padding\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:1142\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a9ced159ec758910f5e99115ad13b935e0e616bdb867396bf623ef0dafc6bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt:121-138 | feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt:232-247 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt:121\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":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f7aa560ed83314a667d0af8bdad3f75544d9b629128751fea8171f2d192657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt:291-304 | feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt:552-569 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt:291\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":"feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c96118108390b02e9834565c6b4c5a98c399bf7749cf3b4d07d12d1f31956d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt:108-125 | feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdStatsTab.kt:97-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1429d586f7019ea5b40b5e2a91acd37af9da4eef700a0dfd781305870c5dc411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:345-362 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt:267-284 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060OnlineMessage\u0060 names \u0060com.wanbaohe.chess.domain.model.OnlineMessage\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.OnlineMessage\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"8388efc8155ab5aa97cec37b938431a53e1ecace83b621584c3b350e41cb239d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/data/ChessMoveFallback.kt:47-64 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/HeuristicMoveFallback.kt:45-62 \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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/ChessMoveFallback.kt:47\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060MoveDecision\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.MoveDecision\u0060 in one and \u0060com.wanbaohe.xiangqi.application.port.outbound.MoveDecision\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/ChessMoveFallback.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42116431c036085e7d2e375e305b84f8d7aa4c6b59089d7648d80d2a660ed5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/BucketSwitcherSheet.kt:64-81 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/ConnectionSwitcherSheet.kt:95-111 \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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/BucketSwitcherSheet.kt:64\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/ConnectionSwitcherSheet.kt:94\u0060 calls \u0060navigationBarsPadding\u0060 and \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/BucketSwitcherSheet.kt:63\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/BucketSwitcherSheet.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22d0ad9aa184d2581828c68eac26e9098664714380050103b391aa505e8f54d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt:357-374 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_preview/PdfPreviewScreen.kt:131-148 \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 \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt:357\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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"71966157a8b42979f169f1101b81b86723e647e8ea91c9bcf0d91c7da9a695e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/ui/ai/AIModelPickerSheet.kt:416-433 | feature/common/src/main/java/com/shifenmiao/common/ui/ai/AIModelPickerSheet.kt:659-676 \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 \u0060feature/common/src/main/java/com/shifenmiao/common/ui/ai/AIModelPickerSheet.kt:416\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":"feature/common/src/main/java/com/shifenmiao/common/ui/ai/AIModelPickerSheet.kt"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde0c7785cccd9556d6ea11bb774b96f23b56c0013f5e2b9cc04530154bc14c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PolygonParamsSelector.kt:77-94 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/StarParamsSelector.kt:79-96 \u2014 before extracting anything, compare \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PolygonParamsSelector.kt\u0060 and \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/StarParamsSelector.kt\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 \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PolygonParamsSelector.kt:77\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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PolygonParamsSelector.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf597585e8e5ef99488d31958ae7d8c0245b9f6f8b9ac9a56b4e3b8ed72d499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/PlayMoveUseCase.kt:105-122 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/PlayMoveUseCase.kt:83-100 \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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/PlayMoveUseCase.kt:105\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060GameResultResolver\u0060 names \u0060com.wanbaohe.gomoku.domain.GameResultResolver\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.GameResultResolver\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/PlayMoveUseCase.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c85f30308f8d3dd9c00330ffeff58a801ea06dcd9bb8233c8d72551c6d97d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:1074-1091 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:881-898 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:1074\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060FenCodec\u0060 names \u0060com.wanbaohe.gomoku.domain.FenCodec\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.FenCodec\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bd90af91e4492b00eff23f360d840f008b082e990bc4d5cae8ead38bdfd438"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/components/ColorStopSelection.kt:255-272 | feature/palette-tools/src/main/java/com/t8rin/imagetoolbox/feature/palette_tools/presentation/components/MaterialYouPaletteControls.kt:258-275 \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 \u0060feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/components/ColorStopSelection.kt:255\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":"feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/components/ColorStopSelection.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d1ec6b7a7f4b2d6512bdc4c1084a31b29cef750d47e3318305850aac7b503e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/tab/StatsTab.kt:236-253 | feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdStatsTab.kt:396-410 \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 \u0060feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/tab/StatsTab.kt:236\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdStatsTab.kt:394\u0060 calls \u0060cardColors\u0060 and \u0060feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/tab/StatsTab.kt:235\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":"feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/tab/StatsTab.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d124c2900c383810cacfeeff576ba5a80d48fa9bb8a7f3cf0c4d005e4f246a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt:565-582 | feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt:735-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt:565\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":"feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"193b2c36bd3d6ee0704c9156400fc5714526633b5161f9cb0b7d11053bd27f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt:265-282 | feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt:247-264 \u2014 before extracting anything, compare \u0060feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt\u0060 and \u0060feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 131 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 \u0060feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt:265\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":"feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/ImageStackingContent.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"77383bd7fbd1cb1ab42c71418a6e754b86c31a2e392fb0ff3b5712aa35c629e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): feature/loan-calculator/src/main/java/com/wanbaohe/loancalculator/ui/input/widget/RepaymentMethodSheet.kt:80-97 | feature/loan-calculator/src/main/java/com/wanbaohe/loancalculator/ui/input/widget/TermPickerSheet.kt:108-124 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/loan-calculator/src/main/java/com/wanbaohe/loancalculator/ui/input/widget/RepaymentMethodSheet.kt:80\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/loan-calculator/src/main/java/com/wanbaohe/loancalculator/ui/input/widget/RepaymentMethodSheet.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8ec837701474d72356bacfc281803a0050fdd2fe1945b70fce3f6f5fcdacc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:454-471 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:389-406 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:454\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"253a2acf5b04264e54fbca3f8dbbf06d0d4c0be42091889549178588868c9fd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/InPlaceTextLayerEditor.kt:180-197 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/CardCanvasPreview.kt:519-536 \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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/InPlaceTextLayerEditor.kt:180\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/InPlaceTextLayerEditor.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"365476f6f4fac67b5e7f95365a0bf17e051f3ab0b3644cbf641e3f9b5f3e4958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt:71-88 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/crop/CropToolScreen.kt:318-335 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt\u0060 and \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/crop/CropToolScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6b5391c4587407585342d53a8715650aea7eb4cd60593f4486a7efbfa2ade4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/password-vault/src/main/java/com/wanbaohe/passwordvault/detail/PasswordVaultDetailScreen.kt:328-345 | feature/password-vault/src/main/java/com/wanbaohe/passwordvault/detail/PasswordVaultDetailScreen.kt:380-397 \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 \u0060feature/password-vault/src/main/java/com/wanbaohe/passwordvault/detail/PasswordVaultDetailScreen.kt:380\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":"feature/password-vault/src/main/java/com/wanbaohe/passwordvault/detail/PasswordVaultDetailScreen.kt"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95f1b58259b153dfc4537e8adfed5298f4e9c7debe75370d13cb14be4192a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/translator/src/main/java/com/wanbaohe/translator/screen/TranslationPane.kt:422-439 | feature/translator/src/main/java/com/wanbaohe/translator/screen/TranslationPane.kt:510-527 \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 \u0060feature/translator/src/main/java/com/wanbaohe/translator/screen/TranslationPane.kt:422\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060selected\u0060 to \u0060color = if (mode ==\u0060 in one and \u0060color = if (language ==\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/translator/src/main/java/com/wanbaohe/translator/screen/TranslationPane.kt"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24e3ee62b77cffd16cc70557212c1023cd17699ed20b9e86013cae8685f51c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/canvas/WatermarkCanvas.kt:282-299 | feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/canvas/WatermarkCanvas.kt:307-324 \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 \u0060feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/canvas/WatermarkCanvas.kt:282\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":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/canvas/WatermarkCanvas.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"95750c2b063f70707d5d8b482a7e701ddcbbcf0ffbf214b5181f6d0435658a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:321-338 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:466-483 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 144 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:321\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e41122e44439b98982629759054673487b27c0e17248db7d003c6ba24ced201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:474-491 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:598-610 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 144 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:474\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. 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb0ae6e7381b0211176fdeeff28fbbc6ed0cc5fe923c27360f343e50a707e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:972-989 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:356-373 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:972\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"88821342198f1d8b084c990069ba21083c3173ad24e3c03a33476bcf6294d377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt:89-102 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlWbsSubPipeline.kt:91-108 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlWbsSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt:89\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d35ec79ccb23de035f188a212087a253f5a31acbe6e3c1adaace96909bbfbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt:142-159 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlWbsSubPipeline.kt:136-153 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlWbsSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt:142\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"47126a399767890f62e289f4467615b3f54868c5626458f23ca2200da99af939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/HeadingRenderer.kt:102-119 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/HeadingRenderer.kt:122-138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/HeadingRenderer.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa247cc711c241bdeccf8877b3756bc6f773f34240c9ef08f64a436103636fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt:85-101 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ChannelMixParamsItem.kt:86-102 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt:85-101 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/GlitchParamsItem.kt:85-101 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/KaleidoscopeParamsItem.kt:87-103 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearTiltShiftParamsItem.kt:85-101 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt:85\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a951aaab551760b88519bea61199b26b4e281b3a4db7fef5bb10b37480a43b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 6): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SideFadeRelativeItem.kt:65-81 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberBlurEdgeModePairItem.kt:54-67 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberBooleanPairItem.kt:53-66 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberMirrorSidePairItem.kt:54-67 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberTransferFuncPairItem.kt:54-67 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberTransferFuncBlurEdgeModeTripleItem.kt:65-81 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberTransferFuncPairItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberTransferFuncBlurEdgeModeTripleItem.kt\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SideFadeRelativeItem.kt:65\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberBlurEdgeModePairItem.kt:68\u0060 calls \u0060onFilterChange\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SideFadeRelativeItem.kt:82\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SideFadeRelativeItem.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdab9d42605772094794ac48fccec083c5aab1c6893d910801d231e1eed15997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/OutlinedText.kt:107-123 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/OutlinedText.kt:175-191 | feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:577-593 | feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt:651-667 | feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt:1212-1228 \u2014 there are 5 copies across 4 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/OutlinedText.kt:107\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/OutlinedText.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ab228c1620416333994df25d4c1476e3dd57ebe6e9a432077996fdf0db0e4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt:144-160 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt:109-125 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt:107-123 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/components/PdfPagesRotationGrid.kt:97-113 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt:144\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cff49660ecb91424395bf6cd5822e07b67ad22a357df0d8aa3e1de6d0dc5199"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 4): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:265-281 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:933-945 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1258-1270 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:400-412 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:265\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b97f21e59305f1fb9df24d27c5198f91bd92b94bf7c29d882cadba556ce8b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt:479-495 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/AddExifSheet.kt:181-197 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/ProcessImagesPreferenceSheet.kt:173-189 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/AddExifSheet.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 120 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt:479\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Close\u0060 names \u0060androidx.compose.material.icons.rounded.Close\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Close\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f101bdde74b195c1012b914d00a08261aaf75954309221fd09f7d28dd9ac48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:370-386 | feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/GifToolsContent.kt:233-250 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt:368-384 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 239 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 \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:370\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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedb1036633ac59fb12c4abb2cadac05de8874ab7f728b5f21367071e00d2193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:298-314 | feature/profile/src/main/java/com/wanbaohe/profile/screen/ChangePasswordSheet.kt:252-268 | feature/profile/src/main/java/com/wanbaohe/profile/screen/VerifyEmailSheet.kt:197-213 \u2014 before extracting anything, compare \u0060feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt\u0060 and \u0060feature/profile/src/main/java/com/wanbaohe/profile/screen/ChangePasswordSheet.kt\u0060 as WHOLE FILES: this scan already matched 4 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. 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 \u0060feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:298\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":"feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"820908268ddf4907b883c4b2286185c41dfd70b593c15c2e1c043b8f5a3d0c30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:365-381 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt:406-422 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt:287-303 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060ConnectionState\u0060 names \u0060com.wanbaohe.chess.domain.model.ConnectionState\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.ConnectionState\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3615ee153396b39bb4da761b1eab023e5cb1014b67cc33189f9bd59709770b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt:144-160 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt:155-171 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiAnalysisComponent.kt:142-158 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt:144\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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f582cdfe2c8ee77e9f3d46736ff33e26257c1e1c2923af8e0ed6ce7a70dfa17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:174-190 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:178-194 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:175-191 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 109 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:174\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"716e82fc70520d7bc84f8000a2cb3d08fe05b3735689fe62cad6787353e1cb71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:698-714 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:698-714 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:698-714 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 428 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:698\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"94451bbcf4bbcc49112f8798ec9e2341b029004362dea959afd68eef750b500b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/CropContent.kt:135-151 | feature/edit-exif/src/main/java/com/t8rin/imagetoolbox/feature/edit_exif/presentation/EditExifContent.kt:93-109 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/SingleEditContent.kt:106-122 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060CropComponent\u0060 in one and \u0060EditExifComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/CropContent.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfc22ef1a18fcae7c5567f999bcb7656431c4a7158e92b3b547a832c9cf9414"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifToolsTopAppBarActions.kt:82-96 | feature/image-preview/src/main/java/com/t8rin/imagetoolbox/feature/image_preview/presentation/ImagePreviewContent.kt:273-289 | feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageTopAppBarActions.kt:88-102 \u2014 before extracting anything, compare \u0060feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifToolsTopAppBarActions.kt\u0060 and \u0060feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageTopAppBarActions.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifToolsTopAppBarActions.kt:82\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. Note first that the copies are not typed on the same thing: \u0060Icons\u0060 names \u0060androidx.compose.material.icons.Icons\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.Icons\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifToolsTopAppBarActions.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"737aa31560c3908855c1927a3aa253ee8d32dbcda7a7768c01b3bfb55d0fa06a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt:557-573 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/draw/BrushSettingsDialog.kt:236-252 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/shape/ShapeToolSheet.kt:241-257 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e71bb401f665c863d1c2f8b9765d78b92cfd37e9807e571da8a8f4c0f534560"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201317 lines \u00D7 4): feature/marquee/src/main/java/com/shifenmiao/marquee/screen/MarqueeScreen.kt:408-424 | feature/marquee/src/main/java/com/shifenmiao/marquee/screen/MarqueeScreen.kt:444-460 | feature/marquee/src/main/java/com/shifenmiao/marquee/screen/MarqueeScreen.kt:473-489 | feature/marquee/src/main/java/com/shifenmiao/marquee/screen/MarqueeScreen.kt:501-510 \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 \u0060feature/marquee/src/main/java/com/shifenmiao/marquee/screen/MarqueeScreen.kt:408\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. Note first that the copies are not typed on the same thing: \u0060Check\u0060 names \u0060androidx.compose.material.icons.filled.Check\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Check\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/marquee/src/main/java/com/shifenmiao/marquee/screen/MarqueeScreen.kt:408\u0060 calls \u0060Icon\u0060 and \u0060feature/marquee/src/main/java/com/shifenmiao/marquee/screen/MarqueeScreen.kt:501\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":"feature/marquee/src/main/java/com/shifenmiao/marquee/screen/MarqueeScreen.kt"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"6743e82bb76c282678dfcb4212ee04fbb8f06e62f86f4c65e4fd12a6ad838dc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 3): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:740-752 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:342-354 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1523-1539 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 49 separate duplicated blocks between them, totalling at least 520 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:740\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"678f5922df184942068c437a738e990273ae99309adb6a1030a7dbd7ccbe027f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1778-1794 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:854-870 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:890-906 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1778\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1778}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb7027da4da77cc010b5fbab10204a77ebb05ac067c28101c723272456cd264"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageScaler.kt:191-207 | core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageScaler.kt:269-285 \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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageScaler.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e09d5e438adaef23d94bae7d09bdf740dc4e82a0a5e75c86a50ccc67c8283a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageScaler.kt:236-252 | core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageScaler.kt:317-333 \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 \u0060core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageScaler.kt:236\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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/image/AndroidImageScaler.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"548e1f757c4dcb2fb0011e198101d8d684a91bf96be7574839b3a05e7150493d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt:135-151 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:168-184 \u2014 before extracting anything, compare \u0060core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt\u0060 and \u0060core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 77 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 \u0060core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt:135\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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f8c2bb5ca13a7616953acce56514faaea51e5d1a777a97246948457b523cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterItem.kt:286-302 | feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/components/StackImageItem.kt:153-169 \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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterItem.kt:286\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterItem.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2963858e798b1b247db40b0b88b07faf135648f61fb8c1b77c287d7ba5ef61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/ColorModelTripleItem.kt:70-86 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/ColorModelTripleItem.kt:88-104 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/ColorModelTripleItem.kt:105-120 \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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/ColorModelTripleItem.kt:70\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/ColorModelTripleItem.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a27117360e5aaf14622d9941fcf846762293bb29ddec58bee178eb6317203c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelColorModelTripleItem.kt:98-114 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelColorModelTripleItem.kt:116-132 \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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelColorModelTripleItem.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0103b6aa276e626d931c0299510bfb651be69c49778e387edf3744c46d7bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberNumberBlurEdgeModeTripleItem.kt:68-83 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberNumberColorModelTripleItem.kt:71-87 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberNumberBlurEdgeModeTripleItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberNumberColorModelTripleItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberNumberBlurEdgeModeTripleItem.kt:68\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberNumberBlurEdgeModeTripleItem.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"771c968d040a19850e65484396fb1c961f750d984dfd55fc0f29a7563689f922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/model/src/main/java/com/shifenmiao/model/ai/AiModel.kt:282-298 | core/model/src/main/java/com/shifenmiao/model/ai/AiModel.kt:493-509 \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 \u0060core/model/src/main/java/com/shifenmiao/model/ai/AiModel.kt:282\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":"core/model/src/main/java/com/shifenmiao/model/ai/AiModel.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"182717e60f242b9826fb7d13f1fede30ef80edf75be2215bb9ded88c1338f129"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): core/ui/src/main/java/com/wanbaohe/base/ui/image/IconImageBox.kt:81-97 | core/ui/src/main/java/com/wanbaohe/base/ui/image/IconImageBox.kt:204-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 \u0060core/ui/src/main/java/com/wanbaohe/base/ui/image/IconImageBox.kt:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/java/com/wanbaohe/base/ui/image/IconImageBox.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66f21219ea772c32d3119f9773f0f0328717ff74100ec2632668bc9fbfb4c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseTimeRangePickerDialog.kt:127-143 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseTimeRangePickerDialog.kt:145-161 \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 \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseTimeRangePickerDialog.kt:127\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":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseTimeRangePickerDialog.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed5d737c65c48fd869429e9c5f59edc935790962c41e7c9d2ad5d7806486ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedTimeFilterBar.kt:124-140 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedTimeFilterBar.kt:173-189 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedTimeFilterBar.kt:124\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedTimeFilterBar.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10eb0308893250c02395d9bb9c1074f5dfff56c414c45af6dc4222fccd6be53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassIconButton.kt:60-76 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassIconButton.kt:128-144 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassIconButton.kt:60\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassIconButton.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"064432c0c17bb97138b344c208978c9be4a1a88447fa5b3c93713b69f638102c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:57-73 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:94-110 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:57\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"98036063549be4487dbc361b7ad4c300a8190cf6abf2b3c16ac9d75521ae35ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:136-152 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:173-189 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:136\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"abff544f6dceccf052153e1e29084f49027985f2dbd49f0f1081a8fe647c3751"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/AddWatermarkTool.kt:225-241 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ConvertImageFormatTool.kt: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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/AddWatermarkTool.kt:225\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/AddWatermarkTool.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bcf1112a3a22a73f476ce6f6335a099ab87b111ac12351274eeb179827b72e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/content/MessageComponents.kt:259-275 | feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:1990-2006 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/content/MessageComponents.kt:259\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":"feature/ai/src/main/java/com/shifenmiao/ai/content/MessageComponents.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff05d2d37241fd75cdffdd6513c7e3f1b6a422938b1b154bcfc43b4a24a79b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:748-764 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:713-726 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:748\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b42210aac8e7229218e61e903e2fd87dc4b9629aa6daf4230d010ca4f3507ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:251-267 | feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt:245-261 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:251\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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f45de743d3d04c155d4c713fcd7719b199f5674a1c3fe2d11c79a1916e8df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): feature/altitude/src/main/java/com/wanbaohe/altitude/data/sensor/GpsAltitudeSource.kt:105-121 | feature/altitude/src/main/java/com/wanbaohe/altitude/data/sensor/GpsAltitudeSource.kt:132-146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/altitude/src/main/java/com/wanbaohe/altitude/data/sensor/GpsAltitudeSource.kt:132\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":"feature/altitude/src/main/java/com/wanbaohe/altitude/data/sensor/GpsAltitudeSource.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd485287684eb9f363c1fced53c45bab22e5c2c5e30221564d40a815bd5687d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:320-336 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt:320-336 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 239 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 \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:320\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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8e49dea2c95e0aaf5f5a98de9c696d039c066342572b34a425dbf29c4b88fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:526-542 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:680-696 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:526\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"485338d2073bdacab21ddc82d7307b032a6f3d956fbb5ddcfee9eba7de8c09c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ExportConfigPanel.kt:92-108 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/IdPhotoExportConfigPanel.kt:120-136 \u2014 before extracting anything, compare \u0060feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ExportConfigPanel.kt\u0060 and \u0060feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/IdPhotoExportConfigPanel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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 \u0060feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ExportConfigPanel.kt:92\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":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ExportConfigPanel.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88efeb4495c4b8b1a65a8af473b60eb386d2ecaa222a60e5d94a9f28aa5df57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt:108-124 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GameDaoAdapter.kt:106-122 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GameDaoAdapter.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2b622c5bd86f66f413df0cd70076e991b694b36b267cd62149b10ac77547dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt:170-186 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiPlayHomeScreen.kt:185-201 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiPlayHomeScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt:170\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a6c2882317c8a00e287df066cc99ef7ffc7aef99823db01c2b48e8614c15da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt:465-481 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt:612-628 \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 \u0060feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt:465\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafc59fcaa81fb783c37399e9dee4b8d3ff09920f098d9eb16cac01e2fb27cbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastBlurFilter.kt:68-83 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/StackBlurFilter.kt:74-90 \u2014 before extracting anything, compare \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastBlurFilter.kt\u0060 and \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/StackBlurFilter.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastBlurFilter.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6df7476b246c86448e351579b70cfd8c24b56d46cd51815282eede40632acc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/ImageCutterContent.kt:97-113 | feature/image-splitting/src/main/java/com/t8rin/imagetoolbox/image_splitting/presentation/ImageSplitterContent.kt:90-106 \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 \u0060feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/ImageCutterContent.kt:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060ImageCutterComponent\u0060 in one and \u0060ImageSplitterComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/ImageCutterContent.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8c56f95fa74cd9055ef5aa0ce5867b96172b6d5f051b1f8553cee9698fc198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/screenLogic/ImageStackingComponent.kt:186-202 | feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/screenLogic/ImageStackingComponent.kt:243-259 \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 \u0060feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/screenLogic/ImageStackingComponent.kt:186\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/screenLogic/ImageStackingComponent.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cda35126dca7ba4cd6c903e461a938b3fbbf2dd7e6495872b52dbce2b2a78c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt:278-294 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:352-368 \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 \u0060feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt:278\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":"feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/ImageStitchingContent.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afa9fb3e477ffe07683d261021502b963f249776b2169c58f9580cfcc1b0342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/screenLogic/ImageStitchingComponent.kt:207-223 | feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/screenLogic/ImageStitchingComponent.kt:310-326 \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 \u0060feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/screenLogic/ImageStitchingComponent.kt:207\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":"feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/screenLogic/ImageStitchingComponent.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0677d92a117ef23bcaaf83be6b2172daa4e09c6badc1f076083282def580cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt:243-259 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddMilestoneScreen.kt:228-244 \u2014 before extracting anything, compare \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt\u0060 and \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddMilestoneScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 125 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 \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt:243\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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"65622490dfed305ad83ea761639fa0381a278d973d702e10d4445b8e8c0c4ba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:157-173 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt:175-191 \u2014 before extracting anything, compare \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt\u0060 and \u0060feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:157\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":"feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c551a3b45c321cf6edc7f7a4a453326f5a0c567a59bef30d8dff8c71289201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/login/src/main/java/com/shifenmiao/login/ui/PhoneBody.kt:241-257 | feature/profile/src/main/java/com/wanbaohe/profile/screen/BindEmailSheet.kt:218-234 \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 \u0060feature/login/src/main/java/com/shifenmiao/login/ui/PhoneBody.kt: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":"feature/login/src/main/java/com/shifenmiao/login/ui/PhoneBody.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3258f97482f3389ecfbc0e8d0519320aa604b9f8d6adc633a9f84fd589780b51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/dialogs/CodeBlockInsertDialog.kt:88-104 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/dialogs/LinkInsertDialog.kt:72-88 \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 \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/dialogs/CodeBlockInsertDialog.kt:88\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":"feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/dialogs/CodeBlockInsertDialog.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea97f92d17673001aa047b2d73982c20f00eb1c49e933b0f557f087be98452a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt:802-817 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt:826-842 \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 \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt:802\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0d318d379d6b2db7caf980b4a3587fe85757ac70b6729e7a0895b1a71c12d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt:208-224 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt:288-304 \u2014 before extracting anything, compare \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt\u0060 and \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 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 \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt:208\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1776774821b35ed86119c29ca35c5cf1d6452b1115a5fb552b25fa59eb647c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt:370-386 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/TextCardDocumentCodec.kt:262-278 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060font\u0060 to \u0060FontType) = when (font\u0060 in one and \u0060FontType): JsonObject = when (font\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"19918c0395f465c13fd9c27f704f94409eab3fa229ef60cd9e6aae6f44e17e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/TextLayerExportRenderer.kt:194-210 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/TextBlockRendering.kt:45-61 \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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/TextLayerExportRenderer.kt:194\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/TextLayerExportRenderer.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8661e40319026abeeb5c4ff3d826bc052a9907a9298c7552e976ee606400a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/InPlaceTextLayerEditor.kt:311-327 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/TextLayerPreviewRenderer.kt:92-108 \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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/InPlaceTextLayerEditor.kt:311\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/InPlaceTextLayerEditor.kt"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5049f7210393606f7c2f79bcb95d1822acaed23cc5db8d255d110280c21fcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/profile/src/main/java/com/wanbaohe/profile/screen/AboutUsScreen.kt:308-324 | feature/profile/src/main/java/com/wanbaohe/profile/screen/ContactUsScreen.kt:193-209 \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 \u0060feature/profile/src/main/java/com/wanbaohe/profile/screen/AboutUsScreen.kt:308\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":"feature/profile/src/main/java/com/wanbaohe/profile/screen/AboutUsScreen.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d5fae2560ce82aa58fa6b3697e62732456c606a5aed93ba9b9744e5b44d92d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/settings/src/main/java/com/wanbaohe/setting/memory/screen/MemoryManagementScreen.kt:108-124 | feature/settings/src/main/java/com/wanbaohe/setting/skill/screen/SkillManagementScreen.kt:168-184 \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 \u0060feature/settings/src/main/java/com/wanbaohe/setting/memory/screen/MemoryManagementScreen.kt:108\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":"feature/settings/src/main/java/com/wanbaohe/setting/memory/screen/MemoryManagementScreen.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a7b2bc08019dc746ce66e16a891586426ee3387ca3a147c81430ccc8a094d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/unit-converter/src/main/java/com/wanbaohe/unitconverter/screen/UnitConverterScreen.kt:822-838 | feature/unit-converter/src/main/java/com/wanbaohe/unitconverter/screen/UnitConverterScreen.kt:864-880 \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 \u0060feature/unit-converter/src/main/java/com/wanbaohe/unitconverter/screen/UnitConverterScreen.kt:822\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":"feature/unit-converter/src/main/java/com/wanbaohe/unitconverter/screen/UnitConverterScreen.kt"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"0844235672944758464d4721087b66d19b0ba2ec3cbc89dab320c0e942d342c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt:688-704 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt:725-740 \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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"60208f37ad92e0ae69ea07a30136e3e7e567f5f8a6208a8b61b488c9219e2ef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/cropper/src/main/java/com/t8rin/cropper/draw/Overlay.kt:97-113 | libs/cropper/src/main/java/com/t8rin/cropper/draw/Overlay.kt:124-140 \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 \u0060libs/cropper/src/main/java/com/t8rin/cropper/draw/Overlay.kt:97\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":"libs/cropper/src/main/java/com/t8rin/cropper/draw/Overlay.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b6347d785ca4bbf2543491f4b83e795f579c394d43cfe2adaf67aad948998c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/cropper/src/main/java/com/t8rin/cropper/util/ImageContentScaleUtil.kt:56-72 | libs/image/src/main/java/com/t8rin/image/util/ImageContentScaleUtil.kt:56-72 \u2014 before extracting anything, compare \u0060libs/cropper/src/main/java/com/t8rin/cropper/util/ImageContentScaleUtil.kt\u0060 and \u0060libs/image/src/main/java/com/t8rin/image/util/ImageContentScaleUtil.kt\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cropper/src/main/java/com/t8rin/cropper/util/ImageContentScaleUtil.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"695513cc30b4448c2edfde7b07b972701bde7d4c27756dab374d8d41f3a1de63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 6): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:116-128 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1023-1035 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:583-598 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:429-441 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:243-255 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:282-294 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e240c9eccb4e3ee8a421cdca060ab73443e324cc54c5792825c3c2e181ac9c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 5): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:135-150 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:974-985 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1007-1018 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:597-612 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:303-314 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:135\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5962e8c56e3fdcf9ef2ea92a2b990e71e64fdd34f7155d9da9c46a83856ae06a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt:105-120 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt:106-121 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SmearParamsItem.kt:100-115 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/VoronoiCrystallizeParamsItem.kt:126-141 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SmearParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt:105\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb8750df2e2da1909be9abcce0638144c77ac3c32a997d11ef3a81452779ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): feature/base64-tools/src/main/java/com/t8rin/imagetoolbox/feature/base64_tools/presentation/Base64ToolsContent.kt:253-268 | feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/CropContent.kt:369-384 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/DrawContent.kt:352-367 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/SingleEditContent.kt:333-348 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/base64-tools/src/main/java/com/t8rin/imagetoolbox/feature/base64_tools/presentation/Base64ToolsContent.kt:253\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":"feature/base64-tools/src/main/java/com/t8rin/imagetoolbox/feature/base64_tools/presentation/Base64ToolsContent.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"95aa2ff9058452f61d83c5ba15e014ba9b4bcc60366415273236b0bd5b9af1e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/FloatPaletteImageModelTripleItem.kt:69-84 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelColorModelTripleItem.kt:63-78 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelPopArtTripleItem.kt:67-82 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelColorModelTripleItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelPopArtTripleItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/FloatPaletteImageModelTripleItem.kt:69\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/FloatPaletteImageModelTripleItem.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6069f111aa631a6aeb0d0135070440299b1bdb5a80302b2b56a636de42c9b9c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:268-283 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:228-243 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:239-254 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:268\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060FenCodec\u0060 names \u0060com.wanbaohe.chess.domain.FenCodec\u0060 in one and \u0060com.wanbaohe.gomoku.domain.FenCodec\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45edbcb895cf95b569d622cb51cb81010d651b0ecb7ede10f0a6f6761bbe055"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/ChessMoveFallback.kt:47-62 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GomokuMoveFallback.kt:50-65 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/HeuristicMoveFallback.kt:45-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/ChessMoveFallback.kt:47\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060MoveDecision\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.MoveDecision\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.MoveDecision\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/ChessMoveFallback.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceb5057c658624036913408cf67fa43fb67361486d469475f57cad8a5a43ba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/PlyDaoAdapter.kt:58-73 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/PlyDaoAdapter.kt:58-73 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/PlyDaoAdapter.kt:58-73 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/PlyDaoAdapter.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/PlyDaoAdapter.kt\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060PlyEntity\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.PlyEntity\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.PlyEntity\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/PlyDaoAdapter.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce958a76ad1a0d992943646468c44b3d9c967c2fe78ccd7b36a30dadf7ae510e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessImportDialog.kt:43-58 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuImportDialog.kt:43-58 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiImportDialog.kt:43-58 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessImportDialog.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuImportDialog.kt\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessImportDialog.kt:43\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessImportDialog.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07dfdfe3c2956060bbc446f764b9b80480ea5402ca3e714b5920151b195ba08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt:232-247 | feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/CropContent.kt:202-217 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/DrawContent.kt:228-243 \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. Note first that the copies are not typed on the same thing: \u0060Icons\u0060 names \u0060androidx.compose.material.icons.Icons\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.Icons\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23e76db244eb4c53a7fbc6f7c9200f38ebdc356187a7963fd321a0855a0b9ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:789-804 | feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:1131-1146 | feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:1408-1423 \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 \u0060feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:789\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":"feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d52ad2f48e440a07708c7399db695e3bf97923cee73a01fc34c6a7a376ebc41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/display/TextRenderer.kt:75-90 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1479-1494 \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 \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/display/TextRenderer.kt:75\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060style\u0060 to \u0060String?): TextStyle = when (style\u0060 in one and \u0060String?) = when (style\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/display/TextRenderer.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"549022d99d4789cf9cc262837c49ed70447ee41273ce181045ba520a742099b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt:91-106 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ImagePickerRenderer.kt:76-91 \u2014 before extracting anything, compare \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ImagePickerRenderer.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt:91\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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"96066bc85933d709044724c2a21bb64abb9a5d96d4cc08cf71d60b01ccebbfdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:361-376 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:379-394 \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 \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:361\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":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"8340684292f9c7fb6edf21e8dc2b330c5139aacfd6649899c6a64967a683df23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/ClipboardUtils.kt:48-63 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/ClipboardUtils.kt:89-101 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/ClipboardUtils.kt:48\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/ClipboardUtils.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3f6c15abee05ae5055e2427085739d77abee12893f6308f31e6ad5ad488573"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorTuplePicker.kt:233-248 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorTuplePicker.kt:250-265 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorTuplePicker.kt:233\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorTuplePicker.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"606bb6988530e62ee0dc90e2e7211104af52d1356962b4af09d9337165de2ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PageInputField.kt:48-63 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PageInputField.kt:48-63 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PageInputField.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PageInputField.kt\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PageInputField.kt:48\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PageInputField.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1429e15e38c6461eefeb6f16f1c7e4a1c9e57ec8e3d8ccc2a34283c64420d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/DecisionWheelDialog.kt:173-188 | feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelSpinScreen.kt:426-441 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/DecisionWheelDialog.kt:173\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 first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.t8rin.imagetoolbox.core.resources.R\u0060 in one and \u0060com.wanbaohe.decisionwheel.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/DecisionWheelDialog.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9d237cdbc033bdc1dbedba65f23e01bab2f064f661271289032e77abe6d173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt:210-225 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt:293-308 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt:210\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72e25648ef55b27cae17b72fc5da9f96512f1e88617e252549a4a7f2595bf4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/ToastHost.kt:291-306 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/ToastHost.kt:359-374 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/ToastHost.kt:291\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/ToastHost.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ea91340477e65cb11537406882735c1ea647c6e238749fcf71a2639f8d7e8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/content/AIChatHistory.kt:124-139 | feature/ai/src/main/java/com/shifenmiao/ai/content/AIChatHistory.kt:159-174 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/content/AIChatHistory.kt:124\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":"feature/ai/src/main/java/com/shifenmiao/ai/content/AIChatHistory.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a082a19d68a82db6a7204a72bc5a488f49592edf631b35ed92664e558ad3ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt:253-269 | feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt:830-846 \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":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de900f60574ac1915a5fc10c9a38e949e0fc7cf40d872f3437b9bf4c90483b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt:451-465 | feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdStatsTab.kt:390-405 \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 \u0060feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt:451\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a391a5f29bb9f144f2fad0f8075a4e30aab7fcd14052eb8922c03206c48fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt:456-472 | feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt:547-562 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt:456\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"271a87638200886a6ff2caa25b6da3dfd5ea02143c7313611657f72467520fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/AuspiciousDayTab.kt:131-146 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/AuspiciousDayTab.kt:148-163 \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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/AuspiciousDayTab.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dabf924ddd52a567aaa1314493fe90432dae863b9a9653421c25b726f6a7ba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:527-542 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:701-716 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:527\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"4972913adac0858da5080fca5908b1b46efae558421b4b5c6084124b16263774"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt:123-138 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/PlayMoveUseCase.kt:66-81 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/PlayMoveUseCase.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060GameStatus\u0060 names \u0060com.wanbaohe.chess.domain.model.GameStatus\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.GameStatus\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt:121\u0060 calls \u0060statusAfterHistoryChange\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/PlayMoveUseCase.kt:65\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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbceed0a8978599ad9e4670fd3e1a7a911da9da14917456786b388fc0e6deb89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt:68-83 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GameDaoAdapter.kt:66-81 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GameDaoAdapter.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt:68\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060GameEntity\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.GameEntity\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.GameEntity\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"de72fff613637ab19598921a095be4b2b8cc35225ca2b0ba2cc3ba60a97c5c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt:203-218 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt:201-215 \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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt:203\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1691cd8835c7e615c0b3b4887604ba8c4911a445caf16f43c94b3ff19e60b50b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/CloudStorageScreen.kt:501-516 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/CloudStorageScreen.kt:621-634 \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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/CloudStorageScreen.kt:501\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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/CloudStorageScreen.kt"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ed7b0d1e39e567fbd7e894bd234df5a34e29035c0f5cffee17c31f05304140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt:219-234 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt:210-225 \u2014 before extracting anything, compare \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt\u0060 and \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 101 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 \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt:219\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. Note first that the copies are not typed on the same thing: \u0060Icons\u0060 names \u0060androidx.compose.material.icons.Icons\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.Icons\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"131fd12104409bf760eb42a2ec970524c0f6ba78a50c6043489700907df33f4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201316 lines \u00D7 2): feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt:255-262 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt:248-263 \u2014 before extracting anything, compare \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt\u0060 and \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 101 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 \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt:255\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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5b10a66983d47d252699440c8725de369051d942e9da15a693e7827ed4ff2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt:282-297 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:404-419 \u2014 before extracting anything, compare \u0060feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt\u0060 and \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt:282\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":"feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a141d8333399fa31de28e6f61e92d318f6c494a7ac82754c2e2a4c16b4a3f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/device-status/src/main/java/com/wanbaohe/devicestatus/screen/DeviceStatusScreen.kt:230-245 | feature/device-status/src/main/java/com/wanbaohe/devicestatus/screen/DeviceStatusScreen.kt:261-276 \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 \u0060feature/device-status/src/main/java/com/wanbaohe/devicestatus/screen/DeviceStatusScreen.kt:230\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":"feature/device-status/src/main/java/com/wanbaohe/devicestatus/screen/DeviceStatusScreen.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a4942d7eb6ad89f88a80bfdce43abf3518e410b8f3b6eec84335042fd4450e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:297-312 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:401-415 \u2014 before extracting anything, compare \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt\u0060 and \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 190 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 \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt: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. 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":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f8722089190903629c01683be06c7f89ade3f8c147e2f58cc668e0460f7bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/GifToolsContent.kt:89-103 | feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/GifToolsContent.kt:109-124 \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 \u0060feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/GifToolsContent.kt:89\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":"feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/GifToolsContent.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b73a5bef78b277efd79004387d4649409ffaa8c0f5bc19ac878174744036f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:258-273 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:255-270 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 164 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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:258\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"36014728883fd4266f49588b95cf2cf5d584e30704d70ccf18816268c7a6d9f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/image-splitting/src/main/java/com/t8rin/imagetoolbox/image_splitting/presentation/components/SplitParamsSelector.kt:71-86 | feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/components/StitchModeSelector.kt:114-129 \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 \u0060feature/image-splitting/src/main/java/com/t8rin/imagetoolbox/image_splitting/presentation/components/SplitParamsSelector.kt:71\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":"feature/image-splitting/src/main/java/com/t8rin/imagetoolbox/image_splitting/presentation/components/SplitParamsSelector.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68afac8934ce810076d858ae64a4e0ac23fc736c7bc8e56fd03fe8eae60bf4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeCountdownDetailScreen.kt:175-190 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeMilestoneDetailScreen.kt:148-163 \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 \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeCountdownDetailScreen.kt:175\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeCountdownDetailScreen.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc02e23354d276458ab3cd972be5707d5f1da70f7f3d4b8c94158eee8ea5c68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/AddCountdownEventTool.kt:114-129 | feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/AddLifeMilestoneTool.kt:114-129 \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 \u0060feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/AddCountdownEventTool.kt:114\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":"feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/AddCountdownEventTool.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76375acfe37301a6a0413f77fc89052113da519e4e8e89f784fe120610bfe20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:355-370 | feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:390-405 \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 \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:355\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":"feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccfd7eae8c21c809adacbd092c9bf16426f7ec1fe3234a4b05372f7f6391f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt:330-345 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt:392-407 \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 \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt:330\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":"feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbaa0f834c106d00db2d4869748661e0b106f5879b9346e78146eba4c98212a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/ModeSettingsPanel.kt:226-241 | feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/ModeSettingsPanel.kt:514-527 \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 \u0060feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/ModeSettingsPanel.kt:226\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":"feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/ModeSettingsPanel.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbbeed0c3a3d87a5fb9e6f2c71ea56184f6cb10abe4f329d3854eb7b69e860c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt:134-148 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt:122-137 \u2014 before extracting anything, compare \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt\u0060 and \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt:134\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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f2ac30a17f2d5d30e4eb0bfd035c79e1b00b53f349a03121d77ccceaeb8d29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PdfPage.kt:161-176 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/root/components/viewer/LegacyPdfViewer.kt:313-328 \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 \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PdfPage.kt:161\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PdfPage.kt:177\u0060 calls \u0060padding\u0060, \u0060clip\u0060, \u0060RoundedCornerShape\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/root/components/viewer/LegacyPdfViewer.kt:329\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PdfPage.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f248be1d78fa3f9d8095386720ccb2b4181e341e5bb8219feb37132afc03c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/RecordsTab.kt:137-152 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/TrendsTab.kt:151-165 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/RecordsTab.kt:137\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/TrendsTab.kt:166\u0060 calls \u0060Column\u0060, \u0060padding\u0060 and \u0060feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/RecordsTab.kt:153\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":"feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/RecordsTab.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ea9cc51d717b65f621ec05e84285313bb7dd466c3e88dd8cfed8bd824c1fe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/TTSSettingsScreen.kt:604-619 | feature/settings/src/main/java/com/wanbaohe/setting/image/screen/ImageGenerationSettingsScreen.kt:349-364 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/TTSSettingsScreen.kt"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2d31e68ddedeb8990e2597afb24296adbc4701d890e87d9ffab612d73446ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/CropEditOption.kt:249-264 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/DrawEditOption.kt:399-415 \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 \u0060feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/CropEditOption.kt:249\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":"feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/CropEditOption.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5938142eb5474296666e8ddde14d16c68d41606d8ab7957f42630c5808f23c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt:526-541 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt:573-588 \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 \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt:526\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d321d8664c9fb00192fd761868bb824c07b7f5d6a6117a2e2a4951ab27cc41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/panels/TextStylePanel.kt:610-625 | feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/components/FontStyleRow.kt:133-147 \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 \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/panels/TextStylePanel.kt:610\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/panels/TextStylePanel.kt"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce5f4d121a01a1f2f304afdda7e6130bd4c809e20f454c059b4f00f6f728823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt:274-289 | feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt:311-326 \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 \u0060feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt:274\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Check\u0060 names \u0060androidx.compose.material.icons.filled.Check\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Check\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb90d750563494d548a4a92f23005ba9eae7730128152f6086d614612cd0c2dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:632-647 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1381-1396 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 234 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:632\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc556e1681741c71550d131880e9b5e53241eac4f03443e3c8525dbd706f254"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 18): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt:96-110 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ChannelMixParamsItem.kt:106-120 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ClaheParamsItem.kt:95-109 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt:105-119 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/GlitchParamsItem.kt:105-119 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/KaleidoscopeParamsItem.kt:107-121 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearGaussianParamsItem.kt:97-111 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearTiltShiftParamsItem.kt:105-119 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PinchParamsItem.kt:100-114 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RadialTiltShiftParamsItem.kt:100-114 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt:116-130 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/WaterParamsItem.kt:100-114 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberPairItem.kt:81-95 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberColorModelQuadItem.kt:105-119 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberQuadItem.kt:95-109 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberNumberBlurEdgeModeTripleItem.kt:87-101 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberNumberColorModelTripleItem.kt:94-108 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberTripleItem.kt:89-103 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearGaussianParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt:96\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"53490f345c4c8aa7ecb63c8c9e5903f0dc26ae164c1fc0e93f29a59964935d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 13): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:319-333 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:412-426 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSegmentedButtonRow.kt:182-196 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSegmentedButtonRow.kt:507-521 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/OutlinedText.kt:107-121 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/text/OutlinedText.kt:175-189 | feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:471-485 | feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:577-591 | feature/app/src/main/java/com/wanbaohe/app/components/RoundedTextField.kt:157-171 | feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt:651-665 | feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt:1212-1226 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineLayoutBlockText.kt:111-125 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/inline/InlineLayoutBlockSupport.kt:178-192 \u2014 there are 13 copies across 9 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 13 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:319\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cdaa58a2cebcd79b8f0edb8070a5491b532f64521d686397bf3cdbb396e96a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 6): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/FloatColorModelPairItem.kt:58-71 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/FloatFileModelPairItem.kt:68-81 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/FloatImageModelPairItem.kt:56-69 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/FloatPaletteImageModelTripleItem.kt:68-82 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelColorModelTripleItem.kt:62-76 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelPopArtTripleItem.kt:66-80 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelColorModelTripleItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberColorModelPopArtTripleItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/FloatColorModelPairItem.kt:58\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/FloatPaletteImageModelTripleItem.kt:65\u0060 calls \u0060mutableStateOf\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/FloatFileModelPairItem.kt:65\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/FloatColorModelPairItem.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2187e17f80ae82ebaeff5355f9c47deae1f55117140eed6ec85280cb06c8de97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt:162-176 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt:127-141 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt:125-139 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/components/PdfPagesRotationGrid.kt:115-129 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt:162\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"91688aa9fc17442e19fc066e273b7db49453ccdb78ede0927a7f52f6c4c0dfae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:302-316 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:395-409 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:490-504 | feature/app/src/main/java/com/wanbaohe/app/components/RoundedTextField.kt:147-161 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:507\u0060 calls \u0060GlassOutlinedContainer\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt:318\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d89247ab56109b9841594b6c68202fc556d42f61bbfe5a7b163474264d5a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt:113-127 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt:122-136 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/VoronoiCrystallizeParamsItem.kt:133-147 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt:113\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e753ee5791d20906a5c7cdb16d331ec8c5a91ba0a9577d95e12173b88718d130"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:122-136 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt:122-136 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageXiangqiTool.kt:122-136 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:122\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b942a64dd4e18912fcca3274ce5f27b00ad29f855301d153f551424854c648b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/PlyDaoAdapter.kt:76-90 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/PlyDaoAdapter.kt:76-90 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/PlyDaoAdapter.kt:76-90 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/PlyDaoAdapter.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/PlyDaoAdapter.kt\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/PlyDaoAdapter.kt:76\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":"feature/chess/src/main/java/com/wanbaohe/chess/data/PlyDaoAdapter.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2453fcd481c1763dac5eefb6bcf3ac699b943d4410ea6577a201fad7114b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:186-200 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt:186-200 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/online/SignalingClientImpl.kt:186-200 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 129 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:186\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":"feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9b1a63bc61c34b9e862651b61ce13ca89969fb655300ec74055c590c6c4e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:312-326 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:319-333 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:312-326 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:312\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"00db6c724d2fee8fc6e523e71c957c69811958b15f0cd3877c2f6a170c4ac8c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt:154-168 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuPlayHomeScreen.kt:152-166 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiPlayHomeScreen.kt:168-182 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuPlayHomeScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt:154\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"28189d2b554097148d96be7e502d2266f9ae0443069fec58c3c55cfac493e894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:224-238 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:226-240 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:223-237 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 109 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:224\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46a8bb7ef964cb5134b49703137235f904ba5cda6acbe145c9ce453f21bb7c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt:522-536 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt:569-583 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt:633-647 \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 \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt:522\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf84a8297979e338543958a3f2568d54fd6a3099025c7d88f8421a2f2e19989"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 3): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1060-1070 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:732-746 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1518-1532 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1060\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ce185d5dd26054abaf8b9c1d2dc957d8c617fc3c442fb17dd35003e2307193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/DateInputRenderer.kt:74-88 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/TimeInputRenderer.kt:69-83 \u2014 before extracting anything, compare \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/DateInputRenderer.kt\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/TimeInputRenderer.kt\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 \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/DateInputRenderer.kt:74\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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/DateInputRenderer.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd5fb22bb7ab8137a78f9645b66f18cafbcd7c203a6c99341c7b59ecad5e697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/GridSelectorRenderer.kt:70-84 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/RowSelectorRenderer.kt:69-83 \u2014 before extracting anything, compare \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/GridSelectorRenderer.kt\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/RowSelectorRenderer.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/GridSelectorRenderer.kt:70\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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/GridSelectorRenderer.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e17afbb7f95a7e3fab74962ad76c9b64dd99bdacf0cedd952a17e7d79ecf8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/base/src/main/java/com/wanbaohe/base/ui/TextFields.kt:154-169 | core/base/src/main/java/com/wanbaohe/base/ui/TextFields.kt:195-209 \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 \u0060core/base/src/main/java/com/wanbaohe/base/ui/TextFields.kt:195\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/wanbaohe/base/ui/TextFields.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab280771fdbd29edde29c0147bc871e4a20a1c80457fb2bb4a684904619cc411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateInfoSheet.kt:395-409 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/TemplateFilterSelectionItem.kt:90-104 \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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateInfoSheet.kt"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb3dbb21b2676cd7e9f0791e86cc2a5c3ebd014a12a44368a3dae796efbcbda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/hunyuan/HunyuanImageProvider.kt:79-93 | core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/qwen/QwenImageProvider.kt:79-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/hunyuan/HunyuanImageProvider.kt:79\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":"core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/hunyuan/HunyuanImageProvider.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8961a6c977e49b27588a64776ee4908c2020a0ce4b6dee53cfa2470d154f6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/SaveResultHandler.kt:89-103 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/SaveResultHandler.kt:117-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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/SaveResultHandler.kt:89\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/SaveResultHandler.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"34086e414e1cd78f5b127a43626cdc534fc6f48fe5ca034d142451851c51ecfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageFormatSelector.kt:178-192 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageFormatSelector.kt:281-294 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageFormatSelector.kt:178\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageFormatSelector.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d88d9a2b2ea2443bfce0352337b58ad56ee07a839f09c58c6e3bfeea121e0ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassAssistChip.kt:107-121 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassAssistChip.kt:188-202 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassAssistChip.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23ba9fc2d03afdcf6d60bf67a55bb41e05bcd936bbea887f47c3b482a31dc95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/ObservePointersCount.kt:50-64 | libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt:349-363 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/ObservePointersCount.kt\u0060 and \u0060libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/ObservePointersCount.kt:50\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/ObservePointersCount.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2a574fe2824e2d76fa28f4b87e6d6503660c76fc0ac53c99f222c79b75abbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/TopAppBarEmoji.kt:235-244 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:297-311 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/TopAppBarEmoji.kt:235\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/TopAppBarEmoji.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"720512968a481fc56947a3e517ece9ebfd32707fb2ed1139060dc27342e41f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomRangeSlider.kt:483-497 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomRangeSlider.kt:542-556 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomRangeSlider.kt:483\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomRangeSlider.kt"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b25819b9fc951ef488cbac434d669c6a4b2b0f3c691581c220ddecf7b96dab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/AiDetectScreen.kt:133-148 | feature/calendar/src/main/java/com/wanbaohe/calendar/router/CalendarRouterScreen.kt:104-119 \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 \u0060feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/AiDetectScreen.kt:133\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/router/CalendarRouterScreen.kt:103\u0060 calls \u0060TopAppBarEmoji\u0060 and \u0060feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/AiDetectScreen.kt:132\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":"feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/AiDetectScreen.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc76eab50a034154393c1b5355b916333ea3e1679a3e01d507883ea8946f19f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): feature/ai-image/src/main/java/com/shifenmiao/ai/image/controllers/AIImageComponent.kt:117-130 | feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/screenLogic/GradientMakerComponent.kt:492-506 \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 \u0060feature/ai-image/src/main/java/com/shifenmiao/ai/image/controllers/AIImageComponent.kt:117\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":"feature/ai-image/src/main/java/com/shifenmiao/ai/image/controllers/AIImageComponent.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f655919f260966b40ca90dedef2a85713cc69e49f815fab818facad6702eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AgentToolRegistry.kt:382-396 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AgentToolRegistry.kt:425-439 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AgentToolRegistry.kt:382\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AgentToolRegistry.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2479e946e6ded593f3a54ce7e44515d127b30a4ce6a5058d094048162cc8af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:707-720 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:735-749 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:707\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d79a22ddefc9a5113f4086d76f38831434e6426e9aed93b8687c44f5d2cc5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt:163-177 | feature/ai/src/main/java/com/shifenmiao/ai/screen/AITabChatScreen.kt:74-88 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt:163\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23033a3ab482bf80a00ad5dede05f6c54aa116024e9c22aee84dd1b5bb0761c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:376-390 | feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:510-523 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:376\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc48a83cb6ea3178b19b8319f2396f92d0722e7ff6cbb6b56fe88990bb6ce6a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:174-188 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:174-188 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060CreateAIAgentComponent\u0060 in one and \u0060CreateAIPromptComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dff90cceb89643b66c401ec121cc38b3a3becbec001e2c7fbb97ce46ba8a1ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:676-690 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:645-658 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:676\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"85732b24ca5cc1faa00ece361ecd9fbbfa05d9567030f8d6e12a145c14c96852"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:962-976 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:958-972 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:962\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"508e3a5ab972d60d98bbeaf522cd07ff39a9ee6019a56790b13ecd21232f84fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt:105-124 | feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt:166-185 \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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf1a895eb7ec08e99e42829127ac8d344a2b2ba27faf13da0f1a197deeacdf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:165-179 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt:164-178 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 239 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 \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bd7ce0093422505cdd4400b679540062f12abc73d3611342a9c8a3f6c02026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:181-195 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt:180-194 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 239 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 \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:181\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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"322625f3f75750997eb6b33dd1239b25b370cfcf49dc541383773da418c88a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/data/EngineMoveChooser.kt:73-87 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/EngineMoveChooser.kt:74-88 \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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/EngineMoveChooser.kt:73\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":"feature/chess/src/main/java/com/wanbaohe/chess/data/EngineMoveChooser.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a67b9f48833c206d7ca44274aea6027f0c883a0ab57a04719c0ae8f1e0f800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/domain/FenCodec.kt:112-126 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/FenCodec.kt:87-101 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060BoardPoint\u0060 names \u0060com.wanbaohe.chess.domain.model.BoardPoint\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.BoardPoint\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/FenCodec.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"650b565549fa12b34441b82756632ee6268285fae4db7408cde974ed86bc3357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:111-125 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:111-125 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 211 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:111\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060ChessAnalysisComponent\u0060 in one and \u0060XiangqiAnalysisComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca58909bef061121947651207583f0ca2d7458d18e5c13de4890e4e085445e01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/CloudFileGrid.kt:284-297 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/CloudFileGrid.kt:311-325 \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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/CloudFileGrid.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7e5ec962ceb34c1ddd1ad3655ef8f083896293e1c8fe3489cede3258448ab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt:385-396 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt:436-450 \u2014 before extracting anything, compare \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt\u0060 and \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 101 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 \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt:385\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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fe5e0e13f0417f94670fb62a4fb88a693b9a9ff8d55a73405242605065ddd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditorState.kt:66-78 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditorState.kt:54-68 \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 \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditorState.kt:66\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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditorState.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b39294ef67ddf069f3a615d21e0d4e4311dc9e5a23b74d36afc7f4d5a52a9b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/screenLogic/CollageMakerComponent.kt:238-252 | feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/screenLogic/CollageMakerComponent.kt:267-281 \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 \u0060feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/screenLogic/CollageMakerComponent.kt:238\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":"feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/screenLogic/CollageMakerComponent.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6434adeee997b4c47d46965192e1258b2d3c9b1f12405e4d86ea253bfc6fa142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsComponent.kt:292-306 | feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsComponent.kt:323-337 \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 \u0060feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsComponent.kt:292\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":"feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsComponent.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7aee81c0fcf3af4be67226885ea5d45a5f941dce72ef4e25c3dab2ca8008e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/components/CompareScreenContentImpl.kt:175-189 | feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/components/CompareScreenContentImpl.kt:218-232 \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 \u0060feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/components/CompareScreenContentImpl.kt:175\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":"feature/compare/src/main/java/com/t8rin/imagetoolbox/feature/compare/presentation/components/CompareScreenContentImpl.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51516346e21c4e223975751459ea5692ce01220d2a489706dfab24996554a27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/compass/src/main/java/com/wanbaohe/compass/screen/CompassScreen.kt:189-203 | feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt:463-477 \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 \u0060feature/compass/src/main/java/com/wanbaohe/compass/screen/CompassScreen.kt:189\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/compass/src/main/java/com/wanbaohe/compass/screen/CompassScreen.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d280263ea20ac2cc5e5efd12df99f52df5738e9e1537e0130550329380d17fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/compass/src/main/java/com/wanbaohe/compass/ui/ClassicCompassPage.kt:63-77 | feature/compass/src/main/java/com/wanbaohe/compass/ui/luopan/LuopanPage.kt:70-84 \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 \u0060feature/compass/src/main/java/com/wanbaohe/compass/ui/ClassicCompassPage.kt:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/compass/src/main/java/com/wanbaohe/compass/ui/ClassicCompassPage.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fb810652bf1f9f407cb3911f48ce27f598fd30dabb43480757aa59005483b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/screenLogic/CropComponent.kt:292-306 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/screenLogic/DrawComponent.kt:432-446 \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 \u0060feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/screenLogic/CropComponent.kt:292\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":"feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/screenLogic/CropComponent.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c25d6429c6ad12520210b97b07a5dcd4e82aab6a9cc1565cce4f75d7930bc39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt:179-193 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/UiPathPaintCanvasAction.kt:148-163 \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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"803697837105afb2b0e19d74a083b408cdd4c1134349eaa9ec89bb737b97ccfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifToolsTopAppBarActions.kt:98-112 | feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageTopAppBarActions.kt:104-118 \u2014 before extracting anything, compare \u0060feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifToolsTopAppBarActions.kt\u0060 and \u0060feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageTopAppBarActions.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifToolsTopAppBarActions.kt:98\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":"feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifToolsTopAppBarActions.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ebca608fabed2306ece245b1c1b75b3a0c033e39361b98d13a4b9cb677df15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:242-256 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:239-253 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 164 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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:242\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d3ea51db5822fe55f6b7389c912c95b7b80215a86f8b2975a38e1cd2127c44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt:293-307 | feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:402-416 \u2014 before extracting anything, compare \u0060feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt\u0060 and \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 56 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 \u0060feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt:293\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":"feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d598416c2aad327f1376508d4a5ace50f5c72284d891d7477aed8fd4742e58ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageActionButtons.kt:54-68 | feature/wallpapers-export/src/main/java/com/t8rin/imagetoolbox/feature/wallpapers_export/presentation/components/WallpapersActionButtons.kt:53-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/wallpapers-export/src/main/java/com/t8rin/imagetoolbox/feature/wallpapers_export/presentation/components/WallpapersActionButtons.kt:69\u0060 calls \u0060isNotEmpty\u0060 and \u0060feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageActionButtons.kt:70\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":"feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageActionButtons.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f5ba31516c8614c7d755b165258c6ed1411a4442cedb61d02204c19a6510a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/mahjong/src/main/java/com/wanbaohe/mahjong/screen/MahjongGameScreen.kt:67-81 | feature/mahjong/src/main/java/com/wanbaohe/mahjong/screen/MahjongScreen.kt:152-166 \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 \u0060feature/mahjong/src/main/java/com/wanbaohe/mahjong/screen/MahjongGameScreen.kt:67\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":"feature/mahjong/src/main/java/com/wanbaohe/mahjong/screen/MahjongGameScreen.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c67ddb778aa65b867c4b92018f40976562a19d3a38c127cf0f240e825c7aa0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:407-421 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:335-349 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19505f4488df7b47abe00d198020b41784106f03ba99c1b066d11a0317df0f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/InPlaceTextLayerEditor.kt:270-284 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/CardCanvasPreview.kt:609-623 \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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/InPlaceTextLayerEditor.kt:270\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/InPlaceTextLayerEditor.kt"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe49f5424f5b036ce39390efecd414ebc7b93181621a95237b8047b1b5a31d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaExtensionHeader.kt:46-60 | feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaSizeFooter.kt:46-60 \u2014 before extracting anything, compare \u0060feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaExtensionHeader.kt\u0060 and \u0060feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaSizeFooter.kt\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaExtensionHeader.kt:46\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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaExtensionHeader.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3ee325734314f3d2a3c26a6e8213ea8c81e08e02379501fcc06ed0ca76db77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrCalendarEditField.kt:298-312 | feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrCalendarEditField.kt:314-328 \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 \u0060feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrCalendarEditField.kt:298\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":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrCalendarEditField.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"817f4f563fe6696ac652973804bfc25f471059c8c8a601304f4823abcf064657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:1402-1416 | feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:1498-1512 \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 \u0060feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:1402\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":"feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a86194ecca21195fada05b633b2e26bdde763278739cfc01bc81693ae648b37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt:226-240 | feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt:327-341 \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 \u0060feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt:226\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt:342\u0060 calls \u0060mutableStateOf\u0060 and \u0060feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt:241\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":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserSettingsPage.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"540f349e39ba9d9f802065acf785188ace5b3643418e2e0d906c6893d3e7e9a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:153-167 | libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:224-238 \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 \u0060libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt: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":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f8c9ce3da51698bc5b3c48c51569cd4360179af149e0a7f267cf0903484fd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:256-270 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:216-230 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 144 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:214\u0060 calls \u0060drawRelationshipEndpointMarkers\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:255\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5b4f9c6defec37fcc5a3b035463b24014920476d9fb4a9fe30c99c7901c892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt:208-222 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlWbsSubPipeline.kt:202-216 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlWbsSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"198f07b9dbb67532b9309cfa6759d64fe8f65b56c5d1d9c59ac58b04e7a398d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/dynamic-theme/src/main/java/com/t8rin/dynamic/theme/DynamicTheme.kt:227-240 | libs/dynamic-theme/src/main/java/com/t8rin/dynamic/theme/DynamicTheme.kt:687-701 \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 before the matched lines, \u0060libs/dynamic-theme/src/main/java/com/t8rin/dynamic/theme/DynamicTheme.kt:685\u0060 calls \u0060fromInt\u0060, \u0060toArgb\u0060 and \u0060libs/dynamic-theme/src/main/java/com/t8rin/dynamic/theme/DynamicTheme.kt:225\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":"libs/dynamic-theme/src/main/java/com/t8rin/dynamic/theme/DynamicTheme.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4cbbbbda4856b2d2fd42909babbdb7a05f2e7260ae8f8301cd6f53a6d319fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineModelAdapter.kt:226-240 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineModelAdapter.kt:248-261 \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 \u0060libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineModelAdapter.kt:226\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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineModelAdapter.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba288c76c7d250e8a4c49ebf3089782484214f9b2fb94f3e56c2ffb6e338b90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/forensics/ImageForensics.kt:236-250 | libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/forensics/ImageForensics.kt:255-269 \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 \u0060libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/forensics/ImageForensics.kt:236\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":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/forensics/ImageForensics.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba03b1fa0ef16fb73c07ebe3e24933d3d40bb88f2881df7ed221d6aabf5fad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201314 lines \u00D7 27): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:152-160 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:202-210 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:253-261 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:454-462 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:506-514 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:558-566 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:660-668 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:762-770 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:862-870 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:914-922 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1093-1101 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1502-1510 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:772-785 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:505-513 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:565-573 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:678-686 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:910-918 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:965-973 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:160-168 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:298-306 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:343-351 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:388-396 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:363-371 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:402-410 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:484-492 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:469-477 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:530-538 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt: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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:156\u0060 calls \u0060param\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:148\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a9e19010a50c58086aac1e554529d68e0c4459aa8740ebe4610625989986be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201314 lines \u00D7 27): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:176-184 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:226-234 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:275-283 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:639-647 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:679-687 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:715-723 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:784-792 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:820-828 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:886-894 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:938-946 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:808-821 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:595-604 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:807-815 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:884-892 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:939-947 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:994-1002 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:169-177 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:406-414 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:450-458 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:530-538 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:416-424 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:498-506 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:289-297 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:376-384 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:437-445 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:503-511 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:549-557 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 445 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:176\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:173\u0060 calls \u0060listOf\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:781\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdd67fa8e082b0470288eedd4819b08d25049747be9b189ff89ad094ccd3218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201314 lines \u00D7 25): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:473-479 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:572-578 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:634-640 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:127-140 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1771-1779 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:530-536 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:698-704 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:752-763 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:929-935 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:984-990 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:219-225 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:440-446 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:254-260 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:53-59 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:114-120 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:129-135 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:176-182 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:238-244 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:253-259 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:304-310 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:314-320 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:361-367 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:422-428 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:488-494 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:569-575 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:473\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09a41ffa27d88bfdf13c2d96f2182729c54a13e7bfe834a03a004364e919a94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt:81-94 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ChannelMixParamsItem.kt:82-95 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt:81-94 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/GlitchParamsItem.kt:81-94 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/KaleidoscopeParamsItem.kt:83-96 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearTiltShiftParamsItem.kt:81-94 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt:91-104 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/VoronoiCrystallizeParamsItem.kt:99-112 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt:81\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/GlitchParamsItem.kt:78\u0060 calls \u0060toInt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt:78\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aaebc5dd4e326229d663fc6bffb3b52857f7f68588fc98e2c989adb5d65c881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt:80-93 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt:80-93 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/GlitchParamsItem.kt:80-93 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/KaleidoscopeParamsItem.kt:82-95 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearTiltShiftParamsItem.kt:80-93 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/PinchParamsItem.kt:76-89 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RadialTiltShiftParamsItem.kt:76-89 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/WaterParamsItem.kt:76-89 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt:80\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/GlitchParamsItem.kt:78\u0060 calls \u0060toInt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt:78\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad763359d32d94c420bbfad5ac0e841547cfbed5fc9424b35dc2b14cbb682933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201314 lines \u00D7 8): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:811-819 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:619-631 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:702-715 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:798-806 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:252-260 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:521-529 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:323-331 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:443-451 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 445 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:811\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cbe31a844424a34afc9cf19169834da48a6f528041adcc9c3c3fc36ed541d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): core/network/src/main/java/com/shifenmiao/network/service/WebSearchService.kt:174-187 | core/network/src/main/java/com/shifenmiao/network/service/WebSearchService.kt:202-215 | core/network/src/main/java/com/shifenmiao/network/service/WebSearchService.kt:230-243 | core/network/src/main/java/com/shifenmiao/network/service/WebSearchService.kt:258-271 \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 \u0060core/network/src/main/java/com/shifenmiao/network/service/WebSearchService.kt:174\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":"core/network/src/main/java/com/shifenmiao/network/service/WebSearchService.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"be180fdb8b5558b52130ceb29b0555ae195bf5f8b8d7f2f3b8b9c2080cd52870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:204-217 | feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifToolsTopAppBarActions.kt:98-111 | feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageTopAppBarActions.kt:104-117 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt:204-217 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 239 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 \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:204\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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"797c6a080dc9e2cdfab726704f44e73d5a2195e8677df682c2e74e0ded7721d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 4): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1170-1179 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:659-672 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:708-718 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:377-386 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1170\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e5132b893fbddd0ef8bb11a80ec887b1d6eae46cd20d7507bc10622cd83cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 3): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/FavoritesContent.kt:119-130 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt:124-137 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/ImageReorderCarousel.kt:111-123 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/ImageReorderCarousel.kt\u0060 as WHOLE FILES: this scan already matched 3 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/FavoritesContent.kt:119\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/FavoritesContent.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf9f8a048f24aa0a39a16e96201f5e15012415cf846a654f4f9776b6524dd3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt:120-133 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:475-488 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:521-534 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt:120\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Check\u0060 names \u0060androidx.compose.material.icons.filled.Check\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Check\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"135c2b6c1f6c05e9bd858b61e2c9ce9de3090267229f770aae01963fd41740ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt:77-90 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AudioFeedbackUseCase.kt:77-90 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AudioFeedbackUseCase.kt:81-94 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AudioFeedbackUseCase.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060AudioSettings\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.AudioSettings\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.AudioSettings\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f5ab213afd20eb0f90022e6f63ba10e2801ac95dc3e178ce34ed75fa2f1e20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt:134-147 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/CreateGameUseCase.kt:142-155 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/CreateGameUseCase.kt:145-158 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/CreateGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt:134\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060GameStatus\u0060 names \u0060com.wanbaohe.chess.domain.model.GameStatus\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.GameStatus\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f03f92541826cd81764f1e019df97e2f8d5df6efb1956951778b646021f9ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:66-79 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:55-68 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:55-68 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:66\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: \u0060GameResultResolver\u0060 names \u0060com.wanbaohe.chess.domain.GameResultResolver\u0060 in one and \u0060com.wanbaohe.gomoku.domain.GameResultResolver\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:54\u0060 calls \u0060getById\u0060 and \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:65\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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb5eaf3f542480958f36b2a449b77aa63f9ed57dea9a611b994961c558d8dd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt:140-153 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/PlayMoveUseCase.kt:105-118 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/PlayMoveUseCase.kt:83-96 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/PlayMoveUseCase.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt:140\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 first that the copies are not typed on the same thing: \u0060GameResultResolver\u0060 names \u0060com.wanbaohe.chess.domain.GameResultResolver\u0060 in one and \u0060com.wanbaohe.gomoku.domain.GameResultResolver\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2544457315ab49804766f4dcb93493d1d9c463b466b1a677495afbbb736e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:343-356 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt:347-360 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt:434-447 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 138 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:343\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt:448\u0060 calls \u0060Column\u0060, \u0060weight\u0060 and \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:357\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2c7b19e5aa2058015cab1a0dd2447302f3c8b324a8bf447192415be2e93be5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ExportDialog.kt:107-120 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/ExportDialog.kt:107-120 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/ExportDialog.kt:107-120 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ExportDialog.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/ExportDialog.kt\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ExportDialog.kt:107\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ExportDialog.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b69c4489488b5865d1df6d5796b5fc3f55ab68a645a8914452c7a8494c18336"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:129-142 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:133-146 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:130-143 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 109 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:129\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e27240820622b8d2d13b1aab6f0ab27914ef8f67dec39de5831988548a8ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:444-457 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:444-457 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:444-457 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 428 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:444\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"574b3fe1feebcb2eb678886766fcba037795f5f967aef0c7d09a29de1d800440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:556-569 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:556-569 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:556-569 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 428 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:556\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a1b2e36c596cbaf5671e6d0da1cfba4730bdcdb4cf5e7ff8b8a0a438671a39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:430-443 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:565-578 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:664-677 \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 \u0060feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:430\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Check\u0060 names \u0060androidx.compose.material.icons.filled.Check\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Check\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9911284ceb5de88af0670e78b11676ed6c477605546c100a6f92799198c04be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1123-1136 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:619-632 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:472-485 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 524 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1123\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e53a213da4619bf85329a5af78a6862c8786fd19c123bb583266848a8f6e1b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 3): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1764-1777 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:832-841 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:299-308 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 524 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1764\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99284771279871832a59887e185b8a1d6100f7b414c2580b990d5739f2430e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:291-311 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:332-352 \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 \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:291\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:289\u0060 calls \u0060propBool\u0060, \u0060parseKeyboardType\u0060, \u0060propString\u0060 and \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:331\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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d9019420e78a84cc85eda3f2731a1623de1ed7281c8075623236ecfaaa675c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:417-430 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:439-452 \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 \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:417\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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"0637b1018f158070bd17ccd0307de1c0280b44920710717930d6e08074b64007"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterReorderSheet.kt:81-94 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/MaskReorderSheet.kt:81-94 \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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterReorderSheet.kt:81\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterReorderSheet.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68c12dcb8a5d95aed04b26a92cb542e85e77ec76cfa0c0acb283534b85866ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt:254-267 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt:487-500 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 108 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt:254\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Close\u0060 names \u0060androidx.compose.material.icons.rounded.Close\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Close\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c025dce218b99221ca3f49d8b4777e5927fccaeb31e91cc989240e9a5179a19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionItem.kt:160-173 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/TemplateFilterSelectionItem.kt:125-138 \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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionItem.kt:160\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionItem.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee4b6b9eaa2a8ac3eacef985b17aef84ce1d360f6226c94fb4ca38feb7c5a9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateInfoSheet.kt:327-340 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateInfoSheet.kt:354-367 \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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateInfoSheet.kt:327\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateInfoSheet.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2fa1d910d06e8c2a677ebf23733aa97aa7a4af57288b2b0d7a625b487614d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ClaheParamsItem.kt:71-84 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SmearParamsItem.kt:75-88 \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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ClaheParamsItem.kt:71\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ClaheParamsItem.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb7256ac2b166e5d1b5c11d6baa12d40860c93ee428cb45f752071603950f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberQuadItem.kt:70-83 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberTripleItem.kt:65-78 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberQuadItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberTripleItem.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberQuadItem.kt:70\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberQuadItem.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"25303c290a353073f05f40494f6c87bce8d410304380228dd483bcd7550fca89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/network/src/main/java/com/shifenmiao/network/utils/NetworkUtils.kt:244-257 | core/network/src/main/java/com/shifenmiao/network/utils/NetworkUtils.kt:265-278 \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 \u0060core/network/src/main/java/com/shifenmiao/network/utils/NetworkUtils.kt: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":"core/network/src/main/java/com/shifenmiao/network/utils/NetworkUtils.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef565bcdca97228fad04d20b1fdcbe6a4d7582fe79c032cb39afb4930f8a5e00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/FontItem.kt:97-110 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/OneTimeSaveLocationSelectionDialog.kt:244-257 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/FontItem.kt:97\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/FontItem.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f4211a777d8685068649161f69871856004cc4ee75a48fb9d071d9f8cd2ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedButton.kt:85-98 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedIconButton.kt:82-95 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedButton.kt:85\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedButton.kt:99\u0060 calls \u0060clearFocus\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedIconButton.kt:96\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedButton.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"599bfac3d7d87ce7c59dd25eeb917f6fb58ccdc3eb032bf687f53632e9182ba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/ColoredGlass.kt:51-64 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/ColoredGlass.kt:83-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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/ColoredGlass.kt:51\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/ColoredGlass.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b40b1a3d571937da4d0eb35d03b9571bdbf9b963ab365953c589808ea31fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTextButton.kt:82-95 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTonalButton.kt:73-86 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTextButton.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTonalButton.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTextButton.kt:82\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTextButton.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"af24dd2b6f069f3e6cc40c4d314ee2bfb007d3d668fbd5bc72293f634b0fd5b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/AspectRatioSelector.kt:283-296 | feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/components/GradientSizeSelector.kt:65-77 \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 \u0060feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/components/GradientSizeSelector.kt:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/AspectRatioSelector.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6074f83f2b6c6b3fbe5c8abd3a81fe14388fdb48f48a884ecc578732f4d9a85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagesPreviewWithSelection.kt:486-499 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PdfPage.kt:220-234 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagesPreviewWithSelection.kt:486\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Icons\u0060 names \u0060androidx.compose.material.icons.Icons\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.Icons\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagesPreviewWithSelection.kt"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16230f21bc80b56c9fe95b7caf4ce113a4fdb93c8bba579be61f6f1b6d5e3b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/QrType.kt:101-114 | feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/QrTypeUtils.kt:386-399 \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 \u0060core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/QrType.kt:101\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":"core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/QrType.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"62834b5e87a40ffffcae36dff0bc7eabde52e68b439d29ff0ac9c72588fd5a7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:656-669 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:684-697 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:656\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e341d69c43ffc50f234d51620d7a648f40daab3ed2b3a6345894bba6bbb7f86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:566-579 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:549-562 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:566\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27259f1f27b604eeb03791b6de90f32e56c652d92b864bfd99a33ff4f403536"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:605-618 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:588-601 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:605\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"b757894de59be7c4a65a056492f441846f811d8c7bb5a4e0f6821afc72c853ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1024-1037 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:1020-1033 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1024\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b80b43f9944d661898acfc54b3326cdfeb2835aa36905c4b6e2e1d27377bc29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:184-197 | feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt:178-191 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:184\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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"571def1d0383a4e533828b3cd0362c121464c571a6c48af1860e7b2115e8caab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/ui/AIPromptsPickerBottomSheet.kt:117-130 | feature/ai/src/main/java/com/shifenmiao/ai/ui/RecentQuestionsBottomSheet.kt:82-95 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/ui/AIPromptsPickerBottomSheet.kt:117\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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/AIPromptsPickerBottomSheet.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3062ad9beb8b1443d04a6a82efeb14767f74d5846e6a1d0831e5ee9ec29e8625"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:291-304 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt:291-304 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 239 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e4265153fab5fb9191b8c061584153ed4b71c6554b115fc4f66f83b7121c01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/audio-cover-extractor/src/main/java/com/t8rin/imagetoolbox/feature/audio_cover_extractor/ui/AudioCoverExtractorContent.kt:245-258 | feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:222-235 \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 \u0060feature/audio-cover-extractor/src/main/java/com/t8rin/imagetoolbox/feature/audio_cover_extractor/ui/AudioCoverExtractorContent.kt:245\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":"feature/audio-cover-extractor/src/main/java/com/t8rin/imagetoolbox/feature/audio_cover_extractor/ui/AudioCoverExtractorContent.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5cdd89f3fd3603cb6b52b0f8e592f995063a328c83310638ea123f372c8d95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/BookkeepingComponent.kt:389-402 | feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/StatsAggregator.kt:130-142 \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 \u0060feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/StatsAggregator.kt:130\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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/BookkeepingComponent.kt"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"f955941793de6df88bec611c868a0b0a9750a7fbcc1b5316bfe596fab7472dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/DetailTab.kt:277-290 | feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt:290-303 \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 \u0060feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/DetailTab.kt:277\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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/DetailTab.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3052c195b97571fba433b38772191654af9ff764dcfde500c6f34db3052dab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:564-577 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:738-751 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:564\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c7948c514462dd295275a180a8d9013fb6190363fb363a01a2b6cc01e8c33d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:212-225 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:179-191 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:212\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. Note first that the copies are not typed on the same thing: \u0060GameResultResolver\u0060 names \u0060com.wanbaohe.chess.domain.GameResultResolver\u0060 in one and \u0060com.wanbaohe.gomoku.domain.GameResultResolver\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a444e2b364b5207fd53ccaabfc214d989e055fd535f46642bc90a2b6ef985b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt:75-88 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/GameDaoAdapter.kt:74-87 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/GameDaoAdapter.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt: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. Note first that the copies are not typed on the same thing: \u0060GameStatus\u0060 names \u0060com.wanbaohe.chess.domain.model.GameStatus\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.GameStatus\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d08852172330318138b14ad4df540704bc27bf1b311ebb6fd09b1c953c7696"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt:90-103 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GameDaoAdapter.kt:88-101 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GameDaoAdapter.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060GameMode\u0060 names \u0060com.wanbaohe.chess.domain.model.GameMode\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.GameMode\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"275c4f2422db940e3ba5326f58e8dbaf25813f1d91b9c3e9d0a0cac92dea5cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt:113-126 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/GameDaoAdapter.kt:111-124 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/GameDaoAdapter.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt:113\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":"feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f10ee319e15bbb012e8043d8cda35058993c8390222edd17c62c84d36d56d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt:164-177 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/search/XiangqiSearch.kt:176-189 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/search/XiangqiSearch.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt:164\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":"feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ee37082d337c76e6bc77ed0b670d521bb76975cf5d0b57da18167b20761667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt:115-128 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuLibraryScreen.kt:115-128 \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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt:115\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060ChessLibraryComponent\u0060 in one and \u0060GomokuLibraryComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt:113\u0060 calls \u0060remember\u0060, \u0060mutableStateOf\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuLibraryScreen.kt:114\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"465386aef390aad5dbf6698c3dcab3dc559574bfd4579b45ec76851eebed67cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:286-299 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt:290-303 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 138 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:286\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25d7870bb8f22ef383c8f10c37e6e9b0e3ed4cb8156ed929e55616851727d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:144-157 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:148-161 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 109 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:144\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 first that the copies are not typed on the same thing: \u0060Side\u0060 names \u0060com.wanbaohe.chess.domain.model.Side\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.Side\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"381d5282ce75c225b607aa89341161ad2cb1da8eeff37df5771360de4ed9ebb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:159-172 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:163-176 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 109 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:159\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 first that the copies are not typed on the same thing: \u0060Side\u0060 names \u0060com.wanbaohe.chess.domain.model.Side\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.Side\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"027a9c4c1aff184b52e4daf22166819bb56487692514758f2ab12c13413c07d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/BucketSwitcherSheet.kt:111-124 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/ConnectionSwitcherSheet.kt:142-155 \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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/BucketSwitcherSheet.kt:111\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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/BucketSwitcherSheet.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3324e8e8fe35119a30e5b2d05e3044c5f567c48d320d98fee6b2d87c3bf4b64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/editor/NativeStructuredBlockEditors.kt:80-93 | feature/common/src/main/java/com/shifenmiao/common/editor/NativeStructuredBlockEditors.kt:307-320 \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 \u0060feature/common/src/main/java/com/shifenmiao/common/editor/NativeStructuredBlockEditors.kt:80\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/editor/NativeStructuredBlockEditors.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f137ebae8d8ef263bc01ad59b87c2452c6f66c63de1a2b4450452b6177fbad83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelRouterScreen.kt:138-151 | feature/sudoku/src/main/java/com/wanbaohe/sudoku/screen/SudokuScreen.kt:124-137 \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 \u0060feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelRouterScreen.kt:138\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060current\u0060 to \u0060WheelTab\u0060 in one and \u0060SudokuTab\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelRouterScreen.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"44692aa5f80a5c2f8d4ef5b5a4272f15945c4f42c52c16abfdeaa4028accf3e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/document-scanner/src/main/java/com/t8rin/imagetoolbox/feature/document_scanner/presentation/DocumentScannerContent.kt:274-287 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:307-320 \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 \u0060feature/document-scanner/src/main/java/com/t8rin/imagetoolbox/feature/document_scanner/presentation/DocumentScannerContent.kt:274\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/document-scanner/src/main/java/com/t8rin/imagetoolbox/feature/document_scanner/presentation/DocumentScannerContent.kt"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"400718486b60154a60e08d607d926657303d561503dc85fbe1bc94a13cea0e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PolygonParamsSelector.kt:62-75 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/StarParamsSelector.kt:64-77 \u2014 before extracting anything, compare \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PolygonParamsSelector.kt\u0060 and \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/StarParamsSelector.kt\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 \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PolygonParamsSelector.kt:62\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PolygonParamsSelector.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"98eff3668c784892fb5262e36f384a1f4763d02e52f93bcfcd8fb6bfe46f2ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PolygonParamsSelector.kt:112-125 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/StarParamsSelector.kt:133-146 \u2014 before extracting anything, compare \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PolygonParamsSelector.kt\u0060 and \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/StarParamsSelector.kt\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 \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PolygonParamsSelector.kt:112\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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/element/PolygonParamsSelector.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b971e0b3708da8beab91ee3489278bc058747b9f351deb9bb26c74a0ec0af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt:1244-1257 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt:1267-1280 \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 \u0060feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt:1244\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"89de4e154d94f0b91719cdd3102e61e3000a0d5f13b9c813c46f98cc2a523ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessGridItem.kt:119-132 | feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessListItem.kt:141-154 \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 \u0060feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessGridItem.kt:119\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessGridItem.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3d7c966cb7bec4248b3b87e0f6685dc96101c9c799392c539ceec970374f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:149-162 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:168-181 \u2014 before extracting anything, compare \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt\u0060 and \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 190 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 \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:149\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060FormatConversionComponent\u0060 in one and \u0060ResizeAndConvertComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc042efb7e5d864678827c1b52e32f3b05c210d9be16b4a0004d78f2e621b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:192-205 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:239-252 \u2014 before extracting anything, compare \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt\u0060 and \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 190 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 \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:192\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ff29413924e82a999ee03f8f4ea321a222bf9c5258a8333f7551f3ecb808b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/screenLogic/GifToolsComponent.kt:263-278 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt:240-253 \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 \u0060feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/screenLogic/GifToolsComponent.kt:263\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":"feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/screenLogic/GifToolsComponent.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d594143dd896ba835f296abaee2267b5ebb7936b3cae9d6e903d9863e48043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:414-427 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:444-457 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 139 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"151dabeedeabba75278eb9b737c9317a81fcf0e2a4729f9ef262d7755a582f16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/household-items/src/main/java/com/wanbaohe/householditems/screen/ItemEditScreen.kt:332-345 | feature/household-items/src/main/java/com/wanbaohe/householditems/screen/ItemEditScreen.kt:385-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 \u0060feature/household-items/src/main/java/com/wanbaohe/householditems/screen/ItemEditScreen.kt:332\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":"feature/household-items/src/main/java/com/wanbaohe/householditems/screen/ItemEditScreen.kt"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bff6c3931a7dbaf590d67ba34b19b6984fb6ccfe4e05aff45761b621f49c341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt:83-95 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt:129-142 \u2014 before extracting anything, compare \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt\u0060 and \u0060feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 155 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060LimitsResizeComponent\u0060 in one and \u0060WeightResizeComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c424eb9690ad9c072724335423fdb3ea326e72e7fdc7d4c53e7c1f4635b21f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/screenLogic/LoadNetImageComponent.kt:230-243 | feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/screenLogic/ScanQrCodeComponent.kt:186-199 \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 \u0060feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/screenLogic/LoadNetImageComponent.kt:230\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":"feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/screenLogic/LoadNetImageComponent.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b279228f74c355ffdf85a495b4a2175e6c75022751c90d771a4cb7a75c7fdd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt:600-613 | feature/webview/src/main/java/com/shifenmiao/webview/utils/WebViewExportUtils.kt:58-69 \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 \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt:600\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/component/MarkdownEditorComponent.kt"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aae92277eec40d4a03d6f2a0387c4e6a0c15616ffcf79c2ae3431f1154cf5b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersSheet.kt:338-351 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersSheet.kt:415-428 \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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersSheet.kt:338\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersSheet.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"a698a481d298793c666cf1d478c7cf7554e4d24772b1b499216d22be25da5496"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt:661-674 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/panels/PanelControls.kt:66-79 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1fccdf4de1ddfb66cf3ded70750b25e669cc6544f0cec3de66126aaf0eae2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/ModeSettingsPanel.kt:259-272 | feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/ModeSettingsPanel.kt:317-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 \u0060feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/ModeSettingsPanel.kt:259\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":"feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/ModeSettingsPanel.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"961caae63bfcb6ce378465f434e91ac422ae529411a1d16dcb4f373a0bcffe32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt:179-192 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt:185-198 \u2014 before extracting anything, compare \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt\u0060 and \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 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 \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt:179\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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2378ccddee3f2e5dee6aabf1efb7f56e33a4585359fc7169f511c5f37cb835"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201314 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt:318-325 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt:370-383 \u2014 before extracting anything, compare \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt\u0060 and \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 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 \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt:318\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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"18096f9d4a82b425efc1ad7ae56fdbd5699e2082babd217fb966c5308c4c4868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/online/src/main/java/com/shifenmiao/online/screen/MyCreatedContentScreen.kt:147-160 | feature/search/src/main/java/com/shifenmiao/search/screen/SearchScreen.kt:208-221 \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 \u0060feature/online/src/main/java/com/shifenmiao/online/screen/MyCreatedContentScreen.kt:147\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":"feature/online/src/main/java/com/shifenmiao/online/screen/MyCreatedContentScreen.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee82f8acc48d65ed506232a153a97147880c521199c526442d20980251915fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): feature/profile/src/main/java/com/wanbaohe/profile/ProfileScreen.kt:183-196 | feature/profile/src/main/java/com/wanbaohe/profile/screen/UserInfoScreen.kt:464-475 \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 \u0060feature/profile/src/main/java/com/wanbaohe/profile/ProfileScreen.kt:183\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":"feature/profile/src/main/java/com/wanbaohe/profile/ProfileScreen.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1df5bcfda98c5cddb3fff48d56b91950ca77b0c59cdb658e4d7b38cb2ad26e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:216-227 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:279-292 \u2014 before extracting anything, compare \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt\u0060 and \u0060feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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 \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:216\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060bitmap\u0060 to \u0060Bitmap ): Bitmap? = withContext(defaultDispatcher\u0060 in one and \u0060Bitmap\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"21caedc75d3ad9b39bebae01fea183ef5d2fdd6683d2aa40f0bc0921a1cc2ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:949-962 | feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:1126-1139 \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 \u0060feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:949\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":"feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d0ed2d69858ef0b7427efc6a5eb27001637dc5d9312df3bcbc534b6d9d8513"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/ai/VisualAIClient.kt:77-90 | feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/ai/VisualAIClient.kt:175-188 \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 \u0060feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/ai/VisualAIClient.kt:77\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":"feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/ai/VisualAIClient.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"401268285e041c8438542dc5c8e2dc4bbf795675db85e35e56fa7826f72086d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserBookmarksPage.kt:291-304 | feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserBookmarksPage.kt:340-353 \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 \u0060feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserBookmarksPage.kt:291\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":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserBookmarksPage.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee66b0803321e53342d20850b4dee5c8eadb2a1a3a44cd262dff26739ef98b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt:410-423 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt:458-471 \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 \u0060feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt:410\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":"feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d44adabe2eb98c6ba1ba37b2ddaeff6ebc4ae5ec984a41e62e041039d5b63c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:448-479 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:520-551 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:448\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6edf42e32308b80917ebd9be9c95a649a91e61079f056d0aabfdd13bd68ddcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:176-189 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:199-212 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b259dee9b05512f1e93f3884b19d16940aeb9718a095e8b4e66e24d61829e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TableRenderer.kt:148-161 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TableRenderer.kt:362-372 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TableRenderer.kt:163\u0060 calls \u0060rememberInlineModel\u0060 and \u0060libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TableRenderer.kt:373\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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TableRenderer.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35c31ce253824909c03622efa61dd8f08da456ac97230aca66b18a0225c8083"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 30): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:156-163 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:206-213 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:257-264 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:458-465 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:510-517 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:562-569 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:664-676 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:766-773 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:866-873 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:918-925 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1097-1104 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1506-1513 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:779-788 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:509-521 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:569-581 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:631-643 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:682-689 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:827-834 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:914-921 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:969-976 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:164-171 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:302-309 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:347-354 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:392-399 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:484-491 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:367-374 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:406-413 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:488-495 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:473-480 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:534-541 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:156\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d23afab8b6f97ca892efe97b1c96104a05186fdef8994e5f39b9574d80f5469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 25): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:181-188 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:231-238 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:280-287 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:684-696 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:789-796 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:891-898 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:943-950 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:816-827 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:601-608 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:651-663 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:773-780 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:812-819 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:889-896 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:944-951 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:999-1006 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:174-181 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:411-418 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:455-462 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:499-506 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:421-428 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:503-510 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:381-388 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:442-454 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:508-515 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:554-561 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 445 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d224b5d1ab77d1b05a9a3f9b204925482e030eddb5beeebe6bede8e608bae4bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 25): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:304-312 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:356-364 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:406-414 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:612-620 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:928-936 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:962-970 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:995-1003 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1163-1171 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1253-1261 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1760-1772 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:843-855 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:879-891 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1194-1206 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:739-748 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:857-865 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:207-215 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:538-546 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:590-598 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:41-49 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:102-110 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:164-172 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:226-234 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:349-357 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:410-418 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1377-1389 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:304\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c4b9cd81b7bd685199574ef97669098c9c51cdfd3c62ca8d6eb860a45ac0b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 11): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:528-536 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:585-593 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:617-625 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:838-846 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:926-934 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1066-1074 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1644-1652 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:740-752 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:182-190 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:269-277 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:640-648 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:528\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa7606fa96d60381d00dbcc63fccb0f8cbee1f08ba6d744f34f56d463295c76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 9): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:677-685 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1105-1113 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1168-1176 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1514-1522 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1201-1213 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:744-753 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:375-383 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:414-422 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:496-504 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:677\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"642d901b4b37f796e82823aec3c51f01c173181edd1edf26b568123e9513cfa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:647-659 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:946-958 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:606-618 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:330-342 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:350-362 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:456-468 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:647\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"c967dc5affd8cc870cd97fb45e5c801c9117fa6b457a836e40196c88b03f4751"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt:98-110 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FolderPickerRenderer.kt:74-86 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ImagePickerRenderer.kt:83-95 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/LocationPickerRenderer.kt:72-84 \u2014 before extracting anything, compare \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ImagePickerRenderer.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt:98\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9198ad7e2d04b0a820c7922d8b2c12ca599bf0a4b2dfa0b48c3650489258fb24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt:234-246 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt:467-479 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/ProcessImagesPreferenceSheet.kt:161-173 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheet.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 108 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt:234\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 first that the copies are not typed on the same thing: \u0060ArrowBack\u0060 names \u0060androidx.compose.material.icons.automirrored.rounded.ArrowBack\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.ArrowBack\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterSelectionCubeLutBottomContent.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c86a08f89a8116b80f3b0f22e243b57bd8384dbf20015e2e00c36ecdb7073e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SmearParamsItem.kt:77-89 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt:91-103 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/VoronoiCrystallizeParamsItem.kt:99-111 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SmearParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/VoronoiCrystallizeParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SmearParamsItem.kt:77\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SmearParamsItem.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3a46d94b6849f83aebe0892a410ec51dfd82bd9b5f675bb6fd855b9a5c1ccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/LoadingDialog.kt:61-73 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/LoadingDialog.kt:145-157 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/LoadingDialog.kt:191-203 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/LoadingDialog.kt:61\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/dialogs/LoadingDialog.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51da82a78392d0a45241d405c3ccb184b34a4cc6049599ba3c846d2c1109a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:256-268 | feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifToolsImagePreview.kt:53-65 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt:256-268 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 239 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 \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:256\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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1693bb12ced599da8edcc7659f5cce56a5913cad7d48b86ae37460c79974d945"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:257-269 | feature/profile/src/main/java/com/wanbaohe/profile/screen/ChangePasswordSheet.kt:210-222 | feature/profile/src/main/java/com/wanbaohe/profile/screen/VerifyEmailSheet.kt:168-180 \u2014 before extracting anything, compare \u0060feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt\u0060 and \u0060feature/profile/src/main/java/com/wanbaohe/profile/screen/ChangePasswordSheet.kt\u0060 as WHOLE FILES: this scan already matched 4 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. 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 \u0060feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:257\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":"feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fabccd2d59ec90e1a0bf31ce441e95d5d9093ae2b27300fc70be1cbbeff4d99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/BookkeepingScreen.kt:137-149 | feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/HabitMainScreen.kt:122-134 | feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt:209-221 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/BookkeepingScreen.kt:137\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060current\u0060 to \u0060BookkeepingTab\u0060 in one and \u0060HabitTab\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/BookkeepingScreen.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f5b55c23ee860cc80ac9c967f4feee94b76877672f0239e61438b18855d0f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GameDtos.kt:114-126 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/dto/GameDtos.kt:114-126 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/dto/GameDtos.kt:122-134 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GameDtos.kt:114\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GameDtos.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd888b0caddf97d09730f78be264f2a94c254fdd1f5c4fd850ef28b5ff0ce3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:946-958 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:1070-1082 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:877-889 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 106 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:946\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060AiOrchestrationUseCase\u0060 names \u0060com.wanbaohe.chess.application.usecase.AiOrchestrationUseCase\u0060 in one and \u0060com.wanbaohe.gomoku.application.usecase.AiOrchestrationUseCase\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"0689adf109db133aa40fd3737e204efed3d18425fba43527ed9db9cb6ab6cfbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt:74-86 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GameDaoAdapter.kt:72-84 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/GameDaoAdapter.kt:73-85 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GameDaoAdapter.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060GameStatus\u0060 names \u0060com.wanbaohe.chess.domain.model.GameStatus\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.GameStatus\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc973a4c7646bcddc26428315f3cc931a6bf0d58a34f7c460591829c67852bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt:112-124 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GameDaoAdapter.kt:110-122 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/GameDaoAdapter.kt:110-122 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GameDaoAdapter.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/GameDaoAdapter.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"adefdacbc2ddd923fbcf88d7cdf73f792945e305ec41618e07a06a7ea8e79717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/SettingsPrefsAdapter.kt:53-65 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/SettingsPrefsAdapter.kt:53-65 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/SettingsPrefsAdapter.kt:53-65 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/SettingsPrefsAdapter.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/SettingsPrefsAdapter.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060AudioSettings\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.AudioSettings\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.AudioSettings\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/SettingsPrefsAdapter.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a06eb666a69acc4a2bf81a2657c6808f4614c97a1ac8e30132264f88728d3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/SettingsPrefsAdapter.kt:68-80 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/SettingsPrefsAdapter.kt:68-80 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/SettingsPrefsAdapter.kt:68-80 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/SettingsPrefsAdapter.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/SettingsPrefsAdapter.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060AudioSettings\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.AudioSettings\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.AudioSettings\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/SettingsPrefsAdapter.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c68fd5a96c986c5779f3a451eeca82fb5a288d9a348e99ef1b13e9c97ea495a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:230-242 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt:230-242 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/online/SignalingClientImpl.kt:230-242 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060RoomInfo\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.RoomInfo\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.RoomInfo\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d251643bf6a2f764407d62032b5de00447fb1fb0376bd55f9c29ee2b1b00fca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:298-310 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:305-317 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:298-310 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:298\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"352eadfc634b12929a78a7ae15ef02d30160831cf900f6087b059f48edae4c0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ExportDialog.kt:86-98 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/ExportDialog.kt:86-98 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/ExportDialog.kt:86-98 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ExportDialog.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/ExportDialog.kt\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ExportDialog.kt:86\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ExportDialog.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"48653edeb61812be565745c242e8ef1a3c8d4fa6ccc413c6a58619a5405c913f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:325-337 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:327-339 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:323-335 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 109 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:325\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc61eabbaa5d87b3d3de827d3ac25f45a0ea6abcd3cf939a9eb91ab24f726fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt:281-293 | feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:299-312 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:403-415 \u2014 before extracting anything, compare \u0060feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt\u0060 and \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt:281\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/DeleteExifContent.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"304e3f85befa9911562a1ec0841e0e10ca36492adb44a2185cdb6aee59356597"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt:316-328 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddEventScreen.kt:298-310 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddMilestoneScreen.kt:264-276 \u2014 before extracting anything, compare \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt\u0060 and \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddEventScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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 \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt:316\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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddCountdownScreen.kt"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f169780675c501db0f829a1bc1fce47fe966105811d225ed28dd8b568e36f90a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageTopAppBarActions.kt:100-112 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_to_images/PdfToImagesScreen.kt:137-149 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/split/SplitPdfToolContent.kt:117-129 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_to_images/PdfToImagesScreen.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/split/SplitPdfToolContent.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 117 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 \u0060feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageTopAppBarActions.kt:100\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":"feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/components/LoadNetImageTopAppBarActions.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fab359253792606a15202c5bd513891a9e6976c3a9be8ec457b6be41a4557b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt:354-365 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/panels/TextStylePanel.kt:592-603 | feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/components/FontStyleRow.kt:75-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt:354\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt:353\u0060 calls \u0060stringResource\u0060 and \u0060feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/components/FontStyleRow.kt:73\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/TextEditDialog.kt"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a90caa287758321ced8843aca7931fcfc9d7fa5115a39c633122c98fb20495a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:55-67 | libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:314-326 | libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:421-433 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:55\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8817cecfa3008ddd6345b466c7ffaff89556c82ba6c06a8672f3b107223039e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/camera/src/main/java/com/wanbaohe/camera/CameraCaptureScreen.kt:221-233 | core/camera/src/main/java/com/wanbaohe/camera/CameraCaptureScreen.kt:240-252 \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 \u0060core/camera/src/main/java/com/wanbaohe/camera/CameraCaptureScreen.kt:221\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":"core/camera/src/main/java/com/wanbaohe/camera/CameraCaptureScreen.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"d068167806205c0ed1daf74aa36e918d3d257fcea6d426e896e6edb29e49734f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1243-1255 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1365-1377 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1256\u0060 calls \u0060propInt\u0060 and \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:1378\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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08a770365ba6b696b641e40dc71970fca27a8a7fd0a5a19d7507ceda65b8bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberTransferFuncPairItem.kt:69-81 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberTransferFuncBlurEdgeModeTripleItem.kt:82-92 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberTransferFuncPairItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberTransferFuncBlurEdgeModeTripleItem.kt\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberTransferFuncPairItem.kt:69\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberTransferFuncPairItem.kt:68\u0060 calls \u0060onFilterChange\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberTransferFuncBlurEdgeModeTripleItem.kt:81\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberTransferFuncPairItem.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"264a1a3a8f91a0724ec54eb2f094da48b7d02106b2441b215118c7bf39d29857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:346-358 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseTimeRangePickerDialog.kt:181-193 \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 \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:346\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":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67e8296072b71ec227d2e2623e3a0e04472b31ac78ca7afd530593026885dd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt:329-341 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/common/PdfPreviewItem.kt:118-130 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt:329\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/FileReorderVerticalList.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0ff239f4446653444b8f72a704b3151c09fcb8f22b8b06687d179e576f427c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PagesSelectionParser.kt:48-60 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PagesSelectionParser.kt:47-59 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PagesSelectionParser.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PagesSelectionParser.kt\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PagesSelectionParser.kt:48\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PagesSelectionParser.kt:47\u0060 calls \u0060sorted\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PagesSelectionParser.kt:46\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PagesSelectionParser.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2113f278991bcb3e4d1bcd9eda4e01b99b90e1581b539315262ef60e15734dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt:278-290 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextBlockTransformHandles.kt:130-141 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextBlockTransformHandles.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt:278\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e137b52b3e8af0559b4f4a451cf210ca820409a79a38edcdb23bb69cdcf7ae8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt:146-157 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt:229-241 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt:146\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab20e0545dd2ba8e3418e810212341824d6bbde229b1e216f0d4baf6332cf16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCustomSlider.kt:263-275 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderDefaults.kt:165-177 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCustomSlider.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cb47bd5c859fc0c8736b834ce7c1b8a286bafb17985b6dcdbe9541547fbbfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:911-923 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:946-958 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:911\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 after the matched lines, \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:960\u0060 calls \u0060orEmpty\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:925\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c28684c2369d80995e1c116a9280d9ed3bd5dd472d75a1aa845cfe03d787d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/export/DuelHtmlExporter.kt:684-696 | feature/ai/src/main/java/com/shifenmiao/ai/export/HtmlExporter.kt:759-771 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/export/DuelHtmlExporter.kt"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"501bed171394bc1b12d1c5723973aec46484e41623260531de8aa8abd77ff828"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:701-713 | feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:734-746 \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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e05e935030ba43719f0449b3c7e1dacfbf0f3d82e518551b0b5b8dbd99d7760"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1121-1133 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:1115-1127 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1121\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f41eb5a6d8f9a10eef2091578a89b2271d7bfad85423c76eee94d7ec32a7140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:310-322 | feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:339-351 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:310\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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c03169b86536109f12c7f0f5d9731888facb5d7d92a0373e7f81a5ba56bd23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/ui/AIPromptsPickerBottomSheet.kt:159-171 | feature/ai/src/main/java/com/shifenmiao/ai/ui/RecentQuestionsBottomSheet.kt:107-119 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/ui/AIPromptsPickerBottomSheet.kt:159\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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/AIPromptsPickerBottomSheet.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d779ab02032c72ea482e8d183107f1bdd3155703f3a259495ffdcf04edf9bd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/upload/FileUploadRouter.kt:382-394 | feature/ai/src/main/java/com/shifenmiao/ai/upload/FileUploadRouter.kt:459-471 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/upload/FileUploadRouter.kt:382\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/ai/src/main/java/com/shifenmiao/ai/upload/FileUploadRouter.kt:458\u0060 calls \u0060emit\u0060, \u0060Started\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/upload/FileUploadRouter.kt:380\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":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileUploadRouter.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"a368aa4aba40e64e046dd95f31102c2c33b4fabe96364d76fa0ec88dd074cf89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:550-562 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:724-736 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:550\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"741243d27dac24e64c0d985fd2f2fd6e243716957159697a9430c3d11f13c047"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt:193-205 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/SizeCustomizer.kt:165-177 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt:193\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Edit\u0060 names \u0060androidx.compose.material.icons.filled.Edit\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Edit\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/SizeCustomizer.kt:181\u0060 calls \u0060Spacer\u0060, \u0060width\u0060 and \u0060feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt:209\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":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8059c547cf920f7b772e9e5ed649679d18e9bc9f48e27a3a8656aca9329b6f5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleSelector.kt:218-229 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/SizeSelector.kt:201-213 \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 \u0060feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleSelector.kt:218\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Edit\u0060 names \u0060androidx.compose.material.icons.filled.Edit\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Edit\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleSelector.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5050032a59d3afc78be789f5e9db6886c81160adce41ef8bfe6eb3fa381ea485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201313 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:931-943 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:1060-1063 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:862-874 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 106 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:931\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: \u0060AiOrchestrationUseCase\u0060 names \u0060com.wanbaohe.chess.application.usecase.AiOrchestrationUseCase\u0060 in one and \u0060com.wanbaohe.gomoku.application.usecase.AiOrchestrationUseCase\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7560b93fedf79b5b0ac4ec5d252035b14f65fd3f66eeb13150b30cb4632702"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessLibraryComponent.kt:125-137 | feature/chess/src/main/java/com/wanbaohe/chess/component/ChessLibraryComponent.kt:143-155 \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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessLibraryComponent.kt:125\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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessLibraryComponent.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd9e700df12067acbe01c3fa3f9ac7aff1ccf216e38b91b24fc396333813ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/data/EngineMoveChooser.kt:57-69 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/EngineMoveChooser.kt:58-70 \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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/EngineMoveChooser.kt:57\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":"feature/chess/src/main/java/com/wanbaohe/chess/data/EngineMoveChooser.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6bfb61407ec3ff3a72f7a06c833da856f5dfaed76639ca6bc2884076d93970"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:175-187 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:184-196 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:175\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060NotationRows\u0060 names \u0060com.wanbaohe.chess.application.dto.NotationRows\u0060 in one and \u0060com.wanbaohe.gomoku.application.dto.NotationRows\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da531842e481b8f5370f90a6d6a22b352402b5f5ea9e4b55589485bf0b2e052"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:382-394 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:384-396 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 211 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:382\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e34b9b5ae9a836b28c8562b0e201b706882d9930df70917cc6c24dd926fe283"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:240-253 | feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:256-268 \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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:240\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:236\u0060 calls \u0060Spacer\u0060, \u0060height\u0060 and \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:253\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0793b8d3e94e37d867860fc7cb3246c27dff9b86e0aef0958969b4dd7f5257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201313 lines \u00D7 4): feature/cipher/src/main/java/com/t8rin/imagetoolbox/feature/cipher/presentation/components/CipherTipSheet.kt:85-97 | feature/cipher/src/main/java/com/t8rin/imagetoolbox/feature/cipher/presentation/components/CipherTipSheet.kt:103-115 | feature/cipher/src/main/java/com/t8rin/imagetoolbox/feature/cipher/presentation/components/CipherTipSheet.kt:120-125 | feature/cipher/src/main/java/com/t8rin/imagetoolbox/feature/cipher/presentation/components/CipherTipSheet.kt:138-143 \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 \u0060feature/cipher/src/main/java/com/t8rin/imagetoolbox/feature/cipher/presentation/components/CipherTipSheet.kt:85\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/cipher/src/main/java/com/t8rin/imagetoolbox/feature/cipher/presentation/components/CipherTipSheet.kt:103\u0060 calls \u0060padding\u0060 and \u0060feature/cipher/src/main/java/com/t8rin/imagetoolbox/feature/cipher/presentation/components/CipherTipSheet.kt:120\u0060 does not \u2014 after which the two agree again for 5 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":"feature/cipher/src/main/java/com/t8rin/imagetoolbox/feature/cipher/presentation/components/CipherTipSheet.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19ff879125ac1bd3efee9336668a9371b6efc60c8071655920aed5c13d46d23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/CloudFileGrid.kt:267-279 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/CloudFileGrid.kt:430-442 \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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/CloudFileGrid.kt:267\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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/CloudFileGrid.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"10edb4767989a92d07dbd240a23542428113d79bf33977133b3171496a54e609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201333 lines \u00D7 2): feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt:165-190 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditor.kt:250-282 \u2014 before extracting anything, compare \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt\u0060 and \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditor.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 150 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 \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note 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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"010f14032e2d6abab4e2321a8c3fddc073524f4afb1a0308753ac66c075fc781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/editor/NativeMarkdownEditor.kt:489-501 | feature/common/src/main/java/com/shifenmiao/common/editor/NativeStructuredBlockEditors.kt:176-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/common/src/main/java/com/shifenmiao/common/editor/NativeMarkdownEditor.kt:489\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"feature/common/src/main/java/com/shifenmiao/common/editor/NativeMarkdownEditor.kt"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"806d15fb33f43ea845fc99d95e4709f256a27af5758004883adcad611b9be9b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/voice/FunAsrClient.kt:82-94 | feature/common/src/main/java/com/shifenmiao/common/voice/IFlytekAsrClient.kt:94-106 \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 \u0060feature/common/src/main/java/com/shifenmiao/common/voice/FunAsrClient.kt:82\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":"feature/common/src/main/java/com/shifenmiao/common/voice/FunAsrClient.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9198436692732eec660d16f576d54cf0986695352b161f7d5991a70c6800c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt:146-158 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt:178-190 \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 \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt:146\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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b84961b2e63c39486b445489f08eb571b5e12431ada53c536fb34abfc75cd80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt:281-292 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/UiPathPaintCanvasAction.kt:266-278 \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 \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt:281\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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"57991bf318525bbf98ba759b44f1e0f62f08bdb45bed573d468698c36ea2650e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/CloudRelayApi.kt:88-100 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/CloudRelayApi.kt:162-174 \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 \u0060feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/CloudRelayApi.kt:88\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/CloudRelayApi.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f7551da54d3aad3e87e8617451c3d20058e95da623fb2ce5cd06aa49efcb6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt:302-314 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt:351-363 \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 \u0060feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt:302\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b27d79b9cf3aa63ebc2f2bf17b379aba8b4590d6c10c9afcf4b7b7ba655fcae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/node/ChatNodes.kt:301-312 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/node/ChatNodes.kt:811-823 \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 \u0060feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/node/ChatNodes.kt:811\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/node/ChatNodes.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e05502cae4050b1e945c8db3db2cfc5a5a22da9c99bd571067ffef94a5d4f5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:75-87 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:117-129 \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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:75\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"794090ef1ce1f20d6ed4dd41f1ab9c23dd6d8efd09a0abc0f96e4899c9a23ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt:528-540 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt:388-400 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt:528\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ConnectionState\u0060 names \u0060com.wanbaohe.gomoku.domain.model.ConnectionState\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.ConnectionState\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fa3974c18ac3a310c7869c6cec70c3ccea461c54719302e8874bdc6a91348e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/screenLogic/GradientMakerComponent.kt:228-240 | feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/screenLogic/GradientMakerComponent.kt:533-545 \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 \u0060feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/screenLogic/GradientMakerComponent.kt:228\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":"feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/screenLogic/GradientMakerComponent.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac3ef7a45f4f8d3d04c0c3b55ef3de396a483579767e970eb93b28b85866878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt:240-252 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt:319-331 \u2014 before extracting anything, compare \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt\u0060 and \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 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 \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt:240\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"5833e160c034913b23c8b0cef85aef93ee0c95b3e0dd584a102a0803cf5e8423"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt:1301-1313 | feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/canvas/WatermarkCanvas.kt:189-200 \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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt:1301\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f43c7848d31ae89ec96a0ab122becc35a49d0ff9bfd8e8b5bdfe7a4e1b8c924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt:118-130 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/crop/CropToolScreen.kt:386-398 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt\u0060 and \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/crop/CropToolScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5c1470009fc39fb734bad9bd127d2617973a41ebd6ac05aeea837f2130312b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/signature/SignaturePdfToolContent.kt:177-189 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/watermark/WatermarkPdfToolContent.kt:116-128 \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 \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/signature/SignaturePdfToolContent.kt:177\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/signature/SignaturePdfToolContent.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b951d701af9b36b1daed43df12233f13c69f73f4ef317638a29449e4b6fba0ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/profile/src/main/java/com/wanbaohe/profile/ProfileScreen.kt:481-493 | feature/profile/src/main/java/com/wanbaohe/profile/ProfileScreen.kt:543-555 \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 \u0060feature/profile/src/main/java/com/wanbaohe/profile/ProfileScreen.kt:481\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":"feature/profile/src/main/java/com/wanbaohe/profile/ProfileScreen.kt"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1cc863eb6b2cfed75677ec2b15d503f30ed75fce8d1c741c41724e8bfb0fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:268-280 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:502-514 \u2014 before extracting anything, compare \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt\u0060 and \u0060feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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 \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:268\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":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4e19032b12636e318f7188352fa609012c8186f981e5d899b93fe4bb497b56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/schedule/src/main/java/com/wanbaohe/schedule/integration/SystemCalendarProviderAdapter.kt:129-141 | feature/schedule/src/main/java/com/wanbaohe/schedule/integration/SystemCalendarProviderAdapter.kt:160-172 \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 \u0060feature/schedule/src/main/java/com/wanbaohe/schedule/integration/SystemCalendarProviderAdapter.kt:129\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":"feature/schedule/src/main/java/com/wanbaohe/schedule/integration/SystemCalendarProviderAdapter.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0441f5ee215bb89dfaa41ec868caf46bea27bbaa54b047f76a3b3a459d74157e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiLibraryComponent.kt:126-138 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiLibraryComponent.kt:144-156 \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 \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiLibraryComponent.kt:126\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiLibraryComponent.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b73b2d46db41365c77639bc6ba4c0747659a4de60c07050393f6c0a4be7448f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt:544-555 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt:659-671 \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 \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt:544\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae2258ee706eaf5424d01d97d9d5a11b2eb18bf7a8b5db8cf5f731bf87cd5f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1640-1652 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1844-1856 \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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1640\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":"libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6703eab85f042c1030569418bd48aa1f999bf44bb5bcf95119350ead2cdf62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/cache/DrawCommandMeasurement.kt:45-57 | libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphIrRenderer.kt:187-199 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/cache/DrawCommandMeasurement.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a919afb3215f73bed7d597e9da81191f6996604c7f5b9db51228ad377c6e476"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:178-190 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:123-135 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:178\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c89e2cfb34b5200af2ec95ff83eca85ef34a4edabde9939b8bdf1467574c50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TableRenderer.kt:219-231 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TableRenderer.kt:256-268 \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 \u0060libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TableRenderer.kt:219\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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/TableRenderer.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b679e1da997b4d4d6b4825553b57c9fd30a56055fca50fcf5da5f7f4a0c7a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/compose/DefaultMarkdownComposePainter.kt:359-371 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/compose/DefaultMarkdownComposePainter.kt:381-392 \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 \u0060libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/compose/DefaultMarkdownComposePainter.kt:359\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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/compose/DefaultMarkdownComposePainter.kt"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"349b60dc7c5674bf33dd3244965e998e7c8e97e4f9be20e88b8ee0df1f4f8a8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/engine/DefaultMarkdownLayoutEngine.kt:292-304 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/engine/DefaultMarkdownLayoutEngine.kt:415-427 \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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/engine/DefaultMarkdownLayoutEngine.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba00c545a67848ef64c5b8973bf21219011b77a1da16c57438609d7a59e1a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 39): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:161-169 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:211-219 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:306-314 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:358-366 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:408-416 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:463-471 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:525-533 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:582-590 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:614-622 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:835-843 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:871-879 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:923-931 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:964-972 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:997-1005 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1063-1071 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1641-1649 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:737-748 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:519-528 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:579-588 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:687-696 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:859-867 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:919-927 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:974-982 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:179-187 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:209-217 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:266-274 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:307-315 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:352-360 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:540-548 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:592-600 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:637-645 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:43-51 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:104-112 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:166-174 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:228-236 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:351-359 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:412-420 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:478-486 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:539-547 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:161\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7da9855b6b4d4c214d46d72ef6dc3bba6da71189f468a074bb699c140821ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 31): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:159-166 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:209-216 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:260-267 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:461-468 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:672-679 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:769-776 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:869-876 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:921-928 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1100-1107 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1133-1140 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1509-1516 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:782-793 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:517-524 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:577-584 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:639-646 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:685-692 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:830-837 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:917-924 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:972-979 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:305-312 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:350-357 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:395-402 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:487-494 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:538-545 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:370-377 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:409-416 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:465-472 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:491-498 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:297-304 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:476-483 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:537-544 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:159\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, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:168\u0060 calls \u0060listOf\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:778\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10ac74ffa9878f031e3a28984beb84b31419dc47e289c096c26c8425d982fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 31): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:182-189 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:232-239 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:281-288 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:690-697 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:736-743 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:790-797 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:831-838 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:892-899 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:944-951 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1141-1148 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1221-1228 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:818-829 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:602-609 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:657-664 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:774-781 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:813-820 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:890-897 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:945-952 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:1000-1007 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:175-182 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:412-419 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:456-463 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:500-507 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:546-553 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:422-429 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:504-511 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:648-655 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:325-332 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:448-455 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:509-516 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:555-562 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:182\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b62a6da7d3a34da908b50068a74ee3d15d3bc46fad88c1223d1530640c02e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 30): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:331-339 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:383-391 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:433-441 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:483-491 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:520-528 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:577-585 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:939-947 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1039-1047 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1107-1115 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1210-1218 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1264-1272 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1516-1524 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1636-1644 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1205-1216 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:540-549 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:229-237 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:261-269 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:322-330 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:367-375 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:264-272 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:337-345 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:452-460 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:555-563 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:607-615 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:632-640 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:78-86 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:139-147 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:201-209 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:263-271 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1407-1418 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:331\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b01b0352d90c10f81016dc63281e4c3204fb9e57b5419f8535693975f5a097d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 14): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:674-682 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:740-748 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1102-1110 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1165-1173 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1511-1519 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:847-858 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:883-894 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1198-1209 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:741-750 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:342-350 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:372-380 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:411-419 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:493-501 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1523-1534 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:674\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bec29d46eb99a914718e52580baa472db058e9ca06b28feaf39b1dddd85dfc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 11): libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:366-374 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:538-547 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:587-598 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:620-631 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:667-676 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:698-709 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:773-784 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:850-861 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:925-934 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:1002-1013 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:1081-1092 \u2014 all 11 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:366\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":"libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"064df065ce956bed4188ad4a879e8efd4eea6d7af07881d83161b6eaa6dc0d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt:106-117 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/AsciiParamsItem.kt:235-246 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt:107-118 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SmearParamsItem.kt:101-112 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/VoronoiCrystallizeParamsItem.kt:127-138 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SmearParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt:106\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ArcParamsItem.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"673bd0dc2cbbbbc0c1931849f73fd65d4e647a8c1484f097a22c5c3393f991f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 5): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssAdapter.kt:119-128 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt:119-130 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosAdapter.kt:123-134 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/HuaweiObsAdapter.kt:117-126 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/TencentCosAdapter.kt:116-125 \u2014 before extracting anything, compare \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssAdapter.kt\u0060 and \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/TencentCosAdapter.kt\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssAdapter.kt:119\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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssAdapter.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ece08506856cab1e2b92688220f6de224b02d1e30d6166059bb77c22434ece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1135-1146 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1215-1226 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:641-652 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:489-500 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:540-551 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 524 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1135\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c737cd3c645df166476537c86cec7943668e2e6be3eef485dcb96e93f4b5ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt:138-149 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt:134-145 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/VoronoiCrystallizeParamsItem.kt:145-156 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt:138\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bb862e74a26ee3a0943cdf461a3628f1442227bc4428e79383d0a8d9baf611"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:805-816 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:766-777 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:1139-1150 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:805\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5e2f5d376cad186a438493036cbd7cc37c89f9bb3ac463dcb0ad87d36df0ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt:307-318 | feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifToolsControls.kt:61-71 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt:307-318 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 239 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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf1a8f2709207be13969602bf06b8e766d0329475b3ce79df879c5e039bbb04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:244-255 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:204-215 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:215-226 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060GameResultResolver\u0060 names \u0060com.wanbaohe.chess.domain.GameResultResolver\u0060 in one and \u0060com.wanbaohe.gomoku.domain.GameResultResolver\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"44302a6a6175916c791e5e77d57936cd58aa663675ab6eaacd564f6322a695e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:667-678 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:611-622 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:633-644 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab1b20f144465d97f3242ee334a8805de689449e661b73d9144d1edc6ccc741"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:709-720 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:662-673 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:677-688 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060GameQueryUseCase\u0060 names \u0060com.wanbaohe.chess.application.usecase.GameQueryUseCase\u0060 in one and \u0060com.wanbaohe.gomoku.application.usecase.GameQueryUseCase\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccb8a75ae577ee45837a5252f46896bee412cac418c7d6b9a1603500d7f5983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt:117-128 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuLibraryScreen.kt:117-128 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiLibraryScreen.kt:133-144 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060ChessLibraryComponent\u0060 in one and \u0060GomokuLibraryComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuLibraryScreen.kt:116\u0060 calls \u0060toCardData\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiLibraryScreen.kt:132\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19a597647c64c721c0db18791942b2b782b8556a194e09080d76734919adbd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt:166-177 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt:184-195 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/components/PdfPagesRotationGrid.kt:195-206 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt:166\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt:181\u0060 calls \u0060rememberLazyGridState\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt:163\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/components/PdfPagesRearrangeGrid.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e862e085d3e398abd9bc0e0da3fc08c00380945f2ca0c212d04ae769a2412fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:702-713 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:782-793 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:855-866 \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 \u0060feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:702\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":"feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"508fcaf33720168e270a939ed80322953bc54ab67cfdccd13658444993914691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201312 lines \u00D7 5): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:527-538 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:413-416 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:388-399 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:451-454 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:627-638 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 163 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:527\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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:387\u0060 calls \u0060anchoredNoteRect\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:413\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc3d3117014c39828d357796630a1ddb700f89005b4613d7a3bd6c0dce36e1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/base/src/main/java/com/shifenmiao/base/utils/FileUtils.kt:395-406 | core/base/src/main/java/com/shifenmiao/base/utils/FileUtils.kt:435-446 \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":"core/base/src/main/java/com/shifenmiao/base/utils/FileUtils.kt"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f83dc0bdf4d0c169bec1414303c53e8b53a524bd80d0482bdea0ba8890ebdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:491-502 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:560-571 \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 \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:491\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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e03255d3e03775b27485c55660423498fcd027d4a96542feb8cbc91192837b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateAddingGroup.kt:91-102 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateAddingGroup.kt:113-124 \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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateAddingGroup.kt:91\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateAddingGroup.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"15639403a15e06a834e8e5795335640ede47d44e466ea5fdc874c94c5be38b9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ChannelMixParamsItem.kt:82-93 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt:83-94 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ChannelMixParamsItem.kt:82\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ChannelMixParamsItem.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a6d9b0dd8c0c4e94dc6b33a3d13c5c1059e2a4d40d4ae782e1493544dae84c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt:62-73 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearTiltShiftParamsItem.kt:62-73 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearTiltShiftParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 91 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/EnhancedZoomBlurParamsItem.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc45c09e1aed07d06e457a91394a3812192b6fe4af5948cb36dd297b4c9d6f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ToneCurvesParamsItem.kt:89-100 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/ToneCurvesEditOption.kt:177-188 \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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/ToneCurvesParamsItem.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f523ac423c884cb26774e8098aef63b37d89463f2d3791babe284302dfefeeb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/ui/src/main/java/com/wanbaohe/base/ui/icon/Icons.kt:174-185 | core/ui/src/main/java/com/wanbaohe/base/ui/icon/Icons.kt:200-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/java/com/wanbaohe/base/ui/icon/Icons.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9804e6a2c797fefba5b41186d039bf40582c37f3cd504e33f64e48af568dfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveBottomScaffoldLayoutScreen.kt:149-160 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveLayoutScreen.kt:168-178 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveBottomScaffoldLayoutScreen.kt:149\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: \u0060ArrowBack\u0060 names \u0060androidx.compose.material.icons.automirrored.rounded.ArrowBack\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.ArrowBack\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveBottomScaffoldLayoutScreen.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdafc18a1e9b90e913bac1c9e030cc5a8665fa497c72ab029c448e4a0769bfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedCircularProgressIndicator.kt:65-76 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedCircularProgressIndicator.kt:112-123 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedCircularProgressIndicator.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4751622e707acdcf4ad7051559dba1cfd8f298d37f419d9676fecb59e02e3961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt:91-102 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTonalButton.kt:79-90 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTonalButton.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt:91\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d02149b7c1faea113700dcb127e221a00db306f9744ec8d829a8054e387574e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:56-67 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:135-146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:56\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ac35b01ec663f89a65654bb19dda7296c6c1bf6f6949a27cb36a9e0b19c933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt:174-186 | feature/ai/src/main/java/com/shifenmiao/ai/ui/MoreInputSection.kt:527-538 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt:174\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Check\u0060 names \u0060androidx.compose.material.icons.filled.Check\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Check\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe08e4e8c84f82c112950a666cf8dcc1b360f2f88b6566457727370f210b7e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/FluentSwitch.kt:157-168 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/PixelSwitch.kt:75-86 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/FluentSwitch.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1823e8db39409c67505146a5297ef8583e975a4ea0b8c19b6d765cccdd0ff73e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt:155-166 | feature/ai/src/main/java/com/shifenmiao/ai/screen/AgentDetailScreen.kt:90-101 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt: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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a487776d8b1656b668f9e493969f9cf3bbda24c2d6356364a02a7a4ceca656"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:657-668 | feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:767-778 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:657\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e392799b3e3bdf0450aecf71912ff3cd7b1d9c1e1ebb70cd0cd3214ce4e15a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:551-562 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:534-545 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:551\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec5641a50ecae806b291191084f246743c04635ce9cbdc56bc8e7e252da7e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:156-167 | feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt:150-161 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16dcfddbb7cbeeec1f66b476a5b0d9f673f06cb7444c6c57c8540dd6da245a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt:767-778 | feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt:789-800 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt:767\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt:766\u0060 calls \u0060padding\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt:788\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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6634f2dcde664470b14a7bbf88b3c01b4780c8146efb5db25857371a11b1af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/data/AndroidApngConverter.kt:125-136 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/data/AndroidWebpConverter.kt:106-117 \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 \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/data/AndroidApngConverter.kt:125\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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/data/AndroidApngConverter.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d746eba81fb3a6625bf3f6af9808ea71542ae8ddfc9bbbee3737e288a780dfd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): feature/app/src/main/java/com/wanbaohe/app/ui/WebViewModalBottomSheet.kt:237-248 | feature/webview/src/main/java/com/shifenmiao/webview/PreviewWebViewScreen.kt:110-119 \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 \u0060feature/app/src/main/java/com/wanbaohe/app/ui/WebViewModalBottomSheet.kt:237\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":"feature/app/src/main/java/com/wanbaohe/app/ui/WebViewModalBottomSheet.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36a13cd65a0432064e05ab250e4a364b21e816fa00ca573b8b5d37cc63c244c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:562-573 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:716-727 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:562\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f580d7f6757c471e1527903ffd33509ef5ff2305e2dfd5623aea5aa35dff99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ExportConfigPanel.kt:72-83 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/IdPhotoExportConfigPanel.kt:99-110 \u2014 before extracting anything, compare \u0060feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ExportConfigPanel.kt\u0060 and \u0060feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/IdPhotoExportConfigPanel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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 \u0060feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ExportConfigPanel.kt:72\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, \u0060feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/IdPhotoExportConfigPanel.kt:113\u0060 calls \u0060Column\u0060, \u0060fillMaxWidth\u0060 and \u0060feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ExportConfigPanel.kt:86\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":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/ExportConfigPanel.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6904175cd4ad32ea207b3bd0e126b0fcf9e3975d7e45be735e9409fc644457"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt:155-166 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt:140-152 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd5b46edd0db056bf56f420e75860b24519bcb57e6dd5336c9eeb98476637f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:84-95 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:71-82 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060GameStatus\u0060 names \u0060com.wanbaohe.chess.domain.model.GameStatus\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.GameStatus\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8228462a8bc4b8fda7160b2a729935a7db2fca7c19a1971874f48105d0064b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:443-454 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt:364-375 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060BoardPoint\u0060 names \u0060com.wanbaohe.chess.domain.model.BoardPoint\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.BoardPoint\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:455\u0060 calls \u0060enqueueOpponentEvent\u0060, \u0060Move\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt:376\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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"6512f9dc5eb8956d79732d925d37b6a19c17f8c89feac652689da4a78024512d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt:123-142 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt:120-136 \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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5072a8f6361a7c19645aee25beb1edca28db9e66ccbbf166d2ab12842074bd79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt:385-396 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt:383-394 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060GameStatus\u0060 names \u0060com.wanbaohe.chess.domain.model.GameStatus\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.GameStatus\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"885b0a7378bbdb6094e06d0947ce484b3eadc04c87cd18b4ecf7fab59998a070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/SmbFileSystemAdapter.kt:172-183 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/SmbFileSystemAdapter.kt:207-218 \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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/SmbFileSystemAdapter.kt:172\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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/SmbFileSystemAdapter.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"eceee0dcf93b3ef8c2124acbe581368ff0acccef367dea5365a95594312015ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt:35-46 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosAdapter.kt:35-46 \u2014 before extracting anything, compare \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt\u0060 and \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosAdapter.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt:35\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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2b36c343fb9d3a2738926fd3dc9755587a00eefd11f66d1007c8f85f6052a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt:102-113 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosSigner.kt:103-114 \u2014 before extracting anything, compare \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt\u0060 and \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosSigner.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt:102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"694c263c208635bb62dcdc95f5091f1564f944563960936f4f901753f61c56eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/ConnectionSheet.kt:219-230 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/ConnectionSheet.kt:270-281 \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. Note first that the copies are not typed on the same thing: \u0060Close\u0060 names \u0060androidx.compose.material.icons.outlined.Close\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Close\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/ConnectionSheet.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1612d24082cfae08890854625a47c87173c8fe5bb8503e4647d1679522538e10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt:351-362 | feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt:429-440 \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 \u0060feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt:351\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":"feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"158e3e1800978fc29f7b683ef709a6a9eb134447651ea18cdd1e858576dab1cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/screenLogic/CropComponent.kt:196-207 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:588-599 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/screenLogic/CropComponent.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cfc1931bd373d860ab8acad3e0990e2d70e8405f566d0d2a7f17ed30437ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastBlurFilter.kt:159-169 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/StackBlurFilter.kt:269-280 \u2014 before extracting anything, compare \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastBlurFilter.kt\u0060 and \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/StackBlurFilter.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastBlurFilter.kt:159\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastBlurFilter.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c958f18e28c3e2bca24e14753cda6af1cfd56ae8d49751c7512fdb4e8432009a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/Glitcher.kt:188-199 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/tools/JpegGlitch.kt:75-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/Glitcher.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"4676c090da0515f72a58a76cd8275ed40e1bddb83a4ac222ec13285d3dbc55f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:199-210 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:274-284 \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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:199\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bc56711530e3603bb5346ec2068d0b75ccd73a367f5364ca6b2595b0f999e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt:151-162 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/board/XiangqiBoard.kt:231-242 \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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt:151\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 first that the copies are not typed on the same thing: \u0060BoardPoint\u0060 names \u0060com.wanbaohe.gomoku.domain.model.BoardPoint\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.BoardPoint\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d839e7b6fad2e5db0e0823c5f53012712ce4456a579bfc6b3acfe38b99b9b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt:120-131 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:180-191 \u2014 before extracting anything, compare \u0060feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt\u0060 and \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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":"feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb86773cbe022121f994b10a5f49781481cb4617f8e467fc290c2b7214b876d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt:262-273 | feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:367-378 \u2014 before extracting anything, compare \u0060feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt\u0060 and \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 56 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 \u0060feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt:262\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":"feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f1109b36bfc78969e9f5ea8b360a1a7385e3d5c60bde2b041651adebce1a6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/ThemeGroupCard.kt:169-180 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/ThemeGroupCard.kt:304-314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/ThemeGroupCard.kt:169\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/ThemeGroupCard.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4b25b1978127e30bbdbec994047a864d2e170063b7ea8a3c50f1e9196c532d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:564-575 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:466-477 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b4c589ea2ade521419d273e49d85811fd04a9dbd4b400a419a51f3c7302032"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:615-626 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:517-528 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"684c25ffa7a409faf875048f0354df3630bddba7a051abfc3cfe2becda40cf1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersFloatingPanel.kt:327-338 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersSheet.kt:311-322 \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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersFloatingPanel.kt:327\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersFloatingPanel.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"497e038be9b493db94af16cb2d2c75f3aff608dd8540229c335aa60b8c70a706"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersSheet.kt:296-307 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersSheet.kt:368-379 \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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersSheet.kt:296\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersSheet.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5508828bdba9aa8278f348b52a5742634cc07ebb6581727c08dcf4fd8d8035"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt:1864-1875 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt:1890-1901 \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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt:1864\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d1d7426fc9b0e59dc605bbe9ef62dafdde3cd22c342a686a8c446b7cbbc76d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/FireworksBackground.kt:301-312 | feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/FireworksBackground.kt:322-333 \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 \u0060feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/FireworksBackground.kt:301\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":"feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/FireworksBackground.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c649499c77d4de0d2c6a36aee0cc9c9d45a86ad8a3046b4dbb96de4fd27368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt:410-421 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt:426-437 \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 \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt:410\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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4573489ec50dc2d9b9e34b96101f1ca5602da9bb16b572620d9e6b8a6d68512"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt:408-419 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt:464-475 \u2014 before extracting anything, compare \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt\u0060 and \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5e6b17da46959bd654c604feee5b79fc57b76b75727a707e08740fddcbe8c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt:141-152 | feature/online/src/main/java/com/shifenmiao/online/component/CreateNoteComponent.kt:125-136 \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 \u0060feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt:141\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d0d84035d3c324b843b289d2b5ea459f5184ec2939f439842a265397a9351d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/AddRecordScreen.kt:123-133 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/RecordListScreen.kt:141-152 \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 \u0060feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/AddRecordScreen.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/AddRecordScreen.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5e29fe940255c10f1c1707c2b383c83f49d74f2dbddb9963669992d5e26a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/RecordsTab.kt:77-88 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/TrendsTab.kt:85-96 \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 \u0060feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/RecordsTab.kt:77\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":"feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/RecordsTab.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2203e1b7079812a06c1586dfbe93bae41e0fdabb2ca816265237bb0ab6a6120"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:487-498 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:548-559 \u2014 before extracting anything, compare \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt\u0060 and \u0060feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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 \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:487\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:560\u0060 calls \u0060registerChanges\u0060 and \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:499\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":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51edad03a62378f149c385e18b7f700b8984d28ea9c446dd3fa67b01d305dd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/survive30s/src/main/java/com/wanbaohe/survive30s/screen/Survive30sScreen.kt:839-850 | feature/survive30s/src/main/java/com/wanbaohe/survive30s/screen/Survive30sScreen.kt:892-903 \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 \u0060feature/survive30s/src/main/java/com/wanbaohe/survive30s/screen/Survive30sScreen.kt:839\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":"feature/survive30s/src/main/java/com/wanbaohe/survive30s/screen/Survive30sScreen.kt"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d1ca311979047847e1ad3e04dffedc1be735cacf6b6e66bba8158c521ab484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): feature/webview/src/main/java/com/shifenmiao/webview/ColumnWebViewScreen.kt:53-63 | feature/webview/src/main/java/com/shifenmiao/webview/PreviewWebViewScreen.kt:101-112 \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 \u0060feature/webview/src/main/java/com/shifenmiao/webview/ColumnWebViewScreen.kt:53\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":"feature/webview/src/main/java/com/shifenmiao/webview/ColumnWebViewScreen.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7953bda00158547d0de57443ec93ba7dcb6495618768de38e09ed81948624caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:98-109 | libs/collages/src/main/java/com/t8rin/collages/utils/CollageLayoutFactory.kt:123-134 \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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:98\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50392d18b17bc53dd054ced9a40601f88599bef2d6fdc547fbfb5a95bb481a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1482-1493 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1762-1773 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 221 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1482\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"39418c93f9d16790bd627daa6cfc04aceb04e05fbd90e1fde6a4ef082d282b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:242-253 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:211-222 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:242\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60360955da295bd66312d511b402c46ff973b770df74b9e055e2e4f55051b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt:61-72 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlTreeRenderSupport.kt:142-153 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"373750ea2a0ef756672b6d52f7b8f725130a0da7e52bcaee489fba2fe9df55d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidXYChartSubPipeline.kt:209-220 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidXYChartSubPipeline.kt:227-238 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidXYChartSubPipeline.kt:209\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidXYChartSubPipeline.kt:224\u0060 calls \u0060ltrb\u0060, \u0060FillRect\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidXYChartSubPipeline.kt:208\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidXYChartSubPipeline.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79a73c7b0e8da3f7757d48c965c6c432331e0ef3d66011a56b7682ffbc9372e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:448-459 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:474-485 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:448\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"492d606e0c83f792352b2600393130c168eb78a198302d66cbb99a62991d24e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:222-233 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:248-259 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:222\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"99087ef7557424de6959581b54382b484cbfb2b5d472966dc1cbd76657a32db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/Markdown.kt:109-120 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/Markdown.kt:200-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/Markdown.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb1ec0630649019c5379a91f5ffa6969046341c0cbd7e90dae72322cb4613f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 2): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/RendererContext.kt:117-124 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineWidgets.kt:39-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/RendererContext.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"478a1fe9385bb308d27a94579161117bbd00ba3bbd04ce278eb740164011d7c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/AdmonitionRenderer.kt:88-99 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/CustomContainerRenderer.kt:103-114 \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 \u0060libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/AdmonitionRenderer.kt:88\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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/AdmonitionRenderer.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7b8c4c4280de0aa793d7b9266c8918587f50c40345e386877384fbdd46ef69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/seam_carving/SeamCarver.kt:489-500 | libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/seam_carving/SeamCarver.kt:884-893 \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":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/seam_carving/SeamCarver.kt"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2e8d4956a19c0f144618b8bd8e50ba0e6b62b2329a4d40127c2782880af78b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 41): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:172-179 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:222-229 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:327-334 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:379-386 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:429-436 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:479-486 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:536-543 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:588-595 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:620-627 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:841-848 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:882-889 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1035-1042 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1074-1081 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1176-1183 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1647-1654 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:667-677 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:745-755 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:536-544 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:591-599 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:704-712 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:715-722 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:880-887 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:935-942 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:990-997 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:185-192 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:225-232 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:277-284 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:318-325 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:363-370 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:446-453 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:260-267 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:383-390 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:551-558 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:603-610 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:74-81 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:135-142 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:197-204 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:259-266 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:387-394 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:433-440 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:499-506 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f6bc20493ed9509d5473351b8b5bfa5be5bffe892377ad3201d43f2136cd89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 32): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:157-164 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:207-214 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:258-265 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:459-466 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:670-677 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:767-774 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:867-874 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:919-926 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1098-1105 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1131-1138 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1507-1514 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:780-790 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:515-522 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:575-582 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:637-644 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:683-690 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:828-835 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:915-922 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:970-977 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:165-172 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:303-310 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:348-355 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:393-400 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:485-492 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:536-543 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:368-375 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:407-414 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:463-470 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:489-496 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:295-302 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:474-481 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:535-542 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:157\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7661ff9e0702fb7c8e534eccfe1ec2c860343f4cd558f72d99615be6c9d17249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 30): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:302-309 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:354-361 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:404-411 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:610-617 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:711-718 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:926-933 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:960-967 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:993-1000 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1161-1168 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1206-1213 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1251-1258 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1632-1639 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1758-1768 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:841-851 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:877-887 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1192-1202 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:737-744 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:855-862 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:205-212 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:536-543 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:588-595 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:628-635 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:39-46 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:100-107 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:162-169 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:224-231 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:285-292 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:347-354 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:408-415 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1375-1385 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:302\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:532\u0060 calls \u0060param\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1189\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a91328d95dbbcddb1e5e4cc8648d9d9ca6061d04276f5df7d5d29f696f6ddf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 24): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:167-174 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:217-224 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:312-319 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:322-329 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:364-371 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:374-381 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:414-421 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:424-431 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:877-884 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:970-977 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1003-1010 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1030-1037 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:591-601 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:586-593 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:865-872 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:875-882 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:313-320 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:358-365 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:289-296 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:299-306 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:328-335 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:546-553 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:598-605 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:64-71 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:167\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a69fb5c3ebf0c921ce30b627bca0fe83d675c5cc1c86e2c7b700e61d7599195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 12): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:516-523 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:816-823 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:934-941 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:626-636 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:710-720 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:803-810 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:257-264 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:526-533 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:333-340 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:448-455 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:372-379 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:545-552 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 445 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:516\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ae6b9f3781b540c5b1b13ad89dd3e22ea2890fe6d505a425fa86c8f9886771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 8): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:923-932 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1203-1212 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1248-1257 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1190-1200 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:533-542 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:585-594 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1373-1383 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1711-1721 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:923\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:921\u0060 calls \u0060param\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1189\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc4ee3d20c3a5f86b013c82df04e08cc688869eebc61c0e43ed020a4f9eb45d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:135-145 | feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:169-179 | feature/profile/src/main/java/com/wanbaohe/profile/screen/BindEmailSheet.kt:105-115 | feature/profile/src/main/java/com/wanbaohe/profile/screen/BindEmailSheet.kt:138-148 | feature/profile/src/main/java/com/wanbaohe/profile/screen/ChangePasswordSheet.kt:128-138 | feature/profile/src/main/java/com/wanbaohe/profile/screen/VerifyEmailSheet.kt:121-131 \u2014 before extracting anything, compare \u0060feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt\u0060 and \u0060feature/profile/src/main/java/com/wanbaohe/profile/screen/BindEmailSheet.kt\u0060 as WHOLE FILES: this scan already matched 4 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. 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 \u0060feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/profile/src/main/java/com/wanbaohe/profile/screen/VerifyEmailSheet.kt:132\u0060 calls \u0060Spacer\u0060, \u0060width\u0060, \u0060SendConfirmEmailCodeButton\u0060 and \u0060feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:146\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":"feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb463e1672c35388c39b3b8841a97ea61aaa7a2f624c672b53a5b3f2d5a8ca09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/MilestoneInsightService.kt:56-66 | feature/poem/src/main/java/com/wanbaohe/poem/service/PoemInsightService.kt:62-72 | feature/poem/src/main/java/com/wanbaohe/poem/service/PoemInsightService.kt:90-100 | feature/poem/src/main/java/com/wanbaohe/poem/service/PoemInsightService.kt:112-122 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/service/HealthInsightService.kt:69-79 \u2014 there are 5 copies across 3 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/MilestoneInsightService.kt:56\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/MilestoneInsightService.kt:67\u0060 calls \u0060addInsight\u0060 and \u0060feature/record-center/src/main/java/com/wanbaohe/recordcenter/service/HealthInsightService.kt:80\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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/MilestoneInsightService.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa1d0dc9e25b50ebb831a0561c47cbf15fa06abefdf42d25fc4999ef27a2fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:452-462 | core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:503-513 | core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:757-767 | core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:806-816 \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 \u0060core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt:452\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":"core/database/src/main/java/com/shifenmiao/database/activity/ActivityLogRecorder.kt"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62a10ce9f20d52d9195de2f4ed7a9e2fa4cda9f875712715558e509e1dd6154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 4): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:439-449 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:488-496 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:320-328 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:465-475 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:439\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e910eec883db844dbae9a3bf02670ddd7c97e5b2823e018372b66fcfad75e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt:89-99 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTextButton.kt:86-96 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTonalButton.kt:77-87 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTonalButton.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt:89\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f844154129e909c0eafea40249bd87d9878d2acba2c4cbe83ea8e596e432556c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt:106-116 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTextButton.kt:100-110 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTonalButton.kt:94-104 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTonalButton.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d46eb94f2af0934bb2395b346f511706d6b2283ee012d8469e705969f911f1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:378-388 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt:378-388 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageXiangqiTool.kt:375-385 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:378\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"66041f957afc7bb959fca443250f1809ad4edad4ba309e9030ae56200d00aef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:861-871 | feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:122-132 | feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt:116-126 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"3036735f0305b62a6c20c02f35315af6b761cf5b02c453c8f0e12e5ad3d08658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:822-832 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:841-851 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:860-870 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:822\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e117f5429696855de5e8ea673f4f5a8310984d07317cc6c018026571af826d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:204-214 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt:204-214 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/online/SignalingClientImpl.kt:204-214 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 129 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:204\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060RoomInfo\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.RoomInfo\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.RoomInfo\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec955e95b3beeedd8bd4c0cff3368c8fbf631b1f9d529b30648fbae77960fc42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:218-228 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt:218-228 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/online/SignalingClientImpl.kt:218-228 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 129 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:218\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060RoomInfo\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.RoomInfo\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.RoomInfo\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de7ec889a8e9bc97202bea04e8b3044b127c0094ed240f42d00877675cb2ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/domain/FenCodec.kt:112-122 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/FenCodec.kt:107-117 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/FenCodec.kt:87-97 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/chess/src/main/java/com/wanbaohe/chess/domain/FenCodec.kt:112\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060BoardPoint\u0060 names \u0060com.wanbaohe.chess.domain.model.BoardPoint\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.BoardPoint\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/FenCodec.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"950960964c22ca2df8658ab9b6c23bacc61217fa32d34d854877f611aae11dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt:205-215 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/GomokuRouterScreen.kt:203-213 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/XiangqiRouterScreen.kt:222-232 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt:205\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060OnlineMatchScreen\u0060 names \u0060com.wanbaohe.chess.screen.OnlineMatchScreen\u0060 in one and \u0060com.wanbaohe.gomoku.screen.OnlineMatchScreen\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"840e74c9bd0202ba1a50f66c882c9bc14c90ca95e8f71bcc490dcacc3ad4118c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:583-593 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:527-537 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:548-558 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cbc869a8d7609f19dd27e03e2b583b511ade25ee03445e69e8fa415223d9d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:405-415 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:415-425 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:407-417 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e455f879644dbb16b7d28a99bd8ffe9c15ba02bd9afcb8b6314db874292e9fd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:428-438 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:438-448 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:430-440 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:428\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46359179da0c2933f95a24d82a0447bf7db000f96bdfe574f4f732af47085bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:452-462 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:462-472 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:454-464 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:452\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a00b74275b2dfae6827b6028bd4a7fcab7c2c6fe5c44052cf3920f7dd02f5ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt:122-133 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt:119-129 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt:157-169 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt:122\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebbf0275ef110b9f428e451ed2b413534710458b145e9ceaa2e79c0d747e006"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:411-421 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt:415-425 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt:550-561 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 138 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:411\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"def498d2fbe1ba31fb401967140c940bea42b202cb97a6cc38f60acb9c434e66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt:211-219 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt:200-210 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt:208-217 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt:211\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f5a3755c802626d20a20eb30de76d47fe2ed2eae3c4e05148b0f01f525f166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:117-127 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:121-131 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:118-128 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 109 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:117\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c488097fcc88c6ebe86bbb7b02e4f4d9916e749e43faf2ab657900154061b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:212-222 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:214-224 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:211-221 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 109 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt:212\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/NewGameDropMenu.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c547e081d544ba1faf0211b39eaa1d2ea05ea4b5551b9ab98b3514d2f549e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt:294-304 | feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:403-413 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:614-624 \u2014 before extracting anything, compare \u0060feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt\u0060 and \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 56 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 \u0060feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt:294\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":"feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbf75d7fcd0601c1602dd41f1ab9b19cd8981ddf8534f1a240ff1b86399688f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/screenLogic/ImageStitchingComponent.kt:169-178 | feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/screenLogic/ImageStitchingComponent.kt:206-216 | feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/screenLogic/ImageStitchingComponent.kt:309-319 \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 \u0060feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/screenLogic/ImageStitchingComponent.kt:169\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/screenLogic/ImageStitchingComponent.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f6b2d08f85e4aa292cc78018de6e1ca13d8fce95d4b3d3d6b02d5d717e0155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt:491-502 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt:544-554 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt:659-669 \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 \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt:491\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebb7316d51713ae3740b503dc2385ac8874c757f216786467ce03d488859ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:497-507 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:557-567 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:790-800 \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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:497\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":"libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94d12b7e1464031a2ce617126e18b5f10f8a946cbffcee65b280e4c67fee298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:531-541 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:458-468 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:631-641 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 145 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:531\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"0070fba6fb82dd709648b0bdddb7ee7488b7a47985dab44850a65fa43b40d9c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:1035-1045 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:674-684 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:400-410 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 163 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6a5763c5977b8579f02eee24df092414f66432de95b31ac4b6ace26417b96d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/base/src/main/java/com/wanbaohe/base/ui/Loading.kt:70-80 | core/base/src/main/java/com/wanbaohe/base/ui/Loading.kt:81-91 \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":"core/base/src/main/java/com/wanbaohe/base/ui/Loading.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ee713e81dbcb922624ac15a33fe3f97c3de9670739591fb55203362ebbb3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): core/camera/src/main/java/com/wanbaohe/camera/PhotoFileProcessor.kt:204-212 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screenLogic/IdPhotoComponent.kt:694-704 \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":"core/camera/src/main/java/com/wanbaohe/camera/PhotoFileProcessor.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12763720554690b3b3132df2528f8d9a603530689b5b828878ad6e528a457d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/saving/AndroidFileController.kt:442-452 | core/data/src/main/java/com/t8rin/imagetoolbox/core/data/saving/AndroidFileController.kt:460-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 \u0060core/data/src/main/java/com/t8rin/imagetoolbox/core/data/saving/AndroidFileController.kt:442\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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/saving/AndroidFileController.kt"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"20131427064d32077010df641d245e6f0d1dfcfe1e9202dac0f0316637a40ca4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt:75-85 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:288-298 \u2014 before extracting anything, compare \u0060core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt\u0060 and \u0060core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 77 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 \u0060core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt:75\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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd85a6f0d2448f7d60729912b3140dc42e11cf22ad23a644abfcd2889011fd3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt:178-188 | core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt:199-209 \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 \u0060core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt:178\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"171a7570936ae67748757c6ba740c30266852bd68cb21bb9cdbb94e867c6959c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt:170-180 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt:202-212 \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 \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt:170\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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa16138007be185e53ff77ae12b540f3fc0eaaa10696e79bc833612bf4900df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateCreationSheet.kt:438-448 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/addEditMaskSheet/AddMaskSheetComponent.kt:177-187 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateCreationSheet.kt:452\u0060 calls \u0060updatePreview\u0060 and \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/addEditMaskSheet/AddMaskSheetComponent.kt:191\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateCreationSheet.kt"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a208d8ed4e46b86deae1965facd33be21de9690373a67fc2af84addc43190db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/confetti/Particles.kt:189-199 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/confetti/Particles.kt:201-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/confetti/Particles.kt:189\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/confetti/Particles.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c6ef50bf35fd32957fd49e3c031e06402b81b58a470b0ca432a5d28d0e099e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/DataSelector.kt:176-186 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/FontSelector.kt:126-136 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/DataSelector.kt:176\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/DataSelector.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9fe5fac6bfb3f5b0f3422f9229f0795ffa6b6973c9bac326ce250f55913cc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedFloatingActionButton.kt:92-102 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedIconButton.kt:81-92 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedFloatingActionButton.kt: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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedFloatingActionButton.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"907d137a043c4ad2527f8671a00b4008c86596918b6f4a9ea32426d0d96ef17a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassIconButton.kt:151-161 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassIconButton.kt:220-230 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassIconButton.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e69e1143416de09d1e68c392ab1a4e16de92d3798ada200d0799544dcf1fca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:94-104 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:173-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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt:94\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassProgressIndicator.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f0e898a905953b58a8dbfb92a45fb40cae3526f3c7ac80df9f3173abcc81c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderDefaults.kt:221-231 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderDefaults.kt:262-272 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderDefaults.kt:221\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderDefaults.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf785dfdd1b2db153a0b319af6c55a0e688a38c0c53cfba55f61484a4a22810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AppNavigationCatalogRepository.kt:150-160 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AppNavigationCatalogRepository.kt:257-267 \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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AppNavigationCatalogRepository.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c958446bd01a93c4c72f1a23b12a0cf33f4fa2b6a91f78f42e1ef7db6174cd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/AddBookkeepingRecordTool.kt:103-113 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/ai/tool/AddHealthRecordTool.kt:115-125 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/AddBookkeepingRecordTool.kt:103\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/AddBookkeepingRecordTool.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"004cbd2e93704887c94596ad5d63fb9c93482166892d66bec88b8f841982d1e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:213-223 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:245-255 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:213\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda747b4f058ea6540732ddb930cedfe0859614ecbf283fda91e00fb9f7604e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:1758-1768 | feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:1791-1801 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:1758\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:1756\u0060 calls \u0060onNavigate\u0060, \u0060EditPromptItem\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:1789\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":1758}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb2130a3bf60048fb023574b013f2dbb9616a7a9ba9a2d40f24ab0731c9cfc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1069-1079 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:1065-1075 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1069\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b335444e68c2d8fbde267ffb34756bb2e2380ffcb9d9de32d318153430b0df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:221-230 | feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt:215-225 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:221\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edc89556624e6eac8a6e61a3ebbc04cfc81e9aef849c1781823a94c9f6c7e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:764-774 | feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:794-804 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:764\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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"766ad3baf887879d81ee48101111b4e8fad131679b0e9d6c6c887173976b41d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt:507-517 | feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt:1051-1061 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt:507\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":"feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c908ca1e5a9a970114eae4ca85eccdf6f24709b19da84c48e2c5a54bb75fb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/upload/FileUploadRouter.kt:187-197 | feature/ai/src/main/java/com/shifenmiao/ai/upload/FileUploadRouter.kt:274-284 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/upload/FileUploadRouter.kt:187\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":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileUploadRouter.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51ba7fbc47cd5ea6fbbc66d2b2c69ba7c4b0478644a0c7f49c72f44a4087740"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt:745-755 | feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt:772-779 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt:745\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":"feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"a638bac8fb016365e17c8ceb2ae38f5723381026cb733c2f5c80775060be927e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeTrendChart.kt:113-123 | feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/tab/StatsTab.kt:348-357 \u2014 before extracting anything, compare \u0060feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeTrendChart.kt\u0060 and \u0060feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/tab/StatsTab.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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 \u0060feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeTrendChart.kt:113\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":"feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeTrendChart.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"58359448474e6dd3abd7390060c0d04c26456b3921772254a3dd35b0be721fdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/GameCard.kt:191-201 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiLibraryScreen.kt:304-314 \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 \u0060feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/GameCard.kt:191\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/GameCard.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dd6cb04143b2b4729c2059a92203482813e4799b66acaeb4478a367012a451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/StatsAggregator.kt:87-97 | feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/StatsAggregator.kt:103-113 \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 \u0060feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/StatsAggregator.kt:87\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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/StatsAggregator.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"233a8244ca79207b60717c56adc66bcfdc9a0f6b9860346c59a11bab4f0bd58e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt:171-181 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/SizeCustomizer.kt:133-143 \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 \u0060feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt:171\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Delete\u0060 names \u0060androidx.compose.material.icons.filled.Delete\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Delete\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab36dd8c7e708da5eff51f8b2c2db68afb8ee5a7bfd7ddb009dc42667f5c457"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleSelector.kt:104-114 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/SizeSelector.kt:98-108 \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 \u0060feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleSelector.kt:104\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":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleSelector.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0734f0c6bef27a171616766502543d7898e85df5904cf67f5e12980d61b7f881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/screen/CameraWatermarkScreen.kt:232-242 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screen/IdPhotoScreen.kt:323-333 \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":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/screen/CameraWatermarkScreen.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46f39eef932c8096ceff66c3050ccb7fa20f0a8abb8da6cdcdd5c5f50f08852"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt:93-103 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/LlmMoveChooser.kt:93-103 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/LlmMoveChooser.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a4e684dc132594da46a79f8ba80274ce1d660811eeedf7030f464aca4beb2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:441-451 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:391-401 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b5ed8f3f64ac63001485dc5173439c9045087c7af56423333d43824b750d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt:183-193 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuPlayHomeScreen.kt:179-189 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuPlayHomeScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt: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. Note first that the copies are not typed on the same thing: \u0060EngineSlot\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.EngineSlot\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.EngineSlot\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fd90e6fabcb0400e866e8f3b61e49d51494e18efaaf65dc6c33f24f66b113b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:104-114 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt:103-113 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 138 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:104\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060EngineSlot\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.EngineSlot\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.EngineSlot\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"978cc05a127754bea9bb8a69c746c284585bf45552624af50a3b9b2d28bb3242"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelHistoryScreen.kt:143-153 | feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelListScreen.kt:101-111 \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 \u0060feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelHistoryScreen.kt:143\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":"feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelHistoryScreen.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef06f6549dbfa0044ddbb53a14a96aefdf0b22663c9b580b650761ee46287966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/BitmapDrawer.kt:273-283 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/UiPathPaintCanvasAction.kt:272-282 \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 \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/BitmapDrawer.kt:273\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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/BitmapDrawer.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"9725e15f8fbbd93ae0d0394c96d80dec5e18f9a7163b66c5088fe3c48c35fb49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/TransformationUtils.kt:61-71 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/TransformationUtils.kt:94-104 \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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/TransformationUtils.kt:61\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/TransformationUtils.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"916565d729adb9a308df426e3f120d0e7468fafac2c74c56ba969cc4467a26bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/Glitcher.kt:175-185 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/tools/JpegGlitch.kt:62-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/Glitcher.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcddf52316cb91d4a285a361d4b2d7f55d22ce19049aaa3ecda1c6f5dfffa8fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/Pixelate.kt:117-129 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/PixelationTool.kt:77-89 \u2014 before extracting anything, compare \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/Pixelate.kt\u0060 and \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/PixelationTool.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/Pixelate.kt:117\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/Pixelate.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b414bc1ffb4edebe6a94a39f0a203cee74132be4ca5d4dc68283edd674ccc11c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt:94-104 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/addEditMaskSheet/AddEditMaskSheetControls.kt:180-190 \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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt:94\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe9b0adc4b1e4b994b8427cd3987c09575fbe78abd30a4484398433400bedfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt:297-307 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt:315-325 \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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt:297\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"24174cd7f1f0ecb95d2b56ccf7c222d1b4315465ce7b459091a17a4ed9720e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt:447-457 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt:569-579 \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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt:447\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1982c25b2b1b72e92f44517d61af93e6d38197830679199b619b7f479e65f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:207-217 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt:287-297 \u2014 before extracting anything, compare \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt\u0060 and \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 190 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 \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt:207\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":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"433276b3d1d59ba03c70cf7695e215ab5fbc35536c16c9777443fea6ab6aed0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:387-397 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:581-591 \u2014 before extracting anything, compare \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt\u0060 and \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:387\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":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"8272cb2f2de5a1b0f6c4662f3c97900144444b48e31a10433c52ebad9c8afec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/screenLogic/GifToolsComponent.kt:247-260 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt:227-237 \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 \u0060feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/screenLogic/GifToolsComponent.kt:247\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":"feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/screenLogic/GifToolsComponent.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"46665d314a5d4d6493351e7066a23373ffb95ad5989871f90701ea3c70b2bc02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt:115-124 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AiOrchestrationUseCase.kt:110-120 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AiOrchestrationUseCase.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 57 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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt:115\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060GameArbiter\u0060 names \u0060com.wanbaohe.gomoku.domain.GameArbiter\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.GameArbiter\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e9949a8bd4d37c34e94dce9da5629187df095c08e735ba486cb63393c4304d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt:92-101 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt:99-109 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt: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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b693e3ce6a7026bc39d73bc1a9664db09b9bd6255a1a42a609520c8a1fac28a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/login/src/main/java/com/shifenmiao/login/LoginBottomSheet.kt:52-62 | feature/login/src/main/java/com/shifenmiao/login/LoginScreen.kt:56-66 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/LoginBottomSheet.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4e7944b540ca27fe312e60fe29db86e7845ed6743bdc2159c68e78022fb143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/QuickAddTodoSheet.kt:259-269 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/AddTodoScreen.kt:324-334 \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 \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/QuickAddTodoSheet.kt:259\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/QuickAddTodoSheet.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1eb6fee90a214ecf48501c70f69d7fce634ae059879ab4f86b199bf88c3668b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:140-150 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:148-158 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5006f6a4a7d40a0e713e579a05df8de1f87bff2d4c561ac57a04fe850521298d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:259-269 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:220-230 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"79015fda5d97f14ac594205d87e931451c5d3ac9e2698fef64cbc2baba7d80f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt:91-101 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/crop/CropToolScreen.kt:346-356 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt\u0060 and \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/crop/CropToolScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7f75b2f2a907d492da241dd3fcbc6e6e3e9fea8a83c0032d303e2f9a947406"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt:246-256 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt:260-269 \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 \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt:246\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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc14b6be9d91243c3848f6920d392456836ca1887a59d78026d91ce61a5efb4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt:584-594 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt:674-684 \u2014 before extracting anything, compare \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt\u0060 and \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 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 \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt:584\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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabcbf62ed15f2bc67d68027494a87fc55f9cebbd0640818947e9fcc0232c62d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/service/PdfConversionService.kt:131-141 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/service/PdfConversionService.kt:290-300 \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 \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/service/PdfConversionService.kt:131\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/service/PdfConversionService.kt:289\u0060 calls \u0060File\u0060, \u0060getExternalFilesDir\u0060, \u0060mkdirs\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/service/PdfConversionService.kt:130\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/service/PdfConversionService.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaf0a4f559697cad6029c92869ed57288824cfb60e2cef5f0f538df90308a88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt:167-177 | feature/profile/src/main/java/com/wanbaohe/profile/components/PlayProductSlider.kt:177-187 \u2014 before extracting anything, compare \u0060feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt\u0060 and \u0060feature/profile/src/main/java/com/wanbaohe/profile/components/PlayProductSlider.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 64 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 \u0060feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt:167\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Check\u0060 names \u0060androidx.compose.material.icons.filled.Check\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Check\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/profile/src/main/java/com/wanbaohe/profile/components/PlayProductSlider.kt:176\u0060 calls \u0060padding\u0060 and \u0060feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt:166\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":"feature/profile/src/main/java/com/wanbaohe/profile/components/AnimatedPager.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4aebe39a304c749dc97cc09bd2e26580da38b31646bcd534ae05db1232181f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrPhoneEditField.kt:55-65 | feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrSmsEditField.kt:56-66 \u2014 before extracting anything, compare \u0060feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrPhoneEditField.kt\u0060 and \u0060feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrSmsEditField.kt\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrPhoneEditField.kt:55\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":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrPhoneEditField.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"020532cd851b0994296e92ae866b8eeb9c5f24742a45348efa1db2602a5cae29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt:736-746 | feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsScreen.kt:227-237 \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 \u0060feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt:736\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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf209a85c57f7bc8b5eb131cad93e972cbef33b86d93f98e6c7066cb9af9769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/settings/src/main/java/com/wanbaohe/setting/local/screen/LocalModelManagementScreen.kt:284-294 | feature/settings/src/main/java/com/wanbaohe/setting/local/screen/LocalModelManagementScreen.kt:374-384 \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 \u0060feature/settings/src/main/java/com/wanbaohe/setting/local/screen/LocalModelManagementScreen.kt:284\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":"feature/settings/src/main/java/com/wanbaohe/setting/local/screen/LocalModelManagementScreen.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"84748cb001038f138e3d543ba586513de25048da56bb12d65e17f6152e593c8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/AndroidTextCardExportRenderer.kt:172-182 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/AndroidTextCardExportRenderer.kt:222-231 \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 \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/AndroidTextCardExportRenderer.kt:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/AndroidTextCardExportRenderer.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48d50138245649d3599bbaf536f14a9f8d7a413f8e13c4c6b4576006c3831df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt:496-506 | libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt:519-529 \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":"libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"30893cda6e761cdd9e936e8717ebed5e52bf83d6ea470446187098df8a2954cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/cache/DrawEntityKey.kt:35-45 | libs/diagram/src/upstream/java/com/hrm/diagram/render/family/EntityKeySegments.kt:9-18 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/family/EntityKeySegments.kt:9\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/cache/DrawEntityKey.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6203787e6a5945e5e8ace6e46248e881444f9f60fe4391355c41ce8a11737fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:494-504 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlPieSubPipeline.kt:156-166 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de6d5d7223443096d1f6fe13e32c9840f54929f6543eff4ccdef617a5169a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:323-333 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:184-194 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:323\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d7fe466f388a5c85a51b0a5706f08fe8c762a202c25486344bc539c3312d62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:190-200 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:210-220 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:190\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e0b145d771744cc5bffddd7dad02ba97beb0769b1425eeeba9a982649ebba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGaugeSubPipeline.kt:70-80 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidKanbanSubPipeline.kt:70-80 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGaugeSubPipeline.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"96df6abf121bebb5477ca13d3c7b7aa6a59259eb1fcdd54ff3ff8185989ee48b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGaugeSubPipeline.kt:165-175 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt:151-161 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGaugeSubPipeline.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cd30a477b5b7f41ea7a8f5c8ac33a9923974dda82f68b393eaf8e05433eb04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:415-427 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:453-465 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:415\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e49eadd44446ca597ba8fb5b2e7d627fb7c9581ec2ced1ea35edc26d52b316c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/HeadingRenderer.kt:157-167 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/layout/engine/DefaultMarkdownLayoutEngine.kt:651-664 \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 \u0060libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/HeadingRenderer.kt:157\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. 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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/HeadingRenderer.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20246bb6f4605a5538bae3090fe762a6a1c585af1ece39b36e78e3b4bbd3903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 15): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:347-356 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:499-508 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:551-560 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:603-612 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:907-916 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:498-507 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:558-567 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:730-739 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:791-800 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:848-857 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:245-254 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:32-41 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:155-164 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:217-226 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:340-349 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 50 separate duplicated blocks between them, totalling at least 518 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:347\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d5f73331c432a091499d0f975ceddaed265ae28e63a1cf16904f353873f829"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 14): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:362-371 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:425-434 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:495-504 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:235-244 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt:165-174 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:546-555 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:292-301 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:422-431 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:816-825 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:472-481 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:189-198 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:408-417 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:283-292 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:410-419 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:362\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:505\u0060 calls \u0060edgePresentationSnapshot\u0060, \u0060C4EdgePresentation\u0060, \u0060edgeLinkSnapshot\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:372\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25f24f55b1d7ac484b910756428b7f2bb8a95f622b0ebd36f89d8ab56b064c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 13): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:140-147 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:318-325 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:968-975 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:190-197 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:228-235 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:126-133 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:161-168 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:177-186 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:116-123 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:238-245 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:268-275 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:205-214 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:352-359 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 145 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt: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. 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"89445019442e515c2f82637720eb3831398e0fc8ad1724ee7284e98893d2cef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 9): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:473-482 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:661-670 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt:489-498 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:647-656 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:946-955 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:606-615 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:330-339 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:350-359 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:456-465 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:473\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c1fc2629971d9d93e75a288947933c97c72dfe37dcca029fb2edae4e333c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:115-124 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1022-1031 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:582-592 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:651-661 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:799-811 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:428-437 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:242-251 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:281-290 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:115\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bb8c9c00f3db2fc297b41bdedec4f820f9031b102466a557eacde1468cfc01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/preferences/ScreenPreference.kt:50-59 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/preferences/ScreenPreference.kt:62-71 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/preferences/ScreenPreference.kt:74-83 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/preferences/ScreenPreference.kt:86-95 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/preferences/ScreenPreference.kt:98-107 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/preferences/ScreenPreference.kt:110-119 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/preferences/ScreenPreference.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed757c7f05571b2da818e2303c4f353f86a8414124480a61f445ae747d4959b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 6): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:684-692 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:725-733 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:646-654 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:767-776 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:494-502 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:442-450 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 50 separate duplicated blocks between them, totalling at least 518 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:684\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"19813deb27d890705b30c1f9e0539cbd37c095ff085dc5db8ce606ff36a41b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt:92-101 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearGaussianParamsItem.kt:93-102 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt:102-111 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt:112-121 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/VoronoiCrystallizeParamsItem.kt:122-131 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearGaussianParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt: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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/BilaterialBlurParamsItem.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d057aa75898a22757e8aaaf7144bcd537ee82ce3882fa5705c025f6cd870d41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt:125-134 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt:138-147 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt:134-143 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/VoronoiCrystallizeParamsItem.kt:145-154 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SparkleParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt:125\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RubberStampParamsItem.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b409e8ead3a117efba177ff77d4e53cb6ca2967e57d46751128d9f24dce83d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:937-946 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1051-1061 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:934-943 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:1047-1057 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:937\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f106cdfa3e3660e338a21603b9456e9c75f953321496d6040f6044322066f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/LifetimeToolSupport.kt:62-71 | feature/poem/src/main/java/com/wanbaohe/poem/ai/tool/PoemToolSupport.kt:81-90 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/ai/tool/RecordCenterToolResults.kt:69-78 | feature/schedule/src/main/java/com/wanbaohe/schedule/ai/tool/ScheduleToolSupport.kt:62-71 \u2014 before extracting anything, compare \u0060feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/LifetimeToolSupport.kt\u0060 and \u0060feature/poem/src/main/java/com/wanbaohe/poem/ai/tool/PoemToolSupport.kt\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/LifetimeToolSupport.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3a10ada6e3d9340ec57a4a59d1ebdc93507500a691af2c02e529527d3539df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:79-88 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:142-151 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:201-210 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:229-238 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbe2eda8969ffe000d51d491553405e256185a8d2c34c1861058e873cf2b683"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt:57-66 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ListSelectorRenderer.kt:64-73 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/RowSelectorRenderer.kt:59-68 \u2014 before extracting anything, compare \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/RowSelectorRenderer.kt\u0060 as WHOLE FILES: this scan already matched 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c42da79d27bf9e1dedb02bd908848a98c0073c1e582d0a6f83efcca512404f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt:66-75 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/GridSelectorRenderer.kt:69-78 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/RowSelectorRenderer.kt:68-77 \u2014 before extracting anything, compare \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/GridSelectorRenderer.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/GridSelectorRenderer.kt:68\u0060 calls \u0060resolveInt\u0060, \u0060coerceAtLeast\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt:65\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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2f92e045cae781fde48d2c311b1fae8dc5d48b3547109a5e0de0ae627d057a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/charts/LineTrendChart.kt:160-169 | feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeTrendChart.kt:97-106 | feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/tab/StatsTab.kt:335-343 \u2014 before extracting anything, compare \u0060feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeTrendChart.kt\u0060 and \u0060feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/screen/tab/StatsTab.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/charts/LineTrendChart.kt:160\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/charts/LineTrendChart.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d92609c3b09eb20c87be419f2d6318245538b176d2a38710d6393200344e3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/AddBookkeepingRecordTool.kt:324-333 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/QueryBookkeepingRecordsTool.kt:215-224 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/QueryBookkeepingSummaryTool.kt:178-187 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/AddBookkeepingRecordTool.kt"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"7762cbb6f68bd9c96ca3b7b71ad601cabc807313b53572b837ad3c6f28ee8ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt:168-177 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt:154-163 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AiOrchestrationUseCase.kt:145-154 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt:168\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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b5c9c5b75aeed0b03d8c904702e85ab8bb017c3408cdc48183b0244cb10b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt:93-102 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/CreateGameUseCase.kt:100-109 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/CreateGameUseCase.kt:106-115 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/CreateGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060FenCodec\u0060 names \u0060com.wanbaohe.chess.domain.FenCodec\u0060 in one and \u0060com.wanbaohe.gomoku.domain.FenCodec\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd59c25bce09797a14beb3d1365e97c633801f96190bfc23c14c8ada8dc2698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:228-237 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:226-235 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:253-262 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:228\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060EngineSlot\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.EngineSlot\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.EngineSlot\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b3027bc681d31691ebe1c0743209c73ed473ca3c94e3e6c1048766f58b3e4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelSettingsScreen.kt:66-75 | feature/sudoku/src/main/java/com/wanbaohe/sudoku/screen/SudokuHomeContent.kt:81-90 | feature/sudoku/src/main/java/com/wanbaohe/sudoku/screen/SudokuSettingsContent.kt:89-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelSettingsScreen.kt:66\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 first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.wanbaohe.decisionwheel.R\u0060 in one and \u0060com.wanbaohe.sudoku.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelSettingsScreen.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e470af6a596658e6735c04d89e03ee5fbbcf4de0b9a72609f3f4d55ba033316"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:197-206 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:213-222 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:272-281 \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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:197\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bfb0f41b8046fc99ec795f986ef4550dc19ca833c60a7f99e7007781bab041"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): feature/login/src/main/java/com/shifenmiao/login/BindPhoneSheet.kt:66-75 | feature/profile/src/main/java/com/wanbaohe/profile/screen/ChangePasswordSheet.kt:90-99 | feature/profile/src/main/java/com/wanbaohe/profile/screen/VerifyEmailSheet.kt:83-92 \u2014 before extracting anything, compare \u0060feature/profile/src/main/java/com/wanbaohe/profile/screen/ChangePasswordSheet.kt\u0060 and \u0060feature/profile/src/main/java/com/wanbaohe/profile/screen/VerifyEmailSheet.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 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 \u0060feature/login/src/main/java/com/shifenmiao/login/BindPhoneSheet.kt:66\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":"feature/login/src/main/java/com/shifenmiao/login/BindPhoneSheet.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"026543e0e683757c3bee898d71bf331d35e2024d3fd30dc56569d55fe7e35c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1055-1064 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:618-627 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:471-480 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 524 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1055\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ff7b10612dc8623eff6cdd616ec10206e3d86c6ef4d43db551c051916a7457"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:392-401 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:456-465 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:528-537 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:392\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a11d1390c9146588b464a8804bf3c2b45d13bc349ed62dcf5c44230dcb27a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:607-615 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:148-156 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:159-168 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:607\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50e4c72dbf8cda2eb78825743ce2d3f327470231dd9164471a498653d5a5048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/DateInputRenderer.kt:61-70 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/TimeInputRenderer.kt:58-67 \u2014 before extracting anything, compare \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/DateInputRenderer.kt\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/TimeInputRenderer.kt\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/DateInputRenderer.kt:71\u0060 calls \u0060mutableStateOf\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/TimeInputRenderer.kt:69\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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/DateInputRenderer.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"009aa43dc5e3b85308129694a2ef13220a2287e0391fc849d49421484dbf3503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/base/src/main/java/com/shifenmiao/base/utils/ColorBuilder.kt:114-123 | core/utils/src/main/java/com/wanbaohe/com/color/ColorGenerator.kt:175-184 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/shifenmiao/base/utils/ColorBuilder.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef791e6155c79d51b03c24522b301bedc8bd15de4176966f3df6b9b645b050a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateCreationSheet.kt:281-290 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/addEditMaskSheet/AddEditMaskSheetControls.kt:323-332 \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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateCreationSheet.kt:281\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/addEditMaskSheet/AddEditMaskSheetControls.kt:322\u0060 calls \u0060padding\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateCreationSheet.kt:280\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterTemplateCreationSheet.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab40efe0340be37cedf25dcf918e11cb447ecd276143674da60e47a8025d69c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/network/src/main/java/com/shifenmiao/network/service/FileDownloadService.kt:77-86 | core/network/src/main/java/com/shifenmiao/network/service/FileDownloadService.kt:118-127 \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 \u0060core/network/src/main/java/com/shifenmiao/network/service/FileDownloadService.kt:77\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":"core/network/src/main/java/com/shifenmiao/network/service/FileDownloadService.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffc8eb446038b4e6889e6efe31188a710dfac2ee5376404472d479e4ef0143c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/ui/src/main/java/com/wanbaohe/base/ui/icon/Icons.kt:150-159 | core/ui/src/main/java/com/wanbaohe/base/ui/icon/Icons.kt:162-171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/java/com/wanbaohe/base/ui/icon/Icons.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdaf7c134e9eb7d0d3f25a4a62bdab68be9fef9b706f0ba2d4c222d0025baef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:628-637 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt:533-541 \u2014 before extracting anything, compare \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt\u0060 and \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 147 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 \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:628\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":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"007cfdef09cecc76e17fdca9d256c6deef3b0f27b33dac8037179d3d1dd0bf8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/DrawUtils.kt:42-50 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/AndroidFilterMaskApplier.kt:186-195 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/DrawUtils.kt:42\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. 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/DrawUtils.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c5d246283accecb05aeaeca1bce640c753d40bf8224cd37fd069802ff49798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/SaveResultHandler.kt:167-176 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/SaveResultHandler.kt:196-205 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/SaveResultHandler.kt:167\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/SaveResultHandler.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f143797db589da2a656968dc066aefdd0d989a4661a7ac7696139fd8a24e8981"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/ai-detect/src/main/java/com/wanbaohe/aidetect/service/AiDetectService.kt:179-188 | feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt:341-350 \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":"feature/ai-detect/src/main/java/com/wanbaohe/aidetect/service/AiDetectService.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"205bdc96954d9618105b6b528f122a3b18396e7d0866629ce1886168a5b6fb9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/visual/ActOnUiTool.kt:155-164 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/visual/AutomateUiTaskTool.kt:148-157 \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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/visual/ActOnUiTool.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a194af1f750518a1a7b3e0ed3922891e11b9b57ae7def67615566ad7cde775"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:1136-1145 | feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:1215-1224 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:1136\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e471b5462d2a1f8efa9bb05b9d3e0c2ac03a3427428ac73cadd6fdab4400d00b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:697-706 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:665-673 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:697\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd420d9e8c0991397f22162d0110582c21a608f598746899a6435c90cf7001f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1173-1182 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:1170-1179 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:1173\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Refresh\u0060 names \u0060androidx.compose.material.icons.outlined.Refresh\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Refresh\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1fd14c6b54762c91f30d8ead9c7393715919f0a11e4943dc5a6f2380596ba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/service/BookkeepingService.kt:183-192 | feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/service/BookkeepingService.kt:630-639 \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 \u0060feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/service/BookkeepingService.kt:183\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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/service/BookkeepingService.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1250a6ea82767cda52ffd098e8c08ed890bb999d6fba986b10686dcaa92593f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt:1970-1980 | feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt:1986-1996 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt:1970\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareCardRenderer.kt"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"cead62ff297844d8877112dd7860e063b096bd1a5ec481f4083ef63f5699d36e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/AuspiciousDayTab.kt:505-514 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/AuspiciousDayTab.kt:552-561 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/ui/AuspiciousDayTab.kt:505\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/AuspiciousDayTab.kt"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"445227789897bcd2ac9d3e2d4a71340b2ec17bc9a0f8d465951038a274279b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt:151-160 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/SizeCustomizer.kt:113-122 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt:151\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Refresh\u0060 names \u0060androidx.compose.material.icons.filled.Refresh\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.Refresh\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/SizeCustomizer.kt:126\u0060 calls \u0060Spacer\u0060, \u0060width\u0060 and \u0060feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt:165\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":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f70a69defa13a61ea9ae7e6ecbd5c314e1c6f2c002c0d2f186b3927dc992f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/port/outbound/ChessAiSource.kt:81-90 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/port/outbound/GomokuAiSource.kt:81-90 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/port/outbound/ChessAiSource.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9b47d8721ad441c3013cd2b6bd3dde2ba15a7490207483f57cfc3b383dbe9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt:119-128 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/CreateGameUseCase.kt:130-139 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/CreateGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt:119\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 first that the copies are not typed on the same thing: \u0060GameAiPlayerConfig\u0060 names \u0060com.wanbaohe.chess.application.dto.GameAiPlayerConfig\u0060 in one and \u0060com.wanbaohe.xiangqi.application.dto.GameAiPlayerConfig\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7730fb4c46e24ca86386615ddd906c6a3bca292f53db3469282006754cc42fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt:129-138 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ImportGameUseCase.kt:134-143 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ImportGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt:129\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. Note first that the copies are not typed on the same thing: \u0060FenCodec\u0060 names \u0060com.wanbaohe.chess.domain.FenCodec\u0060 in one and \u0060com.wanbaohe.gomoku.domain.FenCodec\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4e0cda444af26523a99165c45d14e398af7bac2c880875d19f2eb55801683e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:844-853 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:702-711 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 121 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:844\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060EngineSlot\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.EngineSlot\u0060 in one and \u0060com.wanbaohe.xiangqi.application.port.outbound.EngineSlot\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dbf4df5f6cf4e81ca10aa0d73a399d2e644e80a19f4823d97f1865dd79497a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/domain/GameInteraction.kt:83-92 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/GameInteraction.kt:72-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/GameInteraction.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6884d39e4b107a181ec492f0860562377f457209dfcb07c26e2cb806f5dba20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:93-102 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt:90-99 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 138 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060EngineSlot\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.EngineSlot\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.EngineSlot\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a12e8d85d42149ee3eb1d061ba67d4dfc1b3c730dbf77602326378a79b3a8f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/ConnectionSheet.kt:386-395 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/ConnectionSheet.kt:456-465 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/ConnectionSheet.kt:386\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060draft\u0060 to \u0060androidx.compose.runtime.MutableState\u003CWebDavFormDraft\u003E\u0060 in one and \u0060androidx.compose.runtime.MutableState\u003CSmbFormDraft\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/components/ConnectionSheet.kt"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f8833bc0305047d1188df26970a3babe9b8939a5f6348b82481fe07083f6e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/CodeEditorPreloadConfig.kt:48-73 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/MarkdownPreloadConfig.kt:59-83 \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. 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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/CodeEditorPreloadConfig.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f5db1a71baf5815edc231368bf94a22cfe764fc069167eea6ffc4c2c38978f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt:300-309 | feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt:740-749 \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 \u0060feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt:300\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":"feature/common/src/main/java/com/shifenmiao/common/backup/BackupCenterScreen.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daa7443f42d0cf0185f83f34a02119e1a79278e91aea77926127e86d69eaff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/components/AutoBackupSettingRow.kt:114-123 | feature/common/src/main/java/com/shifenmiao/common/components/BackupCenterSettingRow.kt:65-74 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/common/src/main/java/com/shifenmiao/common/components/AutoBackupSettingRow.kt:114\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":"feature/common/src/main/java/com/shifenmiao/common/components/AutoBackupSettingRow.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f751d138bc0b17718d1ff0b242fd052262a487a2f1a7c4cb0e5abeab82395f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/editor/NativeMarkdownEditorActionBar.kt:434-443 | feature/common/src/main/java/com/shifenmiao/common/editor/NativeMarkdownEditorActionBar.kt:542-553 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/common/src/main/java/com/shifenmiao/common/editor/NativeMarkdownEditorActionBar.kt:434\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/editor/NativeMarkdownEditorActionBar.kt"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae71ac05c35c9a933118997c7f2a3ff2d68af7d28e948adf7aa652a129c389a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/compass/src/main/java/com/wanbaohe/compass/ui/ClassicCompassPage.kt:141-150 | feature/compass/src/main/java/com/wanbaohe/compass/ui/luopan/LuopanPage.kt:143-152 \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":"feature/compass/src/main/java/com/wanbaohe/compass/ui/ClassicCompassPage.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcaf5b75e6a647a51331417862911a178f45ed31c6c1f0c925ba5fefdaf87c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/compass/src/main/java/com/wanbaohe/compass/ui/CompassDial.kt:235-244 | feature/compass/src/main/java/com/wanbaohe/compass/ui/luopan/LuopanDial.kt:443-452 \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 \u0060feature/compass/src/main/java/com/wanbaohe/compass/ui/CompassDial.kt:235\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":"feature/compass/src/main/java/com/wanbaohe/compass/ui/CompassDial.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e8390704923d442abade5edf5b26ad564313e7f320add01f78f46739d96060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/screenLogic/DeleteExifComponent.kt:265-274 | feature/edit-exif/src/main/java/com/t8rin/imagetoolbox/feature/edit_exif/presentation/screenLogic/EditExifComponent.kt:145-154 \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 \u0060feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/screenLogic/DeleteExifComponent.kt:265\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/screenLogic/DeleteExifComponent.kt:261\u0060 calls \u0060isNotEmpty\u0060, \u0060clearAttributes\u0060 and \u0060feature/edit-exif/src/main/java/com/t8rin/imagetoolbox/feature/edit_exif/presentation/screenLogic/EditExifComponent.kt:144\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":"feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/screenLogic/DeleteExifComponent.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cc4fce5c3511b0d179cb7eae3148da352315f6487f9977fbbc8833faac374d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt:197-206 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt:300-309 \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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6351db7d29217c488c46174fe81339e0ec7b8a69783eee26d4b6d2edc9189f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:596-605 | feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:757-766 \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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2ac159a2e175e95e1b703e0717433844032a3f8d25908b83add5d232557b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/PointillizeFilter.kt:36-45 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/VoronoiCrystallizeFilter.kt:36-45 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/PointillizeFilter.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f5f19ba1a6df283af863f333c9714e44d285bbd8ef9620db3737c2cee4c0f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/Pixelate.kt:132-144 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/PixelationTool.kt:92-104 \u2014 before extracting anything, compare \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/Pixelate.kt\u0060 and \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/PixelationTool.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/Pixelate.kt:132\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/Pixelate.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0c297ae016278b8119266ec6a6f79484c45c52fb16ff3b1957287cb491bd62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt:141-150 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/FilterEditOption.kt:174-181 \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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt:141\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cd9c1f65f450533475806447109b7d8eece94c77c21c1a75d15aa21ce88e28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifParamsSelector.kt:126-135 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/components/WebpParamsSelector.kt:106-115 \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 \u0060feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifParamsSelector.kt:126\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":"feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/components/GifParamsSelector.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9953942b6aca307575ff1d8722e4301152b74f561bf507c20d8838b2ef8cb2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:89-98 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:88-97 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 92 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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:89\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. Note first that the copies are not typed on the same thing: \u0060FenCodec\u0060 names \u0060com.wanbaohe.gomoku.domain.FenCodec\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.FenCodec\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:102\u0060 calls \u0060check\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:101\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b314f6de34755dcd40aca43b72994c508e0114392f5235956ffe33ad442d1048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:434-443 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:343-352 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:434\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060BoardPoint\u0060 names \u0060com.wanbaohe.gomoku.domain.model.BoardPoint\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.BoardPoint\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"59585e62039007e407e47203db78edbe555fb25dd755fc61a4bf10b282fe955f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:100-109 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:97-105 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 164 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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:100\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6d6601a8a65f20b64616a7389570ea8a45616e94113bf2ec66735f9994f415"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt:822-831 | feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt:868-877 \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 \u0060feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt:822\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":"feature/household-items/src/main/java/com/wanbaohe/householditems/screen/HouseholdItemsScreen.kt"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d896e3c84f3385df2f25e6d6aa761253b8b2550049e680d2552980b90d5145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt:230-239 | feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt:349-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 \u0060feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt:230\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt:229\u0060 calls \u0060TossingContent\u0060 and \u0060feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt:348\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":"feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2056e035ffa3289fc7a758ec6776de4ccc03dea9d2959e0861bf27248e637001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screenLogic/IdPhotoComponent.kt:284-293 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screenLogic/IdPhotoComponent.kt:348-357 \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":"feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screenLogic/IdPhotoComponent.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"a907570140216dbe7e59a02924c3d598362b2ff506d6d401cc0570e024a40204"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/components/ImageFadingEdgesSelector.kt:48-57 | feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/components/StitchAlignmentSelector.kt:51-60 \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 \u0060feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/components/ImageFadingEdgesSelector.kt:48\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":"feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/components/ImageFadingEdgesSelector.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"84389df456425e8f96a12f593c93aa5498fd964610a5ea40c4fe924676958b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/login/src/main/java/com/shifenmiao/login/ui/PhoneBody.kt:125-134 | feature/login/src/main/java/com/shifenmiao/login/ui/PhoneBody.kt:168-177 \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 \u0060feature/login/src/main/java/com/shifenmiao/login/ui/PhoneBody.kt:125\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":"feature/login/src/main/java/com/shifenmiao/login/ui/PhoneBody.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2eb41f802145b3c1d11faf27a318d1d031fcf23cf0978467216c32bae633d33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt:254-264 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/TodoDetailComponent.kt:168-178 \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 \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt:254\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9289cab3bd84525a966e13d18639593cc855f255b88af3715efb043d0e74eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:284-293 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:241-249 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:284\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. 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d499b5a1a80b86c77c7031762904d2e8f86471d1cb56fa6ab200db3b1a99e4db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/LayerEffectsProcessor.kt:134-143 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/LayerEffectsProcessor.kt:185-194 \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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/LayerEffectsProcessor.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c847be5fc4437250d2f7a7a0d439984efd1ed69e6cd320ccba11ea1223e0f06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/marquee/src/main/java/com/shifenmiao/marquee/screen/FullScreenMarqueeRenderer.kt:298-307 | feature/marquee/src/main/java/com/shifenmiao/marquee/screen/components/MarqueePreview.kt:204-213 \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":"feature/marquee/src/main/java/com/shifenmiao/marquee/screen/FullScreenMarqueeRenderer.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"188b5a79d240bad850335ea498a64ad5d5be80c02d5799f0af9db77564c1b3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt:419-428 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/repository/DocConvertRepository.kt:155-164 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"884f91dc4a24737b24044b328369d13383c4e33458bfd0eee65c3dfbc0dca200"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt:214-223 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt:258-267 \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 \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt:214\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":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70910be00633aab1b35e0ec6ea580b703536681e5d81ade11c5400a4e2cc5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/online/src/main/java/com/shifenmiao/online/screen/PagingDataItemScreen.kt:756-765 | feature/online/src/main/java/com/shifenmiao/online/screen/PlaygroundScreen.kt:221-230 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/online/src/main/java/com/shifenmiao/online/screen/PagingDataItemScreen.kt"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0e43e40e87f30fb91542e24ebb038ee2f337700fe778e782571c5d7f458878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/signature/SignaturePdfToolContent.kt:194-203 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/watermark/WatermarkPdfToolContent.kt:136-145 \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 \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/signature/SignaturePdfToolContent.kt:194\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/signature/SignaturePdfToolContent.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"889f1525501ccc1ce8f41fb822d55d1f9b3566f66d961d97c804c97883eea281"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/profile/src/main/java/com/wanbaohe/profile/screen/UserInfoScreen.kt:211-220 | feature/profile/src/main/java/com/wanbaohe/profile/screen/UserInfoScreen.kt:239-248 \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 \u0060feature/profile/src/main/java/com/wanbaohe/profile/screen/UserInfoScreen.kt:211\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":"feature/profile/src/main/java/com/wanbaohe/profile/screen/UserInfoScreen.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"351fd96317157297f2acabe76a654bd95fbf1be258cb5850fcdcb7f963563bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/profile/src/main/java/com/wanbaohe/profile/screen/UserInfoScreen.kt:470-479 | feature/profile/src/main/java/com/wanbaohe/profile/screen/UserInfoScreen.kt:489-498 \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 \u0060feature/profile/src/main/java/com/wanbaohe/profile/screen/UserInfoScreen.kt:470\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":"feature/profile/src/main/java/com/wanbaohe/profile/screen/UserInfoScreen.kt"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"9836023c3a90c206bb0b78c091b658e4a5f0557140d21c5c462adb43c2c32451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/RecordListScreen.kt:444-453 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/RecordListScreen.kt:551-560 \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 \u0060feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/RecordListScreen.kt:444\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":"feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/RecordListScreen.kt"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"719d9d10e0a6f073986dc177c30cdb759cf6783ed900c26af95f8a04d24f3922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:203-212 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:231-240 \u2014 before extracting anything, compare \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt\u0060 and \u0060feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83bbf7cc38bbbccc8c70fabd8b722bfa0cb21773fc79b35e523c384a0881b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/search/src/main/java/com/shifenmiao/search/screen/SearchScreen.kt:152-161 | feature/search/src/main/java/com/shifenmiao/search/screen/SearchScreen.kt:195-204 \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 \u0060feature/search/src/main/java/com/shifenmiao/search/screen/SearchScreen.kt:152\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":"feature/search/src/main/java/com/shifenmiao/search/screen/SearchScreen.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"759989c374c53a24665cab87e661078bfb4fb5f2d83ce95d9dec2013f152dc52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/SourceTextEditing.kt:62-71 | feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/SourceTextEditing.kt:81-90 \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 \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/SourceTextEditing.kt:62\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/SourceTextEditing.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b8d8f0ee52623ac03d5c39bb6812e68b39d75b52e87cd4dd2940921b362765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/VisualAutomationController.kt:281-290 | feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/service/VisualAutomationService.kt:255-263 \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":"feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/VisualAutomationController.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0f3074539261e073c1be8f9a16e666e30ec8e53eed3f8efdea299c4e07309f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:379-388 | libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:465-474 \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 \u0060libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:379\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":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"5075c30bf2e018e6d43b15045fdd5d528e76c57973ffcf6ded676e54071e778f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphClusterLayout.kt:64-73 | libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphClusterLayout.kt:78-87 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphClusterLayout.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00a0f2cd2597411b803cdc31e3af52bdb47c282132409453a7803060e1b26ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:243-253 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:302-312 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:243\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ad4420d2c6041b64aa7a69f26b675ea37b290e257c2d78ea37d85dcf990193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:113-122 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:223-232 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1375089ddcd4324e37a65f94867487676e09ac2c4cbae6b8158cdb6300e183d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:119-128 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:94-103 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 144 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:119\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53a3de8e13f1463b1e543404c50d1e313eaecb7fa8ec48a90b5192fe4326c81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt:82-92 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlPieSubPipeline.kt:86-95 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlPieSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt:82\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"66905f075aa866a21526093928b7a2f7dcfa42efe8b09d964c4339996c947475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt:253-262 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt:358-367 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8a24bd5afba8521c27109957122584e7f935ba26708c461cac07637607416b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt:293-302 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt:376-385 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"456817e01a6ae580d3ef7cd61e5abd5898b4bb610f01852b6fecca60f5200c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:208-217 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:280-289 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 59 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:208\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:218\u0060 calls \u0060DrawEntity\u0060, \u0060cluster\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:290\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47d750195e3e49ce1b065e1e4053f62f383897b76a18aec9cf8cd92f24abb94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:512-523 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:525-536 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:525\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dae26bebdc5331f236ab658abfc9f1ae5115030cb1e184fe5d6c3a2079185d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:375-384 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:428-437 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"58315e11cfa90ed0f55172a1164cf1d05d352ffacc1f10195b19126533b713ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:545-562 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:276-293 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 140 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8689483f67dd6d849a3a493cab32ca576479dd51653ecce8631647516f29b1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/auto_straight/AutoStraighten.kt:76-85 | libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/auto_straight/AutoStraighten.kt:178-187 \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 \u0060libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/auto_straight/AutoStraighten.kt:76\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":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/auto_straight/AutoStraighten.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a903a95461ebb13ba3aa786e29a3bc658b1cb8704658df10e6e5828c15ef1534"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/rich-text-editor/src/main/java/com/wanbaohe/richtext/editor/internal/RichTextRangeEditor.kt:78-90 | libs/rich-text-editor/src/main/java/com/wanbaohe/richtext/editor/internal/RichTextRangeEditor.kt:96-108 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/rich-text-editor/src/main/java/com/wanbaohe/richtext/editor/internal/RichTextRangeEditor.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d162bbba5342709b2d927f4b41f196dbf0736851c184b6c559b6c0cdf39ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 144): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:43-51 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:57-65 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:71-79 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:85-93 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:99-107 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:113-121 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:126-134 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:49-57 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:65-73 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:81-89 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:168-176 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:209-217 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:246-254 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:262-270 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:278-286 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:294-302 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:331-339 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:347-355 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:363-371 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:379-387 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:416-424 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:432-440 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:448-456 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:500-508 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:516-524 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:532-540 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:584-592 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:600-608 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:616-624 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:668-676 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:684-692 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:700-708 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:749-757 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:767-775 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:785-793 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:803-811 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:839-847 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:853-861 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:867-875 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:881-889 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1294-1302 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1310-1318 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1326-1334 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1342-1350 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1550-1558 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1570-1578 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1590-1598 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1678-1686 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1696-1704 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1714-1722 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:48-56 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:64-72 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:80-88 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:118-126 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:134-142 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:150-158 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:188-196 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:204-212 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:220-228 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:258-266 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:274-282 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:290-298 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:326-334 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:342-350 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:356-364 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:396-404 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:412-420 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:430-438 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:468-476 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:484-492 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:498-506 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:532-540 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:546-554 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:560-568 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1044-1052 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1060-1068 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1076-1084 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1114-1122 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1130-1138 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1146-1154 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:49-57 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:65-73 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:81-89 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:97-105 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:113-121 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:129-137 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:145-153 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:161-169 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:202-210 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:218-226 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:236-244 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:252-260 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:270-278 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:286-294 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:304-312 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:320-328 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:367-375 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:383-391 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:399-407 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:415-423 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:431-439 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:447-455 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:463-471 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:48-56 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:62-70 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:78-86 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:94-102 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:107-115 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:122-130 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:50-58 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:66-74 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:82-90 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:100-108 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:117-125 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:155-163 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:169-177 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:185-193 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:201-209 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:216-224 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:66-74 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:177-185 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:231-239 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:285-293 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:339-347 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:395-403 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:451-459 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:499-507 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:547-555 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:597-605 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:647-655 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:697-705 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:747-755 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:792-800 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:839-847 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:886-894 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:933-941 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:983-991 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1031-1039 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1079-1087 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1127-1135 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1179-1187 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1231-1239 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1283-1291 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1335-1343 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:746\u0060 calls \u0060PointF\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:41\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e2ebcda8f536ad6c3a6315b3f5dcf0656db3033d6ee5fb90b7f69db115783f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 56): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:149-157 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:199-207 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:250-258 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:299-307 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:351-359 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:401-409 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:451-459 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:503-511 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:555-563 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:607-615 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:657-665 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:708-716 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:759-767 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:808-816 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:859-867 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:911-919 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:957-965 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:990-998 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1090-1098 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1158-1166 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1499-1507 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1629-1637 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1756-1765 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:617-626 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:839-848 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:875-884 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:502-510 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:562-570 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:675-683 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:734-742 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:795-803 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:852-860 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:907-915 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:962-970 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:157-165 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:202-210 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:249-257 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:295-303 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:340-348 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:385-393 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:518-526 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:320-328 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:360-368 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:399-407 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:440-448 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:481-489 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:625-633 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:36-44 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:97-105 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:159-167 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:221-229 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:282-290 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:344-352 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:405-413 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:466-474 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:527-535 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:149\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:156\u0060 calls \u0060param\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:148\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a49ecae30ba38ad50d8fddcc2b2d92b7781a1d2a870c5da7807a9d1d3bbb8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 50): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:147-154 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:197-204 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:248-255 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:297-304 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:349-356 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:399-406 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:449-456 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:501-508 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:553-560 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:605-612 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:655-662 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:706-713 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:757-764 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:806-813 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:857-864 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:909-916 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:203-209 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:955-962 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1156-1163 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1497-1504 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1627-1634 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1754-1762 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:500-507 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:560-567 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:673-680 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:732-739 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:793-800 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:850-857 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:905-912 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:960-967 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:200-207 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:247-254 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:293-300 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:338-345 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:383-390 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:516-523 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:318-325 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:358-365 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:438-445 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:479-486 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:623-630 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:34-41 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:95-102 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:157-164 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:219-226 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:280-287 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:342-349 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:403-410 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:464-471 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:525-532 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:147\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6b7a4d4fc83eeab2f4116964cd2d35ac3d11e127cc108672bccdb831ddb49a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 28): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:175-182 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:225-232 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:330-337 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:382-389 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:432-439 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:482-489 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:783-790 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:885-892 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1038-1045 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:539-547 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:594-602 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:707-715 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:883-890 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:938-945 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:993-1000 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:228-235 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:321-328 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:366-373 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:449-456 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:263-270 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:554-561 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:606-613 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:77-84 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:138-145 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:200-207 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:262-269 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:436-443 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:502-509 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:175\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, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:173\u0060 calls \u0060listOf\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:781\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa432488a7ddb1152268e42e50daec4b96147a9633dc1bd69b4bf48a284dbad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 27): libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:52-59 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:108-116 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:125-132 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:163-170 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:217-224 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:271-278 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:325-332 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:381-388 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:433-440 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:487-494 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:535-542 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:583-590 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:633-640 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:683-690 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:733-740 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:778-785 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:825-832 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:872-879 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:919-926 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:971-978 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1019-1026 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1067-1074 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1115-1122 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1165-1172 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1217-1224 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1269-1276 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1321-1328 \u2014 all 27 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 after the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:61\u0060 calls \u0060add\u0060, \u0060PointF\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:497\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":"libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0762e7e6ee67e45e5a1cda2dbfbf7a6899effedf2b5ad56cd625476ebf94a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:664-672 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:720-728 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:730-738 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:825-833 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:509-517 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:569-577 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:626-634 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:479-487 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 50 separate duplicated blocks between them, totalling at least 518 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:664\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce66ed1f14d4e628af46a3d01cfc5a0c891921d1fba59e61895b6fc2417241a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:193-201 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:917-925 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:944-952 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:995-1003 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0763f7451aff2914dd187a1e50448d6130f1a7d577927e1b02ef284c38b497d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:306-315 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:515-524 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:453-462 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:621-630 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 144 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bcc8e8b479d53db1ffe0941d721ea5ed0410b8acd229a94049c42da424e7a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:1010-1018 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:649-657 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:375-383 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:513-521 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 163 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:1010\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0407a867c30eaaa3957bfd4e326ac5ec2182f0f8a632002efc934d541476c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/hunyuan/HunyuanImageProvider.kt:159-167 | core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/openai/OpenAiImageProvider.kt:140-148 | core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/qwen/QwenImageProvider.kt:165-173 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/hunyuan/HunyuanImageProvider.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cca0011a7e13dc260bc06bb15f058c9609aa4ca4da373df3a75e93e13b7d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt:62-67 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/CreateGameUseCase.kt:64-70 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/CreateGameUseCase.kt:71-79 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/CreateGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/CreateGameUseCase.kt:64\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. Note first that the copies are not typed on the same thing: \u0060EngineSlot\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.EngineSlot\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.EngineSlot\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1511c63fe16a4b349c5ac9c43f756404175a5df212420f34606709547969cae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/domain/model/OnlineMessage.kt:67-75 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/model/OnlineMessage.kt:67-75 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/model/OnlineMessage.kt:66-74 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/domain/model/OnlineMessage.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/model/OnlineMessage.kt\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/model/OnlineMessage.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64967882a2a98277f73d352a6bd57a6506743236fffd54ba36ae6f13ea560da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:288-296 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt:295-303 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:288-296 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:288\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac83ec88ba45352515f388efc675a1d2917c315d0597135b1e3b81d70d38603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt:175-183 | feature/online/src/main/java/com/shifenmiao/online/component/CreateNoteComponent.kt:156-164 | feature/online/src/main/java/com/shifenmiao/online/component/EditPromptComponent.kt:207-215 \u2014 before extracting anything, compare \u0060feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt\u0060 and \u0060feature/online/src/main/java/com/shifenmiao/online/component/EditPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt:175\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"922284e83a0e2711c3b088485115a5918b124f95971a1eb2bb0c9efac638239a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:624-632 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:817-825 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:559-567 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 50 separate duplicated blocks between them, totalling at least 518 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:624\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"415ea884a2532f89fa32b212d131b19abc7257e1bb10bc93fab4f9143308c2f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20139 lines \u00D7 5): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:558-565 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:446-446 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSequenceSubPipeline.kt:224-224 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:380-387 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:403-411 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:558\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. 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfe001cea69ae8eac01560dda9d8966b86fe52b5da96906bb34fe09dc1c6ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:261-270 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:229-238 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:299-308 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:261\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8541baa26f7728f73e96a192458a101a25e2ddded041808d9c02cf3808738cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:160-168 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:224-232 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:250-258 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 59 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:160\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb84b92fa0cca253b9bd00160491c304758095e5335fad54987188ab7f9e7a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:448-456 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:512-520 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:525-533 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:446\u0060 calls \u0060labelTextOf\u0060, \u0060isBlank\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:511\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18390592deebf2ea8ce9bf26e2ca2887b0b1d845e8b720340a6ec6890f7856b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:460-468 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:512-520 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:525-533 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0db0f776e5c6f79c735780997332e9bead533c3bcb6bc7b163a422c732b1b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:146-154 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:158-166 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:215-223 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce49c1d1e5aff9c339b387ef6ac81da3c5f93fe4753c20123af431ff1a32b72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/CheckboxRenderer.kt:47-56 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/SwitchRenderer.kt:47-56 \u2014 before extracting anything, compare \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/CheckboxRenderer.kt\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/SwitchRenderer.kt\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/CheckboxRenderer.kt:47\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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/CheckboxRenderer.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ddf3e03bbe4936f7ec616d1540c88b9c9536cd73af68a39680cb1201c46391"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/a2ui/src/main/java/com/wanbaohe/a2ui/ui/A2uiDynamicContent.kt:104-112 | feature/ai/src/main/java/com/shifenmiao/ai/utils/PromptBuildUtils.kt:57-65 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060element\u0060 to \u0060JsonElement?): String? = when (element\u0060 in one and \u0060kotlinx.serialization.json.JsonElement?): String? = when (element\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/ui/A2uiDynamicContent.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbd7c1444107f23c8f60867079ce68cac480c5cf05d38ba62ac58a98f0c3c57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SideFadeRelativeItem.kt:82-90 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberBooleanPairItem.kt:68-76 \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 \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SideFadeRelativeItem.kt:82\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/NumberBooleanPairItem.kt:67\u0060 calls \u0060onFilterChange\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SideFadeRelativeItem.kt:81\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/SideFadeRelativeItem.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1d078e660b47993250e50480adb701842b2eac844335b35b8b514ff2b8ce65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/ColorModelPairItem.kt:56-64 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/ColorModelTripleItem.kt:56-64 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/ColorModelPairItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/ColorModelTripleItem.kt\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/ColorModelPairItem.kt:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/ColorModelTripleItem.kt:65\u0060 calls \u0060remember\u0060, \u0060mutableStateOf\u0060, \u0060toColor\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/ColorModelPairItem.kt:66\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/pair_components/ColorModelPairItem.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3243d5fb88acaefee1644cbd5f3fd106f256e4a6ba980214fefa728f8929d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/settings/src/main/java/com/t8rin/imagetoolbox/core/settings/presentation/model/UiFontFamily.kt:166-174 | core/settings/src/main/java/com/t8rin/imagetoolbox/core/settings/presentation/model/UiFontFamily.kt:182-190 \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 \u0060core/settings/src/main/java/com/t8rin/imagetoolbox/core/settings/presentation/model/UiFontFamily.kt:166\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":"core/settings/src/main/java/com/t8rin/imagetoolbox/core/settings/presentation/model/UiFontFamily.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2c4babc1ae5ecf8e8274a17533f8ae2a6f51f6a09a76d0117013b03c9e5e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt:53-61 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:66-73 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt\u0060 and \u0060core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt:53\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee76404abfd14a4f2b9e979572f3db39bf3375e9b5933429ec8651467ff3f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCheckbox.kt:69-77 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassRadioButton.kt:79-87 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCheckbox.kt:69\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCheckbox.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"decd427250bc084de690bf6a8528a9e9f0683b43c1cdd274a913bc28349d7436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/utils/src/main/java/com/wanbaohe/com/string/TimeFormatter.kt:156-164 | core/utils/src/main/java/com/wanbaohe/com/string/TimeFormatter.kt:172-180 \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 \u0060core/utils/src/main/java/com/wanbaohe/com/string/TimeFormatter.kt:156\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":"core/utils/src/main/java/com/wanbaohe/com/string/TimeFormatter.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a575b2bdbec8e1164ace3e00dfc0858195d22270e1b3c3221801418906771e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:280-288 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:312-320 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:280\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32d4df9ec46a602d8ce3a9f962723c66fdec7109aa5a7bd7267ebb770aeb909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:684-692 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:712-720 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:684\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31d5279b3017deb776c28d785fabfafad6a179a0e8628acf26c1bb0a2ac0ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:378-386 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:367-375 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:378\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5101cb669fe60f8b01194f4be5548b6101175d42826b3ea6cbe4f2c334f9685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/ui/FullScreenChatInputSheet.kt:340-348 | feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt:818-826 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/ui/FullScreenChatInputSheet.kt:340\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ArrowUpward\u0060 names \u0060androidx.compose.material.icons.outlined.ArrowUpward\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.ArrowUpward\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/ui/FullScreenChatInputSheet.kt"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e8c9156a7c1463728c40b64671ffdcf36babf89291dfff3f86986abd89157a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/data/AndroidApngConverter.kt:96-104 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/data/AndroidWebpConverter.kt:83-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/data/AndroidApngConverter.kt:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/data/AndroidApngConverter.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a268a7b3a6e087727406f4289013f9f16b9bbb489365490847ebe847f2ae42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/StatusCards.kt:87-95 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt:945-953 \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 \u0060feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/StatusCards.kt:87\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":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/StatusCards.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fc6f734b68b5b75a2a41ad33378c8b0ede9b415f7105fe8aee04ea6ea0cac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/SettingsTab.kt:336-344 | feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/SettingsTab.kt:358-366 \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 \u0060feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/SettingsTab.kt:336\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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/SettingsTab.kt"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"db25867a4c43febd035e0d298e2558c67ba8f539a4011e6be3c3934dd47ff9f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/AuspiciousDayTab.kt:522-530 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/AuspiciousDayTab.kt:569-577 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/ui/AuspiciousDayTab.kt:522\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/AuspiciousDayTab.kt"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5d8edd701ffcb02dac04f30d33fd5cbfe6a8291f78837f00d7a8e694c8029e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt:128-136 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/GameQueryUseCase.kt:126-134 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/GameQueryUseCase.kt\u0060 as WHOLE FILES: this scan already matched 4 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. 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt:128\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. Note first that the copies are not typed on the same thing: \u0060GameMode\u0060 names \u0060com.wanbaohe.chess.domain.model.GameMode\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.GameMode\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f99ac11a341f7a958645996f861147d00642a86bfb8f1ce0c675840fe0562c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt:156-164 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ImportGameUseCase.kt:161-169 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ImportGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt:156\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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbe81915ebb6373f0393e9a5c87ab9601726c3e49b16ed15cb3bd34cfb8c892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:195-203 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt:160-168 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 113 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:195\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060OnlineMessage\u0060 names \u0060com.wanbaohe.chess.domain.model.OnlineMessage\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.OnlineMessage\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc010f26dfd0549501deaec76571c4371c17e9f66bb9e5f4a56d436a616c7500"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt:111-119 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/PlayMoveUseCase.kt:57-65 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/PlayMoveUseCase.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060FenCodec\u0060 names \u0060com.wanbaohe.chess.domain.FenCodec\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.FenCodec\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt:121\u0060 calls \u0060statusAfterHistoryChange\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/PlayMoveUseCase.kt:66\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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f11acedd4d537bef70c9bda0c2bd90ecc6e90448582e537022f9065b86bdc04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:921-929 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:848-856 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 121 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:921\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. Note first that the copies are not typed on the same thing: \u0060FenCodec\u0060 names \u0060com.wanbaohe.chess.domain.FenCodec\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.FenCodec\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d94ed8fb970994e976528f76518629012452f38b66653ec0950c59967e7f140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:184-192 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt:185-193 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiAnalysisScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 211 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt:184\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea519571b709c433ecb1413d82110dbea899f0c387d20057f7bf2a6e15f3ccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt:55-63 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosSigner.kt:58-66 \u2014 before extracting anything, compare \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt\u0060 and \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosSigner.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86baf2cb5aa9da67f813ce40fa2d54463041649f0ea2c00b8de5ccbace47461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt:92-98 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditor.kt:122-130 \u2014 before extracting anything, compare \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt\u0060 and \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditor.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 150 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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditor.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b8d46edac82af2a98a16d264d7487f1ffd8d9a942034b2440e30e275c96bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/components/category/CategoryManagementDialog.kt:501-509 | feature/common/src/main/java/com/shifenmiao/common/components/category/CategoryManagementDialog.kt:519-527 \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 \u0060feature/common/src/main/java/com/shifenmiao/common/components/category/CategoryManagementDialog.kt:501\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/components/category/CategoryManagementDialog.kt"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aad95322251fb7ef8515a23c56553ec0b3f8d43e94139e78751111a7c4cc662"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/handle/UrlNavigator.kt:362-370 | feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/data/DefaultScanCodeResultResolver.kt:96-104 \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":"feature/common/src/main/java/com/shifenmiao/common/handle/UrlNavigator.kt"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"1218681f49092a2753871bea72730b07f9a5e1e16bc7493748d7ce33352f68ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/compass/src/main/java/com/wanbaohe/compass/ui/CompassDial.kt:125-133 | feature/compass/src/main/java/com/wanbaohe/compass/ui/luopan/LuopanDial.kt:207-215 \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 \u0060feature/compass/src/main/java/com/wanbaohe/compass/ui/CompassDial.kt:125\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":"feature/compass/src/main/java/com/wanbaohe/compass/ui/CompassDial.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"2275672aac1fc414a050df4e67683a16df26d6e9f7c9736add69d507f2a2a3d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/PathHelper.kt:278-285 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/PathHelper.kt:294-302 \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 \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/PathHelper.kt:278\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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/PathHelper.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"0169224a5823b155f1746109735951aa708f063539c5099f333e62d40c75a475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/CloudRelayApi.kt:224-232 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt:171-179 \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 \u0060feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/CloudRelayApi.kt:224\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/CloudRelayApi.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"67de271d726a5bbbd48b49f13712fe0243f64eced3c2e46bf8b3471d3d630ec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/StackBlurFilter.kt:161-169 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/StackBlurFilter.kt:240-248 \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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/StackBlurFilter.kt:161\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/StackBlurFilter.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7cc3853595fa5702aca65dea8dfc7b32b9959bd00ff6e69ff6c0f9b1951321"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:256-264 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:280-288 \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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:256\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:289\u0060 calls \u0060setOffset\u0060 and \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt:265\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/pixelation/tool/PixelationCommands.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"c832228807257b505f1ab5e2912092170b998b547514b6586ee186957602a3e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt:133-141 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt:234-242 \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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt:133\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/FiltersContentControls.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"461ad8bc12de80f9bfaf41de0ed04e96db33a684f2796b4649697a26a4daae6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:264-272 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:401-409 \u2014 before extracting anything, compare \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt\u0060 and \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:264\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":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8d94906f3ae0ae4205b9df833ddb9c4810a7384f429b787e009a0033f0bcac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/game2048/src/main/java/com/wanbaohe/game2048/ui/ScoreSection.kt:65-73 | feature/game2048/src/main/java/com/wanbaohe/game2048/ui/ScoreSection.kt:91-99 \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 \u0060feature/game2048/src/main/java/com/wanbaohe/game2048/ui/ScoreSection.kt:65\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":"feature/game2048/src/main/java/com/wanbaohe/game2048/ui/ScoreSection.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"97666cc4b057f3d1d0d85c3c9654ef693a4f1020bf187f2fd749afc2b1cbc2c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt:112-120 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt:119-127 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt:112\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, \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt:111\u0060 calls \u0060fillMaxWidth\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt:118\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d5f1a55ba543bef32896af3ed6be9f7be7b63e0df2b5f3eb1d6542a13731d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/service/HabitService.kt:79-87 | feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/service/HabitService.kt:102-110 \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":"feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/service/HabitService.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"918f642479d92ff3f92ac8953fc8aee79dabdff36d6152a6531899c73a76a0dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/login/src/main/java/com/shifenmiao/login/ui/ForgotPasswordInputs.kt:137-145 | feature/login/src/main/java/com/shifenmiao/login/ui/RegistrationInputs.kt:82-91 \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 \u0060feature/login/src/main/java/com/shifenmiao/login/ui/ForgotPasswordInputs.kt:137\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":"feature/login/src/main/java/com/shifenmiao/login/ui/ForgotPasswordInputs.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75488561cc7bed817ad3174579884165c31bdf3828612e2282664696b65e254"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt:292-300 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/TodoDetailComponent.kt:205-213 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt:292\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14fbd25010a5c14aacba476603ad8bb4abc17819575fdc2063d1b8433b7de22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:362-370 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:290-297 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:362\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00c7b798d88281faa59e5b2bdd4549dc41f6f3743957487792460557509aa6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:427-435 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:355-363 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a8b8e9ee06b3f4ce0adcafadad290fec2d65c63e998fc4fb0ed26fd883f3bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:591-602 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:493-504 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a31793180b06878cb4f5e5e4971f08f7bbe8bf7be6598ab5c934770a361be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/media-player/src/main/java/com/wanbaohe/media/data/ContentResolverMediaEntryResolver.kt:92-100 | feature/media-player/src/main/java/com/wanbaohe/media/data/MediaStoreDeviceLibrarySource.kt:72-80 \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 \u0060feature/media-player/src/main/java/com/wanbaohe/media/data/ContentResolverMediaEntryResolver.kt: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":"feature/media-player/src/main/java/com/wanbaohe/media/data/ContentResolverMediaEntryResolver.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"272bff1a48fff268141b70f32f0d31fd38d16aa537b1a56943938bf9bbda57e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt:113-122 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt:103-111 \u2014 before extracting anything, compare \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt\u0060 and \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e06d5a38b1ac89ce1b82b1bed4b817d65b73cc634cd7c51f92ea1f4832fcea1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/password-vault/src/main/java/com/wanbaohe/passwordvault/detail/PasswordVaultDetailScreen.kt:235-243 | feature/password-vault/src/main/java/com/wanbaohe/passwordvault/edit/PasswordVaultEditScreen.kt:132-140 \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 \u0060feature/password-vault/src/main/java/com/wanbaohe/passwordvault/detail/PasswordVaultDetailScreen.kt:235\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":"feature/password-vault/src/main/java/com/wanbaohe/passwordvault/detail/PasswordVaultDetailScreen.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e8170f152e4a33537834968d950af48c2380be3b6260efc3163f6fad924a7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt:143-151 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/components/PdfPagesRotationGrid.kt:153-161 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/components/PdfPagesRotationGrid.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 161 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 \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt:143\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/components/PdfPagesRemoveGrid.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a8a3326a06e4fb69aafd00113f5e39e543c9a9c1e5df16af1a94fbfd508dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/period/src/main/java/com/wanbaohe/period/service/PeriodService.kt:92-100 | feature/period/src/main/java/com/wanbaohe/period/service/PeriodService.kt:151-159 \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 \u0060feature/period/src/main/java/com/wanbaohe/period/service/PeriodService.kt:92\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, \u0060feature/period/src/main/java/com/wanbaohe/period/service/PeriodService.kt:149\u0060 calls \u0060toEpochDay\u0060 and \u0060feature/period/src/main/java/com/wanbaohe/period/service/PeriodService.kt:90\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":"feature/period/src/main/java/com/wanbaohe/period/service/PeriodService.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d43ad02649bab2565a5eda16e562ee1b6460eef9da471622dea4825a0238da5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 2): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:261-266 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:489-497 \u2014 before extracting anything, compare \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt\u0060 and \u0060feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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 \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:261\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf0b401d1a77c5b5fdce2555ab122ab6199b5e0e4c43271de4f91057f537f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/TTSSettingsScreen.kt:246-254 | feature/settings/src/main/java/com/wanbaohe/setting/image/screen/ImageGenerationSettingsScreen.kt:255-263 \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 \u0060feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/TTSSettingsScreen.kt:246\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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/TTSSettingsScreen.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c13595dbad96c07b461717d40fe2b476ed164cbdd86a1531471e37c8b289d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:122-128 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:138-146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:122\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf56f165a6f4b3f1022570977fd25bd5f3040682750bbc349509145bf6f7b39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/AndroidTextCardExportRenderer.kt:188-196 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/AndroidTextCardExportRenderer.kt:238-246 \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 \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/AndroidTextCardExportRenderer.kt:188\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/AndroidTextCardExportRenderer.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4b364a15e27f788c71c6dd9072bf225eefaff673d7daa1846505821dd63d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/screenLogic/TextCardComponent.kt:1107-1115 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/screenLogic/TextCardComponent.kt:1201-1209 \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 \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/screenLogic/TextCardComponent.kt:1107\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/screenLogic/TextCardComponent.kt"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c548add08d1cdf73f5d360020cebe99fd094508dec6e8373ee86695fd6edb1b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/service/VisualAutomationService.kt:205-213 | feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/service/VisualAutomationService.kt:219-227 \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":"feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/service/VisualAutomationService.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f7d0989b2295582936b7f845a8704313abeb78a2d4e3b8c0d11396524400f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/webview/src/main/java/com/shifenmiao/webview/utils/WebViewExportUtils.kt:208-216 | feature/webview/src/main/java/com/shifenmiao/webview/utils/WebViewExportUtils.kt:267-275 \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":"feature/webview/src/main/java/com/shifenmiao/webview/utils/WebViewExportUtils.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5983280984656631d40d05042316b9af22d4aeccab03acd90413f137bd7758f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:151-159 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:211-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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:151\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":"libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b07925cfc969c7bc7108d50a57983727887cb8a7c14b5b669f279ee28935a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1123-1131 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:729-738 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1123\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0a38c4c400a9dbba0a7cebe481b8aad27fa152e54150e1c016993ae265f250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1748-1756 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1829-1837 \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":"libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fa428bedc913c847395e313f06a7879ce98edf6ea838cd354d5173c6c1e02e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1801-1809 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:111-119 \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":"libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt"},"region":{"startLine":1801}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2d766a9bfc06c3cb5fd2cd0fc22770c4238908d1a165bbc9eab893f9d22851"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt:542-550 | libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt:565-573 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae323652f676260c990acb2d1235859191ee044b9118e8bca47df0204a63d62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt:552-560 | libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt:575-583 \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 \u0060libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt:552\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":"libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b79cfc8f7d59ba7bbc8dedba14e2a0d3acc229d87dca31c4ad1e006dec80c7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt:120-128 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:384-392 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt:120\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfb377a8a0ab2eff9ad42ccdf0eaa5461a466783f5dd0fefd68340a4bcfa4ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:161-169 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:228-236 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 59 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:161\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62ab7a7e8e02880679d4c6b9065924d6d52254cdc915ab417a32d5b9765fb9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:139-147 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:136-144 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:139\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8aabea2222c8f7b7adafa02d5bb6c3c4b43411be8ae117ec85b6704b22382ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlTimeSeriesSubPipeline.kt:144-152 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlTimeSeriesSubPipeline.kt:169-177 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlTimeSeriesSubPipeline.kt:144\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlTimeSeriesSubPipeline.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faa22237021f1d1237e81ccee1b9b3f893aedab981a26e2abe46347c73f0685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/core/compile/DefaultRenderModelCompiler.kt:549-557 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/core/compile/InlineCompiler.kt:429-437 \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":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/internal/core/compile/DefaultRenderModelCompiler.kt"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e4d592e953ecdde08fb6b0df346aa374f2a3f9a7e5196ab18d19939f8f7718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/moire/Moire.kt:100-108 | libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/moire/Moire.kt:208-215 \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":"libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/moire/Moire.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0dbd410e6e00d780f94755ef832790e22c6fdd7dae68fa9292571ef840c46d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 148): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:45-52 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:59-66 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:73-80 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:87-94 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:101-108 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:115-122 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:128-135 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:51-58 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:67-74 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:83-90 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:170-177 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:195-202 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:211-218 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:248-255 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:264-271 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:280-287 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:296-303 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:333-340 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:349-356 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:365-372 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:381-388 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:418-425 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:434-441 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:450-457 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:502-509 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:518-525 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:534-541 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:586-593 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:602-609 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:618-625 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:670-677 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:686-693 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:702-709 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:751-758 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:769-776 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:787-794 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:805-812 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:841-848 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:855-862 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:869-876 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:883-890 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1296-1303 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1312-1319 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1328-1335 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1344-1351 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1552-1559 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1572-1579 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1592-1599 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1680-1687 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1698-1705 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1716-1723 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:50-57 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:66-73 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:82-89 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:120-127 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:136-143 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:152-159 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:190-197 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:206-213 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:222-229 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:260-267 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:276-283 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:292-299 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:328-335 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:344-351 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:358-365 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:398-405 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:414-421 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:432-439 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:470-477 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:486-493 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:500-507 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:534-541 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:548-555 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:562-569 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:919-926 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:946-953 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:997-1004 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1046-1053 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1062-1069 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1078-1085 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1116-1123 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1132-1139 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1148-1155 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:51-58 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:67-74 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:83-90 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:99-106 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:115-122 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:131-138 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:147-154 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:163-170 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:204-211 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:220-227 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:238-245 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:254-261 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:272-279 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:288-295 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:306-313 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:322-329 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:369-376 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:385-392 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:401-408 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:417-424 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:433-440 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:449-456 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:465-472 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:50-57 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:64-71 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:80-87 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:96-103 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:109-116 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:124-131 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:52-59 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:68-75 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:84-91 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:102-109 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:119-126 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:157-164 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:171-178 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:187-194 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:203-210 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:218-225 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:68-75 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:179-186 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:233-240 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:287-294 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:341-348 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:397-404 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:453-460 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:501-508 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:549-556 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:599-606 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:649-656 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:699-706 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:749-756 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:794-801 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:841-848 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:888-895 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:935-942 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:985-992 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1033-1040 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1081-1088 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1129-1136 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1181-1188 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1233-1240 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1285-1292 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1337-1344 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:60\u0060 calls \u0060add\u0060, \u0060PointF\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:55\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5303607220641c6b3026cbfab2ca9085daa3d3feee8ba7bea89a3be63a6c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 50): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:171-178 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:221-228 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:316-323 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:326-333 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:368-375 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:378-385 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:418-425 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:428-435 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:478-485 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:530-537 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:587-594 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:619-626 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:840-847 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:881-888 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:928-935 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1034-1041 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1068-1075 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1175-1182 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1646-1653 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:666-675 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:744-753 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:535-543 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:590-598 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:703-711 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:714-721 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:869-876 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:879-886 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:934-941 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:989-996 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:184-191 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:224-231 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:271-278 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:317-324 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:362-369 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:445-452 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:259-266 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:293-300 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:382-389 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:550-557 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:602-609 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:68-75 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:119-126 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:134-141 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:196-203 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:243-250 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:258-265 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:366-373 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:386-393 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:432-439 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:498-505 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:171\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b4a54677b9f73f00dab4d669e1f9072a115ba81c5a9e7ebddd09fba8ca3013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 41): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:161-168 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:211-218 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:306-313 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:358-365 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:408-415 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:463-470 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:614-621 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:674-681 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:871-878 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:923-930 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:964-971 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:997-1004 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1102-1109 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1165-1172 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1511-1518 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:847-856 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:883-892 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1198-1207 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:519-527 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:579-587 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:687-695 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:741-749 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:859-866 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:919-926 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:974-981 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:209-216 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:307-314 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:352-359 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:372-379 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:411-418 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:493-500 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:540-547 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:592-599 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:43-50 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:104-111 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:166-173 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:228-235 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:351-358 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:412-419 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:478-485 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:539-546 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:161\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a39dca8bb0382365803eaa43a2b6d48ec7fe421faf2fa31c5570067809625b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 40): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:31-38 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:35-42 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:154-161 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:232-239 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:317-324 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:402-409 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:486-493 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:570-577 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:654-661 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:733-740 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:827-834 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1280-1287 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1532-1539 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1662-1669 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:34-41 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:104-111 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:174-181 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:244-251 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:314-321 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:380-387 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:454-461 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:520-527 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:970-977 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1030-1037 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1100-1107 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:35-42 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:186-193 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:353-360 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:34-41 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:34-41 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:143-150 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:92-99 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:957-964 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1005-1012 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1053-1060 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1101-1108 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1149-1156 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1201-1208 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1253-1260 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1305-1312 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:44\u0060 calls \u0060add\u0060, \u0060PointF\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:41\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7689106631a45477bcaa4970abf257b2648ca2e474e72135f795f20d0d8cc54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 35): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:166-173 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:216-223 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:311-318 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:321-328 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:363-370 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:373-380 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:413-420 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:423-430 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:515-522 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:815-822 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:876-883 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:933-940 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:969-976 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1002-1009 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1029-1036 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:590-599 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:625-634 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:709-718 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:584-592 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:802-809 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:864-871 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:874-881 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:256-263 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:312-319 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:357-364 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:525-532 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:288-295 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:298-305 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:327-334 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:447-454 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:545-552 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:597-604 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:63-70 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:371-378 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:544-551 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:166\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d204b49aa4d1633b79b5eeab8d0674039d10de10382ad149f101f86d85b702ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 34): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:156-163 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:206-213 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:257-264 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:458-465 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:510-517 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:562-569 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:669-676 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:766-773 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:866-873 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:918-925 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1097-1104 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1130-1137 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1506-1513 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:779-788 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:514-521 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:574-581 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:636-643 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:682-689 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:827-834 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:914-921 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:969-976 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:164-171 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:302-309 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:347-354 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:392-399 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:484-491 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:535-542 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:367-374 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:406-413 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:462-469 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:488-495 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:294-301 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:473-480 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:534-541 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:156\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"242dc1ea246d4cdc78f3e507c6b333335a5873dfb7684f35d3c3999e3369551a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 34): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:331-338 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:383-390 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:433-440 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:483-490 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:520-527 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:577-584 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:939-946 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1039-1046 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1107-1114 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1170-1177 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1210-1217 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1264-1271 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1516-1523 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1636-1643 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:659-668 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1205-1214 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:540-548 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:708-716 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:229-236 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:261-268 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:322-329 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:367-374 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:264-271 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:337-344 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:377-384 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:452-459 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:555-562 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:607-614 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:632-639 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:78-85 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:139-146 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:201-208 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:263-270 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1407-1416 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:331\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b88632cc321c3fd179e46ef91cfccd70b519f9bd391d560597586018606ed7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 34): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:97-103 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:184-190 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:464-470 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:548-554 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:632-638 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:716-722 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1610-1616 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:935-941 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:986-992 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1013-1019 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:479-485 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:50-56 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:106-113 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:123-129 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:161-167 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:215-221 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:269-275 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:323-329 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:379-385 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:431-437 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:485-491 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:533-539 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:581-587 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:631-637 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:681-687 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:731-737 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:969-975 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1017-1023 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1065-1071 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1113-1119 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1163-1169 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1215-1221 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1267-1273 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1319-1325 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:932\u0060 calls \u0060PointF\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:94\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ce7bb4a57bbdc35c8c10ff884088f65881fcd284638a1a03f85a08e0494b76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 32): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:181-188 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:231-238 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:280-287 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:689-696 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:735-742 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:789-796 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:830-837 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:891-898 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:943-950 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1140-1147 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1220-1227 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:816-827 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:601-608 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:656-663 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:773-780 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:812-819 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:889-896 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:944-951 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:999-1006 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:174-181 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:411-418 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:455-462 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:499-506 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:545-552 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:421-428 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:503-510 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:647-654 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:324-331 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:381-388 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:447-454 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:508-515 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:554-561 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"50db1acabf2d15d0df2cdf8bcfcd292c0cf13f8c3f588e86dce37365eb71e16a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 28): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:176-183 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:226-233 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:275-282 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:639-646 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:679-686 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:715-722 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:784-791 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:820-827 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:886-893 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:938-945 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:808-819 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:595-603 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:746-754 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:807-814 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:884-891 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:939-946 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:994-1001 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:169-176 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:406-413 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:450-457 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:530-537 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:416-423 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:498-505 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:289-296 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:376-383 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:437-444 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:503-510 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:549-556 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 445 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:176\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:173\u0060 calls \u0060listOf\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:781\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bb14e2014f053236e4ec250222e49eb205746dc7ccb468acb6eaed3fcfc316"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 24): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:473-480 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:572-579 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:634-641 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:127-141 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1771-1780 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:530-537 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:698-705 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:757-764 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:929-936 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:984-991 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:219-226 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:440-447 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:254-261 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:58-65 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:114-121 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:129-136 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:191-198 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:238-245 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:253-260 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:304-311 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:314-321 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:361-368 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:427-434 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:493-500 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:473\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed817bc5188f50bddd43eac1b69f554ff3e5d928049bdead3e48e278c1a829a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 14): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:104-110 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:723-729 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1617-1623 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1744-1750 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1020-1026 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:486-493 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1600-1606 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1808-1814 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:88-94 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:123-129 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:151-157 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:182-188 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:210-216 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:238-244 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:104\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03dcaece7fd3a648c8f3fcd9c7382e862b893eb3da79030aea64ba0aba6f025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 13): libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:36-43 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:147-154 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:201-208 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:255-262 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:309-316 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:365-372 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:419-426 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:473-480 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:521-528 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:569-576 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:619-626 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:669-676 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:719-726 \u2014 all 13 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 after the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:45\u0060 calls \u0060add\u0060, \u0060PointF\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:429\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":"libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcb409edba11a62d53c739a5d4a96bc2dbaa0a53dcef9c0e32a00e0729a2657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 12): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:525-532 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:582-589 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:740-747 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:835-842 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1063-1070 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1641-1648 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:737-746 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:179-186 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:266-273 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:342-349 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:637-644 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1523-1532 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:525\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99b5e65fc49539c5ce9393ba1cc0f95d1448da7abb2533df20a1d5532c59e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 12): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:318-325 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:190-197 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:228-235 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:126-133 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:161-168 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:177-184 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:116-123 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:205-212 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:238-245 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:268-275 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:205-212 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:352-359 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 145 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:318\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"333a4ae3f2031a974675fa44f53bb39ed10cb5249d761430fc664a4a0454c0ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 11): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:191-198 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:915-922 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:942-949 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:993-1000 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:774-781 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:821-828 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:868-875 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:915-922 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1786-1793 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1799-1806 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:109-116 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c440589d20aa3290e3a4c4dc538604332925c03687f71db792a872d1ab6cc65c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20138 lines \u00D7 12): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:476-483 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:379-386 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:664-671 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:619-620 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt:492-499 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:650-657 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:949-956 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:609-616 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:697-704 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:333-340 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:353-360 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:459-466 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:483\u0060 calls \u0060Point\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:620\u0060 does not \u2014 after which the two agree again for 5 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6079f00c9b7557f468d1ff7c70ea9a9acf62096a709742fcce4cd9d3c19975"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1135-1142 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1764-1773 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:641-648 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:832-839 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:489-496 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:540-547 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:299-306 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 524 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1135\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f19f35c148f0bb8bc19f4c3ccae8c881f1a8d99cc6a8b63db5b93dd8af58e7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1378-1385 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1391-1398 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1404-1411 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1445-1452 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1457-1464 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1469-1476 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"1813acf00117d498035c29dc979e4bbce23242aa089c61db24df8cdc32228607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:762-770 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:822-829 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:642-649 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:309-316 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:319-326 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:564-571 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 49 separate duplicated blocks between them, totalling at least 509 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:762\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":"libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"935320d6973b3030bf28e36ef5a9dfb6b1e43b72fcb651fb81696055da5683f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:262-269 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:771-778 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:930-937 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1255-1262 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:397-404 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:262\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f242fa2fe2615a9e22f9163ba39d150524cce2ca85740fbead940f587ac9d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt:48-55 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/GridSelectorRenderer.kt:50-57 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ListSelectorRenderer.kt:54-61 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/RowSelectorRenderer.kt:50-57 \u2014 before extracting anything, compare \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/GridSelectorRenderer.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ListSelectorRenderer.kt:63\u0060 calls \u0060resolveInt\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt:57\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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColumnSelectorRenderer.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4807168dfa64f420899e4952bc38faa261c98ea9066194ee925bcac9fd99a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt:412-419 | feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt:450-457 | feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt:552-559 | feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt:594-601 \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 \u0060feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt:412\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":"feature/iching-divination/src/main/java/com/wanbaohe/iching/screen/IChingDivinationScreen.kt"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62de2b8ae9c343e418ec028415eb7cd417a1dbfdbfe2ab3e472130b32c20915"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:624-631 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1778-1787 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:854-863 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:890-899 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:624\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"33028b3858dbbc27830fd1447ab31d1b77c81ab90e5e0851b853ef4d6a40b7f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:325-332 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:186-193 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:286-293 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:141-148 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:325\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:294\u0060 calls \u0060Hyperlink\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:149\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b608b57b68d7a1527f3604de010efa6c33c6a37ebb3bf8c00a49ed0a2b66241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:1025-1032 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:664-671 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:390-397 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:527-534 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 163 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:1025\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1bd793311836e1611e73a6e3bef1ec64fdd75421489fd168b6f3ac917bd642"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt:258-265 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt:192-199 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:238-245 \u2014 before extracting anything, compare \u0060core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt\u0060 and \u0060core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 77 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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfce70a67bf38b887e25d8fd743a17e97e7a65bc5789e889a73bbe8833e82068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:360-367 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:378-385 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:396-403 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:360\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":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"d590534986a13281ca1a9389436acea93380324ba795037b5129e2335bef5999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt:93-100 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AudioFeedbackUseCase.kt:93-100 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AudioFeedbackUseCase.kt:97-104 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AudioFeedbackUseCase.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060AudioSettings\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.AudioSettings\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.AudioSettings\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"00154f122e652beafe533d145c3dc5deabf782ebbac68851fc495e054120a22b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:295-301 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:87-94 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:86-93 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:295\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. Note first that the copies are not typed on the same thing: \u0060FenCodec\u0060 names \u0060com.wanbaohe.chess.domain.FenCodec\u0060 in one and \u0060com.wanbaohe.gomoku.domain.FenCodec\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"540b251a286052ae7eaa507d72f4a9b604bfb15259003384ef038fff5031d2e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:920-927 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:1047-1054 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:847-854 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 106 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:920\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. Note first that the copies are not typed on the same thing: \u0060FenCodec\u0060 names \u0060com.wanbaohe.chess.domain.FenCodec\u0060 in one and \u0060com.wanbaohe.gomoku.domain.FenCodec\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a6db089e3e60d053fb1bb1b88ba25e173aa844936786571f3592eebaeaf83b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt:123-130 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/GomokuRouterScreen.kt:123-130 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/XiangqiRouterScreen.kt:140-147 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt:123\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":"feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfd17efc8d50a4deac329a6ba2e977142a856cf5afc2f0c124a3b865f886aaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/screenLogic/DeleteExifComponent.kt:116-123 | feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:154-160 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt:172-178 \u2014 before extracting anything, compare \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt\u0060 and \u0060feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/screenLogic/DeleteExifComponent.kt:116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/screenLogic/DeleteExifComponent.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f0c74c4a2b72d96299c4f154fbefb5aead900036a74ac37d381e57a67ffa70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:319-326 | libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:380-387 | libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:466-473 \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 \u0060libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt:319\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/utils/GeometryUtils.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6dc54ce8c500c204d297df871edbb8073e0b2f18c92c1f8e6017a48e2da5ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:383-390 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:446-453 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:518-525 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:383\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:454\u0060 calls \u0060Point\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:391\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"1216394370ce939f9088fb59305852daa1e8fd5159e94cba1d459e9c31cec34d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:978-985 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:497-504 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:362-369 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:978\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"1402be05de36b69265322859ec5446c01c71a2a281800fb22571df900b0718aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/network/src/main/java/com/shifenmiao/network/di/NetworkModule.kt:85-92 | core/network/src/main/java/com/shifenmiao/network/di/NetworkModule.kt:100-107 \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 \u0060core/network/src/main/java/com/shifenmiao/network/di/NetworkModule.kt:85\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/network/src/main/java/com/shifenmiao/network/di/NetworkModule.kt:108\u0060 calls \u0060addInterceptor\u0060, \u0060ErrorHandlingInterceptor\u0060 and \u0060core/network/src/main/java/com/shifenmiao/network/di/NetworkModule.kt:93\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":"core/network/src/main/java/com/shifenmiao/network/di/NetworkModule.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"65886617d097bf18c851ce34cf07ebff3647537aee116083bd156a6c7abe4115"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:104-111 | core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt:98-105 \u2014 before extracting anything, compare \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt\u0060 and \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 147 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 \u0060core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt:104\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8dd6b2314cce79249f01dfe25afc02c79b56deaac80ae3ecb4a37fe94ca046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/blessing/BlessingEffectHost.kt:346-353 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/blessing/BlessingEffectHost.kt:463-471 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/blessing/BlessingEffectHost.kt:346\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/blessing/BlessingEffectHost.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"6786b9960688ef364b8236662cdb9d3832781d5b430f3dd43db6fc53179b85c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSearchTextField.kt:66-73 | feature/ai/src/main/java/com/shifenmiao/ai/ui/AiBottomSheetCommon.kt:74-82 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSearchTextField.kt:66\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSearchTextField.kt:65\u0060 calls \u0060size\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/ui/AiBottomSheetCommon.kt:73\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSearchTextField.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"487038215d59fa979e3c0d0fc5d44bdf0ca381596a1aef484d0149581163e3b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:82-89 | core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:128-135 \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 \u0060core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:82\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:126\u0060 calls \u0060number\u0060 and \u0060core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:80\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":"core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c528c31a57f3adf6e6ce3f133896b90bb5f2f89b84c3697a8ebe12d0c865a1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt:734-741 | feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt:942-949 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt:734\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c138918df121269a0a87559ab724cdaccd04da809d26ddcd2942536550e9e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt:792-799 | feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt:809-816 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt:792\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd169a5bcc0a2d7688057706a31b4d0b379623d12eaf53f4aeb0cb683ccb28d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:366-373 | feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:395-402 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:366\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcc8568e7245d16f73a0eaf1fa8c738b563ebe188640b008941a278468dbbc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/ui/FullScreenChatInputSheet.kt:188-195 | feature/ai/src/main/java/com/shifenmiao/ai/ui/FullScreenChatInputSheet.kt:262-268 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/ui/FullScreenChatInputSheet.kt:188\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/ui/FullScreenChatInputSheet.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c96d3f53374aaffe24c167a69f4d0fa5da930d0c90bd45e12a2924cf18b518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt:367-374 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt:359-366 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"1048a90eae13cecef46e25982202bd7b4047836a04bce64ca4c8e55da5b0e476"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:84-91 | feature/profile/src/main/java/com/wanbaohe/profile/screen/BindEmailSheet.kt:72-79 \u2014 before extracting anything, compare \u0060feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt\u0060 and \u0060feature/profile/src/main/java/com/wanbaohe/profile/screen/BindEmailSheet.kt\u0060 as WHOLE FILES: this scan already matched 4 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. 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 \u0060feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt:84\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/app/src/main/java/com/wanbaohe/app/ui/VerifyContactSheet.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdca09e8f0c63f8f66026ae6b2f0836b6c63b8a6ee70304e06c7654d91f009c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/service/BookkeepingService.kt:529-536 | feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/service/BookkeepingService.kt:565-572 \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 \u0060feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/service/BookkeepingService.kt:529\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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/service/BookkeepingService.kt"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a72a0980f20ee8087b375835a7c59f8a742eeaf3bb5f5daadea6497d1609f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:356-363 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:342-349 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060BoardPoint\u0060 names \u0060com.wanbaohe.chess.domain.model.BoardPoint\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.BoardPoint\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"12455c895ea7639861d328a13ee7b8b155eb5e2a23dee027435864d87f2674b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/domain/GameArbiter.kt:113-121 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/GameArbiter.kt:91-99 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060BoardPoint\u0060 names \u0060com.wanbaohe.chess.domain.model.BoardPoint\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.BoardPoint\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/GameArbiter.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc0fc95f36437184319fd97e963ce9c90ae4a1bfeffa23133b7a81d5de814d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:427-434 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:403-410 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d5d62b939249e0328c31585fa3256a93e4999b3a0447cb5ac482bb570eb060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/export/DataSyncScreen.kt:315-322 | feature/common/src/main/java/com/shifenmiao/common/export/DataSyncScreen.kt:453-460 \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 \u0060feature/common/src/main/java/com/shifenmiao/common/export/DataSyncScreen.kt:315\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":"feature/common/src/main/java/com/shifenmiao/common/export/DataSyncScreen.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"1886579190c3ee7ce2052efffad6f28b4a071c41a9db647b1a37ece9944c00bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:260-267 | feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:204-211 \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 \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:260\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":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"10deb1e721fce290969a2d831f0458a6935b77995c4f838e70cefd0468419619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/LifeTimeCalculator.kt:71-78 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/LifeTimeCalculator.kt:114-119 \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. 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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/LifeTimeCalculator.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4126b833d57306101db1f52975adc402b6096dd1e4c6a08890d332d700672f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/TaskMetadataSelectors.kt:124-131 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/TaskMetadataSelectors.kt:147-154 \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 \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/TaskMetadataSelectors.kt:124\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/TaskMetadataSelectors.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e68b734e3b89d24569ea14d0e63e072764985b97fefbbeb92302de703ad22fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt:275-282 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/TodoDetailComponent.kt:188-195 \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 \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt:275\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5448e620d509ebcdb7f9381ca847336f5c4f411546e4d6d1b1d028c963b80b73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt:640-647 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/TextCardDocumentCodec.kt:208-215 \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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"c789b31f33026d3241c81f2bf97a416a30f2913e2d4aa3915bf7e0ed893b53cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt:1435-1442 | feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/canvas/WatermarkCanvas.kt:271-277 \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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt:1435\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a196d4e1f229902c7b09e34519a6d03eff89ddb57e1430591d019e1910b494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt:144-151 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/crop/CropToolScreen.kt:411-418 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt\u0060 and \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/crop/CropToolScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt:144\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9433ef28aec1c8a5e4141b0fed0f0916156c0c07e15a44ed13f957ff00de26dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt:206-213 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/crop/CropToolScreen.kt:482-489 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt\u0060 and \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/crop/CropToolScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/ai/AiRectSelectOverlay.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"199e5e13e9c2ca53acc8619ce76d3f05d837cfbb25fc6ec5125d1a4da4e7538e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PdfPage.kt:108-115 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/root/components/viewer/LegacyPdfViewer.kt:263-270 \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 \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PdfPage.kt:108\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PdfPage.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0c1691d5b8acd9760bd4c0f966fb187c1a10e67c4ed0c2b1128039f5ad67df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/SourceTextEditing.kt:34-40 | feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/SourceTextEditing.kt:43-50 \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 \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/SourceTextEditing.kt:43\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/SourceTextEditing.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"254a8f5ec0d38d6522ba744e95ce1ee643c15df2428547ab77bbeea13ffcca54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/VisualAutomationController.kt:233-240 | feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/VisualAutomationController.kt:249-256 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/VisualAutomationController.kt:233\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":"feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/VisualAutomationController.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ab0ff6c8b37f3b7e8429fdbcbbda7fa47ed123c3067f2aad785ea4926d3495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:837-844 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:574-581 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 46 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:837\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":"libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"0952a89aacb8f25085fe75916d3d0687999bf67a1abb3b060f9347610243612f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:131-137 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:105-112 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 144 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:131\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4908a096716e24f2c5c04ee336ccee291a9c6166c6b1f5c6f1b4d8d3ef6118c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:610-617 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:337-344 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:392-395 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:610\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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:617\u0060 calls \u0060MoveTo\u0060, \u0060Point\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:395\u0060 does not \u2014 after which the two agree again for 5 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8aa073d3ad436794c1096fde63013f0153edb95307c0b4f96294be147b239d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:361-374 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:337-350 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:361\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c5c2bbd1676a5b3a065b127eb29a9a8fb4e80095d6d060bec5517dfd873bf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 188): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:34-39 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:47-53 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:61-67 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:75-81 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:89-95 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:103-109 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:117-123 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:130-136 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:38-43 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:53-59 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:69-75 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:85-91 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:157-162 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:172-178 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:197-203 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:213-219 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:235-240 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:250-256 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:266-272 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:282-288 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:298-304 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:320-325 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:335-341 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:351-357 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:367-373 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:383-389 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:405-410 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:420-426 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:436-442 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:452-458 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:489-494 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:504-510 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:520-526 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:536-542 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:573-578 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:588-594 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:604-610 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:620-626 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:657-662 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:672-678 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:688-694 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:704-710 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:736-741 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:753-759 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:771-777 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:789-795 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:807-813 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:830-835 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:843-849 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:857-863 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:871-877 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:885-891 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1283-1288 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1298-1304 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1314-1320 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1330-1336 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1346-1352 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1535-1540 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1554-1560 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1574-1580 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1594-1600 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1665-1670 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1682-1688 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1700-1706 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1718-1724 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:37-42 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:52-58 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:68-74 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:84-90 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:107-112 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:122-128 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:138-144 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:154-160 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:177-182 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:192-198 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:208-214 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:224-230 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:247-252 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:262-268 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:278-284 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:294-300 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:317-322 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:330-336 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:346-352 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:360-366 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:383-388 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:400-406 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:416-422 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:434-440 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:457-462 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:472-478 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:488-494 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:502-508 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:523-528 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:536-542 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:550-556 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:564-570 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:921-927 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:948-954 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:973-978 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:999-1005 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1033-1038 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1048-1054 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1064-1070 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1080-1086 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1103-1108 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1118-1124 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1134-1140 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1150-1156 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:38-43 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:53-59 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:69-75 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:85-91 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:101-107 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:117-123 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:133-139 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:149-155 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:165-171 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:189-194 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:206-212 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:222-228 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:240-246 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:256-262 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:274-280 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:290-296 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:308-314 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:324-330 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:356-361 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:371-377 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:387-393 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:403-409 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:419-425 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:435-441 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:451-457 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:467-473 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:37-42 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:52-58 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:66-72 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:82-88 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:98-104 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:111-117 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:126-132 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:37-42 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:54-60 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:70-76 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:86-92 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:104-110 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:121-127 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:146-151 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:159-165 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:173-179 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:189-195 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:205-211 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:220-226 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:70-76 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:95-100 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:181-187 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:235-241 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:289-295 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:343-349 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:399-405 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:455-461 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:503-509 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:551-557 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:601-607 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:651-657 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:701-707 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:751-757 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:796-802 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:843-849 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:890-896 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:937-943 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:960-965 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:987-993 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1008-1013 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1035-1041 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1056-1061 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1083-1089 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1104-1109 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1131-1137 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1152-1157 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1183-1189 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1204-1209 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1235-1241 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1256-1261 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1287-1293 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1308-1313 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1339-1345 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:44\u0060 calls \u0060add\u0060, \u0060PointF\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:41\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfa5988f729e765722e0f4f5577d6e390a11d0279980ac8b6edf9a0d4623629"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 54): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:166-172 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:216-222 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:311-317 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:321-327 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:363-369 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:373-379 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:413-419 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:423-429 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:468-474 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:515-521 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:567-573 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:815-821 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:876-882 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:933-939 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:122-128 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:969-975 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1002-1008 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1029-1035 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:590-598 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:625-633 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:709-717 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:524-531 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:584-591 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:692-699 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:802-808 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:864-870 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:874-880 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:924-930 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:979-985 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:214-220 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:256-262 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:312-318 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:357-363 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:435-441 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:525-531 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:249-255 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:288-294 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:298-304 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:327-333 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:447-453 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:545-551 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:597-603 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:48-54 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:63-69 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:109-115 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:124-130 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:171-177 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:233-239 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:248-254 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:356-362 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:371-377 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:417-423 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:483-489 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:544-550 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:166\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3ae89a7b0382e10c049878e67fd07becb0509526966fe447c1218d856ec849"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 49): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:171-177 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:221-227 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:316-322 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:326-332 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:368-374 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:378-384 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:418-424 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:428-434 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:478-484 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:530-536 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:587-593 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:619-625 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:840-846 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:881-887 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:928-934 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1034-1040 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1068-1074 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1646-1652 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:744-752 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:535-542 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:590-597 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:703-710 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:762-769 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:869-875 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:879-885 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:934-940 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:989-995 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:184-190 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:224-230 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:271-277 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:317-323 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:362-368 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:445-451 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:259-265 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:293-299 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:550-556 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:602-608 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:642-648 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:68-74 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:119-125 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:134-140 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:196-202 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:243-249 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:258-264 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:309-315 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:319-325 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:366-372 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:432-438 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:498-504 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:171\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"365c9884eacf4108db230020c3f651fdd7a9b1450836cba33eb6d23eb67b316e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 48): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:161-167 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:211-217 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:306-312 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:358-364 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:408-414 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:463-469 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:614-620 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:674-680 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:871-877 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:923-929 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:964-970 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:997-1003 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1102-1108 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1135-1141 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1165-1171 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1511-1517 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1764-1772 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:847-855 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:883-891 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1198-1206 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:519-526 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:579-586 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:641-647 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:687-694 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:741-748 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:832-838 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:859-865 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:919-925 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:974-980 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:209-215 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:307-313 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:352-358 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:489-495 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:540-546 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:372-378 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:411-417 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:493-499 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:540-546 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:592-598 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:43-49 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:104-110 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:166-172 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:228-234 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:299-305 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:351-357 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:412-418 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:478-484 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:539-545 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:161\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc394f1ef12f6856c1659571958c102a601ea29182928cf29b1707bdd4f69eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 43): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:171-177 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:221-227 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:316-322 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:326-332 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:368-374 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:378-384 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:418-424 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:428-434 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:478-484 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:881-887 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:135-145 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:974-980 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1007-1013 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1034-1040 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:597-605 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:535-542 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:590-597 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:703-710 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:762-769 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:869-875 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:879-885 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:934-940 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:989-995 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:224-230 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:317-323 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:362-368 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:445-451 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:259-265 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:293-299 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:303-309 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:550-556 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:602-608 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:68-74 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:119-125 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:134-140 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:196-202 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:243-249 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:258-264 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:309-315 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:319-325 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:366-372 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:432-438 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:498-504 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:171\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"31de90e670ea1aca92719f0347991964ba6d03d691992359c057acf9d973e715"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 40): libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:39-44 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:54-60 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:111-117 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:127-133 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:150-155 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:165-171 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:204-209 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:219-225 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:258-263 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:273-279 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:312-317 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:327-333 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:368-373 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:383-389 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:422-427 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:435-441 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:476-481 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:489-495 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:524-529 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:537-543 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:572-577 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:585-591 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:622-627 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:635-641 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:672-677 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:685-691 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:722-727 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:735-741 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:780-786 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:827-833 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:874-880 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:921-927 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:973-979 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1021-1027 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1069-1075 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1117-1123 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1167-1173 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1219-1225 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1271-1277 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1323-1329 \u2014 all 40 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 after the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:45\u0060 calls \u0060add\u0060, \u0060PointF\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt: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":"libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2703e74c0e3049ada1d583d0f60feda826f825a47740b8b8871822531061aefe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 32): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:176-182 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:226-232 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:275-281 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:331-337 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:383-389 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:433-439 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:483-489 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:784-790 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:886-892 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:939-945 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1039-1045 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1264-1270 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:540-547 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:595-602 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:708-715 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:884-890 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:939-945 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:994-1000 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:229-235 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:322-328 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:367-373 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:406-412 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:450-456 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:264-270 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:555-561 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:607-613 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:78-84 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:139-145 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:201-207 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:263-269 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:437-443 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:503-509 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:176\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:173\u0060 calls \u0060listOf\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:781\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab60a1a0cc03c40e9de6024670d00033fe4490f72c02459b03717588fcc06cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 24): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:99-105 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:186-192 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:466-472 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:550-556 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:634-640 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:718-724 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1379-1385 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1392-1398 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1405-1411 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1446-1452 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1458-1464 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1470-1476 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1612-1618 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:937-943 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:988-994 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1015-1021 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:481-487 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1479-1485 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1595-1601 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1627-1633 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1750-1756 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1803-1809 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1831-1837 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:113-119 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1592\u0060 calls \u0060PointF\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:98\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e21cbdc730d3a86f5437dfe7ddde9115092a82b263ecf806ff946dcf5c0695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 18): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:520-526 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:577-583 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:639-645 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:715-721 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:820-826 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:938-944 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1210-1216 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1636-1642 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:807-813 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:169-175 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:261-267 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:530-536 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:337-343 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:452-458 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:632-638 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:289-295 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:376-382 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:549-555 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:520\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"7800c134975ed0d1604b51ff021ba0740f5a91b1b4757935deb431da8a0fd69f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 12): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1366-1372 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1434-1440 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:910-916 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:769-775 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:816-822 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:863-869 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:910-916 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1464-1470 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1614-1620 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1738-1744 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1818-1824 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:98-105 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f5a5781ab36e0d141e9fa9274b7491cf594bad216a8aecb01d4f685070858e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 11): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:725-731 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:735-741 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:830-836 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1140-1146 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1220-1226 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:646-652 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:767-774 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:494-500 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:545-551 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:647-653 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:324-330 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:725\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39acffd7270c8a422369f9be1f78f5ae052ac4136875cc156c16dab8877a365"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 10): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:525-531 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:582-588 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:740-746 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:835-841 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1215-1221 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1641-1647 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:179-185 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:266-272 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:342-348 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:637-643 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:525\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2a283b72a816210d7ca7bff193be628236f6aed4c9c51c3e3e5fa6863fbca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:720-726 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:730-736 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:825-831 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1130-1136 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:626-632 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:479-485 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:535-541 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:294-300 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:720\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae0779009c5dc4df71b5fa2944405cd403badc937c11d8cd209417bb7c481a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:262-268 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:771-777 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:930-936 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1255-1261 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:632-640 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:397-403 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1381-1389 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:262\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"002e8710a730cd94ad6fadb02fd1a1d39e8acc1a7f88a2ca8f7bb5e457584e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/AiDetectScreen.kt:145-151 | feature/calendar/src/main/java/com/wanbaohe/calendar/router/CalendarRouterScreen.kt:116-122 | feature/password-vault/src/main/java/com/wanbaohe/passwordvault/router/PasswordVaultRouterScreen.kt:48-54 | feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIPersonalizationScreen.kt:115-121 | feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIServiceHubScreen.kt:167-173 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/AiDetectScreen.kt:145\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":"feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/AiDetectScreen.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"868ff282819b82e2715fe3c1bc0c4e89355007318c5d7aa1550d3b07d3cb4b14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:74-80 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:137-143 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:161-167 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:196-202 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:224-230 \u2014 all 5 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":"libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc48bd0c7b742d15c1708fc687fea4285e166463b800246dc350d38f7ab294d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:376-382 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:437-443 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:486-492 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:318-324 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:463-469 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5950edf945c69f0e1d11b6f4b34ce25aadc44172fbb938c37439d8bbfc5bb86d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:265-271 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:233-239 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:256-262 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:303-309 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:265\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b08db9c973858d1bb5c360bf6003f0a7ec2591400f17408a883aa2743f21769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt:174-180 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt:206-212 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt:240-247 \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 \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt:174\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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/LayoutComponents.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79aac9fc95537d3633f565a6934fc74dcababf92f97d79b417f56e7ee021041"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassButton.kt:106-112 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt:98-104 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTonalButton.kt:86-92 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTonalButton.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassButton.kt:106\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt:96\u0060 calls \u0060Suppress\u0060, \u0060MutableInteractionSource\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassButton.kt:103\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassButton.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9326885b876dda5dcbbe50227bfc8ac0aa774772a9b11d6657d3776c01aafed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:104-110 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt:104-110 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/online/SignalingClientImpl.kt:104-110 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 129 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b910a96b2cf040b27732010631ec342c8f99fb8f93ae76ccaf3364c01dd950d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:242-248 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:242-247 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:266-272 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:242\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. Note first that the copies are not typed on the same thing: \u0060EngineSlot\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.EngineSlot\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.EngineSlot\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:239\u0060 calls \u0060capture\u0060 and \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:240\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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"412726ff39949b0bd34e1c3723ddf5d7a47591f7887d2d9f5c9f361619f6ee33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt:73-78 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuPlayHomeScreen.kt:73-78 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiPlayHomeScreen.kt:75-81 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuPlayHomeScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt:73\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 first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.wanbaohe.chess.R\u0060 in one and \u0060com.wanbaohe.gomoku.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6930f053e11db5077aed5b8f49fc8e0311a2c29b25fce98aa704761e45fe0895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): feature/profile/src/main/java/com/wanbaohe/profile/ProfileScreen.kt:188-196 | feature/profile/src/main/java/com/wanbaohe/profile/screen/UserInfoScreen.kt:469-475 | feature/profile/src/main/java/com/wanbaohe/profile/screen/UserInfoScreen.kt:488-494 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/profile/src/main/java/com/wanbaohe/profile/ProfileScreen.kt:188\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":"feature/profile/src/main/java/com/wanbaohe/profile/ProfileScreen.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f065294578e8d95e0d7e8ac3aa981cc43800344b5d28e01e66d057e5d73314ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:817-823 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:457-463 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:559-565 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 49 separate duplicated blocks between them, totalling at least 509 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:817\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":"libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d493511b1923cac6a2e4eccb796a0c428a6b410439cb12342c7430fdda6fd70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:559-565 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:498-504 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:309-315 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:559\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96eb8da0369804398c80fa81ec10c74a78bef0b109b63c801c5931f508deb82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:147-154 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:159-166 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:171-178 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 150 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b183c37d92645967d3b6162ecc496cea4d0250e08ea10825f91e9c8a8e55dd57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/content/ContentTypeResolver.kt:150-156 | feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/data/AndroidZipManager.kt:392-400 \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 \u0060core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/content/ContentTypeResolver.kt:150\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":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/content/ContentTypeResolver.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ca963c20ae26bea8124378484026015c3a4a06ee8d41a8a870a399314004e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt:489-495 | feature/app/src/main/java/com/wanbaohe/app/ui/AISpecializedQuestionField.kt:395-401 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0294052d4981dbdedb0ac71f9a2fd5fbcd271a7667ff114717fcda47f4b6bea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:629-635 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:882-888 \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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31914d82a460e08c1dfbf7c7ca0a557627d777903138f575f1b7fbc8e72b1c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:791-798 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:805-812 \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 \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:791\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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8617858996dc8f285a2930d02d854b08fa0818fc9bfe371e66ab0b12dd7cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/confetti/Particles.kt:371-376 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/confetti/Particles.kt:383-389 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/confetti/Particles.kt:383\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/confetti/Particles.kt"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3ad54a7f6c26e23ea4dd8e85c16f29362f5e17100e7c947c87f915380da8f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt:414-420 | libs/modalsheet/src/main/java/com/t8rin/modalsheet/ModalSheet.kt:120-126 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt:414\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt:413\u0060 calls \u0060delay\u0060 and \u0060libs/modalsheet/src/main/java/com/t8rin/modalsheet/ModalSheet.kt:119\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe4dc1c447aab622365d44684dd4b075942c5c398baea208395782a22a5af2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/TopAppBarEmoji.kt:272-278 | feature/settings/src/main/java/com/wanbaohe/setting/display/screen/DisplaySettingsScreen.kt:838-849 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/TopAppBarEmoji.kt:272\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/TopAppBarEmoji.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd6ae6c5dc34e3a83851c7f4046a43c9543451111c047a671e4b5fbc1a27f53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/SearchResultsComponent.kt:168-174 | feature/ai/src/main/java/com/shifenmiao/ai/execution/component/AiExecutionTimelineCard.kt:516-522 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/SearchResultsComponent.kt:168\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/SearchResultsComponent.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a10d75ca9921902658bb57d540467b57da1dd2410bd89d28e467de59928267"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt:110-116 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ImportGameUseCase.kt:113-119 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ImportGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt:110\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. Note first that the copies are not typed on the same thing: \u0060GamePreparation\u0060 names \u0060com.wanbaohe.chess.application.dto.GamePreparation\u0060 in one and \u0060com.wanbaohe.gomoku.application.dto.GamePreparation\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e2411ac7c156bde7dc25ef4db6652d6dde6e07ea91db51d61f640a2c95d6cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt:145-151 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ImportGameUseCase.kt:150-156 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ImportGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt:145\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ImportGameUseCase.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb3d1e3ee33941a3a3db5d54e5c708d884a030739f5f25efabb9faeb8e252a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt:101-109 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/XiangqiRouterScreen.kt:119-125 \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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt:101\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":"feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbe40b148fb884897df4ae568d2d319e8c8846238e4999f139c8a2f36a01bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsBottomSheet.kt:559-565 | feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsBottomSheet.kt:703-709 \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 \u0060feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsBottomSheet.kt:559\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":"feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsBottomSheet.kt"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6dd95cf0410f9d742f9d871e8d1d8d6430c5a04003d82fa253e8f23b5a0ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SubagentStore.kt:410-416 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SubagentStore.kt:435-441 \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 \u0060feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SubagentStore.kt:410\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SubagentStore.kt"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"958e09cdc1e18ec23d576362c5b2a119c159b15179b5cc0e9e9c875ca6c305ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:637-645 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:656-664 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 139 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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:637\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060GameQueryUseCase\u0060 names \u0060com.wanbaohe.gomoku.application.usecase.GameQueryUseCase\u0060 in one and \u0060com.wanbaohe.xiangqi.application.usecase.GameQueryUseCase\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b5cbf0104362899a43a5295e251a2f4549baba682827d8fbe00456e74f1f3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt:180-186 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/board/XiangqiBoard.kt:257-263 \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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt:180\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6508cfb0fcbf4773b2445ad7114e44fe415e9634915cf19fc568c64dd501b72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/iching-divination/src/main/java/com/wanbaohe/iching/domain/IChingInterpretationService.kt:131-137 | feature/poem/src/main/java/com/wanbaohe/poem/service/PoemInsightService.kt:148-154 \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 \u0060feature/iching-divination/src/main/java/com/wanbaohe/iching/domain/IChingInterpretationService.kt:131\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":"feature/iching-divination/src/main/java/com/wanbaohe/iching/domain/IChingInterpretationService.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6ea3fc991a8f03ed35596b85039a9c380411a3d116436c4f689755a2904eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt:97-103 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt:130-136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt:97\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/service/MarkTodoServiceImpl.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d4e3f3d867e876cd4340542e29aba66262b0b66efa95d4067f2594b6e85875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt:307-313 | feature/ocr-document/src/main/java/com/shifenmiao/feature/document/domain/PointsCost.kt:26-32 \u2014 before extracting anything, compare \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt\u0060 and \u0060feature/ocr-document/src/main/java/com/shifenmiao/feature/document/domain/PointsCost.kt\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"65815aabcf5fc45ae9aca706dbad5631a7ce2be2d001797ee111a5457b6e36af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/PaperTexturePreview.kt:51-57 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/PaperTexturePreview.kt:62-68 \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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/PaperTexturePreview.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"24305476d39ff34ef08cb6e69c19a62435eefe2ebfae7ae3539159346325936f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt:736-743 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/XiangqiAiPickerBottomSheet.kt:201-208 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSettingsScreen.kt"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67acb325f353c7341adac5ed1cb22c362455d3d09c4507be73a0cd216e3c9ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1469-1475 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1484-1490 \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":"libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c34d49ae97cfa971cf9e8de5c3c7c2adecb109438c16157fb00e1bee3a8c0e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1569-1575 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1593-1599 \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":"libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35acbac08a960e6bded27cbfa552448264b0ed2fc2b43bde2a91b7bee7de5ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1780-1785 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1792-1798 \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":"libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"7615af8a4d98f1372d61e3d74fc3bddc7362739ca055731bda99f051d4e7a686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt:416-422 | libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt:456-462 \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":"libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadf8ff1cf0c89d9cc439084d508e0a98b15b556b9e2b78cd55b03d3e2ecad14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt:436-442 | libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt:476-482 \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":"libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c84867270b5ad479d686784df5cf2a6346fb59ed7fe430dd41c9eb87f6dddf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:130-136 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt:72-78 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f676bd073fa71382092e6f6133aa879cebead4c30d28dbffa0e87dae5181b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:305-312 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:252-259 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:305\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c169212c44e9a02fd3cab1d5fe53665e9c1c02bc162de454e8e1828c01efed37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:587-593 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:669-675 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 144 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caf1f485ec544fa295e4d4d72d35c436fb2c5d7e896656f2034f91afde74071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt:112-118 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt:139-145 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt:112\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7c6c1dcf6bac8550ffc08f2859eaa7e3d0235dfe88248c668c39a6bb32e003"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPacketSubPipeline.kt:71-83 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStructSubPipeline.kt:75-88 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPacketSubPipeline.kt:71\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPacketSubPipeline.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a47496f3d9fd55cdfe78933f9cf33a6788406c5d17e54ff3ae460523ec452c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSequenceSubPipeline.kt:132-138 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:213-219 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSequenceSubPipeline.kt:132\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSequenceSubPipeline.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e9c42e8976e1c8308155e1d12710dbe3f805012253c1fdcf4192b187c8ad63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlPieSubPipeline.kt:205-211 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlTimeSeriesSubPipeline.kt:618-624 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlPieSubPipeline.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc488e737f8d77eabc59003a45a9d95829efad5054841bf1dcc62c8aa4cad43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 179): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:43-48 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:57-62 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:71-76 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:85-90 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:99-104 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:113-118 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:126-131 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:49-54 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:65-70 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:81-86 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:97-102 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:168-173 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:184-189 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:209-214 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:246-251 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:262-267 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:278-283 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:294-299 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:331-336 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:347-352 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:363-368 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:379-384 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:416-421 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:432-437 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:448-453 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:464-469 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:500-505 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:516-521 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:532-537 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:548-553 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:584-589 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:600-605 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:616-621 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:632-637 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:668-673 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:684-689 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:700-705 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:716-721 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:749-754 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:767-772 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:785-790 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:803-808 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:839-844 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:853-858 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:867-872 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:881-886 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1294-1299 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1310-1315 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1326-1331 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1342-1347 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1550-1555 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1570-1575 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1590-1595 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1610-1615 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1678-1683 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1696-1701 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1714-1719 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1732-1737 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:48-53 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:64-69 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:80-85 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:118-123 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:134-139 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:150-155 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:188-193 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:204-209 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:220-225 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:258-263 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:274-279 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:290-295 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:326-331 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:342-347 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:356-361 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:396-401 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:412-417 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:430-435 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:468-473 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:484-489 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:498-503 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:532-537 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:546-551 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:560-565 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:935-940 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:986-991 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1013-1018 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1044-1049 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1060-1065 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1076-1081 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1114-1119 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1130-1135 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1146-1151 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:49-54 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:65-70 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:81-86 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:97-102 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:113-118 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:129-134 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:145-150 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:161-166 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:202-207 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:218-223 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:236-241 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:252-257 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:270-275 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:286-291 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:304-309 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:320-325 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:367-372 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:383-388 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:399-404 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:415-420 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:431-436 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:447-452 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:463-468 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:479-484 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:48-53 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:62-67 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:78-83 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:94-99 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:107-112 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:122-127 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:50-55 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:66-71 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:82-87 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:100-105 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:117-122 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:155-160 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:169-174 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:185-190 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:201-206 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:216-221 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:50-55 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:66-71 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:106-112 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:123-128 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:161-166 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:177-182 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:215-220 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:231-236 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:269-274 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:285-290 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:323-328 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:339-344 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:379-384 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:395-400 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:431-436 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:451-456 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:485-490 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:499-504 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:533-538 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:547-552 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:581-586 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:597-602 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:631-636 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:647-652 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:681-686 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:697-702 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:731-736 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:747-752 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:792-797 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:839-844 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:886-891 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:933-938 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:969-974 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:983-988 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1017-1022 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1031-1036 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1065-1070 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1079-1084 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1113-1118 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1127-1132 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1163-1168 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1179-1184 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1215-1220 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1231-1236 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1267-1272 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1283-1288 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1319-1324 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1335-1340 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:47\u0060 calls \u0060PointF\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:41\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"18453725bebaa1c7b42083d0cc68d2b7ee61ff7f64a0772a0d2ea2f49caa4fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 56): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:148-155 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:198-205 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:249-256 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:298-305 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:350-357 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:400-407 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:450-457 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:502-509 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:554-561 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:606-613 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:656-663 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:707-714 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:758-765 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:807-814 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:858-865 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:910-917 | libs/collages/src/main/java/com/t8rin/collages/frames/ExtendedFrameImage.kt:204-209 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:956-963 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:989-996 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1089-1096 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1157-1164 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1498-1505 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1628-1635 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1755-1763 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:616-624 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:838-846 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:874-882 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:501-508 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:561-568 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:674-681 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:733-740 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:794-801 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:851-858 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:906-913 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:961-968 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:201-208 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:248-255 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:294-301 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:339-346 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:384-391 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:517-524 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:319-326 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:359-366 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:398-405 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:439-446 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:480-487 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:624-631 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:35-42 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:96-103 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:158-165 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:220-227 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:281-288 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:343-350 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:404-411 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:465-472 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:526-533 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:148\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f09d58a6aba1e41ba66079b56781ff62a59d13ee7dfa9af49c21da982672ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 42): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:174-179 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:224-229 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:329-334 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:381-386 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:431-436 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:481-486 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:538-543 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:590-595 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:622-627 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:782-787 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:843-848 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:884-889 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1037-1042 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1076-1081 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1178-1183 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1649-1654 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:669-677 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:747-755 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:538-544 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:593-599 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:706-712 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:717-722 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:882-887 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:937-942 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:992-997 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:187-192 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:227-232 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:279-284 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:320-325 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:365-370 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:448-453 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:262-267 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:385-390 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:553-558 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:605-610 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:76-81 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:137-142 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:199-204 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:261-266 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:389-394 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:435-440 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:501-506 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:174\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:173\u0060 calls \u0060listOf\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:781\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3102a681c6d1277f0525921c4b4c16a63a268cdbc7c44f48f7acf3e6a2dc5a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 26): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:181-186 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:231-236 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:280-285 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:644-649 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:684-689 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:789-794 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:891-896 | libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:943-948 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:816-824 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:601-606 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:651-656 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:773-778 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:812-817 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:889-894 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:944-949 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:999-1004 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:174-179 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:411-416 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:455-460 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:499-504 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:421-426 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:503-508 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:381-386 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:442-447 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:508-513 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:554-559 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 445 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"589680bafade2ec4bb1d73b0b2ac09eed9ff0fac3bf2c89929b91d1210dc7930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:375-380 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:438-443 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:510-515 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt:180-185 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:829-834 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:485-490 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:423-428 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:375\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4bb602d0610628a3d0596c27b854b0ee822ac5a4aa268f58e265fb8c5f748f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:143-148 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:321-326 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:971-976 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:208-213 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:129-134 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:164-169 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:355-360 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 163 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:143\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabcdc52417be9a60cbc244842c73936b3e367e7c618158556794b058c241afa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 6): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:377-388 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:440-451 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:512-523 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt:182-192 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:831-841 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:487-497 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:454\u0060 calls \u0060Point\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:391\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8175d4c1d94c0b37c470f8c74ecbc7b3a35c7f726883d4a4a03b4759c3bcfdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1771-1778 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:837-842 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:304-309 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:314-319 | libs/collages/src/main/java/com/t8rin/collages/frames/TenFrameImage.kt:569-574 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 524 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1771\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb751407b2ba365f34529d128a5bdcc4ee4eb52f8c1362985fd53d9280f97f5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/MeshGradientBackground.kt:379-384 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/MeshGradientBackground.kt:420-425 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/MeshGradientBackground.kt:428-433 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/MeshGradientBackground.kt:436-441 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/MeshGradientBackground.kt:379\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/MeshGradientBackground.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"b768fb5b5f61a66e4f2bd066c2d507666396f1e9edb83f91cc0a32934cae4263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/blessing/BlessingEffectHost.kt:373-379 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/blessing/BlessingEffectHost.kt:404-410 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/blessing/BlessingEffectHost.kt:523-529 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/blessing/BlessingEffectHost.kt:373\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/blessing/BlessingEffectHost.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad31cddfa83a263d65b99c0fbdd2fc52ed386b0493e7378ee6dacdf100d6b5c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): feature/period/src/main/java/com/wanbaohe/period/service/PeriodService.kt:91-96 | feature/period/src/main/java/com/wanbaohe/period/service/PeriodService.kt:116-121 | feature/period/src/main/java/com/wanbaohe/period/service/PeriodService.kt:150-155 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/period/src/main/java/com/wanbaohe/period/service/PeriodService.kt:149\u0060 calls \u0060toEpochDay\u0060 and \u0060feature/period/src/main/java/com/wanbaohe/period/service/PeriodService.kt:90\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":"feature/period/src/main/java/com/wanbaohe/period/service/PeriodService.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89a21214a096171ebc200ae3105b2b434abf87624ac1eb9e0bb1dd3bc916de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt:134-139 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt:158-162 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:398-403 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt:134\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecab434e2a47ff377b0b0d7c57e6566d967d9bf4adb70cfaa0b65199422eda5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt:137-142 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:486-491 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:179-184 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt:137\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09df3185a3b6e260dc3ff191a1bee83c85dfc80190d55eaab3c4eb0c3ea6048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt:125-131 | feature/app/src/main/java/com/wanbaohe/app/ui/AIGlobalActionOverlay.kt:52-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"249d9a3eb4b4f487ba4dbe041974e7d73b6d004b2b907c3ac4a243221d2f3e6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:225-232 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:238-245 \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 \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:225\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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a91d6d278e880b143691d3f6bc76b7b3a780a2200fc593a1bd4617791d4864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:284-289 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:321-326 \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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fb9461640116c19e9d1b19b9a014c7d987ff205af5fd0a3b4259f869746a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt:546-551 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextBlockTransformHandles.kt:293-298 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextBlockTransformHandles.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2d3f18296504b7be7b2da226127abd66355a7a859a20f27381735df9e0d306"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:806-811 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:831-836 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:806\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"1475df8d4e3a51fe97d5f2deda975bd5142edd7e9033a528f730c93d56f84eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt:491-503 | feature/common/src/main/java/com/shifenmiao/common/ui/CreationMetaConfigSheet.kt:1086-1098 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"8067dfd2de90005048b570ec41f62251df5adcf989f73e5c38d52b0697de3c37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/BookkeepingComponent.kt:336-341 | feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/DetailTab.kt:574-579 \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 \u0060feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/BookkeepingComponent.kt:336\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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/BookkeepingComponent.kt"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"f839151fec4615a83d1bc212bc6589342a007bb29211c5a9d7f0c3ddd997978f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/ai/tool/LunarCalendarTool.kt:97-102 | feature/calendar/src/main/java/com/wanbaohe/calendar/ai/tool/LunarConvertTool.kt:106-111 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/ai/tool/LunarCalendarTool.kt:97\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ai/tool/LunarCalendarTool.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"732e510a8aa1c471328e57f9523dfbba412e79283b9caf513d678033cf9ba784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:406-411 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:384-390 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 121 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:406\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: \u0060InteractionState\u0060 names \u0060com.wanbaohe.chess.domain.InteractionState\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.InteractionState\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"20784e834431050fe387e275915dd9308296feefd815e9db11d073be28a38407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:420-425 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:399-405 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 121 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:420\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: \u0060InteractionState\u0060 names \u0060com.wanbaohe.chess.domain.InteractionState\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.InteractionState\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba271228d94ac9b89dd362ecb2ba0b1303c459374fd82fe81a574d2460d0c317"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:844-849 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:972-977 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 106 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060EngineSlot\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.EngineSlot\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.EngineSlot\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4d5007facfd64fe2e2c2990008d9d54cbdef26f6f9545b66947dea3e0c541a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:196-201 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:220-226 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note 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. Note first that the copies are not typed on the same thing: \u0060EngineSlot\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.EngineSlot\u0060 in one and \u0060com.wanbaohe.xiangqi.application.port.outbound.EngineSlot\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d115176c9ed1d0ed5acd93da1db792f4bf53acff702c6e8936e3b04ed54dd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt:279-286 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt:339-344 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt:279\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. 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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/connection/PairingManager.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e179071d4b6bf138063978224d82907489480c232eaa81bad6b03ba3b8f33fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastBlurFilter.kt:59-65 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/StackBlurFilter.kt:60-66 \u2014 before extracting anything, compare \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastBlurFilter.kt\u0060 and \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/StackBlurFilter.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastBlurFilter.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9457dd1ed77304859ed60e5a69d925a6d5ba1fcb371b483cca252f9dd654aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:48-53 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:49-54 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 92 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060FenCodec\u0060 names \u0060com.wanbaohe.gomoku.domain.FenCodec\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.FenCodec\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:54\u0060 calls \u0060getById\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:55\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74e7f04ac51225937dc543e694fb18d9afc3d314f30200f6cdf840ae3b84c8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt:322-327 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:780-785 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db253af460d5405106c46bbca25e2b022dc2555d664adcc840c9c40defb129f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt:100-105 | feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt:139-144 \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, \u0060feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt:145\u0060 calls \u0060currentTimeMillis\u0060 and \u0060feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt:106\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":"feature/household-items/src/main/java/com/wanbaohe/householditems/service/HouseholdService.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0f13aaee99f7a9dba104357173a02ee55a252925d114b688b2d91f9fbc73e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt:399-404 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/TextCardDocumentCodec.kt:362-368 \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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt:399\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. 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. Note first that the copies are not typed on the same thing: \u0060LayerTransform\u0060 names \u0060com.shifenmiao.model.editor.LayerTransform\u0060 in one and \u0060com.wanbaohe.markuplayers.domain.model.LayerTransform\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7bdaf1883c576b198bfc19ce57ad5a6d2d2823c9fe2fbf3e963ca7f4a5c377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:348-353 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:276-281 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"90391a01112efe19e2bbeff4c95c76105e9f782b667da01f5de815eab0189d10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/LayerBaseRemap.kt:106-111 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/LayerBaseRemap.kt:320-325 \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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/LayerBaseRemap.kt:106\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/LayerBaseRemap.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"36068535ef11cb4e809aef017e5fe13e55e6a67a468c35e3e341e9230e18ea73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImage.kt:259-264 | feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt:354-359 \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. Note first that the copies are not typed on the same thing: \u0060CheckCircle\u0060 names \u0060androidx.compose.material.icons.filled.CheckCircle\u0060 in one and \u0060com.t8rin.imagetoolbox.core.resources.icons.CheckCircle\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImage.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7396de6519594d8feddb51aaf8ef33cf40434286b86ce110a3bcbc99014f6256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/media-player/src/main/java/com/wanbaohe/media/ui/MediaLibraryContent.kt:459-464 | feature/media-player/src/main/java/com/wanbaohe/media/ui/VideoPlayerContent.kt:567-572 \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":"feature/media-player/src/main/java/com/wanbaohe/media/ui/MediaLibraryContent.kt"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"5743444db179841fbd201136e806815283396708b3b60d05b9ec58a5152208e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:519-525 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:346-352 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57dc3c1e7c4e16fc7bfb8543ed474a52b8849fe627dc700c86949bb5e768cbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:538-543 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSequenceSubPipeline.kt:214-216 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:365-370 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:538\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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSequenceSubPipeline.kt:370\u0060 calls \u0060LineTo\u0060, \u0060Point\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSequenceSubPipeline.kt:216\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bde3d84e7010e831bd561a2d5aceda1833078d7dac7f02e91616c1f0e516b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:146-153 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:156-163 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:146\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"04de2a0335a36c591fbf1ae3b315598049bacfacb5f4823dce21c32a47ef2dc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:382-394 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:378-390 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b77fd138d90a7e2584dfe738a5c6117683d55fe510319822eb358f38a47e895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:228-240 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:197-209 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:228\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd602d93b59cf6ba54289568b4c4e764021eca041acba460dac96c5e0a28ae98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:253-259 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:244-250 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:253\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, \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:249\u0060 calls \u0060DrawEntity\u0060, \u0060cluster\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:241\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"02157a159cc0f8cfd3cb8aea3358e4ae4aad38d1380f8bd3c5b9e381b4f1dcd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt:75-80 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlPieSubPipeline.kt:79-84 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlPieSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt:75\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae68c66bc4d7e90bf4bbb793bfe4413aa220ded38a19ab8a86194caecc25fed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:222-230 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:292-300 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 59 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:222\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, \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:218\u0060 calls \u0060DrawEntity\u0060, \u0060cluster\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:289\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"952f607caf4577a4e5d77a193651e250b4a675178d4a6ab507afff68882ebd0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidTimelineSubPipeline.kt:134-139 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidTimelineSubPipeline.kt:144-150 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidTimelineSubPipeline.kt:144\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidTimelineSubPipeline.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ccae6933836002c2f46b7b5a794a4d217e785a16833d1ed214a08e62543249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidXYChartSubPipeline.kt:177-182 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlXYChartSubPipeline.kt:121-126 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidXYChartSubPipeline.kt:177\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidXYChartSubPipeline.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5917b7a19e7c604800004401a92fc00de229ed80ccab496eb299e55dc2ba002"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:495-502 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:188-195 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:495\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b89e16fbcd44ceb905c5fc26a8898d542186f4cee6e406705574cd1dcc03ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:150-157 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:231-238 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b314ea6e6c3e69c27d0f9c4856e37c607dfbfcc5c23e48dbb91914e462b831"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:383-392 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:251-260 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62ae61fd910fb820192c36ed7c60241fd04e4cf4f38190ae12a2fff5a00f0a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/HeadingRenderer.kt:30-35 | libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/HeadingRenderer.kt:54-59 \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 \u0060libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/HeadingRenderer.kt:30\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060node\u0060 to \u0060Heading\u0060 in one and \u0060SetextHeading\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/block/HeadingRenderer.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd318ebe7234fe8e02f4e31635ac721e999ccd43f384187bc545e53ef8a1bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 177): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:41-46 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:57-62 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:73-78 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:89-94 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:160-165 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:176-181 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:201-206 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:217-221 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:238-243 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:254-259 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:270-275 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:286-291 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:302-306 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:323-328 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:339-344 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:355-360 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:371-376 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:387-391 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:408-413 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:424-429 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:440-445 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:456-461 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:471-475 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:492-497 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:508-513 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:524-529 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:540-545 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:555-559 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:576-581 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:592-597 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:608-613 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:624-629 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:639-643 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:660-665 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:676-681 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:692-697 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:708-713 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:740-745 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:758-763 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:776-781 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:794-799 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:811-816 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:889-894 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1286-1291 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1302-1307 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1318-1323 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1334-1339 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1350-1355 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1540-1545 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1560-1565 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1580-1585 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1600-1605 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1669-1674 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1687-1692 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1705-1710 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1723-1728 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:40-45 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:56-61 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:72-77 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:88-93 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:110-115 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:126-131 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:142-147 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:158-163 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:180-185 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:196-201 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:212-217 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:228-233 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:250-255 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:266-271 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:282-287 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:298-303 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:334-339 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:364-369 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:387-392 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:404-409 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:421-426 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:438-443 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:460-465 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:476-481 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:926-931 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:953-958 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:977-982 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1004-1009 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1036-1041 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1052-1057 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1068-1073 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1084-1089 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1106-1111 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1122-1127 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1138-1143 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1154-1159 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:41-46 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:57-62 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:73-78 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:89-94 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:105-110 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:121-126 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:137-142 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:153-158 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:169-174 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:193-198 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:210-215 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:227-232 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:244-249 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:261-266 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:278-283 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:295-300 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:312-317 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:332-337 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:359-364 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:375-380 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:391-396 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:407-412 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:423-428 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:439-444 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:455-460 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:471-476 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:40-45 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:70-75 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:86-91 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:115-119 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:132-136 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:41-46 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:58-63 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:74-79 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:91-96 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:109-113 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:126-130 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:177-182 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:193-198 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:209-213 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:224-228 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:42-47 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:58-63 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:75-80 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:98-103 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:115-120 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:131-136 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:153-158 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:169-174 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:185-190 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:207-212 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:223-228 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:239-244 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:261-266 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:277-282 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:293-298 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:315-320 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:331-336 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:348-353 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:371-376 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:387-392 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:403-408 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:441-446 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:589-594 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:639-644 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:689-694 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:739-744 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:784-789 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:800-805 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:831-836 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:847-852 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:878-883 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:894-899 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:925-930 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:941-946 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1155-1160 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1171-1176 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1207-1212 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1223-1228 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1259-1264 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1275-1280 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1311-1316 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1327-1332 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1557-1562 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1581-1586 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:739\u0060 calls \u0060add\u0060, \u0060PointF\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:40\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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeee7d95ae33690e828c765f1a707fa8d7d6140525e0fe04815b2646fb120417"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 52): libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:139-143 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:224-228 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:309-313 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:394-398 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:478-482 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:562-566 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:646-650 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:819-823 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:897-901 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1358-1362 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:96-100 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:166-170 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:236-240 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:306-310 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:372-376 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:446-450 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:512-516 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:574-578 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:962-966 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1092-1096 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1162-1166 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:177-182 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:344-349 | libs/collages/src/main/java/com/t8rin/collages/frames/SevenFrameImage.kt:141-146 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:134-139 | libs/collages/src/main/java/com/t8rin/collages/frames/SixFrameImage.kt:231-236 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:84-88 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:139-143 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:193-197 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:247-251 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:301-305 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:357-361 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:411-415 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:465-469 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:513-517 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:561-565 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:611-615 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:661-665 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:711-715 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:761-765 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:808-812 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:855-859 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:902-906 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:949-953 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:997-1001 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1045-1049 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1093-1097 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1141-1145 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1193-1197 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1245-1249 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1297-1301 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1349-1353 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 481 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 \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:139\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:222\u0060 calls \u0060PointF\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt:137\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":"libs/collages/src/main/java/com/t8rin/collages/frames/EightFrameImage.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"809cfa48acdacf5e3d3fb569df4a8b67fd1f958cc4c1c68281b3641bb43cdd87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 47): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:102-106 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:189-193 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:469-473 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:553-557 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:637-641 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:721-725 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1369-1373 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1382-1386 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1395-1399 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1408-1412 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1437-1441 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1449-1453 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1461-1465 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1473-1477 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1615-1619 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:913-917 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:940-944 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:991-995 | libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt:1018-1022 | libs/collages/src/main/java/com/t8rin/collages/frames/NineFrameImage.kt:484-488 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:772-776 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:819-823 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:866-870 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:913-917 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1467-1471 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1482-1486 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1598-1602 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1617-1621 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1630-1634 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1680-1684 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1741-1745 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1753-1757 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1806-1810 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1821-1825 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1834-1838 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:77-81 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:86-90 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:102-106 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:116-120 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:140-144 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:149-153 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:164-168 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:179-184 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:199-203 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:208-212 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:227-231 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:236-240 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FourFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 544 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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5152649ea42303f0edc397cf863a9ed30e2a82a1cb43c587a80abeb5e7f43f07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1371-1375 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1384-1388 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1397-1401 | libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1410-1414 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1619-1623 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1632-1636 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1667-1671 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1682-1686 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1823-1827 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1836-1840 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 221 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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a79de70d575dfce9f9e253b076b460cd5f102e0ec1e52d0b69ab2523df035bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:296-300 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:659-665 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:958-964 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:618-624 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:342-348 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:468-474 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:296\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb10853b0d1f43a832a63651b19d15e9c0e5c9825551f9bc7ee3d89ad5950536"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt:1744-1748 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1786-1790 | libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt:1799-1803 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:109-113 | libs/collages/src/main/java/com/t8rin/collages/frames/TwoFrameImage.kt:123-127 \u2014 before extracting anything, compare \u0060libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt\u0060 and \u0060libs/collages/src/main/java/com/t8rin/collages/frames/ThreeFrameImage.kt\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 221 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":"libs/collages/src/main/java/com/t8rin/collages/frames/FiveFrameImage.kt"},"region":{"startLine":1744}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79a320329db9d76557ae27a956267801947dd79f91ceb187f453c386ee3b114"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 6): libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphIrRenderer.kt:119-121 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:246-247 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt:136-140 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:142-146 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:485-489 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:178-182 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphIrRenderer.kt:119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/graph/GraphIrRenderer.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f602075db929453f6c91ceff6274f26bded90ad131aee661af08b69988afbb1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:980-984 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:354-358 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:499-503 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:364-368 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 163 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20d39d4e60eb61f37ba52971586d841fa95b3b42deebc1486d8b9178c13078f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:250-256 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:261-267 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:272-278 \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 \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:250\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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"62787563f224b5f0effa617d539b451c9f48094ea886117afe5d97ac05b6fb28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberColorModelQuadItem.kt:60-65 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberQuadItem.kt:52-57 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberTripleItem.kt:51-56 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberColorModelQuadItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberQuadItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberColorModelQuadItem.kt:66\u0060 calls \u0060remember\u0060, \u0060mutableStateOf\u0060, \u0060toColor\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/triple_components/NumberTripleItem.kt:58\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/quad_components/NumberColorModelQuadItem.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f197d98fdd339b99e146f2084acd1cee9116b76538b1c27c04b9c0384087866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): feature/ai/src/main/java/com/shifenmiao/ai/ui/JsonTreeViewer.kt:170-175 | feature/ai/src/main/java/com/shifenmiao/ai/ui/JsonTreeViewer.kt:221-226 | feature/settings/src/main/java/com/wanbaohe/setting/authcode/screen/AuthCodeSettingsScreen.kt:440-445 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/ui/JsonTreeViewer.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3985f01c67a355edd814a81aa87fb0662bb77faf97e934993b0f2482da049588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt:52-57 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/GameQueryUseCase.kt:52-57 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/GameQueryUseCase.kt:47-52 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/GameQueryUseCase.kt\u0060 as WHOLE FILES: this scan already matched 4 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060GameStatus\u0060 names \u0060com.wanbaohe.chess.domain.model.GameStatus\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.GameStatus\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"28099bf9974476c1a07f1d9615339f32cd083c7864b9a9842dd30929e4b4fc07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:253-257 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt:253-257 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/online/SignalingClientImpl.kt:253-257 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 129 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:253\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. Note first that the copies are not typed on the same thing: \u0060OnlineRoomConfig\u0060 names \u0060com.wanbaohe.chess.domain.model.OnlineRoomConfig\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.OnlineRoomConfig\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19ed0f5ab24bcc4ef139b15d53b451df1efec76486162a2346d0e18dcb324a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:161-166 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:161-166 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:161-166 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060FenCodec\u0060 names \u0060com.wanbaohe.chess.domain.FenCodec\u0060 in one and \u0060com.wanbaohe.gomoku.domain.FenCodec\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b743689fbf8839964543d14d772d5911367b71bd3a5244c46e9c8235e4d2502d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt:36-42 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosAdapter.kt:36-42 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/TencentCosAdapter.kt:35-39 \u2014 before extracting anything, compare \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt\u0060 and \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosAdapter.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt:36\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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"898fff46afad52d10fac89d6ecb2d86c14478d364a80d3079d0a3d7de1e66759"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddEventScreen.kt:341-346 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeScreen.kt:724-729 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/EventPickerSheet.kt:279-284 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/screen/LifeTimeAddEventScreen.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ff00e2080c354129faecef244d6176e8921a785396c4e43d0bc1f02a8183eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/HourglassHeroCard.kt:190-194 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/HourglassHeroCard.kt:196-200 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/HourglassHeroCard.kt:202-206 \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 \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/HourglassHeroCard.kt:190\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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/HourglassHeroCard.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ea7ecd53ba5b1954ab046cce9e674f72521a191a41208c576fee3e65821718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:621-625 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:348-352 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:398-402 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:621\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"53eb109fd0355c6de7e1322a4e4bbb84979608fc2c4df4baf0d67e01b4e14e4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:482-486 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:946-950 \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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a1bfd01a9325e665f79e73fee26e656ef33b7f81491901b7934883440d6a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:642-647 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:897-902 \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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00f12b8a3e535402f58010b5bc91ed1882db2740f2f6050dab2019db41c88a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content_pickers/ImagePicker.kt:216-221 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content_pickers/ImagePicker.kt:282-287 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content_pickers/ImagePicker.kt:282\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content_pickers/ImagePicker.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedf8a9c1718b147586a2d3d73d0662d13d848a72dc154fe8a78ec28b1146c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt:101-105 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:387-391 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt\u0060 and \u0060core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt:101\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb23f26eaa6fc59779a9bca7645d7416028e52a0dbab1a21517cc9343ffc1529"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt:109-113 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:395-399 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt\u0060 and \u0060core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt:109\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8545c2b83f4c5dfd7d40306e8c6906519657f22e77414109ca584ae58ff1c53e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PagesSelectionParser.kt:31-37 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PagesSelectionParser.kt:31-37 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PagesSelectionParser.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/components/PagesSelectionParser.kt\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PagesSelectionParser.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/page/PagesSelectionParser.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa5ef69427f5588d50a0c0cff4af1a2dd944de48aa47de9ae6f7460e9180a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/QualitySelector.kt:186-193 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/QualitySelector.kt:196-203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/QualitySelector.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6801436a6a51f6a9a0c759d3f7f476655a253234fa866ef85cb8e8ed281ddbd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt:379-383 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextBlockTransformHandles.kt:179-183 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextBlockTransformHandles.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt:379\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5f54cf7cd1c189f6728dc5209293396a411d431714ba603feea1402739d35d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt:252-263 | feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:927-938 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt:252\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.shifenmiao.core.R\u0060 in one and \u0060com.wanbaohe.settings.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/setting/GlassmorphismSettingItem.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c3c8380235174785e56e71adfbe2cf59b6e6d523dc639775ffd180082b8d9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:331-335 | feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt:337-341 \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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"5496e85e14abed1ad1d9d3d9318218d35819fbc52b768520a864f363ede6c6aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/GameCard.kt:105-109 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiLibraryScreen.kt:202-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 \u0060feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/GameCard.kt:105\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":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/ui/GameCard.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64ab2e95af5f8c0574db208894d4155bdbd85dbe96a7fed0f3c0e7d2e39ba17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:193-198 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:168-173 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6f67e14201800288bcb0c90e58953f27214e64b9bc259680a7bb296af9d488"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:972-977 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:1094-1099 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 106 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060FenCodec\u0060 names \u0060com.wanbaohe.chess.domain.FenCodec\u0060 in one and \u0060com.wanbaohe.gomoku.domain.FenCodec\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac8bb67bf9178f93bf699982e6dc3d281a86587186c4bfe421d149a5147530b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt:191-195 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt:177-182 \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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt:191\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060SetupTool\u0060 names \u0060com.wanbaohe.chess.domain.SetupTool\u0060 in one and \u0060com.wanbaohe.gomoku.domain.SetupTool\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd97b89927d5287b881d5582edd76d69a3ecaead9d4adef59216ea7bf70e91a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/ui/ChessOpponentPicker.kt:56-61 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/XiangqiOpponentPicker.kt:56-60 \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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/ui/ChessOpponentPicker.kt:56\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/ui/ChessOpponentPicker.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee1a5bceee7f39a7c3af12e3b0c60d071e8d61eff4e2ede97286f64e50813a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/file/PngAigcInjector.kt:137-141 | feature/common/src/main/java/com/shifenmiao/common/file/PngAigcInjector.kt:151-155 \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 \u0060feature/common/src/main/java/com/shifenmiao/common/file/PngAigcInjector.kt:137\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":"feature/common/src/main/java/com/shifenmiao/common/file/PngAigcInjector.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"108aca1d8fd5b091ce6e76643765b5c8181c22ca81a0338b4862b795496e032c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:133-139 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:126-132 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 92 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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:133\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:132\u0060 calls \u0060getById\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt:125\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd9261707351b4526c21fa9fe1d9146a4b4ba26605b991dd517a6ceb6d5f1d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/FrequencyCalculator.kt:42-48 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/FrequencyCalculator.kt:50-56 \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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/FrequencyCalculator.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8df7170404ec3c2e01d13c3463bdab0c66b019e75175de47bf436dfd3ff1bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/AddCountdownEventTool.kt:96-100 | feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/AddLifeMilestoneTool.kt:96-100 \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":"feature/lifetime/src/main/java/com/wanbaohe/lifetime/ai/tool/AddCountdownEventTool.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"325b5fc042de36b3529966fd674dd548f86b26a7b909e6ba931768381bbd71de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/period/src/main/java/com/wanbaohe/period/model/PeriodCalculations.kt:57-64 | feature/period/src/main/java/com/wanbaohe/period/model/PeriodCalculations.kt:141-148 \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":"feature/period/src/main/java/com/wanbaohe/period/model/PeriodCalculations.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f949d50cfd02c079940b56242dfd2c9721e7b5e021cb6565a16e6c6c20c63a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt:131-136 | feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt:195-200 \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 \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt:131\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbfe2bffabb3ed49b48e6e29ce898c9994ee4db4d46514b0580c76ae88bfe65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:85-89 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiPlayHomeScreen.kt:78-82 \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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb5f44bb0e50a8abcfc71fa15119232654bd508c99b80ece1b3547b8c6a6f65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:123-127 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidMindmapSubPipeline.kt:57-61 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:123\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac00d63f2daea0f6d6e97ad85fe7c27ebf539939eb1572c3ab532710476eeaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:342-347 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:560-565 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5235d3c69dc2d6adbfc87699c2cb243c58f69d1e223bca3ef58d1df6737dba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:208-214 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:303-309 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:208\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4c8b6ffb8a62340032bd55eac7fa495abf4f1abc1c0901875b77ae860003fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:274-279 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:355-360 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:274\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"45de9566fa744fdbcf30998202d089df80c339674a3606747a02212ad60751b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 4): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:449-453 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:617-619 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSequenceSubPipeline.kt:227-231 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt:292-294 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt:449\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. 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"af134a9c26ae4e2c950393aea07be539f02c4ff9290220cbe98cc3d258fcff69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:229-233 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidRequirementSubPipeline.kt:160-163 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:183-187 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 144 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:229\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ade644c26bc3354b31d4b68fce0d03649ee20da3dba9c4661b29bf90601f64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt:124-128 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlPieSubPipeline.kt:125-132 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlPieSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt:124\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"244defadfc97810130805c8e2367eb25578a2c7440d74e7bca351718ac681d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:319-326 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:294-301 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:319\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db652b5eafff89297d9d223810dbf3df78f008bd0d0ed038731b9b5881e5883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:498-502 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:330-334 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:498\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"7585f9b6587f4a857acada23562c18edf3405f644d8464529004d3563da0632d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:230-235 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:277-282 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:230\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf703421cd6ec6d1c145036b52e62987db8d1dbdb6a93b2de84be1d2c254a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): core/database/src/main/java/com/shifenmiao/database/agent/dao/ItemAgentDao.kt:81-104 | core/database/src/main/java/com/shifenmiao/database/chat_prompt/dao/PromptDao.kt:137-160 \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. 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":"core/database/src/main/java/com/shifenmiao/database/agent/dao/ItemAgentDao.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e32f0639ad9087c56ecbcfd20d43048d10cb17856274a705afb1001c8964c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:257-284 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt:257-284 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageXiangqiTool.kt:257-284 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0973641694ac9f6e2584f5ebb36b75b4fd7d07142987e815daa093e53e9f2c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:301-328 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt:301-328 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d317898352906c35a3248e89a5a5955f7f1dcf020cb819ef11b6c5fbf43b1d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:625-654 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:625-654 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:625-654 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 428 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:625\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ConnectionState\u0060 names \u0060com.wanbaohe.chess.domain.model.ConnectionState\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.ConnectionState\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cb95a679ee2cfe29fa40a24e5253efce36c97d44cb43adf70e578d38e01559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/port/outbound/ChessAiStore.kt:32-55 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/port/outbound/GomokuAiStore.kt:32-55 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/port/outbound/XiangqiAiStore.kt:32-55 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060slot\u0060 to \u0060EngineSlot): ChessAiSource = when (slot\u0060 in one and \u0060EngineSlot): GomokuAiSource = when (slot\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/port/outbound/ChessAiStore.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2d117ee9f7b59d38dd734b4c91f062f9b74b43800e7f00a81430d2adcd3895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/SettingsUseCase.kt:33-62 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/SettingsUseCase.kt:33-62 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/SettingsUseCase.kt:33-62 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/SettingsUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/SettingsUseCase.kt\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060AudioSettings\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.AudioSettings\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.AudioSettings\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/SettingsUseCase.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82c973926d67d6fd1b9f7b7b67690c2429dcc989dc57c3938b467bf5ebc524e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/AudioAdapter.kt:39-101 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/AudioAdapter.kt:39-101 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/AudioAdapter.kt:39-101 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/AudioAdapter.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/AudioAdapter.kt\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/AudioAdapter.kt:39\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060CachedAudio\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.CachedAudio\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.CachedAudio\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/AudioAdapter.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2938bc63769f9cd8194dda1b34f0ddb5dcd5f31aeff09e2a9eeca74991cba2eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/domain/HumanAiHistory.kt:25-34 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/HumanAiHistory.kt:25-34 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/domain/HumanAiHistory.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/HumanAiHistory.kt\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060Side\u0060 names \u0060com.wanbaohe.chess.domain.model.Side\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.Side\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/HumanAiHistory.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"564a0a0d846f88636087a309da8cffd9d8540f7c69859bc27bd93b9446ce20d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/ai/tool/HabitToolMarkdown.kt:23-35 | feature/household-items/src/main/java/com/wanbaohe/householditems/ai/tool/HouseholdToolMarkdown.kt:23-35 | feature/period/src/main/java/com/wanbaohe/period/ai/tool/PeriodToolMarkdown.kt:23-34 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/ai/tool/RecordCenterToolMarkdown.kt:23-35 \u2014 before extracting anything, compare \u0060feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/ai/tool/HabitToolMarkdown.kt\u0060 and \u0060feature/household-items/src/main/java/com/wanbaohe/householditems/ai/tool/HouseholdToolMarkdown.kt\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/ai/tool/HabitToolMarkdown.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be2eca5eae44a96e2d13e306bd94a00498c5f60e134264795e2d78c6f15a0a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/documentscanner/src/main/java/com/t8rin/documentscanner/extensions/Point.kt:30-92 | libs/opencv-tools/src/main/java/com/t8rin/opencv_tools/free_corners_crop/model/Quad.kt:32-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"libs/documentscanner/src/main/java/com/t8rin/documentscanner/extensions/Point.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e75a71449b3bbd60f3f88504f5b85e97a37d4ddd34d3b4407ea2d617f61b6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/DateInputRenderer.kt:193-199 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/TimeInputRenderer.kt:139-145 \u2014 before extracting anything, compare \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/DateInputRenderer.kt\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/TimeInputRenderer.kt\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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/DateInputRenderer.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc524dc39e2be4ac1191ad6813e41c1925ac3208e6ec81c7558e3c43dd260a7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/base/src/main/java/com/shifenmiao/base/utils/ColorBuilder.kt:107-111 | core/utils/src/main/java/com/wanbaohe/com/color/ColorGenerator.kt:168-172 \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. 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":"core/base/src/main/java/com/shifenmiao/base/utils/ColorBuilder.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ff53d034d73c6350a946842b11148b20a9954288a1fb5b55d78d74b576b691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/base/src/main/java/com/wanbaohe/base/ui/DisableContainer.kt:36-52 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/TopAppBarEmoji.kt:106-122 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/base/src/main/java/com/wanbaohe/base/ui/DisableContainer.kt:36\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":"core/base/src/main/java/com/wanbaohe/base/ui/DisableContainer.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea089e20f1af5114702accd34d12ced383c2e7d59713ad88f0c6fdc4c462199"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/CoilUtils.kt:54-62 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/CoilUtils.kt:56-64 \u2014 before extracting anything, compare \u0060core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/CoilUtils.kt\u0060 and \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/CoilUtils.kt\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/CoilUtils.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1242d8555ff6267ccef5045acb10e95c6535d76c3c16e655ef73111342884e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt:52-56 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt:182-186 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:228-232 \u2014 before extracting anything, compare \u0060core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt\u0060 and \u0060core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 77 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":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/UriUtils.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b229722344d50e7af1ea110cca7e24846251ccf8f3d7f14289d4a82de8b7c71a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt:294-305 | core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt:402-413 \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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7043d13ad20106cbc5c52530688ad18e4609a1923862fdf8ee0f655de0e51ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/database/src/main/java/com/shifenmiao/database/ai/entity/AiEngineEntity.kt:35-40 | core/model/src/main/java/com/shifenmiao/model/ai/AiEngine.kt:41-46 \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. 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":"core/database/src/main/java/com/shifenmiao/database/ai/entity/AiEngineEntity.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef5045cb3a86661eeb3a2a4395a1458b1442767c03657c7e1f0fcff0edbfb9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/model/QrType.kt:184-190 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content_pickers/ContactPicker.kt:235-241 \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":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/model/QrType.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d23a03060ed0b6150d617a559832e91a8700bacaa59097c9905e29c1d1caa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt:497-504 | feature/app/src/main/java/com/wanbaohe/app/ui/AISpecializedQuestionField.kt:409-416 \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. 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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7b090edf6a6ad26e62d562b22e9d5ee3b45ea46d211dd0477825b92b12b386"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/di/DynamicUiModule.kt:99-103 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/di/DshModule.kt:44-48 | feature/poem/src/main/java/com/wanbaohe/poem/di/PoemNetworkModule.kt:39-43 | feature/speed-test/src/main/java/com/wanbaohe/speedtest/data/di/SpeedTestModule.kt:53-57 \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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/di/DynamicUiModule.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0f7bec925bdc6145ebc91e0fff94b41fafa06bd47deb317a6a9b988e1fe694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheetComponent.kt:202-214 | feature/altitude/src/main/java/com/wanbaohe/altitude/component/AltitudeComponent.kt:406-418 | feature/calendar/src/main/java/com/wanbaohe/calendar/bazi/screenLogic/BaZiComponent.kt:130-142 | feature/calendar/src/main/java/com/wanbaohe/calendar/convert/screenLogic/ConvertComponent.kt:180-192 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheetComponent.kt:202\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheetComponent.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4748ed572f0d1c3a8f4f0ea0fafe1c600ac6abcf94445fd6cae80633ae2924c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt:201-208 | core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt:247-254 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt\u0060 and \u0060core/utils/src/main/java/com/t8rin/imagetoolbox/core/utils/UriUtils.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 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. 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/UriUtils.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"12041ce6eed059d594cfec315610edf9e61ac01c7e5fea6be19f6c303c24f798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt:493-500 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalTopSheet.kt:335-342 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd873449f9534615339596a878337951679c2aac212f472ee60f2a3b04fb8cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt:502-509 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalTopSheet.kt:344-351 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6ade76d89fff70265f7f4c0d5d6c50d7337be235ae1b59f6c0bc4985e6fb5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/ObservePointersCount.kt:73-93 | libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt:365-385 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/ObservePointersCount.kt\u0060 and \u0060libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/ObservePointersCount.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0820873a700c200fa4d6cfac6f9888bb740b89876b36cff6b4cc0cf52be817b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/ObservePointersCount.kt:99-105 | libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt:391-397 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/ObservePointersCount.kt\u0060 and \u0060libs/gesture/src/main/java/com/t8rin/gesture/TransformGesture.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/ObservePointersCount.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0961a36af27a59124572c8ce8dd69f9e5c42a961c963250e7896dffc0da9f83f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/navigation/BottomNavigationBar.kt:99-104 | feature/app/src/main/java/com/wanbaohe/app/components/NavigationRailBar.kt:216-221 \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. 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/navigation/BottomNavigationBar.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"95587106c0477896ce18b20cb857c1b6bcaeca2ed01d39cb2a6bdb0eefa42690"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/FluentSwitch.kt:211-215 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/PixelSwitch.kt:175-179 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/FluentSwitch.kt:211\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/FluentSwitch.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ec713088c90ca2e3928695e19ccc8633a9fe822af522a4dce0226dce25f087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/FluentSwitch.kt:222-226 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/PixelSwitch.kt:186-190 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/FluentSwitch.kt:222\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/FluentSwitch.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"c028b91e5cc3c48487e7f5dcae315ac10c164f3af6a270b12bb7837145e9a72c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/FluentSwitch.kt:233-237 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/PixelSwitch.kt:197-201 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/FluentSwitch.kt: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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/FluentSwitch.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09e91eca445928d226f635c57d0fdc0e90e43b41bc96263ceb7307e6ea26866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt:200-209 | libs/modalsheet/src/main/java/com/t8rin/modalsheet/FullscreenPopup.kt:232-241 \u2014 before extracting anything, compare \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt\u0060 and \u0060libs/modalsheet/src/main/java/com/t8rin/modalsheet/FullscreenPopup.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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. 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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"327340eaeef58ad51624b1186f5e0669d6f41c47b2e7d328a4c7453a31818e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/ai-detect/src/main/java/com/wanbaohe/aidetect/ai/tool/DetectAiImageTool.kt:115-121 | feature/ai-detect/src/main/java/com/wanbaohe/aidetect/ai/tool/DetectAiTextTool.kt:128-134 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai-detect/src/main/java/com/wanbaohe/aidetect/ai/tool/DetectAiImageTool.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"aacf5b2985c2c817aeb6029d7ed5408ede570a0a2de1c113ad7665510e51719c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/ai-detect/src/main/java/com/wanbaohe/aidetect/ai/tool/DetectAiImageTool.kt:123-130 | feature/ai-detect/src/main/java/com/wanbaohe/aidetect/ai/tool/DetectAiTextTool.kt:136-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai-detect/src/main/java/com/wanbaohe/aidetect/ai/tool/DetectAiImageTool.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1fc9a8e016aecf1028ff7baf0601b8ea96ca7cee42eb6312332cb2fefe522e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/FontScaleSettingTool.kt:208-217 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ImportFontTool.kt:285-294 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/NightModeSettingTool.kt:202-211 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/StartEntrySettingTool.kt:238-247 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ThemeSettingTool.kt:859-868 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/FontScaleSettingTool.kt:208\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/FontScaleSettingTool.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0f6f77ca6d0f0e116930f0a8fb9fd471825698de9470ac054aa324b086a30e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt:179-183 | feature/ai/src/main/java/com/shifenmiao/ai/logic/ChatInputComponent.kt:111-115 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060categoryId\u0060 to \u0060Int) = if (categoryId == 0\u0060 in one and \u0060Int): Flow\u003CList\u003CPromptEntity\u003E\u003E = if (categoryId == 0\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d11e7b749f2dcf0db452123fb974f0792fed7c9ea6e4c70edbfc623d14a0631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt:275-281 | feature/ai/src/main/java/com/shifenmiao/ai/logic/ChatInputComponent.kt:135-141 \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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1743b7b677c88c85be7a9bee9c4019fc80b8aca34dcce4ed8f321dcb90a214d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:178-183 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:210-215 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bac077253beb973ef6db474dcd1aba99abd212e2767ae9789d706dbb665e3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:186-193 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:218-225 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b66cef4b0452cbb2c37d8477508b6b230f13ea4cb56f50c95f652e06b0d6bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:290-295 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:322-327 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ebad83f708e0b2ebb14c84d635c034cd8303c13354f9dbd6df9dfcad42efbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:754-763 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:783-792 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f6bf2fbefe6c1d47e5b281075cca569b1bccc90422607eba00a13f060ebad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:866-876 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:901-911 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8035b92b896c4e8b7abaeab23a701ce35f220b9f617c9975f217c515d06a28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:902-906 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:937-941 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ef3b2c056d02d5fdfad94b7365209d94311d6ed382f2108174484f714b1d48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/error/AiChatError.kt:443-449 | feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt:600-606 \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. 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":"feature/ai/src/main/java/com/shifenmiao/ai/error/AiChatError.kt"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e55861d4586f26e45080f472e515cd29aa31e999c12999ad99b9f090735e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/logic/ChatInputComponent.kt:272-280 | feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt:682-690 \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. 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":"feature/ai/src/main/java/com/shifenmiao/ai/logic/ChatInputComponent.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ae92c0687a82dee66d89dca19aeba72a891931e972e355883837a41b93af29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:531-541 | feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt:450-460 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:531\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb134e48bb44eb11a4df955fba4a6415c53336c3fa2a1bd727df32ef08a8cb5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt:347-354 | feature/audio-cover-extractor/src/main/java/com/t8rin/imagetoolbox/feature/audio_cover_extractor/ui/screenLogic/AudioCoverExtractorComponent.kt:205-212 | feature/load-net-image/src/main/java/com/t8rin/imagetoolbox/feature/load_net_image/presentation/screenLogic/LoadNetImageComponent.kt:170-177 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:522-529 | feature/wallpapers-export/src/main/java/com/t8rin/imagetoolbox/feature/wallpapers_export/presentation/screenLogic/WallpapersExportComponent.kt:170-177 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt:339-346 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6d55c267c752afca86ad076456b6ca07e2d3f5663acdc1ed373a416d315c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt:120-130 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt:98-108 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AiOrchestrationUseCase.kt:93-103 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060AiTaskEntity\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.AiTaskEntity\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.AiTaskEntity\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da8d125c4b583dc2378bf3d5b495cd2039a727717aaf5293240015267751c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt:179-190 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt:165-176 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AiOrchestrationUseCase.kt:156-167 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060AiTaskEntity\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.AiTaskEntity\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.AiTaskEntity\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20799b83506d7447f1cb8cf47b750eee28b4896fa7e8587f8f15f22372f8754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt:192-204 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt:178-190 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AiOrchestrationUseCase.kt:169-181 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060AiTaskEntity\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.AiTaskEntity\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.AiTaskEntity\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d70687fcc88bc746318fb7ce4a24974a67c842edca83235cc3ec4bf319e01d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt:55-61 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AudioFeedbackUseCase.kt:56-62 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AudioFeedbackUseCase.kt:54-60 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AudioFeedbackUseCase.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060AudioSettings\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.AudioSettings\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.AudioSettings\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"397ffe4ec8c8426cb539063ade1178725dfa7b7038850e06cff578701f7fcc06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt:102-106 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AudioFeedbackUseCase.kt:102-106 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AudioFeedbackUseCase.kt:106-110 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AudioFeedbackUseCase.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060AudioSettings\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.AudioSettings\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.AudioSettings\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1f29a4546c5f98385414958ca97ca22fbcdacbeb8588eee31040bdb11aaa98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt:139-144 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AudioFeedbackUseCase.kt:147-152 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AudioFeedbackUseCase.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 40 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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ac13c3f50c2e7e902936af6d8124e4e42609280e69e7b7df3ff193a17f367c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt:158-164 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/CreateGameUseCase.kt:166-172 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/CreateGameUseCase.kt:176-182 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/CreateGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53516fc9661913ae07d0967bf38eb1139f646c2eb6c0d730b91d7ffc102e7f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt:73-78 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/GameQueryUseCase.kt:71-76 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/GameQueryUseCase.kt:66-71 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/GameQueryUseCase.kt\u0060 as WHOLE FILES: this scan already matched 4 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060GameDetail\u0060 names \u0060com.wanbaohe.chess.application.dto.GameDetail\u0060 in one and \u0060com.wanbaohe.gomoku.application.dto.GameDetail\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac9802d48cf7b4fe4a4ff9834716fbfbe387dff66461808476e193123e25f85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt:144-154 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/GameQueryUseCase.kt:142-152 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/GameQueryUseCase.kt:135-145 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/GameQueryUseCase.kt\u0060 as WHOLE FILES: this scan already matched 4 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060GameStore\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.GameStore\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.GameStore\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"301fc76f60c5e1b0e35e846209aecffa97e2c4cd4355e4803a203b94d9f22802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:152-158 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt:207-213 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt:122-128 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:152\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. Note first that the copies are not typed on the same thing: \u0060OnlineRoomConfig\u0060 names \u0060com.wanbaohe.chess.domain.model.OnlineRoomConfig\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.OnlineRoomConfig\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8129e79195f4c00f35636fc932d7d4e1f700516184d5cbc47310a0ec75567c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:312-318 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt:234-240 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 113 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:308\u0060 calls \u0060get\u0060, \u0060orEmpty\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt:230\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":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0067cdb85638ca64a53e6f97cedecfc15b6db282bf7c10939b7099649e2e3bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:383-396 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt:424-437 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt:305-318 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060ConnectionState\u0060 names \u0060com.wanbaohe.chess.domain.model.ConnectionState\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.ConnectionState\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e3dab8a0d82a78f52ca33ff21c8c9b6951b2ad2c56bcd674f4e208a20bdcf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:398-409 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt:439-450 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt:320-331 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060OnlineMessage\u0060 names \u0060com.wanbaohe.chess.domain.model.OnlineMessage\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.OnlineMessage\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f27d5b648fbeff0b621af5dbbdf9e3c4436a539ca854e8e24dddfa10aa138a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:411-417 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt:452-458 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt:333-339 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060OnlineMessage\u0060 names \u0060com.wanbaohe.chess.domain.model.OnlineMessage\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.OnlineMessage\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b5fb113933b5e919860f5772dbf49022d1cb9522b194c0707f04b831c2c712"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt:424-433 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt:465-474 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt:346-355 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060ConnectionState\u0060 names \u0060com.wanbaohe.chess.domain.model.ConnectionState\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.ConnectionState\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2e70bad8fa25c78053063bd99728afd57475b6b385e171881b94195a0dcb1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt:113-125 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt:126-138 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiAnalysisComponent.kt:113-125 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"edefbcad9c698e016dc7f6af664402d7bbe3ee3d5ba8c2c43d9a29c76577072a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt:233-237 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt:247-251 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiAnalysisComponent.kt:224-228 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea149277d5587453baf06aee97da379dba3abc1a9f740033b26105faa717161d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt:254-264 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt:268-278 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiAnalysisComponent.kt:245-255 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fd20a44f6fe239803c1132ada7c7b0fe559c9df90d07da3e0ca71fc8c2f18c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:440-447 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:423-433 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060FenCodec\u0060 names \u0060com.wanbaohe.chess.domain.FenCodec\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.FenCodec\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0aa86cd4a5789f284359e6c1ae449a755b47ab7e44efa9ad164c24f599ffed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:979-984 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:1101-1106 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 106 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060FenCodec\u0060 names \u0060com.wanbaohe.chess.domain.FenCodec\u0060 in one and \u0060com.wanbaohe.gomoku.domain.FenCodec\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"67398b8176ae27dece4badf0e0855520799473fa191a4792e362c56bbf1a3e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:986-998 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:1108-1120 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:915-927 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 106 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"313dd84a392b1d2bddc33eda9d80957f2df70207fe170c6622606bedb231d7b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:1026-1033 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:1144-1151 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:956-963 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 106 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0b74862c8debbc89978af310f6d118c4de826202856f8bc8f900f7b99d2688"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:1035-1043 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:1153-1161 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:965-973 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 106 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":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"62420833930006ae5fd203eb62f3aa8c353007cd854e7fe3ecf5f8caf5dca374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/AiTaskDaoAdapter.kt:46-55 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/AiTaskDaoAdapter.kt:46-55 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/AiTaskDaoAdapter.kt:46-55 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/AiTaskDaoAdapter.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/AiTaskDaoAdapter.kt\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060AiTaskEntity\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.AiTaskEntity\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.AiTaskEntity\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/AiTaskDaoAdapter.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0825d37beaf4ae3038b92b0963c1c9d924ef91f3c2577adfbc5fc8e8db0950d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): feature/chess/src/main/java/com/wanbaohe/chess/data/ChessAiPrefsAdapter.kt:43-48 | feature/chess/src/main/java/com/wanbaohe/chess/data/SettingsPrefsAdapter.kt:41-48 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GomokuAiPrefsAdapter.kt:43-48 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/SettingsPrefsAdapter.kt:41-48 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/SettingsPrefsAdapter.kt:41-48 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/XiangqiAiPrefsAdapter.kt:43-48 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/SettingsPrefsAdapter.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/SettingsPrefsAdapter.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060AudioSettings\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.AudioSettings\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.AudioSettings\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/ChessAiPrefsAdapter.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fceef925845ec43864342cca29481ffc24aed4820b989b389887f4748230c81e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/ChessAiPrefsAdapter.kt:52-58 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GomokuAiPrefsAdapter.kt:52-58 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/XiangqiAiPrefsAdapter.kt:52-58 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060ChessAiConfig\u0060 in one and \u0060GomokuAiConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/ChessAiPrefsAdapter.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"59912b031a892025b118eab2ec72fa8b2be41e31f284f222c18888d1147c36d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/data/EngineMoveChooser.kt:112-116 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/PikafishMoveChooser.kt:140-144 \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. 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/EngineMoveChooser.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea96bf0acb3f39299117155e3dd0d211f008c8ea224f88c544c31d16bd5c2e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt:105-112 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/LlmMoveChooser.kt:105-112 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/LlmMoveChooser.kt:104-111 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/LlmMoveChooser.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae387da78b70dae7982ab110537c4d1adb06b13b4ddb37d4924eb0f73089121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt:155-159 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/LlmMoveChooser.kt:161-165 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/LlmMoveChooser.kt:155-159 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/LlmMoveChooser.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060EngineSlot\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.EngineSlot\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.EngineSlot\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42c43b815945489c2ac4b5c1c8094b2fdd56a9d80b47d0b55bf97833500d7a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:82-91 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt:82-91 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/online/SignalingClientImpl.kt:82-91 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 129 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f76d4ff9e3aa69ac18cf70ffded313092893fd5da90946ca637f650c01ef8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:112-120 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt:112-120 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/online/SignalingClientImpl.kt:112-120 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060SignalingClient\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.SignalingClient\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.SignalingClient\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b683c5397350ed0ff5825635266339632d7f19aa2e5a5d94f77618a77e9fdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt:245-250 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt:245-250 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/online/SignalingClientImpl.kt:245-250 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060OnlineRoomConfig\u0060 names \u0060com.wanbaohe.chess.domain.model.OnlineRoomConfig\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.OnlineRoomConfig\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b4819bdfe079da5965d785309a0d2d6de2b93c8f3a0c23188f76d4c74dbc67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessEvaluator.kt:40-47 | feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt:242-249 \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":"feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessEvaluator.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8384c4128e28ed750e43a91fda369a5e16760b7dbe205379fea92f4343dccf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt:259-265 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/search/GomokuSearch.kt:204-210 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/search/XiangqiSearch.kt:291-298 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/search/XiangqiSearch.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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":"feature/chess/src/main/java/com/wanbaohe/chess/data/search/ChessSearch.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"085d9a3d3d45774291627361a57422f149d15f2d7e46b32b9ba8b3486a61b5be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/domain/BoardSetupDraft.kt:82-90 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/BoardSetupDraft.kt:82-90 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/BoardSetupDraft.kt:79-87 \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":"feature/chess/src/main/java/com/wanbaohe/chess/domain/BoardSetupDraft.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f37f7c18f013fe6effb3cc664b2fa1323d068df7270242b3bf5147c7ec0849b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/domain/BoardSetupDraft.kt:92-100 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/BoardSetupDraft.kt:92-100 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/BoardSetupDraft.kt:89-97 \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":"feature/chess/src/main/java/com/wanbaohe/chess/domain/BoardSetupDraft.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a292685e8d6bb9b0992bf484175283ade61aa22d8850e892b746fb9b13d845a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/domain/BoardSetupDraft.kt:115-120 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/BoardSetupDraft.kt:109-114 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/BoardSetupDraft.kt:106-111 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/BoardSetupDraft.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de51402087c4e50a01e32422ec07bcd51911923cceedc9e5584ddb46a61294a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/domain/GameResultResolver.kt:53-59 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/GameResultResolver.kt:53-59 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/domain/GameResultResolver.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/GameResultResolver.kt\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060GameStatus\u0060 names \u0060com.wanbaohe.chess.domain.model.GameStatus\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.GameStatus\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/GameResultResolver.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b496b97ae7cea92cb6a24857bfaab2ecb564243a1319df842b0c87e4be1dd44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/domain/GameResultResolver.kt:65-69 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/GameResultResolver.kt:65-69 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/domain/GameResultResolver.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/GameResultResolver.kt\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060GameStatus\u0060 names \u0060com.wanbaohe.chess.domain.model.GameStatus\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.GameStatus\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/GameResultResolver.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cc7748a538dd7c6f2dffbca40314b8203eb4f273eda5a986b944908f6cff32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/domain/MoveGenerator.kt:184-191 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/MoveGenerator.kt:186-193 \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. Note first that the copies are not typed on the same thing: \u0060BoardPoint\u0060 names \u0060com.wanbaohe.chess.domain.model.BoardPoint\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.BoardPoint\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/MoveGenerator.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"41637b61a182ea440cf3940e5755835d53bb1c36a08d59d4dc6a91b8b57a6a7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/domain/model/OnlineMessage.kt:57-61 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/model/OnlineMessage.kt:57-61 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/model/OnlineMessage.kt:56-60 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/domain/model/OnlineMessage.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/model/OnlineMessage.kt\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"feature/chess/src/main/java/com/wanbaohe/chess/domain/model/OnlineMessage.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"985558da6bf28b128f403b55f224b20f00b9ba60a8602fb267e0ee059d95e7e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:452-460 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:402-410 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:432-440 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"98da06002771169390891da666fe44003a20d45e8d4adeecd6e22e4265373dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:499-504 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:443-448 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:464-469 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"7696d35a01ce815da6221653b6d68bcd881de9d181c78bac52c46bec5a3408fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:517-524 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:461-468 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:482-489 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5908a6d206fa8912341bfcb54770152df929eca5fb038bf910724fd9ecc636f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:560-566 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:504-510 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:525-531 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3c131e3d25f3a3ce2f76bc1f5e2116f672da80304c0c637187e23740f29df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:568-573 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:512-517 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:533-538 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060template\u0060 to \u0060ChessTTSTemplate\u0060 in one and \u0060GomokuTTSTemplate\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bea13a7379e1e13e838b393edc2a794c42543acad4baaf3afd0d36cd41825a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:575-580 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:519-524 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:540-545 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060template\u0060 to \u0060ChessTTSTemplate\u0060 in one and \u0060GomokuTTSTemplate\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5f654c42fbcb81686b42ff3bd3d4017b79d0fb34ffce5887efe55c0a923c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:680-686 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:624-630 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:646-652 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 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. 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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"3398615a99f94d0837c234f8b61d07a3f8483e0f157d4e4a5e2b069000f5a46b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt:777-782 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt:777-782 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt:777-782 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 428 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt: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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d0e1e0e8a1ad34517939e4ae6d2ef4855ea9819415d19d46b81b87ed094b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/protocol/ObjectStorageErrorParser.kt:40-44 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/protocol/ObjectStorageXmlParser.kt:106-110 \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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/protocol/ObjectStorageErrorParser.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d558e104f8005c37532d4380da4fa50157f765d3e9895ba52ff75a45bde3f7ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssAdapter.kt:76-83 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt:76-83 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosAdapter.kt:76-83 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/HuaweiObsAdapter.kt:68-75 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/TencentCosAdapter.kt:73-80 \u2014 before extracting anything, compare \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssAdapter.kt\u0060 and \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/TencentCosAdapter.kt\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssAdapter.kt:76\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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AliyunOssAdapter.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"684dc393268c16f7c213ce3f60dfd11db6e64c01d2226a830a8aa229f90f6ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt:55-65 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosAdapter.kt:55-65 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/TencentCosAdapter.kt:52-62 \u2014 before extracting anything, compare \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt\u0060 and \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosAdapter.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsS3Adapter.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4018799d0999cc441c7c92b25a2104a8f3dc8ca7a070f4afd37527157bd1a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt:148-152 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosSigner.kt:149-153 \u2014 before extracting anything, compare \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt\u0060 and \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/BaiduBosSigner.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/vendor/AwsSigV4Signer.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"85176450d152b381e31f46b123922686bf2d30888932216179c2ec549b0a742a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt:441-447 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt:505-511 \u2014 before extracting anything, compare \u0060feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt\u0060 and \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 101 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":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b654eda6fc101b51c8eafcea664b3d7bd82497265e5a61383f2f9713f3134a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/common/src/main/java/com/shifenmiao/common/voice/FunAsrClient.kt:111-118 | feature/common/src/main/java/com/shifenmiao/common/voice/IFlytekAsrClient.kt:125-132 \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":"feature/common/src/main/java/com/shifenmiao/common/voice/FunAsrClient.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fd429b8e0cca0710055f8dff8a47f86fc2c956f5139d996359fd0ad51968c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/screenLogic/DeleteExifComponent.kt:295-303 | feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:435-443 | feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt:309-317 | feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:418-426 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:502-510 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt:488-496 \u2014 before extracting anything, compare \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt\u0060 and \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/screenLogic/DeleteExifComponent.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14bec31bdcaeac603ace910b161facba57b912ca9ed492b2ff5c4dbf9260535"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/screenLogic/DeleteExifComponent.kt:305-313 | feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt:445-453 | feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt:319-327 | feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:428-436 | feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:512-520 | feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/screenLogic/WeightResizeComponent.kt:498-506 \u2014 before extracting anything, compare \u0060feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/screenLogic/FormatConversionComponent.kt\u0060 and \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt:438\u0060 calls \u0060getFormatForFilenameSelection\u0060 and \u0060feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/screenLogic/DeleteExifComponent.kt:316\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":"feature/delete-exif/src/main/java/com/t8rin/imagetoolbox/feature/delete_exif/presentation/screenLogic/DeleteExifComponent.kt"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"de16e5f62c0bb9cb23df22fe1a5244fec504a5cd776732b1429818f94edba66e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GomokuMoveFallback.kt:126-134 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/GameArbiter.kt:97-105 \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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GomokuMoveFallback.kt:126\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GomokuMoveFallback.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03d27b2852d1713a98cb49ea448098725fcd79ca2fecce2d8ccee6ac6021d62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/FenCodec.kt:57-65 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/FenCodec.kt:53-61 \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. Note first that the copies are not typed on the same thing: \u0060BoardPoint\u0060 names \u0060com.wanbaohe.gomoku.domain.model.BoardPoint\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.BoardPoint\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/FenCodec.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"21baec3f5cb10307ab8186670e848ddbc544cf3cee5701ff194d2d322fbcbbb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/FenCodec.kt:99-104 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/FenCodec.kt:79-84 \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. Note first that the copies are not typed on the same thing: \u0060BoardPoint\u0060 names \u0060com.wanbaohe.gomoku.domain.model.BoardPoint\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.BoardPoint\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/FenCodec.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a742230fdf927932065decf2dda9fe593c3a6572fb17782c6c95bda386812f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/IdPhotoExportConfigPanel.kt:328-332 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/export/ExportSettingsSheet.kt:762-766 \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":"feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/components/IdPhotoExportConfigPanel.kt"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"981501717e1c693a630015c2b5687769b2eec5b641d00e3e4d48577cee812197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt:254-261 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt:337-344 \u2014 before extracting anything, compare \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt\u0060 and \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt:333\u0060 calls \u0060undoCompletion\u0060 and \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt:251\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ebf5d6bacfe63205af5a808ce60c501116c523ce1994d481afdf268f9e902d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt:263-268 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt:346-351 \u2014 before extracting anything, compare \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt\u0060 and \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e98cd8ab728c222671a7d09bfab35636736dc2348172492b0e996c2168f20a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/QuickAddTodoComponent.kt:404-410 | feature/media-player/src/main/java/com/wanbaohe/media/ui/MediaDateGroups.kt:121-127 \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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/QuickAddTodoComponent.kt"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6de7ed88fb21583af383044092452a0b49d317063be5d25068fd9640334ac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt:77-81 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/TextCardDocumentCodec.kt:73-77 \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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de461731cec48e90956a5ac888e4db484a9851ee72966704a954bd31b6388f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt:792-796 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/TextCardDocumentCodec.kt:656-660 \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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b6f1ecce37bc405e7a454c9f877d6ed0e5d3238ce855112f299a79e3ae864d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:577-588 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:479-490 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db6e7bf5f915563053cdddb927f592fcf7d5d270ec1c11eec74e1d990bd3fa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:604-612 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:506-514 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e98113f42a127eaaac516cff3bca84e11ddd70f36f6cba867bf7a40ba33a6eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/data/MmkvOcrHistoryRepository.kt:123-130 | feature/translator/src/main/java/com/wanbaohe/translator/data/MmkvTranslationHistoryRepository.kt:97-104 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060records\u0060 to \u0060List\u003COcrHistoryEntry\u003E\u0060 in one and \u0060List\u003CTranslationRecord\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/data/MmkvOcrHistoryRepository.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4340017c817dd1bd1d291d603bb76d148234336a51eb8a595a7a9d0e6bd4aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt:356-362 | feature/webview/src/main/java/com/shifenmiao/webview/browser/bookmark/UrlBookmarkServiceImpl.kt:280-286 \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. 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":"feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbcf71f99b567275034f0227d170b2981d3a1e5b2762fbbf8fb2bf0198a4943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt:384-390 | feature/online/src/main/java/com/shifenmiao/online/component/EditPromptComponent.kt:346-352 \u2014 before extracting anything, compare \u0060feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt\u0060 and \u0060feature/online/src/main/java/com/shifenmiao/online/component/EditPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61c308fdabe2efd6124994df70024f2a0ae03af8a2286185d09ed13c5de6fd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/compress/screenLogic/CompressPdfToolComponent.kt:74-85 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_to_images/screenLogic/ExtractPagesPdfToolComponent.kt:114-125 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/screenLogic/RearrangePdfToolComponent.kt:74-85 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/screenLogic/RemovePagesPdfToolComponent.kt:73-84 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/screenLogic/RotatePdfToolComponent.kt:73-84 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/split/screenLogic/SplitPdfToolComponent.kt:85-96 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/compress/screenLogic/CompressPdfToolComponent.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/screenLogic/RearrangePdfToolComponent.kt\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/split/screenLogic/SplitPdfToolComponent.kt:83\u0060 calls \u0060getKey\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_to_images/screenLogic/ExtractPagesPdfToolComponent.kt:112\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/compress/screenLogic/CompressPdfToolComponent.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb554474adbdf2942b6ee48f5ef2fa90dfb8273de4725c6873272eca7acb2a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 9): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/compress/screenLogic/CompressPdfToolComponent.kt:109-118 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/images_to_pdf/screenLogic/ImagesToPdfComponent.kt:164-173 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/merge/screenLogic/MergePdfToolComponent.kt:99-108 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_preview/screenLogic/PreviewPdfToolComponent.kt:158-167 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_to_images/screenLogic/ExtractPagesPdfToolComponent.kt:212-221 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/screenLogic/RearrangePdfToolComponent.kt:109-118 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/remove_pages/screenLogic/RemovePagesPdfToolComponent.kt:108-117 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rotate/screenLogic/RotatePdfToolComponent.kt:121-130 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/split/screenLogic/SplitPdfToolComponent.kt:120-129 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/compress/screenLogic/CompressPdfToolComponent.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/rearrange/screenLogic/RearrangePdfToolComponent.kt\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/compress/screenLogic/CompressPdfToolComponent.kt:109\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/compress/screenLogic/CompressPdfToolComponent.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5badd1df0be883f6ca49d4796223673ba40caa3b8bdf6e0afa2198b3544f442"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/page_numbers/screenLogic/PageNumbersPdfToolComponent.kt:85-95 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/signature/screenLogic/SignaturePdfToolComponent.kt:96-106 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/watermark/screenLogic/WatermarkPdfToolComponent.kt:92-102 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/page_numbers/screenLogic/PageNumbersPdfToolComponent.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/signature/screenLogic/SignaturePdfToolComponent.kt\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/page_numbers/screenLogic/PageNumbersPdfToolComponent.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7a7cca1260b37bd34d4fde09bc446e6a41feee273d012574ae06d508068b7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/poem/src/main/java/com/wanbaohe/poem/ai/tool/QueryPoemFavoritesTool.kt:138-145 | feature/poem/src/main/java/com/wanbaohe/poem/ai/tool/SearchPoemTool.kt:173-180 \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":"feature/poem/src/main/java/com/wanbaohe/poem/ai/tool/QueryPoemFavoritesTool.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3abce59e8461a1840b5f5dc10ea09264e521afdc9ef9f6954ba9830094898d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:282-294 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:360-372 \u2014 before extracting anything, compare \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt\u0060 and \u0060feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41d23135610058fc5a20e9e6201561a60109a855797c0a285f75e1c146742a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:296-308 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:374-386 \u2014 before extracting anything, compare \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt\u0060 and \u0060feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"707b3cd05e02e02f932f60fa9c014f43659bee70391c674bb5c1bb085b600862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:344-354 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:426-436 \u2014 before extracting anything, compare \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt\u0060 and \u0060feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a8213c028adc84589e42e22df28fc32aba2f7f3414f4b625f98e0930163455"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt:356-368 | feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt:438-450 \u2014 before extracting anything, compare \u0060feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt\u0060 and \u0060feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"7260237a5b06b4338e7aa2c6bbe4975ac7fc49b5f7f711fe6444260215b2219d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:481-488 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt:135-142 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlPieSubPipeline.kt:140-147 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlPieSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 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. 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb8043ad0a19956e5ee55b12eecdb8fb6978548fba58842e72e5c83abcd9307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/LaidOutDiagramExport.kt:217-221 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:405-409 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:690-694 | libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/DiagramThemeMaterial3.kt:157-161 | libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt:898-902 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. 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, \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/theme/ThemeResolver.kt:892\u0060 calls \u0060paletteColorFill\u0060, \u0060withAlpha\u0060, \u0060paletteColorHeader\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:403\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/LaidOutDiagramExport.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e12a4fff712bc95a512ebf9f0a07dc2bd4e645ea9203eac05c132a374948ee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): libs/diagram/src/upstream/java/com/hrm/diagram/render/family/PieEntityKeys.kt:21-25 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:633-637 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:553-557 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:495-499 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlTimeSeriesSubPipeline.kt:576-580 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/family/PieEntityKeys.kt:21\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/family/PieEntityKeys.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a761ee2cdce4f5c71b17f8e157a89381ad55ff04fefde7389ed0533baa66a9fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/DiagramSession.kt:216-222 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt:139-145 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/DiagramSession.kt:216\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/DiagramSession.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad58b97f0e902f0fdda64f442b491f428918709e2065057b9cf2357a7e78f85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:222-226 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:194-198 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:251-255 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0197219a1d080631d30e11f9060e99c1ca9563074713cf0c68c2ce72afb792"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:411-417 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:696-702 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97b6a5e806d342230c4195a02236b911168aa79ff07f0a0165d64df9687c3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:595-601 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:677-683 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 144 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c1be0c94cb00db5224f8a68dadeeba8fd957e63ed18319643cdc8bf8e3e441"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:668-672 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlSaltSubPipeline.kt:212-216 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:668\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48c910e460733559a8b4d026ff2c1ebe5c039c069b5b3cc991074ff799c5710"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:793-800 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:407-414 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"502391aa1cf670c7d1354c45d5f164fc7b1838041c341bec4f407a1f7e0f086b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:103-112 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:106-115 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f5a618a2075a20ed8f6537b605dcb4e0f27aed02caeb4cb84d759f4d555633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:424-428 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:525-529 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2244d38aef6beebdea3336a48ea189433d863c827d99693e108e05946638788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:100-112 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:98-110 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 150 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a642652119e8a70ff05208a02f3037ee2e3fc7ac49f41bea00f1f8186beb551d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:412-419 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:548-555 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 150 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba09df9d1c6bb12868d524423c266ea026e37953252cb57b641a5b7c7ee7a4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): core/image-generation/src/main/java/com/shifenmiao/imagegeneration/di/ImageGenerationModule.kt:114-119 | core/image-generation/src/main/java/com/shifenmiao/imagegeneration/di/ImageGenerationModule.kt:138-143 | core/image-generation/src/overseas/java/com/shifenmiao/imagegeneration/di/OpenAiImageModule.kt:60-65 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/image-generation/src/main/java/com/shifenmiao/imagegeneration/di/ImageGenerationModule.kt:114\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":"core/image-generation/src/main/java/com/shifenmiao/imagegeneration/di/ImageGenerationModule.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8f278a63051d9d42b2e162449e500b5883f3ea98f1d52c925d569c0b211bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/storage/src/main/java/com/shifenmiao/storage/ColorPickHistoryStore.kt:43-49 | core/storage/src/main/java/com/shifenmiao/storage/ScanHistoryStore.kt:38-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":"core/storage/src/main/java/com/shifenmiao/storage/ColorPickHistoryStore.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddec9e7132fbeb9ac0b564431efe29bdec9c829c5525c855a9e3415b56f3b46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/AutoCornersShape.kt:100-106 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/AutoCornersShape.kt:115-121 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/ContiniousRoundedRectangle.kt:260-266 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/ContiniousRoundedRectangle.kt:276-282 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/AutoCornersShape.kt:100\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/AutoCornersShape.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b70e668f63cd0d6296021654aad0c4af56ce78804f3b0fa674b136ffc75938"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/AutoCornersShape.kt:130-136 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/ContiniousRoundedRectangle.kt:292-298 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/AutoCornersShape.kt:130\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/AutoCornersShape.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"38987560d922b6f0e592578a09106d37631b4f0f011be000d8ea0ef2e5a6b025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/preferences/PreferenceItemsGrid.kt:97-102 | feature/app/src/main/java/com/wanbaohe/app/components/AddMenuFloatingPanel.kt:103-108 | feature/common/src/main/java/com/shifenmiao/common/components/FeaturedComponents.kt:435-440 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060index\u0060 to \u0060Int): PreferenceItemTheme = when (index % 4\u0060 in one and \u0060Int): AddMenuItemTheme = when (index % 4\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/preferences/PreferenceItemsGrid.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cda56611314104814f1b4517e6a430ddb74d9cc80cf7744a735a8c53071de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/preferences/PreferenceItemsGrid.kt:105-110 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/preferences/PreferenceItemsGrid.kt:113-118 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/preferences/PreferenceItemsGrid.kt:121-126 | feature/app/src/main/java/com/wanbaohe/app/components/AddMenuFloatingPanel.kt:111-116 | feature/app/src/main/java/com/wanbaohe/app/components/AddMenuFloatingPanel.kt:119-124 | feature/common/src/main/java/com/shifenmiao/common/components/FeaturedComponents.kt:447-452 | feature/common/src/main/java/com/shifenmiao/common/components/FeaturedComponents.kt:455-460 | feature/common/src/main/java/com/shifenmiao/common/components/FeaturedComponents.kt:463-468 | feature/common/src/main/java/com/shifenmiao/common/components/FeaturedComponents.kt:471-476 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/theme/MarkTodoThemeColors.kt:59-64 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/theme/MarkTodoThemeColors.kt:67-72 \u2014 there are 11 copies across 4 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 11 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060theme\u0060 to \u0060PreferenceItemTheme): Color = when (theme\u0060 in one and \u0060AddMenuItemTheme): Color = when (theme\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/preferences/PreferenceItemsGrid.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"751d0e54fbc04e5805f797301f60e48f5f37fff1762f0e4515ae8efff09d1369"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderDefaults.kt:130-141 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/switches/CupertinoSwitch.kt:457-468 \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 \u0060core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderDefaults.kt:130\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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sliders/custom_slider/CustomSliderDefaults.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf0ba33e66208187b8eec00a24ecce45f47975c38bb81d5e4ebdac5a301ecd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/weather/src/main/java/com/wanbaohe/core/weather/data/location/AndroidCurrentLocationProvider.kt:78-88 | core/weather/src/main/java/com/wanbaohe/core/weather/data/location/AndroidLocationProvider.kt:51-59 \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":"core/weather/src/main/java/com/wanbaohe/core/weather/data/location/AndroidCurrentLocationProvider.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd47e45ecccbeb338dcea00aa2d8204c4b510cdcbb5df98efb85a94ea58c3e24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/BrowseFilesTool.kt:192-200 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageFilesTool.kt:246-254 \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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/BrowseFilesTool.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81508186f8511ef65612fa099e770589f14ba6cdac737cfefc0f7d53d948160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/EditFileTool.kt:320-328 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/GlobFilesTool.kt:115-123 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/GrepFilesTool.kt:120-128 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ProcessFileTool.kt:197-205 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ReadMultipleFilesTool.kt:110-118 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/StatFileTool.kt:86-94 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/WorkspaceRootsTool.kt:67-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 all 7 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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/EditFileTool.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f7ada477b3d4900e90c29e7b4d4f074b7d8d37e0867152e204ed94e624b91e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/PickFilesTool.kt:137-142 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/PickFolderTool.kt:127-132 \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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/PickFilesTool.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8197051db114bfc2d8ad0e37598e591b0b956756ca70298f162b73e56f74c3e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:409-416 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:419-426 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:446-453 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:456-463 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3e44ffa64c9e8455c3a3fffa41e988018c30c46e432d4da2c46980a36344e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:591-600 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:626-635 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3b6059c75fbfefa87a274d7d59469f1888c777f4d3c5e4f9aa6ed9fb040b28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:878-887 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:913-922 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 360 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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1649cf92030d06cf9f2b91c762d6ac80e41a9a2d6ebc14b776d52912c6bfc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt:116-126 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt:114-124 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060type\u0060 to \u0060Screen.ApngTools.Type\u0060 in one and \u0060Screen.WebpTools.Type\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30d38490e9682b49e4a0f41b57be298e39a1ee98dbf7ecbec21b254221bb5ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt:298-305 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt:290-297 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c868780393fda9d6ffe2cb62865e24f9ab0080658edde4833b362cf9cdbb23f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/screenLogic/CameraWatermarkComponent.kt:283-293 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screenLogic/IdPhotoComponent.kt:495-505 \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":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/screenLogic/CameraWatermarkComponent.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbfe0aeaa4b94d198c2afcdf6e2a897df6fa56a26cbb3d17e7c3f6b05b48d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/screenLogic/CameraWatermarkComponent.kt:298-308 | feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screenLogic/IdPhotoComponent.kt:510-520 \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":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/screenLogic/CameraWatermarkComponent.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"85812184d8c057b58c085a8f34d8950e1479d00ce09b101e7fc6bc2adeb400ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt:127-132 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt:140-144 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiAnalysisComponent.kt:127-131 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuAnalysisComponent.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060AudioSettings\u0060 names \u0060com.wanbaohe.chess.application.port.outbound.AudioSettings\u0060 in one and \u0060com.wanbaohe.gomoku.application.port.outbound.AudioSettings\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessAnalysisComponent.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"069406338e97c10958e1f5f5d1ab1016e279ee8ddb11b990424790be73bf5a2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt:674-678 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt:734-738 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt:587-591 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 106 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060GameMode\u0060 names \u0060com.wanbaohe.chess.domain.model.GameMode\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.GameMode\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec62bd8a406590fdbb2bc1b5ca0aa3cde73e02f9da36a30aa721bd3bab5580f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/component/ChessLibraryComponent.kt:184-189 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuLibraryComponent.kt:129-134 \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. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.wanbaohe.chess.R\u0060 in one and \u0060com.wanbaohe.gomoku.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessLibraryComponent.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccd959837542b34f45d88961f5b305b074ea0182ce0e78a8c7f0970dd671968"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:546-554 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:490-498 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"e294283ec8efa57e1280ca4126cb5a607d9e675e43733b2e15f21748ed591380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:595-600 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:539-544 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:560-565 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.wanbaohe.chess.R\u0060 in one and \u0060com.wanbaohe.gomoku.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65527b945d3f5f892bece1fae3d79a24e6cb76cedb3406942c4775607480e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt:614-621 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt:558-565 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt:579-587 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 136 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":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bab080a152fa0eee28030404b4f36872379504d6885b176a2b64fd8f4a2ef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): feature/color-tools/src/main/java/com/t8rin/imagetoolbox/color_tools/ai/tool/DeletePaletteTool.kt:135-140 | feature/color-tools/src/main/java/com/t8rin/imagetoolbox/color_tools/ai/tool/GeneratePaletteTool.kt:125-130 | feature/color-tools/src/main/java/com/t8rin/imagetoolbox/color_tools/ai/tool/ListColorPalettesTool.kt:96-101 | feature/color-tools/src/main/java/com/t8rin/imagetoolbox/color_tools/ai/tool/SavePaletteTool.kt:181-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 all 4 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":"feature/color-tools/src/main/java/com/t8rin/imagetoolbox/color_tools/ai/tool/DeletePaletteTool.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2488ddf2ae7921ee40930fa4c0410cf52b9bad1fc628cc0b9eb5be8c820fac27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/demo/src/main/java/com/shifenmiao/demo/screen/GlassComponentShowcaseSheet.kt:619-632 | feature/unit-converter/src/main/java/com/wanbaohe/unitconverter/screen/UnitConverterScreen.kt:1289-1302 \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 \u0060feature/demo/src/main/java/com/shifenmiao/demo/screen/GlassComponentShowcaseSheet.kt:619\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":"feature/demo/src/main/java/com/shifenmiao/demo/screen/GlassComponentShowcaseSheet.kt"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f607f7815126f8948b4674c5ea2ee6a6adce694040df82f67bc4c9987e5ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/ClaheHSLFilter.kt:39-45 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/ClaheHSVFilter.kt:39-45 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/ClaheJzazbzFilter.kt:39-45 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/ClaheLABFilter.kt:39-45 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/ClaheLUVFilter.kt:39-45 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/ClaheOklabFilter.kt:39-45 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/ClaheOklchFilter.kt:39-45 \u2014 before extracting anything, compare \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/ClaheHSLFilter.kt\u0060 and \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/ClaheHSVFilter.kt\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/ClaheHSLFilter.kt:39\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/ClaheHSLFilter.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b218d30d0efd67f2fbb1363e0ddc21140330cdfd6164075723df5401ca3d673"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/EqualizeHistogramAdaptiveHSLFilter.kt:39-44 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/EqualizeHistogramAdaptiveHSVFilter.kt:39-44 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/EqualizeHistogramAdaptiveLABFilter.kt:39-44 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/EqualizeHistogramAdaptiveLUVFilter.kt:39-44 \u2014 before extracting anything, compare \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/EqualizeHistogramAdaptiveHSLFilter.kt\u0060 and \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/EqualizeHistogramAdaptiveHSVFilter.kt\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/EqualizeHistogramAdaptiveHSLFilter.kt:39\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/EqualizeHistogramAdaptiveHSLFilter.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5426b45d1bf8a9c3b411b62ebdd8df0ae96fd07cd78ec80b02731ab0ae55f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastGaussianBlur2DFilter.kt:41-46 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastGaussianBlur3DFilter.kt:41-46 \u2014 before extracting anything, compare \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastGaussianBlur2DFilter.kt\u0060 and \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastGaussianBlur3DFilter.kt\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastGaussianBlur2DFilter.kt:41\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/FastGaussianBlur2DFilter.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1e64922bbc4f6c8bfb18993fba3c64b9386f06d2fa90e69a554986f4da287a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/LinearFastGaussianBlurFilter.kt:46-52 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/LinearFastGaussianBlurNextFilter.kt:46-52 \u2014 before extracting anything, compare \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/LinearFastGaussianBlurFilter.kt\u0060 and \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/LinearFastGaussianBlurNextFilter.kt\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/LinearFastGaussianBlurFilter.kt:46\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/model/LinearFastGaussianBlurFilter.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6abf7b64dd17f3cd1b44fec977367c43445b022357e557ee7d5b80341e48a18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/BasicFilterPreference.kt:42-51 | feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/MaskFilterPreference.kt:42-51 \u2014 before extracting anything, compare \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/BasicFilterPreference.kt\u0060 and \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/MaskFilterPreference.kt\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/BasicFilterPreference.kt:42\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":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/BasicFilterPreference.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"08db3cd80f7b5a4ac7467b5d240378b767fabbda4570ce4f1d80c827b9caa180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt:287-291 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/board/XiangqiBoard.kt:391-395 \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. Note first that the copies are not typed on the same thing: \u0060BoardPoint\u0060 names \u0060com.wanbaohe.gomoku.domain.model.BoardPoint\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.BoardPoint\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a056bcd92fb085e271d77bf3fc684ee36894c17b9508e8c49ddcbec838b56ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt:294-298 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/board/XiangqiBoard.kt:384-388 \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. Note first that the copies are not typed on the same thing: \u0060BoardPoint\u0060 names \u0060com.wanbaohe.gomoku.domain.model.BoardPoint\u0060 in one and \u0060com.wanbaohe.xiangqi.domain.model.BoardPoint\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf8ab9d2fb5e7d432f3d08a733192dd557649e3e1f6dcdedd392970bf282ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/lifetime/src/main/java/com/shifenmiao/lifetime/component/LifeTimeAddCountdownComponent.kt:60-66 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/component/LifeTimeAddMilestoneComponent.kt:60-67 \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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/component/LifeTimeAddCountdownComponent.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4de0e02082bde19843a93357e760d1b68e91cd1c84df1ad23340ed5eea4204a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): feature/lifetime/src/main/java/com/shifenmiao/lifetime/component/LifeTimeAddCountdownComponent.kt:68-77 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/component/LifeTimeAddEventComponent.kt:69-78 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/component/LifeTimeAddMilestoneComponent.kt:69-78 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/component/LifeTimeAddCountdownComponent.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4f1d31681d22eaf567a0f1bffc8794444d480425ea6c957d1cc87600a35679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/QuickAddTodoSheet.kt:338-345 | feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/HealthProfileForm.kt:159-166 \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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/QuickAddTodoSheet.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d43cc7715e0526d0b4a58ab1110f44955f019910ae07900fdbed82ae9c3cf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/compress/screenLogic/CompressPdfToolComponent.kt:92-104 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/split/screenLogic/SplitPdfToolComponent.kt:103-115 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/compress/screenLogic/CompressPdfToolComponent.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/split/screenLogic/SplitPdfToolComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/compress/screenLogic/CompressPdfToolComponent.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1f8fcfe43ee06a023e632611f6af4bcf01ecf7db6682dc87e3f1ae6c7a4f92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/compress/screenLogic/CompressPdfToolComponent.kt:123-138 | feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/split/screenLogic/SplitPdfToolComponent.kt:134-149 \u2014 before extracting anything, compare \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/compress/screenLogic/CompressPdfToolComponent.kt\u0060 and \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/split/screenLogic/SplitPdfToolComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/compress/screenLogic/CompressPdfToolComponent.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/compress/screenLogic/CompressPdfToolComponent.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f7135aa9c17dc3535b0003b2ca1f61da73a569ec50a8577ef24928443c6447"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): feature/settings/src/main/java/com/wanbaohe/setting/local/screen/LocalModelManagementScreen.kt:69-80 | feature/settings/src/main/java/com/wanbaohe/setting/memory/screen/MemoryManagementScreen.kt:73-84 | feature/settings/src/main/java/com/wanbaohe/setting/prompt/screen/SystemPromptManagementScreen.kt:49-60 | feature/settings/src/main/java/com/wanbaohe/setting/skill/screen/SkillManagementScreen.kt:91-102 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/settings/src/main/java/com/wanbaohe/setting/local/screen/LocalModelManagementScreen.kt:69\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060component\u0060 to \u0060LocalModelManagementComponent\u0060 in one and \u0060MemoryManagementComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/local/screen/LocalModelManagementScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca1c81beb857123f75369c25ef593668173d43054d39a4cff0b40602b4fae9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt:433-440 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlXYChartSubPipeline.kt:212-219 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"1510e4a9f70f147a8152f788edfa63c4c401011e18393ef2cc16b895e7059707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt:162-167 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlWbsSubPipeline.kt:156-161 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlWbsSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlMindmapSubPipeline.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"052db487c82e511381ea0ffcbf755053935b148d4a782ab277d1f85b58e1746c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/screenLogic/ImageStackingComponent.kt:166-183 | feature/image-stitch/src/main/java/com/t8rin/imagetoolbox/feature/image_stitch/presentation/screenLogic/ImageStitchingComponent.kt:186-203 \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 \u0060feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/screenLogic/ImageStackingComponent.kt:166\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":"feature/image-stacking/src/main/java/com/t8rin/imagetoolbox/feature/image_stacking/presentation/screenLogic/ImageStackingComponent.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"075ccb62068602e946fdd9b9ff015c9cf93de5130b6edb65fc9ec0ae4cf46983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:320-337 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:253-264 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:320\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7314c7246aa59e7ae1e7f7c2fba82216324e073e027a278665f708d11a07933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt:273-290 | feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt:265-282 \u2014 before extracting anything, compare \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt\u0060 and \u0060feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/screenLogic/WebpToolsComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt:273\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":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/screenLogic/ApngToolsComponent.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1000d8b10a62c1109ceeb9dc791252cf1ed2f02b7dd608f6db97faf413fa26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:867-883 | feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:982-998 \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 \u0060feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:867\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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d36da95d1ee09efa51f2c17c83d89190ba7032167fc778e01d00fbe700c172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/lifetime/src/main/java/com/shifenmiao/lifetime/data/FrequencyEventRepository.kt:169-185 | feature/lifetime/src/main/java/com/shifenmiao/lifetime/data/FrequencyEventRepository.kt:206-222 \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 \u0060feature/lifetime/src/main/java/com/shifenmiao/lifetime/data/FrequencyEventRepository.kt:169\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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/data/FrequencyEventRepository.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc46955f9032fbe66c707e96ce4f56efebc11ed73d858cb6f8168a7792cc1b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:894-910 | feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:1010-1026 \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 \u0060feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt:894\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":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97ef9f009f19946d5a3d9595ea9d87cef5906e3d7565bb3a12d75b71673c652"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/reminder/HabitReminderReceiver.kt:63-77 | feature/schedule/src/main/java/com/wanbaohe/schedule/reminder/ScheduleReminderReceiver.kt:55-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/schedule/src/main/java/com/wanbaohe/schedule/reminder/ScheduleReminderReceiver.kt:68\u0060 calls \u0060getString\u0060 and \u0060feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/reminder/HabitReminderReceiver.kt:79\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":"feature/habit-tracker/src/main/java/com/wanbaohe/habittracker/reminder/HabitReminderReceiver.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c075db6ef9abdd2c1c981301f594d385d483672126841eb60c2b4db40fcfe450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:198-212 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt:195-209 \u2014 before extracting anything, compare \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/NewGameDropMenu.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 164 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 \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt:198\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/NewGameDropMenu.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c975ac77ea6742b50eeec526fe4c79488203c5de43bec4822f9bc830de101cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/QueryBookkeepingRecordsTool.kt:181-194 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/QueryBookkeepingSummaryTool.kt:144-156 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/QueryBookkeepingRecordsTool.kt:181\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/QueryBookkeepingRecordsTool.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5038c93a1db08bc72b129ab314126deaf4c6503f49027d9c5d5e22ae160a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:748-761 | feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:811-824 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt:748\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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentFileServiceImpl.kt"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"f582a8fcd7895dc329aa7498358c98837b224a1b407a202ac117fda32ca07fba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:652-664 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:779-791 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:652\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88147e38e95069477c1898aa62209068c24fc83469159da0acd07b191921e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/network/src/main/java/com/shifenmiao/network/service/WebFetchService.kt:140-150 | core/network/src/main/java/com/shifenmiao/network/service/WebFetchService.kt:154-166 \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 \u0060core/network/src/main/java/com/shifenmiao/network/service/WebFetchService.kt:140\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":"core/network/src/main/java/com/shifenmiao/network/service/WebFetchService.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ba9031e551bc51cf8fadf77c24af80c569d4242bb5e76d76e10d7717c66a5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/ad-watch/src/main/java/com/wanbaohe/adwatch/screen/AdWatchScreen.kt:161-172 | feature/ad-watch/src/main/java/com/wanbaohe/adwatch/screen/AdWatchScreen.kt:179-190 \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 \u0060feature/ad-watch/src/main/java/com/wanbaohe/adwatch/screen/AdWatchScreen.kt:161\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":"feature/ad-watch/src/main/java/com/wanbaohe/adwatch/screen/AdWatchScreen.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e64784af148c1713fafe9de8d99199454c5cf26f6cde497fbb1d93f2bf02ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/app/src/main/java/com/wanbaohe/app/ui/WebViewModalBottomSheet.kt:296-307 | feature/app/src/main/java/com/wanbaohe/app/ui/WebViewModalBottomSheet.kt:342-353 \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 \u0060feature/app/src/main/java/com/wanbaohe/app/ui/WebViewModalBottomSheet.kt:296\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":"feature/app/src/main/java/com/wanbaohe/app/ui/WebViewModalBottomSheet.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"1600e3f99dcfe7fd9a4c5d36a14ba42687a973f308d45a6820b85d35757ab9e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:884-895 | feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:1269-1280 \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 \u0060feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt:884\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":"feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff6109a0b4a81912b6b719d46a7d795097e1f00ae14e2949ca3c9b030bfb561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/network/src/main/java/com/shifenmiao/network/AiRequestUrlResolver.kt:98-109 | core/network/src/main/java/com/shifenmiao/network/AiRequestUrlResolver.kt:112-123 \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 \u0060core/network/src/main/java/com/shifenmiao/network/AiRequestUrlResolver.kt:98\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":"core/network/src/main/java/com/shifenmiao/network/AiRequestUrlResolver.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe912c52f57f0dd67dda8f8e9c6d93bd6e549c26d5bf9d1113c7da8ba5127f3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/DshRootScreen.kt:438-448 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/DshRootScreen.kt:468-478 \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 \u0060feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/DshRootScreen.kt:438\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/DshRootScreen.kt"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c7bd45c7dbebc95c18f3edf5ed0ae4ba544b685458bef64abc0447f90be499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageBookmarkTool.kt:249-259 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:171-181 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt:171-181 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageXiangqiTool.kt:171-181 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageBookmarkTool.kt:249\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt:184\u0060 calls \u0060listOf\u0060, \u0060chessDeepLink\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageBookmarkTool.kt:262\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageBookmarkTool.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2269cb79b56a6a9430a65150857372a00b7aa14adfe556f7a0d0ed568e274bb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:104-114 | core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:150-160 | core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:196-206 | core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:430-440 \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 \u0060core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt:104\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":"core/weather/src/nonfoss/java/com/wanbaohe/core/weather/data/source/QWeatherDataSource.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25a51fe00c19e9802f3b34de5639aea49b0ada6d9e9d50d7415401d966c5d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:295-305 | feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt:281-291 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 625 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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt:295\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":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"1335da772286c924453b9c4c37fe7572df913f85727bd24f8dd187a19cec5ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageDecisionWheelTool.kt:141-150 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageDecisionWheelTool.kt:171-180 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageDecisionWheelTool.kt:141\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageDecisionWheelTool.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"96030565758385165aaa6b949fcbc5fae1ae370976b3454b7198a8d76da8ac1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt:225-234 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt:245-252 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt:266-273 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt:285-292 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt:225\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidSessionPipeline.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab641c3a021ae00930abf323a86f69acab10d814b1beadd15375e0e3f8e1f6da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:720-729 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:814-821 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt:720\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfacdf9285eb4877331bd6f89bba7229bad9854e0bd0d8e8eb0ebc39d9776ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:749-758 | feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:838-845 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt:749\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"869689dbf5b233e87b9fe0ce920e96b1d73d928671790203b6a99427aa71e230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt:333-342 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt:379-388 \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 \u0060core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt:333\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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"981571415d587c6f3e4fdde68e7520a03918b4c0a9734531eb5960ee5bbc27c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt:277-286 | feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt:360-369 \u2014 before extracting anything, compare \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt\u0060 and \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 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 \u0060feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt:277\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":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a13bcb72acd1f1a1631cf02a5d0dfb9b20650ec63d46051b2c2eeffc0f3145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/profile/src/main/java/com/wanbaohe/profile/screen/AboutUsScreen.kt:101-109 | feature/profile/src/main/java/com/wanbaohe/profile/screen/AboutUsScreen.kt:113-121 \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 \u0060feature/profile/src/main/java/com/wanbaohe/profile/screen/AboutUsScreen.kt:101\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":"feature/profile/src/main/java/com/wanbaohe/profile/screen/AboutUsScreen.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a3e998b27caf17475ce3eb1324485ae3d708f8f46b081667bd417a0af9af10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/cloud/BrowseCloudFilesTool.kt:101-109 | feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/cloud/BrowseCloudFilesTool.kt:128-136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/cloud/BrowseCloudFilesTool.kt:101\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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/cloud/BrowseCloudFilesTool.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e24cdb8d62f78c7e6ad31f7300a519f975a931d83b92f68b0092a3cdc4d3ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:200-208 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt:199-207 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 138 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt:200\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":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSettingsScreen.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6053d8cf6087704a6252f971d693fd83dc33d589f797dd515ff65d6775b439a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/network/src/main/java/com/shifenmiao/network/downloader/CharsetDetector.kt:98-106 | core/network/src/main/java/com/shifenmiao/network/downloader/CharsetDetector.kt:107-115 \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 \u0060core/network/src/main/java/com/shifenmiao/network/downloader/CharsetDetector.kt:98\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":"core/network/src/main/java/com/shifenmiao/network/downloader/CharsetDetector.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f454eedde85def84307f67e9faf0ceffc3367758697ee31a2a481d5498e6f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeGauge.kt:97-103 | feature/altitude/src/main/java/com/wanbaohe/altitude/ui/ElevationGaugeSection.kt:84-92 \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 \u0060feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeGauge.kt:97\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":"feature/altitude/src/main/java/com/wanbaohe/altitude/ui/AltitudeGauge.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1442f021c73459e38dd338fd09348e79ae684320b5450d2099407bd6214bc53e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt:457-465 | feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt:392-400 \u2014 before extracting anything, compare \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt\u0060 and \u0060feature/ai/src/main/java/com/shifenmiao/ai/service/PromptCreationService.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"feature/ai/src/main/java/com/shifenmiao/ai/service/AgentCreationService.kt"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"66547e0cb85e6ec05cf6e74f8e074b34ba0012d4345d71146cc4f6129ba37805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/FeedbackStore.kt:164-172 | feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/FeedbackStore.kt:253-261 \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 \u0060feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/FeedbackStore.kt:164\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/FeedbackStore.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"07385cd51082436d2d5a06e8a2aa3a3bc5180a6350432abe25aa1c3afc3b4932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/ImageResizeDialog.kt:125-132 | feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/ImageResizeDialog.kt:133-140 \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 \u0060feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/ImageResizeDialog.kt:125\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":"feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/ImageResizeDialog.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f365ef82f2c6075efcbb2f151267fa39defd884a63fd38a0aa7c39b73c931b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): feature/profile/src/main/java/com/wanbaohe/profile/screen/AboutUsScreen.kt:100-107 | feature/profile/src/main/java/com/wanbaohe/profile/screen/AboutUsScreen.kt:112-119 | feature/profile/src/main/java/com/wanbaohe/profile/screen/AboutUsScreen.kt:124-131 \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 \u0060feature/profile/src/main/java/com/wanbaohe/profile/screen/AboutUsScreen.kt:100\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":"feature/profile/src/main/java/com/wanbaohe/profile/screen/AboutUsScreen.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61c6badb43cedad724d9d559998da2d2bab19908e65c1935a1dc309865a5f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/WebDavFileSystemAdapter.kt:69-76 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/WebDavFileSystemAdapter.kt:91-98 \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 \u0060feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/WebDavFileSystemAdapter.kt:69\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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/WebDavFileSystemAdapter.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50c8ef2d386c2b264d89277856ef09ada8d13c3c3aa3e6c88689ca7aadf16e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidKanbanSubPipeline.kt:69-73 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt:75-79 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidTimelineSubPipeline.kt:89-96 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidKanbanSubPipeline.kt:69\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidKanbanSubPipeline.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b575502e94ac4f7f732eb6897a97c9b00363a5eab40812f8f2e8aa6fb7b39d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/file-browser/src/main/java/com/wanbaohe/file/browser/utils/FileHelper.kt:351-358 | feature/file-browser/src/main/java/com/wanbaohe/file/browser/utils/FileHelper.kt:383-389 \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 \u0060feature/file-browser/src/main/java/com/wanbaohe/file/browser/utils/FileHelper.kt:351\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":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/utils/FileHelper.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"a315645fb065f58d68b5a7f5a01eefa8641ed1ab136d98786acc7b54618929dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt:407-412 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/TextCardDocumentCodec.kt:372-378 \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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt:407\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060LayerBlendMode\u0060 names \u0060com.shifenmiao.model.editor.LayerBlendMode\u0060 in one and \u0060com.wanbaohe.markuplayers.domain.model.LayerBlendMode\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb68085538bd6f1f7bb5e7cb6beba15b0bfab67b8e206b9070964a790985cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:428-434 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/recipe/AndroidRecipeStore.kt:54-59 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:356-362 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:428\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"849949890d3d1e693c21d974d1f9cac164906d8fa6ec907000b3b74b50c68023"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:77-81 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt:97-102 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:77\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd163674065f7879a42a74a79f7e445e359c2b97ad4ec66f05320848dfd5d4ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/ai/src/main/java/com/shifenmiao/ai/error/AiChatError.kt:225-229 | feature/ai/src/main/java/com/shifenmiao/ai/error/AiChatError.kt:248-252 \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 \u0060feature/ai/src/main/java/com/shifenmiao/ai/error/AiChatError.kt:225\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":"feature/ai/src/main/java/com/shifenmiao/ai/error/AiChatError.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2b28e754cce2ce692c5d110add2f4ff65f2f3ad3626e64bba67cd32beaf710"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/SliderRenderer.kt:48-52 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/StepperRenderer.kt:54-58 \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 \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/SliderRenderer.kt:48\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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/SliderRenderer.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7670dad78e0b03607cce725a2d74e5b215e2c4e5c7e12bba75e0513f293f8cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt:59-63 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FolderPickerRenderer.kt:56-60 | core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ImagePickerRenderer.kt:57-61 \u2014 before extracting anything, compare \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ImagePickerRenderer.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt:64\u0060 calls \u0060resolveBoolean\u0060, \u0060resolveString\u0060 and \u0060core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FolderPickerRenderer.kt: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":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/FilePickerRenderer.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64c1080b623663ef86713c56ecd758102e957622ece58a601998ad1a6fb9c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/database/src/main/java/com/shifenmiao/database/utils/DataBaseUtils.kt:46-50 | core/database/src/main/java/com/shifenmiao/database/utils/DataBaseUtils.kt:90-94 \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":"core/database/src/main/java/com/shifenmiao/database/utils/DataBaseUtils.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb72ee8bb2bacf08b5c3eb05f06c73adb609f3be1b6147b1010517281d19ffc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:473-478 | core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt:526-531 \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":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"02869730d8b11c033eb03583139a5d488a15fc349ad063566494d86d1bf10949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearTiltShiftParamsItem.kt:52-61 | core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RadialTiltShiftParamsItem.kt:52-61 \u2014 before extracting anything, compare \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearTiltShiftParamsItem.kt\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RadialTiltShiftParamsItem.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearTiltShiftParamsItem.kt:63\u0060 calls \u0060remember\u0060, \u0060mutableFloatStateOf\u0060, \u0060toFloat\u0060 and \u0060core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/RadialTiltShiftParamsItem.kt:63\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/filterItem/LinearTiltShiftParamsItem.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4672bf4e2c9af558f9b5cbbeb6054f8f4f106a10e3f1353569a56205ef8505f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/network/src/main/java/com/shifenmiao/network/utils/NetworkUtils.kt:74-79 | core/network/src/main/java/com/shifenmiao/network/utils/NetworkUtils.kt:134-139 \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":"core/network/src/main/java/com/shifenmiao/network/utils/NetworkUtils.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a0b406fdec2cbd2899b853a6ed91c039cc0a297d3210b8a2daea4750e6549c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCustomSlider.kt:324-329 | core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCustomSlider.kt:376-381 \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCustomSlider.kt"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa81932f3f1b2718e51791a3c8149a188f63826333f3fb8588751bf8f4c4c6b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:645-653 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:610-618 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:645\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"36569d6bc564fc7be539fd332744d57db6d3147940402c9302943465eb7502e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:768-777 | feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt:749-758 \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 \u0060feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt:768\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"8287f2935042dd9f5c7bb92a30381077f647d6d803687df88e49422e2d9b2eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:325-329 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt:115-119 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt\u0060 and \u0060feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt:325\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. Note first that the copies are not typed on the same thing: \u0060Side\u0060 names \u0060com.wanbaohe.chess.domain.model.Side\u0060 in one and \u0060com.wanbaohe.gomoku.domain.model.Side\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd91667b1236647a8d6ecd2dbe43f6751081ccf8bd9f816355546c2d8dbeb093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/chess/src/main/java/com/wanbaohe/chess/domain/MoveGenerator.kt:161-167 | feature/chess/src/main/java/com/wanbaohe/chess/domain/MoveGenerator.kt:174-180 \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 \u0060feature/chess/src/main/java/com/wanbaohe/chess/domain/MoveGenerator.kt:161\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/chess/src/main/java/com/wanbaohe/chess/domain/MoveGenerator.kt:173\u0060 calls \u0060pieceAt\u0060, \u0060BoardPoint\u0060 and \u0060feature/chess/src/main/java/com/wanbaohe/chess/domain/MoveGenerator.kt:160\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":"feature/chess/src/main/java/com/wanbaohe/chess/domain/MoveGenerator.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f18227827799873b0f506b3401e3b2a56b9dd5c27e09db73f2b9fe1f4bef39e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): feature/chess/src/main/java/com/wanbaohe/chess/domain/model/GameSetup.kt:75-82 | feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/model/GameSetup.kt:75-82 | feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/model/GameSetup.kt:73-80 \u2014 before extracting anything, compare \u0060feature/chess/src/main/java/com/wanbaohe/chess/domain/model/GameSetup.kt\u0060 and \u0060feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/model/GameSetup.kt\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/model/GameSetup.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f34e96258e23e3bd15d0ce9e5d5cb2c930bab9e25f37b2b1e0f8ef54fb33cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screenLogic/CloudStorageComponent.kt:425-429 | feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/service/CloudFileService.kt:54-58 \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":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screenLogic/CloudStorageComponent.kt"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ec1f30b06d9a4a3095f219c65267269c19e3c503ec45c2ec4f7ada9b83cbd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/PathHelper.kt:203-207 | feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/PathHelper.kt:256-260 \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 \u0060feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/PathHelper.kt:203\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":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/PathHelper.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"04df84b3a2484ead1853094420378bfd875f866443fc1ef93673d902a56564a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:520-525 | feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt:422-427 \u2014 before extracting anything, compare \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt\u0060 and \u0060feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 256 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 \u0060feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt:520\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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c501d15e33fcfbf7dee724728df43986ea8f4deaeba821a78617a3df6529a53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/TextLayerRichText.kt:67-71 | feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/TextBlock.kt:180-184 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/TextLayerRichText.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d9b2ea18eecb7921b790fdcb25c756d32837e5cc93b0594ae67a7a2cf2ad9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/InPlaceTextLayerEditor.kt:153-157 | feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/TextLayerPreviewRenderer.kt:84-88 \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":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/InPlaceTextLayerEditor.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c269707d2a38507a2d26812993e98656263dc4796fccc447e282be08560038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:306-310 | libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:414-418 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c0d70a348203ce8dddcd7d1e11cab051bf8983cfab65d05c76b71f763f2f2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:512-516 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlPieSubPipeline.kt:174-178 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt:512\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/export/FamilyOneShotRenderers.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"4578d33ce20d9c671bb7534651aad8df5ee6cb0cc8ca7c625e7b5eb48edd5976"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt:439-443 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:578-582 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidArchitectureSubPipeline.kt"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d4f3dc7b69a5b3d85485c98d4ceada18160e09af40f21c47cfa814fb012165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt:256-262 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:366-372 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidBlockSubPipeline.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe242143ac3d09aa1789de113e543b0f753d26ee88002e0a9c8062b6668be6c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt:166-170 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:278-282 \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. 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidC4SubPipeline.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf56b758e692dd8177f4ed8595c700c401570ced71cd57f3c5fc22241d6d4b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt:430-435 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt:576-581 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlErdSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 144 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidErSubPipeline.kt"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"72258ade7d4852b3f1a68fcb40599a399ab0606489da13ad399ba2e05ea95c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGaugeSubPipeline.kt:183-189 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidPieSubPipeline.kt:169-175 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGaugeSubPipeline.kt:183\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGaugeSubPipeline.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d1d94f949b40633412471b7c6efd7bb290d6f7b00d30a4ccff887141bfee67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt:803-807 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt:1049-1053 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:688-692 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlObjectSubPipeline.kt:422-426 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt:417-421 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:558-562 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlActivitySubPipeline.kt"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"89151eb61d8657409492fa43cd81e36d287fdf43715e8951fd1999011354c157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt:357-361 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:216-220 \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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61f7c9dc7b1bff14c1f3d841aab1c1198229bfbc95fc8f1ea00abaf818949ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt:402-406 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:358-362 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"019dd7deaf641511db29232a945641a925f1f9f8e27a65d7a2429cb1fa282a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt:516-520 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt:246-250 \u2014 before extracting anything, compare \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt\u0060 and \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlUsecaseSubPipeline.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 140 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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDeploymentSubPipeline.kt"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"1731be0207ede7a0f993681ca3aa95e138be8273d0b13eb2a348f38ecf9332e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:355-359 | libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlNetworkSubPipeline.kt:488-492 \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 \u0060libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt:355\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":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlDitaaSubPipeline.kt"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1de257186f52cf33128842004ad3199441a48edef759862036b9a70ee647a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 2): libs/twain/src/main/java/io/noties/markwon/prism4j/languages/Prism_javascript.java:69-80 | libs/twain/src/main/java/io/noties/markwon/prism4j/languages/Prism_kotlin.java:63-79 \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 \u0060libs/twain/src/main/java/io/noties/markwon/prism4j/languages/Prism_javascript.java:69\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":"libs/twain/src/main/java/io/noties/markwon/prism4j/languages/Prism_javascript.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39e33c09c407a36be080e7953951ee3527878707992cd9967a0c9a7e295e169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): libs/twain/src/main/java/io/noties/markwon/prism4j/languages/Prism_go.java:21-29 | libs/twain/src/main/java/io/noties/markwon/prism4j/languages/Prism_kotlin.java:25-35 \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 \u0060libs/twain/src/main/java/io/noties/markwon/prism4j/languages/Prism_go.java:21\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/twain/src/main/java/io/noties/markwon/prism4j/languages/Prism_go.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d07dd072eed6cbdbd392d0c7cd6aa54d803136eee1bead4bb3bec536b06c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/twain/src/main/java/io/noties/markwon/prism4j/syntax/Prism4jThemeDarkula.java:67-77 | libs/twain/src/main/java/io/noties/markwon/prism4j/syntax/Prism4jThemeDefault.java:79-89 \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 \u0060libs/twain/src/main/java/io/noties/markwon/prism4j/syntax/Prism4jThemeDefault.java:79\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":"libs/twain/src/main/java/io/noties/markwon/prism4j/syntax/Prism4jThemeDarkula.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e09557af31c0c360cbfe3297be49cdeb163c41d9ddeea731a5d2914263f07d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): fastlane/push_images.py:217-233 | fastlane/push_images.py:304-320 \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":"fastlane/push_images.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66c2d64c2f76ce2beef7a68948d74f84bc75c6c8e6f0d6ac7a72e89e4c68044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fastlane/fetch_images.py:43-51 | fastlane/fetch_listing.py:27-35 \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":"fastlane/fetch_images.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"558fade941a6015d5e2493b79febfcccda5b6934cadb3e07d93ff9b0750533e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fastlane/push_images.py:57-65 | fastlane/push_listing.py:39-47 \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":"fastlane/push_images.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcc2b09e389b9d09491a855303758a548dababb5d607d001bd11899a85bbda8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fastlane/fetch_images.py:76-82 | fastlane/fetch_listing.py:56-62 \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":"fastlane/fetch_images.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7c53b9718f4b45b6e70e34d4f9bc404fdccf362cc8be5d9d0b4b9453edd0eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fastlane/push_images.py:244-251 | fastlane/push_images.py:329-336 \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":"fastlane/push_images.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f237326f384b03d26e0e0c6f8ea901607eaa5a8f0282b3e59657a8e2c5aa759"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): fastlane/fetch_listing.py:48-52 | fastlane/push_images.py:145-149 | fastlane/push_listing.py:76-80 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fastlane/fetch_listing.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7bc61b954320700a60771d8f9c9d5be9a27f1a092d64d649e3d5717a80b020"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): feature/demo/src/main/java/com/shifenmiao/demo/screen/A2uiComponentGalleryScreen.kt:315-344 | feature/demo/src/main/java/com/shifenmiao/demo/screen/A2uiComponentGalleryScreen.kt:351-375 \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":"feature/demo/src/main/java/com/shifenmiao/demo/screen/A2uiComponentGalleryScreen.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"1946e7d2ad4d33f5a4651c6f0ded530cb975bd14defb50cf137195adbeaa8b93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): feature/speed-test/src/main/java/com/wanbaohe/speedtest/data/SpeedTestRepositoryImpl.kt:255-272 | feature/speed-test/src/main/java/com/wanbaohe/speedtest/data/SpeedTestRepositoryImpl.kt:275-293 \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":"feature/speed-test/src/main/java/com/wanbaohe/speedtest/data/SpeedTestRepositoryImpl.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"baae0f6a7eb0b634f1117c4c409c8c877ed129e5dc865c2f556253ecac172ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/demo/src/main/java/com/shifenmiao/demo/screen/DemoScreen.kt:346-359 | feature/demo/src/main/java/com/shifenmiao/demo/screen/DemoScreen.kt:522-535 \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 \u0060feature/demo/src/main/java/com/shifenmiao/demo/screen/DemoScreen.kt:346\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":"feature/demo/src/main/java/com/shifenmiao/demo/screen/DemoScreen.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fa05aed5cbc6e9a7da776fb054174d39b3f7b2210cc6a988f697e6fe0665a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/speed-test/src/main/java/com/wanbaohe/speedtest/data/SpeedTestRepositoryImpl.kt:258-270 | feature/speed-test/src/main/java/com/wanbaohe/speedtest/data/SpeedTestRepositoryImpl.kt:279-291 \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 \u0060feature/speed-test/src/main/java/com/wanbaohe/speedtest/data/SpeedTestRepositoryImpl.kt:258\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":"feature/speed-test/src/main/java/com/wanbaohe/speedtest/data/SpeedTestRepositoryImpl.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f646828edaf0091e4a88a9a8b531f9e2b6a3a9e3f93812ef8d5b4e9a52d0f68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 3): feature/demo/src/main/java/com/shifenmiao/demo/screen/NavigationDeeplinkHelpSheet.kt:165-176 | feature/demo/src/main/java/com/shifenmiao/demo/screen/NavigationDeeplinkHelpSheet.kt:179-190 | feature/demo/src/main/java/com/shifenmiao/demo/screen/NavigationDeeplinkHelpSheet.kt:191-198 \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 \u0060feature/demo/src/main/java/com/shifenmiao/demo/screen/NavigationDeeplinkHelpSheet.kt:165\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"feature/demo/src/main/java/com/shifenmiao/demo/screen/NavigationDeeplinkHelpSheet.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdfa18836faa0d3f7769ae59f97b0e5b839ecf79472d0d48589fb56b2dffdfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/demo/src/main/java/com/shifenmiao/demo/screen/A2uiComponentGalleryScreen.kt:317-326 | feature/demo/src/main/java/com/shifenmiao/demo/screen/A2uiComponentGalleryScreen.kt:353-362 \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 \u0060feature/demo/src/main/java/com/shifenmiao/demo/screen/A2uiComponentGalleryScreen.kt:317\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/demo/src/main/java/com/shifenmiao/demo/screen/A2uiComponentGalleryScreen.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0cd4c44fa289050221e688e2b4a3f555a29219b82c3fa6f1dcf08b8b78279d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scripts/license_header_origin.py:217-223 | scripts/license_header_origin.py:224-230 \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":"scripts/license_header_origin.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad84710fc9de9a80a4a16732a2f4d09d4decd1b9c08844010d9ccfa18c19dd0d"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:ad-watch: WanBaoHe:feature:ad-watch has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7d0e025727d3edda5cceb4560d33a144abe219fc8d7a9e64c0aaeb3a5c872f18"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:ai-detect: WanBaoHe:feature:ai-detect has instability 0.89 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f6de43e2d72036bb7d26e87f65085e830c8721ea468b2f63591980a5c29ee5ab"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:ai-image: WanBaoHe:feature:ai-image has instability 0.88 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d02b89a961fbde2e63ac6b5dbe6abcaf8d9ea047c8e96719f18de481bcca04e5"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:altitude: WanBaoHe:feature:altitude has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f612e9064d953cadcfbbb12374eb9c4ae7cc90798109252fb6eb6418fb0d5e72"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:app: WanBaoHe:feature:app has instability 0.99 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91afd8c785a0d9df80db2e7a3760cabd88a34ad8b161388053ba05cc16a6edc0"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:blessing-wall: WanBaoHe:feature:blessing-wall has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f13d7ba54cc4b27d3c12381d023d42f181295a41041496b6595a11430f3bb8d5"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:blog: WanBaoHe:feature:blog has instability 0.91 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"24cb3c8b6b1476c5aed9719ee58bbe0d366682f8a199a40eeaacbafe594065a9"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:camera-watermark: WanBaoHe:feature:camera-watermark has instability 0.91 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce0163237abc479463e178864eb2ae7d8ae964b655de6dc1a8bad180d5731c23"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:decision-wheel: WanBaoHe:feature:decision-wheel has instability 0.89 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d310ab86a7c5a3cdc3eef8a979867c10b3e8c3d377934126e285218db80ce5c7"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:device-status: WanBaoHe:feature:device-status has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3fcc373990d9580c826d31eb1946391088bb760c07e031f6a9bf7662f47e8933"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:dice-roller: WanBaoHe:feature:dice-roller has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a3fd14fb84f3f7fae2f12bb40d18f147354fc9f986cf43154ba6741f6cf9b767"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:dsh-client: WanBaoHe:feature:dsh-client has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d19b43379c3e399ad01b56385b765c00f10fb6ca2820a5e11c6d93262f1eb9f2"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:file-browser: WanBaoHe:feature:file-browser has instability 0.82 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"94cd26eac2280b6cb91f38c850ec853cf7029efa8be6ed1c629abd1c0429b44a"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:file-transfer: WanBaoHe:feature:file-transfer has instability 0.89 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"90ef905fc0bcc37d29dd4ce9f2f3c2d31ab87e943abf1687c55c4c7c448c2917"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:game2048: WanBaoHe:feature:game2048 has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6bae14d983f1f8f0fe7782767ddee065d127168393c7b3f15f672d5e85146b34"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:habit-tracker: WanBaoHe:feature:habit-tracker has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bc65dd11fe26f9c7ff080a90b98b43643a41cccb32d5677f9b03e48c04621f89"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:household-items: WanBaoHe:feature:household-items has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"26958f9fdbb02d1b5c26b315f3649974176d13617d7ed7a85224cf99288a47c0"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:iching-divination: WanBaoHe:feature:iching-divination has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b2e138e3ca17c84d3c4f2452abcd1481c7c6d0db4ecf888d0900830bf94eb81d"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:id-photo: WanBaoHe:feature:id-photo has instability 0.92 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0cceb5a320e73d46cf06a4fec615ec3e3c264077b2c93f104ed1318a307e9188"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:lifetime: WanBaoHe:feature:lifetime has instability 0.89 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"34be3874f458eda11424789bc787752ed90b91f2232188c41737e9b09990d762"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:loan-calculator: WanBaoHe:feature:loan-calculator has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2b997a18d842b7e9d6af699c634a64882ea8c3e72e9b8399650f44e1025987a1"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:mahjong: WanBaoHe:feature:mahjong has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0b31e5022e77fd1057ec2da0c6b9c546a4f0ff0b1445aa4521c4f1282c5e26c8"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:markup-layers: WanBaoHe:feature:markup-layers has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f740673d15a9b7d577dbcbaace24993f7f74fb93fdfd268ea13a36e1e6fe561c"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:marquee: WanBaoHe:feature:marquee has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"07ccb1af866f3d4fc509fc4ddca2c5ba33b5acd9f956d1ee2893428cf7824e25"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:ocr-document: WanBaoHe:feature:ocr-document has instability 0.92 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fe3f4c48c659752b676928c1576ea7c8e5bf0a4a6c7fbeb65bfa81866408a3f7"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:online: WanBaoHe:feature:online has instability 0.88 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f069dc3831b1c77d7f8837c6d12b1d8159ec826cc1d8e261edea06217b979424"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:period: WanBaoHe:feature:period has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"78dd54d770e57d99078cb2847739f03e6e1b016395d861d8b56e5443caddd4e6"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:poem: WanBaoHe:feature:poem has instability 0.88 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e148f9ff69833d9258878db094634b07bc2d2e7623ec4c35a00d6005100c38bf"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:profile: WanBaoHe:feature:profile has instability 0.92 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3a8a316163be9b49d06a8cdb55b359e5c059e162fd923aa056b90803e50b941f"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:record-center: WanBaoHe:feature:record-center has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2a6797af0862691a076aaa2bf382683f9f0b6d30685a9eb3d0889f5814ec906d"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:search: WanBaoHe:feature:search has instability 0.89 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e3a78bfd082f44fe89cbe037045f82548c65603d9e26277ddd4a9b04f64d198d"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:single-edit: WanBaoHe:feature:single-edit has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6dde5736b0ae16be0af6493d2f5066ae0d326426c8b7db69b5a2cba144b83a18"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:speed-test: WanBaoHe:feature:speed-test has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ca555aef751a5a2ea3dc89728f03658dd9d591cfb1b9ce53939c1a5692868f05"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:sudoku: WanBaoHe:feature:sudoku has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3f68ff0c924f89276aac2a075ddd5207a2d7ba197948e54b7cf99308bfac435d"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:survive30s: WanBaoHe:feature:survive30s has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a7bc8ad984c3efe824f861c800fc8b7da8e3b1b88c82193110c99686d9793b85"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:teleprompter: WanBaoHe:feature:teleprompter has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"392a4f32ad7c359b6fca919f5030bf519e7bab8e0944609cca49154de85aa7a8"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project WanBaoHe:feature:translator: WanBaoHe:feature:translator has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e0ffcd263b22f7547bf6a6ba77dbdab104b7d9d28d53c7558bc9ae1f83d00428"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:core:camera-api: WanBaoHe:core:camera-api: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"017f520d62914aec64b414a5c9d43a5bdb97df8cb10df717dcf596e6d9630be4"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:core:resources: WanBaoHe:core:resources: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 17 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f1eddb345cdb068839f1989e686b62a89bdbd7a911c24b675d11ccaba282e48b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:libs:dynamic-theme: WanBaoHe:libs:dynamic-theme: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b05ec22a7c2481cfe663fa3cad11a41b1643f4e9105df7402dfd529a72d16b61"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:libs:gesture: WanBaoHe:libs:gesture: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"680fe4a428c5a9dc38908876d1916f67825266f7a9ba4ce8d3e37bd6c2e848f3"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:feature:watermark-template: WanBaoHe:feature:watermark-template: abstractness 0.03, instability 0.00, distance 0.97 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f4da5c50db43110f13b48d074924c7ecf56a21145b64b6eeb93f7b1bb553538b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:libs:diagram: WanBaoHe:libs:diagram: abstractness 0.03, instability 0.00, distance 0.97 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a2d7f14ecd769d345a0682f07d64abde206bfa611306667f6935643413aade52"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:libs:rich-text-editor: WanBaoHe:libs:rich-text-editor: abstractness 0.05, instability 0.00, distance 0.95 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a6c78d3281c231ba49cb23c15bee99e72ab7ec565990c5741da3b2026307881"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:core:r: WanBaoHe:core:r: abstractness 0.07, instability 0.00, distance 0.93 \u2014 zone of pain \u2014 concrete and depended on by 18 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fbdaf0bc076d7e7812f919ce523e461870d2f976b8fdda5d68ddea6ac27f323a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:libs:modalsheet: WanBaoHe:libs:modalsheet: abstractness 0.07, instability 0.00, distance 0.93 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf81c1652c6a17e2ce16910bbdbbc106da56b5ca5cf8a58f57ec2bcd9a7e81fd"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:libs:collages: WanBaoHe:libs:collages: abstractness 0.08, instability 0.00, distance 0.92 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fc3ebcf3e014b12d753e2920ae8fd07452ae576c118a019dbceff826292f289c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:feature:noise-generation: WanBaoHe:feature:noise-generation: abstractness 0.08, instability 0.00, distance 0.92 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"658793e7b31354287cfb099760842173d00b683e1c7f6e16e35346da8a582948"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:core:model: WanBaoHe:core:model: abstractness 0.04, instability 0.04, distance 0.92 \u2014 zone of pain \u2014 concrete and depended on by 64 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3612c48d15db80b6477ccf5d0badc4ff4ba7fce07947354a4ada2d8f9fb7b26c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:feature:quick-tiles: WanBaoHe:feature:quick-tiles: abstractness 0.10, instability 0.00, distance 0.90 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"26b451c04d9772976520a7ab14caa60ca9bded9b892f7119c73eafdff7645677"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:core:a2ui: WanBaoHe:core:a2ui: abstractness 0.10, instability 0.00, distance 0.90 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9279ed3e7f388caa82489eca98c10e76a929b1124f010ce2a72ecf9767c4980a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:core:theme: WanBaoHe:core:theme: abstractness 0.08, instability 0.04, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 55 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ed8d08069b383b0fb8aff8cd5129d35ff0d52214bf4206f8a6eba07f19abe202"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:core:domain: WanBaoHe:core:domain: abstractness 0.07, instability 0.06, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 17 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"196ee0d1dbf954175d213d516e61be0c5134e5f5938494285311289c2003e9cc"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:core:storage: WanBaoHe:core:storage: abstractness 0.00, instability 0.14, distance 0.86 \u2014 zone of pain \u2014 concrete and depended on by 24 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9ec52e92db915734f2aacc142885b2d980cb0fb58b0ac71bba04ef646c1133d7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:feature:image-stacking: WanBaoHe:feature:image-stacking: abstractness 0.17, instability 0.00, distance 0.83 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f9f3fae73ae08e741e74cfabaebd5138a8ccc0447d5db097d015578b991ba01d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:libs:snowfall: WanBaoHe:libs:snowfall: abstractness 0.17, instability 0.00, distance 0.83 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d57cc5609e85913561654053c41c6fb1de4c12abfb0bf8658e4b4e073b22fec8"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:feature:wechat: WanBaoHe:feature:wechat: abstractness 0.00, instability 0.20, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"06f4512b10ea97b62da504490e0d67bd153fdeff37e2cd24b904d189ead90b57"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:feature:gif-tools: WanBaoHe:feature:gif-tools: abstractness 0.23, instability 0.00, distance 0.77 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fae2c3f72ee3165b7210825793238feb3da9ce6e3e38a9d94a79710cecdefadb"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:libs:markdown: WanBaoHe:libs:markdown: abstractness 0.06, instability 0.18, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 9 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0f161879b4d0912d0adb3a0038afed8d0d5ba7f72f42c8eac0820879c5bf391f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:core:ksp: WanBaoHe:core:ksp: abstractness 0.25, instability 0.00, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"908f24a7b26f58bf75239d8f3d7f2fe0f0eb9e359530e0939082d1247fb37ec9"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:feature:boardgame: WanBaoHe:feature:boardgame: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f1e373cdec90065ec727035cbae8a2747d00c20b405dc533d2a01b57fdfcdbd9"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:feature:load-net-image: WanBaoHe:feature:load-net-image: abstractness 0.25, instability 0.00, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6ab2c8b7b6a2d5b7ad718424262d627ce308e1c037011df0ee0f0ab384cdbd94"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:feature:webp-tools: WanBaoHe:feature:webp-tools: abstractness 0.25, instability 0.00, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2042bec0361cf909845aa9a2e12c0c4e9accd7697a8ba4da6dfd657ffe708627"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:core:base: WanBaoHe:core:base: abstractness 0.05, instability 0.23, distance 0.72 \u2014 zone of pain \u2014 concrete and depended on by 50 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0701936ddc263be2876d7140c77e2d3316fe07ec0744cbb46b63d3deb7b0823d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WanBaoHe:feature:compare: WanBaoHe:feature:compare: abstractness 0.07, instability 0.22, distance 0.71 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"23cc81bfd6cf71118697eb471e83a4cfb568c8ae7d3199fcf2f6eaf14aef982a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CollageMakerComponent (LCOM4 12): CollageMakerComponent\u0027s methods fall into 12 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 12 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":"feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/screenLogic/CollageMakerComponent.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"775beaa7e83bb98555c0431800bbe8405d33b3dc8230437a8c9aba184af3acde"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ItemListComponent (LCOM4 10): ItemListComponent\u0027s methods fall into 10 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 10 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":"feature/online/src/main/java/com/shifenmiao/online/component/ItemListComponent.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0a4e72186dce203d5286a008cbe9361fdc4d8a77065fb1d708c6381bcbd820"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AgentLoopExecutor (LCOM4 6): AgentLoopExecutor\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/AgentLoopExecutor.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5adebd0fe502688e0e94087de438617be65a27b1a171c5cc71d85bbe1fdad32"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FiltersComponent (LCOM4 6): FiltersComponent\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/screenLogic/FiltersComponent.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bed83e419bc5be2174eefea11ad483a969651effee8755973b59bc1cf0c979"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChatInputComponent (LCOM4 5): ChatInputComponent\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":"feature/ai/src/main/java/com/shifenmiao/ai/logic/ChatInputComponent.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c268875bb0da819effe7167c3f6e47be1230109dbe8fcad28587c9879f98d1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AsciiArtComponent (LCOM4 5): AsciiArtComponent\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":"feature/ascii-art/src/main/java/com/t8rin/imagetoolbox/feature/ascii_art/presentation/screenLogic/AsciiArtComponent.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7886f1b501230d4520aba60ddb4a46eae7d332ed8b61ae79c0babdab3c179b0c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RecordEditor (LCOM4 5): RecordEditor\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":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/component/RecordEditor.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd969274c9056ca148ba97e6844d133b45cd1ed829b516e5697d200f9656ed47"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppComponent (LCOM4 5): AppComponent\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":"feature/common/src/main/java/com/shifenmiao/common/logic/AppComponent.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d549f8e997ee935366e6ebec598cb1f9707229b19d9d56c4828a441c5e959eed"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NoiseGenerationComponent (LCOM4 5): NoiseGenerationComponent\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":"feature/noise-generation/src/main/java/com/t8rin/imagetoolbox/noise_generation/presentation/screenLogic/NoiseGenerationComponent.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"799fa3d449e3cbe25b1a3facd53e9400b5f2a242ec210cf606b02496cfd77ac1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SingleEditComponent (LCOM4 5): SingleEditComponent\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":"feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1db184c25e9b7fa1443f95f07154a6ccf89f460bfafd9cb9279ce0926bacc3b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AddFiltersSheetComponent (LCOM4 4): AddFiltersSheetComponent\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":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/addFilters/AddFiltersSheetComponent.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9f52cdab7fa5b1abbce022b3f0f883fc388cb01ca82231186cb550b0013517"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CreateAIPromptComponent (LCOM4 4): CreateAIPromptComponent\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":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"45554ae1ee194f2799591cab150fab39db4ca9c33ab5a1fe17cda82e7cc7b694"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RootComponent (LCOM4 4): RootComponent\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":"feature/app/src/main/java/com/t8rin/imagetoolbox/feature/root/presentation/screenLogic/RootComponent.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fc5aaf44c6f7e380912b61bace2c2e7dbd6dee4ec4e275df8e75749b7512ae"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GomokuLibraryComponent (LCOM4 4): GomokuLibraryComponent\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuLibraryComponent.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb6673255ba9638a687f41dd79826b31c66f0b48110cbda38ebb347a6a39899"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GradientMakerComponent (LCOM4 4): GradientMakerComponent\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":"feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/screenLogic/GradientMakerComponent.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a480a1007bb28b060d398bc98f0fa2c9ec35a3481e1e158ac86ded3eb0fdddf4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ImageCutterComponent (LCOM4 4): ImageCutterComponent\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":"feature/image-cutting/src/main/java/com/t8rin/imagetoolbox/image_cutting/presentation/screenLogic/ImageCutterComponent.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"34df4b9290c97ae52af32fbf7ff4f3d41933931e1a64948198081345d365ba40"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AndroidPdfHelper (LCOM4 4): AndroidPdfHelper\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/data/AndroidPdfHelper.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b3566530efca77d702da68543742e47b0c07a88c4c978b2bbe6437a748ae7a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AIAddEngineComponent (LCOM4 4): AIAddEngineComponent\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":"feature/settings/src/main/java/com/wanbaohe/setting/ai/component/AIAddEngineComponent.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"332b4615a6ea539602a0bd462cd9c39986f2dba95029a8d7c0cf081621e9902b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WallpapersExportComponent (LCOM4 4): WallpapersExportComponent\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":"feature/wallpapers-export/src/main/java/com/t8rin/imagetoolbox/feature/wallpapers_export/presentation/screenLogic/WallpapersExportComponent.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f871b8d120de5d133014ebca90c11bf0a2f852386dc6de5dc4276c3e9c10a09a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WatermarkingComponent (LCOM4 4): WatermarkingComponent\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":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/screenLogic/WatermarkingComponent.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ad9d47d43dc0f17a72a6191e096fa68688e363a081f298a45fa7604f923ec9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AndroidZipManager (LCOM4 4): AndroidZipManager\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":"feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/data/AndroidZipManager.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc7a3e405ac712c9aa2f5b284a8f23e0ef7a59d29addeffded5285f1f2ac1b5"}},{"ruleId":"D13","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":"691c25f25ab2858835640f414deca0ca316e7cc76f339513d9d37ae9bd6e3bbb"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/app/src/main/java/com/t8rin/imagetoolbox/feature/root/presentation/components/navigation/ChildProvider.kt: feature/app/src/main/java/com/t8rin/imagetoolbox/feature/root/presentation/components/navigation/ChildProvider.kt changed 49 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 179 in ChildProvider.createChild at line 215. 3 of those changes were fix/bug commits, and the other 46 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/app/src/main/java/com/t8rin/imagetoolbox/feature/root/presentation/components/navigation/ChildProvider.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/app/src/main/java/com/t8rin/imagetoolbox/feature/root/presentation/components/navigation/ChildProvider.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cca1dcc68166e522c61198bf501cbd450339e67f25f0a0fda75d6ec47dd412c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt: feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in TextCardEditorScreenKt.TextCardEditorScreen at line 117. 2 of those changes were fix/bug commits, and the other 25 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardEditorScreen.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9328a0a8ec7ae915bc880520978756c28746e8d1a65d9adba7671f7e689db8b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt: feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in EditorScaffoldKt.EditorScaffold at line 213. 3 of those changes were fix/bug commits, and the other 30 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/editor/EditorScaffold.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e191d5dda293aa412bd585d28a3ae02a6aaa0b79baedeb44d9a8fed6c2c0aa47"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt: feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in AIEngineSettingsDetailScreenKt.AIEngineSettingsDetailScreen at line 125. 1 of those changes was a fix/bug commit, and the other 27 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81ac3bf7d779be83da0f956e9ec4a8d56fa55fe69a19fbead403003f57a6448"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/navigation/ScreenUtils.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/navigation/ScreenUtils.kt changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ScreenConstantsImpl.valueOf at line 632. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/navigation/ScreenUtils.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/navigation/ScreenUtils.kt"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"457e9297ece643680d9b9c1e4f7b04dff91e40830b6c68bf7c229c5a3d29c773"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/CloudStorageScreen.kt: feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/CloudStorageScreen.kt changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in CloudStorageScreenKt.CloudStorageScreen at line 125. 4 of those changes were fix/bug commits, and the other 11 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/CloudStorageScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screen/CloudStorageScreen.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88c126655067c75770a39f60fe847b3445ff94ca14b6281395c052a10813312"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatComponent.kt: feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatComponent.kt changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in AIChatComponent.executeStreamingChat at line 763. 8 of those changes were fix/bug commits, and the other 19 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatComponent.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatComponent.kt"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b9c86c851ba926ec88f8a7272ebb7eb3277f06e82b5a752a200a5ee83e37d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassMaterial.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassMaterial.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in GlassMaterialKt.glassVeil at line 95. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassMaterial.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassMaterial.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be05e5ee6c6d823151e78b88af5c12a1b06aaf3ba62874cdb9452ba9d7735fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIAddEngineScreen.kt: feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIAddEngineScreen.kt changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in AIAddEngineScreenKt.AIAddEngineScreen at line 99. 3 of those changes were fix/bug commits, and the other 15 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIAddEngineScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIAddEngineScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de2181ebbff982f844c729b2dd82ee3595d8d9ef8d3c3c29186f7c79b26c976"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/profile/src/main/java/com/wanbaohe/profile/settingItem/ProfileSettingItem.kt: feature/profile/src/main/java/com/wanbaohe/profile/settingItem/ProfileSettingItem.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in ProfileSettingItemKt.ProfileSettingItem at line 72. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/profile/src/main/java/com/wanbaohe/profile/settingItem/ProfileSettingItem.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/profile/src/main/java/com/wanbaohe/profile/settingItem/ProfileSettingItem.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eba25ad8d485dd7597a69c446547df37087be8738343a152b37de8d5493c214"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt: feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in ChatScreenKt.ChatScreen at line 153. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/ChatScreen.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24f3a4435a7865a626d292e70d662dc83dfaa641bcd1e08a9e189586e897d75"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt: feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in AIDuelChatComponent.streamWithTypewriter at line 1086. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b859532368d972210dfcca5a19a97f87bdf8efe9706f27e4a8e8f4cf7160ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/file-browser/src/main/java/com/wanbaohe/file/browser/screen/FileBrowserScreen.kt: feature/file-browser/src/main/java/com/wanbaohe/file/browser/screen/FileBrowserScreen.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in FileBrowserScreenKt.FileBrowserScreen at line 149. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/file-browser/src/main/java/com/wanbaohe/file/browser/screen/FileBrowserScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/screen/FileBrowserScreen.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89d70432550e2fe69bb18e799703fe951e55c95cbed1ee3aab374aba2d8be49"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/board/XiangqiBoard.kt: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/board/XiangqiBoard.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in XiangqiBoardKt.XiangqiBoard at line 72. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/board/XiangqiBoard.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/board/XiangqiBoard.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2a6d0106d8fa34c6bbd8d392118fb4a984c4696af6fae8d4f50461f56999bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt: feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in AIDuelChatScreenKt.DuelChatContent at line 310. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIDuelChatScreen.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e87b2afd51d86f17b43877060b6f30e96bb944824e35fd930925a725a0da362"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/online/src/main/java/com/shifenmiao/online/screen/PagingDataItemScreen.kt: feature/online/src/main/java/com/shifenmiao/online/screen/PagingDataItemScreen.kt changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in PagingDataItemScreenKt.PagingDataItemScreen at line 116. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/online/src/main/java/com/shifenmiao/online/screen/PagingDataItemScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/online/src/main/java/com/shifenmiao/online/screen/PagingDataItemScreen.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45f3872299b0ece0a5d1650ef4b67f68236c07c4c88b132a74c9ae841644c27"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt: feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ThemeSettingsScreenKt.ThemeSettingsScreen at line 151. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/theme/screen/ThemeSettingsScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1bbe94dd303b8d5bb346709fb1c4874ba2779fe1a1c5a91b8579c3150b6fda"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt: core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in AppDatabase.getInstanceOrCreate at line 307. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bae42d1e00560e0e9d106fbe3819dd537e99ed2e458221ba1afdd658a7054d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in GlassOutlinedTextFieldKt.modernGlassTextFieldContainer at line 696. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedTextField.kt"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f591a18fcaa7bc8d30692c7cd101e67c1357be55f92d971457654ea9442af23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in XiangqiGameScreenKt.XiangqiPlayersRow at line 809. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"357a5c26c71297e102fbfc6b9d2fb6b0e1ab0e4b3c0f4c802c374e0de1e156ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt: feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ProtocolRoutingAIRequestHandler.parseResponsesSsePayload at line 686. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/request/ProtocolRoutingAIRequestHandler.kt"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ca8070ec198df510c3b601e95ffead47d9b1d6277deb77a663fe61c2248bac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt: feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in MeasurementScreenKt.FullScreenRulerBackground at line 525. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/measurement/src/main/java/com/wanbaohe/measurement/screen/MeasurementScreen.kt"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2a911f68c77e3aea14a86b73909eaea0a7be0dd79c9f5a29f8d64531aff466"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/HandleDeeplinks.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/HandleDeeplinks.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in HandleDeeplinksKt.handleDeeplinks at line 54. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/HandleDeeplinks.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/HandleDeeplinks.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d907bba010ce935120f5009ef9da3e16d969c6475bad441cb2af1f0e29300f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/export/ExportSettingsSheet.kt: feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/export/ExportSettingsSheet.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in ExportSettingsSheetKt.ExportSettingsSheet at line 84. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/export/ExportSettingsSheet.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/export/ExportSettingsSheet.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"063b0b79b648eafdbeeaee9298137268177f92a32bdd898b410ba1ea1d4375a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt: feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in MarkTodoScreenKt.MarkTodoScreen at line 109. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d5cc280d420162f22b2986acff85679c738e5ba297aa61b5266b2ca233426b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/panels/TextStylePanel.kt: feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/panels/TextStylePanel.kt changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in TextStylePanelKt.TextStylePanel at line 140. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/panels/TextStylePanel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/panels/TextStylePanel.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"088f7e129721b932999b5022fad9ea892d97fc4ffac28e47be7a683a97082436"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/boardgame/src/main/java/com/wanbaohe/boardgame/export/BoardGameGifExportDialog.kt: feature/boardgame/src/main/java/com/wanbaohe/boardgame/export/BoardGameGifExportDialog.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in BoardGameGifExportDialogKt.BoardGameGifExportDialog at line 124. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/boardgame/src/main/java/com/wanbaohe/boardgame/export/BoardGameGifExportDialog.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/boardgame/src/main/java/com/wanbaohe/boardgame/export/BoardGameGifExportDialog.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af1e7ee0f9a8c9099a51f2471456d328922296428325ac729b833a017a23c1a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/MeshGradientBackground.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/MeshGradientBackground.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in MeshGradientBackgroundKt.meshRecipe at line 334. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/MeshGradientBackground.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/MeshGradientBackground.kt"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b05d2c5bd073a1f807b3dff04f14b4e6fac8e5124100b1c16c073dcd8459e9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt: feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ChessGameScreenKt.ChessGameContent at line 254. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"374e0720f5c4e9f59a8dd79cf63184fb0936e9bab390b7e441a6a53bd240dbb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassModifier.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassModifier.kt changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in GlassModifierKt.flatContainerCoverage at line 237. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassModifier.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassModifier.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac03cedb6642eaeecbbf5eef756687444eca0033e9e39fa3343fc719db300149"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt: feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in NewChatInputKt.StandardInputSection at line 293. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/ui/NewChatInput.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff67eb64e0b48fc1c4dbf833fb911f041cd09df2d667c967efecb2947107f1a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt: feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AIChatScreenKt.AIChatScreen at line 114. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b597a17809c85e9e8c6c5142fcbd8fd681cc67cfeabd25374fd57b3da25c6647"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt: feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ToolCenterBottomSheetKt.ToolCenterBottomSheet at line 68. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/ui/ToolCenterBottomSheet.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ba58a517bd7c512dcdbb5d96389d4dbde5242d48e90c5a1c04c4b6430a2151"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/theme/ThemePresetSelector.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/theme/ThemePresetSelector.kt changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ThemePresetSelectorKt.ThemePresetCard at line 269. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/theme/ThemePresetSelector.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/theme/ThemePresetSelector.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fddbfffd6befa9c83c7af98a3c00cdbeb3cbf843203e51ae45e668c62a6fb47"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/AddTodoScreen.kt: feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/AddTodoScreen.kt changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AddTodoScreenKt.AddTodoScreen at line 92. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/AddTodoScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/AddTodoScreen.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b8d38f8ecfb2305cabac55557c69d27b8f8022757fc4bd7940d2c9ffd4bccc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in XiangqiGameComponent.observeGame at line 693. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63b94bb000814f954e2c55429a203172a3ccad97c10c8d892015bd79592505f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/online/src/main/java/com/shifenmiao/online/screen/CreateNoteScreen.kt: feature/online/src/main/java/com/shifenmiao/online/screen/CreateNoteScreen.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in CreateNoteScreenKt.CreateNoteScreen at line 89. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/online/src/main/java/com/shifenmiao/online/screen/CreateNoteScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/online/src/main/java/com/shifenmiao/online/screen/CreateNoteScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65398cc0a09a7491f1740b19efdfd1846c05240fc37808d548da9fedba1061f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiLibraryScreen.kt: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiLibraryScreen.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in XiangqiLibraryScreenKt.GameCard at line 153. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiLibraryScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiLibraryScreen.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8e84f0755ddb8eb3e6de57dfa9155921169941d4827b3c6e954b8d812af02e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/TodoTaskRow.kt: feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/TodoTaskRow.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in TodoTaskRowKt.TodoTaskRow at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/TodoTaskRow.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/components/TodoTaskRow.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1790e17912f0419715ad2c5da4736fa9c35c64dc94ffbabcd878bc57ddf79aa8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt: feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in GomokuGameScreenKt.gomokuPlayerData at line 349. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"8739d1f3923c6d9bc2337d1b3fe943884f06edf01ea55c93c59041e2450c7a6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsBottomSheet.kt: feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsBottomSheet.kt changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CommentsBottomSheetKt.CommentsList at line 276. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsBottomSheet.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/components/comments/CommentsBottomSheet.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b1b1fe744fd96719beed5b15ceae56910207d51aa93b763a8fea5c3f726da5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/TodoDetailScreen.kt: feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/TodoDetailScreen.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in TodoDetailScreenKt.TodoDetailScreen at line 89. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/TodoDetailScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/TodoDetailScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec0aa58b2f1545d94ccc9031451f274b1b953abcdd3c7af7079eaeb5d09e625"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/common/src/main/java/com/shifenmiao/common/ai/AIPromptExecutor.kt: feature/common/src/main/java/com/shifenmiao/common/ai/AIPromptExecutor.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AIPromptExecutor.executeStreaming at line 230. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/common/src/main/java/com/shifenmiao/common/ai/AIPromptExecutor.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/ai/AIPromptExecutor.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be0836d094493e329927e01fcfa58b0fe628a3a006625bf1ee58da0e96d5ef9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/chess/src/main/java/com/wanbaohe/chess/ui/board/ChessBoard.kt: feature/chess/src/main/java/com/wanbaohe/chess/ui/board/ChessBoard.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ChessBoardKt.ChessBoard at line 104. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/chess/src/main/java/com/wanbaohe/chess/ui/board/ChessBoard.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/ui/board/ChessBoard.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9eb1f13228a512757314def00f2f6360e73641e019cdcd4a215c76b28e35089"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt: feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in DocConvertTaskListScreenKt.DocConvertTaskItem at line 433. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"181eb7a0e09245f16cc057915b0ed8dd6d033fd035eebf43a561f04ac438f407"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt: feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in CodeEditorScreenKt.CodeEditorScreen at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"23448b2e3570a8148be2040150c0f879109fd669d40eb9e1b43fda510645938f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/settings/src/main/java/com/wanbaohe/setting/skill/screen/SkillManagementScreen.kt: feature/settings/src/main/java/com/wanbaohe/setting/skill/screen/SkillManagementScreen.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in SkillManagementScreenKt.SkillManagementContent at line 105. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/settings/src/main/java/com/wanbaohe/setting/skill/screen/SkillManagementScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/skill/screen/SkillManagementScreen.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e381e8d66c21fdf7693f214d76b7062fdb1589f784e2fa2d6ffab5141e127404"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt: feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CreateAIAgentScreenKt.CreateAIAgentScreen at line 144. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0859088b5868379d884111d9c5947b5cb8fa4c25cf202aea86403ac4d1eec4da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt: feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CalendarTabKt.CalendarDayCell at line 1499. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/CalendarTab.kt"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dff9b1baa33ba5d1b07905dcc7ae34657fdbce3d7e500468f9ce64206c21ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/media-player/src/main/java/com/wanbaohe/media/screen/MediaPlayerScreen.kt: feature/media-player/src/main/java/com/wanbaohe/media/screen/MediaPlayerScreen.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in MediaPlayerScreenKt.MediaPlayerScreen at line 112. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/media-player/src/main/java/com/wanbaohe/media/screen/MediaPlayerScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-player/src/main/java/com/wanbaohe/media/screen/MediaPlayerScreen.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ecc3b94650cc527d6a87c8d648e7160a4799784e30f7ed313a7a69142e8d46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/PickFontFamilySheet.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/PickFontFamilySheet.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in PickFontFamilySheetKt.DownloadableFontRow at line 348. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/PickFontFamilySheet.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/PickFontFamilySheet.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7d455cfcec1049eb9ddc046b9bd37aaca35e7657b51e5e88352e961bf86f34"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/execution/component/AiExecutionTimelineCard.kt: feature/ai/src/main/java/com/shifenmiao/ai/execution/component/AiExecutionTimelineCard.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AiExecutionTimelineCardKt.AiExecutionStepRow at line 280. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/execution/component/AiExecutionTimelineCard.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/execution/component/AiExecutionTimelineCard.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c628cafb4a6a4d40219d06f02efe731e70b5a4c43424c166d819ae341095a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt: feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in MarkdownEditorScreenKt.MarkdownEditorScreen at line 91. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/screen/MarkdownEditorScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b7a62df2e2e5a03c6026b76481294f29ad285393546b4ea40b8bc9de648551"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ThemeSettingTool.kt: feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ThemeSettingTool.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ThemeSettingTool.buildThemeChange at line 535. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ThemeSettingTool.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ThemeSettingTool.kt"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"372a2058eb3b81c7b9dc3778233704b8d2c69978bd885e015118aa1a2bf3e8b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt: feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AiUtils.processStreamLine at line 725. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"a682bdd231bf807e1209d18b5bbd8153fe8ce8fee3f2e1f673da593f99485ebc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt: feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CreateAIPromptScreenKt.CreateAIPromptScreen at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d56828d335438f77fb6cc410df4286d60d413fd98fad40e5107b08d18a2749"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserScreen.kt: feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserScreen.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in BrowserScreenKt.BrowserScreen at line 83. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7658a2344e17c1ad4c8fa355effc0bfd325926dae47af2f0ad2800bb015fc3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt: feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in StatsTabKt.SummaryMetricCard at line 350. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/tab/StatsTab.kt"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"370bfd6f11c53f3d093fe17a23b05a563a676559082f23db4f1a88b290f90858"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelSpinScreen.kt: feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelSpinScreen.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in DecisionWheelSpinScreenKt.DecisionWheelSpinScreen at line 114. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelSpinScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/decision-wheel/src/main/java/com/wanbaohe/decisionwheel/screen/DecisionWheelSpinScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f2f295908a0cf9457e2892f97ebae3e1d13ee21a626dec5f3ba59e8ab70acb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt: feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ManageTodoTool.handleList at line 348. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageTodoTool.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd532ac6b012423298b2789ba305c9155d2f2d66f408152f79304e8c23678b3f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/screen/BlessingWallScreen.kt: feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/screen/BlessingWallScreen.kt changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in BlessingWallScreenKt.BlessingPage at line 565. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/screen/BlessingWallScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/screen/BlessingWallScreen.kt"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fbd2b72b56773f909b2a1d40cdd7e4348cede3ef06c1780004e97bb74455d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt: feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in GomokuBoardKt.GomokuBoard at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f554cf58a0fd92fbcc6338f971e5530d6cbe70be67ae5c375c4c91b5650e161"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/speed-test/src/main/java/com/wanbaohe/speedtest/screen/ui/SpeedGauge.kt: feature/speed-test/src/main/java/com/wanbaohe/speedtest/screen/ui/SpeedGauge.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in SpeedGaugeKt.SpeedGauge at line 87. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/speed-test/src/main/java/com/wanbaohe/speedtest/screen/ui/SpeedGauge.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/speed-test/src/main/java/com/wanbaohe/speedtest/screen/ui/SpeedGauge.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb1dbdf372bc2fc69a3ba12372f776acfe09332334f858b093bfaa3074df966"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/BottomButtonsBlock.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/BottomButtonsBlock.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in BottomButtonsBlockKt.BottomButtonsBlock at line 98. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/BottomButtonsBlock.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/buttons/BottomButtonsBlock.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b6cc9b2774c1e97c5d2c605c27e8ef4648d60ed8bf220483becf8a33fb25be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in XiangqiSetupScreenKt.XiangqiSetupScreen at line 87. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e3964be043c169097ff028dfcdd7415b51c296d5aaf1bba80a31df44bc4fc3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt: feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ConversionTabKt.BuddhistCalendarCard at line 521. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ui/ConversionTab.kt"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23fa66858d4a3fc4ccbf5cce35c87d903b6c5e93afc0e05fdb069ad9e94133b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/XiangqiAiPickerBottomSheet.kt: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/XiangqiAiPickerBottomSheet.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in XiangqiAiPickerBottomSheetKt.SourceRow at line 191. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/XiangqiAiPickerBottomSheet.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/XiangqiAiPickerBottomSheet.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08bf7e5b2f2790478a0f231695bf1eccbe2c71b195efc89f24c1f06b0b3d850"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/AddRecordScreen.kt: feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/AddRecordScreen.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AddRecordScreenKt.AddRecordScreen at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/AddRecordScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/screen/AddRecordScreen.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca9ff892c4d7d942138a741d81a4c05771d1c1abff8a6b5feba794e4bba218d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/screen/OnDeviceOcrScreen.kt: feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/screen/OnDeviceOcrScreen.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in OnDeviceOcrScreenKt.OnDeviceOcrScreen at line 93. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/screen/OnDeviceOcrScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/screen/OnDeviceOcrScreen.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79ff1da0c8b76a505e419129f0b8f720632446763f94f8e13e26f6f9e68b5ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screen/IdPhotoScreen.kt: feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screen/IdPhotoScreen.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in IdPhotoScreenKt.IdPhotoScreen at line 124. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screen/IdPhotoScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/id-photo/src/main/java/com/wanbaohe/idphoto/presentation/screen/IdPhotoScreen.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04154d5a40a986f376c1e9bcbbe3db35e838de9c67f951aee76eaa6a2b94363"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/mask/MaskToolSheet.kt: feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/mask/MaskToolSheet.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in MaskToolSheetKt.MaskToolSheet at line 93. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/mask/MaskToolSheet.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/mask/MaskToolSheet.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"915dc67b99d42541ffb275fdab6e01e94dd5fb3cf938ca991b53f1d6a4f9c4bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/common/src/main/java/com/shifenmiao/common/editor/NativeMarkdownEditor.kt: feature/common/src/main/java/com/shifenmiao/common/editor/NativeMarkdownEditor.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in NativeMarkdownEditorKt.NativeMarkdownEditor at line 77. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/common/src/main/java/com/shifenmiao/common/editor/NativeMarkdownEditor.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/editor/NativeMarkdownEditor.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a000dfb3ce74b7f524f885d1d4d5199fe35143c4363ce40c11c22ed6d71043"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/TextLayerExportRenderer.kt: feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/TextLayerExportRenderer.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in TextLayerExportRenderer.draw at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/TextLayerExportRenderer.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/TextLayerExportRenderer.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b39126a40794ab1057c88c8b4b4e77081e645507e831fa98162bb79f80a4f5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/common/src/main/java/com/shifenmiao/common/manager/AIEngineRepository.kt: feature/common/src/main/java/com/shifenmiao/common/manager/AIEngineRepository.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AIEngineRepository.ensureFlavorPresetEngines at line 216. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/common/src/main/java/com/shifenmiao/common/manager/AIEngineRepository.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/manager/AIEngineRepository.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"500bfb4db6f62376ee257ac677b2d790a8c1cdf3715354884b9535af6a143e70"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/FeedbackRow.kt: feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/FeedbackRow.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in FeedbackRowKt.FeedbackRow at line 111. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/FeedbackRow.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/FeedbackRow.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e884d3f9ca7ab1c1204e872fb5587896664981f2afbac2d343ef2ed6cd08e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterItem.kt: core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterItem.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in FilterItemKt.FilterItem at line 91. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterItem.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/src/main/java/com/t8rin/imagetoolbox/core/filters/presentation/widget/FilterItem.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbf2466fe61c8d4ce5f47392120d18a1cd9bd36cad88a7f9932b428f2e16b25"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content/ContentRouter.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content/ContentRouter.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in DefaultContentRouter.route at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content/ContentRouter.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content/ContentRouter.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"55305eaf06501d6d7406e024a82c90b0e84b2c7649338372b4747c3653c1b28d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSegmentedButtonRow.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSegmentedButtonRow.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in GlassSegmentedButtonRowKt.GlassSegmentedButtonRowImpl at line 276. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSegmentedButtonRow.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSegmentedButtonRow.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeed2a3c726d52865b7b9653787198f6f5a5a06487525380020a0dca90794bbc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/altitude/src/main/java/com/wanbaohe/altitude/ui/ElevationGaugeSection.kt: feature/altitude/src/main/java/com/wanbaohe/altitude/ui/ElevationGaugeSection.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ElevationGaugeSectionKt.ElevationGaugeSection at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/altitude/src/main/java/com/wanbaohe/altitude/ui/ElevationGaugeSection.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/altitude/src/main/java/com/wanbaohe/altitude/ui/ElevationGaugeSection.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f463e116a1cb58500acbdf5c2acb8826536894cb23c4726a81f50a96a940493e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/survive30s/src/main/java/com/wanbaohe/survive30s/component/Survive30sComponent.kt: feature/survive30s/src/main/java/com/wanbaohe/survive30s/component/Survive30sComponent.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Survive30sComponent.startGameLoop at line 260. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/survive30s/src/main/java/com/wanbaohe/survive30s/component/Survive30sComponent.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/survive30s/src/main/java/com/wanbaohe/survive30s/component/Survive30sComponent.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd02bfb62caf3f0d920e54f0c077508ac947c6daa3832dda43c160f2a16edf1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/XiangqiRouterScreen.kt: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/XiangqiRouterScreen.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in XiangqiRouterScreenKt.XiangqiRouterScreen at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/XiangqiRouterScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/XiangqiRouterScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"57688ead58f3d4992037d64117c542379e5bac4af5f4b3b8bfb71f8eb1840474"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveLayoutScreen.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveLayoutScreen.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in AdaptiveLayoutScreenKt.AdaptiveLayoutScreen at line 99. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveLayoutScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveLayoutScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab5604638b18fca87091be3aec5a861cba6d0e30ccb2eb5440c17ef746fa61a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/QualitySelector.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/QualitySelector.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in QualitySelectorKt.QualitySelector at line 92. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/QualitySelector.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/QualitySelector.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a54dfb37ac90a9e072a2cd1750184169e1a05f843866eeac99f1d057d8588bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/common/src/main/java/com/shifenmiao/common/components/CustomScrollableTabRow.kt: feature/common/src/main/java/com/shifenmiao/common/components/CustomScrollableTabRow.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CustomScrollableTabRowKt.GenericScrollableTabRow at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/common/src/main/java/com/shifenmiao/common/components/CustomScrollableTabRow.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/components/CustomScrollableTabRow.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e10d01fdbba05f36b1fb1975ff4e2b91566f4b175edf72abfb211fc02e0a167"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerGridWithOverlays.kt: feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerGridWithOverlays.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in MediaPickerGridWithOverlaysKt.MediaPickerGridWithOverlays at line 107. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerGridWithOverlays.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerGridWithOverlays.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9152557ac002eaee7402045725e03abd75e37008fdf589f2474f83cf36c112"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt: core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ChineseDateRangePickerDialogKt.RangeDayCell at line 512. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2f01ca61c4373f13abfcb34bb0db77754ab53bcb405158964eb0908860ec44"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/memory/MemoryRepository.kt: feature/ai/src/main/java/com/shifenmiao/ai/memory/MemoryRepository.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in MemoryRepository.buildPromptFragment at line 191. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/memory/MemoryRepository.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/memory/MemoryRepository.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"76447bc7500166a22b51cf1d14e418a4d753c56d17ed196a742d4b49ad848913"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt: feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ChessPlayersRowKt.ChessPlayersRow at line 26. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"674b2dd129df7e5d86a8296582b2ac0144f205104e8ec236d82d897045e37ffa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt: feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in GomokuSetupScreenKt.GomokuSetupScreen at line 79. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"264664c20700733e722e5f3f966d6a94859b96f6ff8ab9c8004f007c2a6daebd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/content/ContentTypeResolver.kt: core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/content/ContentTypeResolver.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in DefaultContentTypeResolver.resolve at line 65. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/content/ContentTypeResolver.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/content/ContentTypeResolver.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b2e626227186fa5395a601c8180614cc20fdfa08873d724595c91bbf4e462e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorSelectionRow.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorSelectionRow.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ColorSelectionRowKt.ColorSelectionRow at line 84. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorSelectionRow.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/color_picker/ColorSelectionRow.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e019cddd2f7a97bc118a0980cb6d1ae8351a4b837c7e1e74c106add55248ef0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt: feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ChessSetupScreenKt.ChessSetupScreen at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"be60e66b3c2856212a349ea9c31c353e386b5ae13363b30a03102380a970afd2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/GomokuRouterScreen.kt: feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/GomokuRouterScreen.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in GomokuRouterScreenKt.GomokuRouterScreen at line 60. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/GomokuRouterScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/GomokuRouterScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5365a079a6c7aa656dc3282dd8345831730cbb59f0589d34adaa08331252d8b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardExportSheet.kt: feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardExportSheet.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in TextCardExportSheetKt.TextCardExportSheet at line 59. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardExportSheet.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextCardExportSheet.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d747a86fd6ce2011bbf0e274994d208597abae5f8da8940d5f08c142c51278"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/SubagentSheet.kt: feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/SubagentSheet.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in SubagentSheetKt.SubagentTranscriptView at line 401. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/SubagentSheet.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/SubagentSheet.kt"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1f31a7636f0aa99901493dcb5b68b551d91be24b91ac3978fd4611edfff382"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/EmojiSelectionSheet.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/EmojiSelectionSheet.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in EmojiSelectionSheetKt.EmojiSelectionSheet at line 100. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/EmojiSelectionSheet.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/sheets/EmojiSelectionSheet.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c572c4924e4fcc246ce7de4f576c5c7b74af12621acc2d49989228de826ac3aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/component/AIStreamAnswerComponent.kt: feature/ai/src/main/java/com/shifenmiao/ai/component/AIStreamAnswerComponent.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AIStreamAnswerComponent.runStreamingAnswer at line 220. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/component/AIStreamAnswerComponent.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIStreamAnswerComponent.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1d7f379f8d197d218435dd830ef6b43500d5370909257d4fda573017a2d803"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/canvas/WatermarkCanvas.kt: feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/canvas/WatermarkCanvas.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in WatermarkCanvasKt.WatermarkCanvas at line 101. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/canvas/WatermarkCanvas.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/canvas/WatermarkCanvas.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"91378709c79f63e5d684bca94bd3aaf853a8c3893bdaa6efcca82a2ffc2d00bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt: feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ChessRouterScreenKt.ChessRouterScreen at line 60. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/ChessRouterScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6990bd89a3de843bffdde323c1e7c897444a798637b6f0024f803be34ea13b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt: core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in MaterialComponentsKt.RowSelectorRenderer at line 1237. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/components/MaterialComponents.kt"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"944800839d4d25db700b7824062cbf0ab17e4fd15775a62aac1ffdddfb7e8c73"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImageStickyHeader.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImageStickyHeader.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ImageStickyHeaderKt.imageStickyHeader at line 93. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImageStickyHeader.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImageStickyHeader.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"588e9d27f9f2d2f11c83a32158f67df64b216d0b749af838aad4871528b3841d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt: feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CreateAIAgentComponent.generate at line 459. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c37e6738ed1e9127773c61ae35fa7ce890b32c3bffe44926fac360aee34e75f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt: feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CreateAIPromptComponent.generate at line 496. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85163caba064458fcb26494b90d88ebbb940c22786457624eb1e3ac0594c1b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareScreen.kt: feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareScreen.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CalendarShareScreenKt.CalendarShareScreen at line 114. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c51bbd46b492d9cd04aeeaafea4941fed127d24c5f55f911ec2df7ef32b6b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt: feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CollageMakerContentKt.CollageMakerContent at line 139. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"790321a7c9cca4f033466fc3509bf4cee5a758b0d88d6ae975f6b85080209ba4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: fastlane/push_images.py: fastlane/push_images.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in push_images.main at line 264. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- fastlane/push_images.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fastlane/push_images.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"70150b99f00703904ffc4fdb6342c9e256e86659fed16d9ad23202ebb97d2509"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in EnhancedRangeSliderItemKt.EnhancedRangeSliderItem at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedRangeSliderItem.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7224e46dd179f1256fa1cca27d4e4713f1affe854450f3911b4f836e38f11367"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/file_transfer/js/core/i18n.js: web/file_transfer/js/core/i18n.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in i18n.detectLang at line 13. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- web/file_transfer/js/core/i18n.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/core/i18n.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8810482d99e22ee36527639ff52f252d536b7f9f9a2f74385ecdfef4be378a11"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/AndroidTextCardLayoutEngine.kt: feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/AndroidTextCardLayoutEngine.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in AndroidTextCardLayoutEngine.paginate at line 52. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/AndroidTextCardLayoutEngine.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/AndroidTextCardLayoutEngine.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30bf7ff55d307689d95cf51127c0fcf0d7a1ce411c82096cd7abf7dabfdfa85"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/database/src/main/java/com/shifenmiao/database/ai/SkillFrontMatterParser.kt: core/database/src/main/java/com/shifenmiao/database/ai/SkillFrontMatterParser.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in SkillFrontMatterParser.parse at line 46. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/database/src/main/java/com/shifenmiao/database/ai/SkillFrontMatterParser.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/SkillFrontMatterParser.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81a3b22abd0ed7247f6751e37f64bf6b70ff217dd1290b449c7af051dd487a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageFormatSelector.kt: core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageFormatSelector.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ImageFormatSelectorKt.ImageFormatSelector at line 83. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageFormatSelector.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/controls/selection/ImageFormatSelector.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ead4ee06fa5fd389a0e90539b81efde6073847b4c8f4a993cfd0907df24733d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt: feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ChessLibraryScreenKt.toCardData at line 141. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessLibraryScreen.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc985eeb2293f37bfbd971ce97dec0da912b57c6a39d62b697d24ee6c831711b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/data/context/DefaultWatermarkContentResolver.kt: feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/data/context/DefaultWatermarkContentResolver.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in DefaultWatermarkContentResolver.resolve at line 49. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/data/context/DefaultWatermarkContentResolver.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/data/context/DefaultWatermarkContentResolver.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e3b5e2ad29206f30a38ddafb641314542717767c03ddcd1514bfb6cf4e8d0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/WatermarkingContent.kt: feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/WatermarkingContent.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in WatermarkingContentKt.WatermarkingContent at line 78. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/WatermarkingContent.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/WatermarkingContent.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"34914086ac1bc05f0ffedcb76eed5ab3a35f64bc90723144904a9a81ed670a1e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/panels/ContentPanel.kt: feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/panels/ContentPanel.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ContentPanelKt.DynamicContentControls at line 169. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/panels/ContentPanel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/panels/ContentPanel.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"975ca90569f1f2528b05e9e899896ac16428bd46d24f4a30b368e33211d2c8e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: feature/common/src/main/java/com/shifenmiao/common/components/OperateBar.kt: feature/common/src/main/java/com/shifenmiao/common/components/OperateBar.kt changed 10 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is OperateBarKt.OperateBar at line 53), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(i18n): improve localized UI and compact layouts\u201D; \u201Cfix(ui): \u529F\u80FD\u5361\u7247\u6539\u6210\u5E94\u7528\u5185\u5165\u53E3,\u64CD\u4F5C\u9762\u677F\u8DDF\u5361\u7247\u4E3B\u9898\u8D70\u201D; \u201Cfix(i18n): \u65E5\u671F\u683C\u5F0F\u8DDF\u968F locale\u3001\u957F\u5206\u7C7B chip \u4E0E FAB \u6807\u7B7E\u5141\u8BB8\u4E24\u884C\u3001\u79EF\u5206\u6309 locale \u5343\u5206\u4F4D\u201D; \u201Cfix(ui): \u957F\u6587\u6848\u4E0D\u518D\u7528 marquee,\u6539\u81EA\u52A8\u964D\u5B57\u53F7 \u002B \u7701\u7565\u53F7\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/common/src/main/java/com/shifenmiao/common/components/OperateBar.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/components/OperateBar.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"688ca9a8b769bfc67186c89c1b73aae207dff6173788676d97eb357bb4931ef5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: core/database/src/main/java/com/shifenmiao/database/item/dao/ItemEntityDao.kt: core/database/src/main/java/com/shifenmiao/database/item/dao/ItemEntityDao.kt changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is ItemEntityDao.insertItemWithCategoriesFromSync at line 562), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(database): dedupe sync items by source/listType/title to survive documentId drift\u201D; \u201Cfix(navigation): \u6DF1\u94FE\u6253\u5F00\u529F\u80FD\u65F6\u8865\u8BB0\u6700\u8FD1\u8BBF\u95EE\u201D; \u201Cfix(online): \u5206\u7C7B chip \u6309 document_id \u9009\u4E3B\u5206\u7C7B, \u4FEE\u590D\u4E2D\u82F1\u5207\u6362\u540E\u540C\u5361\u7247\u663E\u793A\u4E0D\u540C\u5206\u7C7B\u201D; \u201Cfix(i18n): es \u8BED\u57DF\u7EDF\u4E00\u4E3A t\u00FA, \u5145\u503C\u52A0\u8F7D\u5931\u8D25\u6539\u4E13\u7528\u6587\u6848, \u5F39\u5E55\u6761\u76EE\u8865 marquesina \u641C\u7D22\u522B\u540D\u4E0E\u9648\u65E7\u9ED8\u8BA4\u8BCD\u5237\u65B0\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/database/src/main/java/com/shifenmiao/database/item/dao/ItemEntityDao.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/dao/ItemEntityDao.kt"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db95779f1796d1cec2a5395cc2e5cd107e51e9a415c22f468081e204171d3f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatBaseComponent.kt: feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatBaseComponent.kt changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is AIChatBaseComponent.initConversation at line 235), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ai): \u7ED3\u7B97\u4E0E\u843D\u5E93\u5206\u79BB\u2014\u2014\u6682\u505C\u2192\u7EED\u8DD1\u4E0D\u518D\u91CD\u590D\u6263\u5206/\u91CD\u590D\u8BA1\u6570\u201D; \u201Cfix(ai): \u52A9\u624B\u540C\u4E00\u6761\u6D88\u606F\u6E32\u67D3\u4E24\u6B21\u2014\u2014\u5360\u4F4D\u5FEB\u7167\u6309\u884C\u4E3B\u952E\u9A71\u9010,\u5B8C\u6210\u843D\u5E93\u53BB\u91CD\u201D; \u201Cfix(ai): \u804A\u5929\u9875\u6784\u9020\u671F\u56DE\u8C03 onModelChanged \u5BFC\u81F4 NPE(1.4.1 \u56DE\u5F52)\u201D; \u201Cfix(ai): \u7A7A\u6001\u5F15\u5BFC\u63A5\u5165\u5168\u5C40 AI \u52A9\u624B Tab,\u586B\u5145\u8BCD\u9884\u586B\u8F93\u5165\u6846\u5E76\u7CBE\u7B80\u5404\u7AEF\u6587\u6848\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatBaseComponent.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatBaseComponent.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e72f9c91a9bbe0340cd1a8391dc356547522274778d593dcae5e9cc85a195f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: feature/common/src/main/java/com/shifenmiao/common/sync/ItemSyncManager.kt: feature/common/src/main/java/com/shifenmiao/common/sync/ItemSyncManager.kt changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is ItemSyncManager.syncAllOnAppLaunch at line 134), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(privacy): stop clipboard re-read on recomposition and gate pre-consent item sync\u201D; \u201Cfix(sync): \u4E0B\u62C9\u5237\u65B0/\u8FDB\u9875\u540C\u6B65\u52A0 10s \u8D85\u65F6,\u65AD\u7F51\u6302\u8D77\u65F6\u590D\u4F4D spinner \u5E76\u63D0\u793A\u7F51\u7EDC\u5F02\u5E38\u201D; \u201Cfix(i18n): es \u8BED\u57DF\u7EDF\u4E00\u4E3A t\u00FA, \u5145\u503C\u52A0\u8F7D\u5931\u8D25\u6539\u4E13\u7528\u6587\u6848, \u5F39\u5E55\u6761\u76EE\u8865 marquesina \u641C\u7D22\u522B\u540D\u4E0E\u9648\u65E7\u9ED8\u8BA4\u8BCD\u5237\u65B0\u201D; \u201Cfix(sync): \u540C\u6B65\u4E3B\u952E\u5207\u6362\u4E3A documentId,\u4FEE\u590D\u6761\u76EE\u91CD\u53D1\u540E\u91CD\u590D/\u5B64\u513F\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/common/src/main/java/com/shifenmiao/common/sync/ItemSyncManager.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/sync/ItemSyncManager.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"42692d21a87b8b8165d6e19632710855cd1fbc18a0ef19869470b08fb92d3811"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/publish_gitcode_release.py: scripts/publish_gitcode_release.py changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is publish_gitcode_release.upload at line 147), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ci): raise create_release timeout to 90m and fix GitCode attachment deletion\u201D; \u201Cfix(release): GitCode \u9644\u4EF6\u4E0A\u4F20\u5BB9\u5FCD\u7F51\u7EDC\u5C42\u5F02\u5E38\u5E76\u91CD\u8BD5\u201D; \u201Cfix(ci): GitCode \u53D1\u5E03\u811A\u672C\u6253\u5370\u524D\u62B9\u6389\u4EE4\u724C, \u7F51\u7EDC\u5F02\u5E38\u4E0D\u518D\u56DE\u5E26\u9274\u6743\u7684 URL\u201D; \u201Cfix(ci): GitCode \u53D1\u5E03\u811A\u672C\u9010\u4E2A\u4E0A\u4F20, \u4E0D\u518D\u56E0\u5355\u4E2A\u5931\u8D25\u77ED\u8DEF\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- scripts/publish_gitcode_release.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish_gitcode_release.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3a6609951720893d60203664b424c1c0924cc94d781c3700558e1bbc9a7ee7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: feature/common/src/main/java/com/shifenmiao/common/components/text/TextSelectionToolbar.kt: feature/common/src/main/java/com/shifenmiao/common/components/text/TextSelectionToolbar.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is TextSelectionToolbarKt.TextSelectionActionButton at line 236), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ai): \u4FEE\u590D AI \u4E92\u804A\u8BB0\u5F55/\u6807\u9898/\u9009\u533A\u5DE5\u5177\u6761\uFF0C\u8865\u9F50\u6C42\u597D\u8BC4\u4E0A\u62A5\u201D; \u201Cfix(ai): \u6587\u672C\u9009\u4E2D\u83DC\u5355\u6539\u7528\u9009\u533A\u914D\u8272\u5E76\u8D34\u56DE\u9009\u533A\u201D; \u201Cfix(ai): align selection toolbar with chat selection\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/common/src/main/java/com/shifenmiao/common/components/text/TextSelectionToolbar.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/components/text/TextSelectionToolbar.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeadf28a3100047169bcad0016c81d042ff3ce53a873e786e8d5502cf0004157"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerRootContentEmbeddable.kt: feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerRootContentEmbeddable.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is MediaPickerRootContentEmbeddableKt.MediaPickerRootContentEmbeddable at line 80), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(permissions): show a purpose dialog before every runtime permission request\u201D; \u201Cfix(ui): \u628A\u9009\u56FE\u3001\u4FDD\u5B58\u63D0\u793A\u548C\u641C\u7D22\u8BF4\u660E\u6536\u6210\u5B8C\u6574\u53E5\u5B50\u201D; \u201Cfix(ai): \u4FEE\u590D\u6D77\u5916\u8BED\u97F3\u8F93\u5165\u6743\u9650\u6B7B\u5FAA\u73AF,\u7CFB\u7EDF\u8BC6\u522B\u4E0D\u518D\u7533\u8BF7\u591A\u4F59\u5F55\u97F3\u6743\u9650\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerRootContentEmbeddable.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaPickerRootContentEmbeddable.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf41b35b12a3818ded2b5218087fc43107f68af5f775e044986a173b80830ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: feature/media-player/src/main/java/com/wanbaohe/media/ui/MediaDateAnchorBar.kt: feature/media-player/src/main/java/com/wanbaohe/media/ui/MediaDateAnchorBar.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is MediaDateAnchorBarKt.MediaDateAnchorBar at line 61), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(media-player): \u5A92\u4F53\u83DC\u5355\u4E0A\u4E0B\u7559\u767D\u6539\u4E3A\u5BF9\u79F0\u201D; \u201Cfix(media-player): \u5A92\u4F53\u83DC\u5355\u7EDF\u4E00\u7528 surfaceContainerLowest \u5E76\u8865\u9876\u90E8\u7559\u767D\u201D; \u201Cfix(media-player): \u65E5\u671F\u4E0E\u9876\u680F\u83DC\u5355\u7EDF\u4E00\u7528\u5E26\u7BAD\u5934\u6C14\u6CE1\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/media-player/src/main/java/com/wanbaohe/media/ui/MediaDateAnchorBar.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-player/src/main/java/com/wanbaohe/media/ui/MediaDateAnchorBar.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"862705f5ede2e13067272af113f9b7433b51205efeac3d65d4fb1994c81bc666"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: feature/record-center/src/main/java/com/wanbaohe/recordcenter/service/HealthInsightService.kt: feature/record-center/src/main/java/com/wanbaohe/recordcenter/service/HealthInsightService.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is HealthInsightService.buildInput at line 83), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(i18n): \u7A7A\u5185\u5BB9\u515C\u5E95\u6587\u6848\u672C\u5730\u5316, \u6613\u7ECF\u89E3\u8BFB\u8DDF\u968F\u5E94\u7528\u8BED\u8A00\u201D; \u201Cfix(i18n): AI \u751F\u6210\u7C7B\u63D0\u793A\u8BCD\u8DDF\u968F\u5E94\u7528\u8BED\u8A00, \u4E0D\u518D\u4E00\u5F8B\u8F93\u51FA\u4E2D\u6587\u201D; \u201Cfix(ai): \u521B\u5EFA\u667A\u80FD\u4F53/\u63D0\u793A\u8BCD\u8865\u767B\u5F55\u4E0E\u79EF\u5206\u95F8, \u4FEE\u590D\u5168\u5C40 401 \u515C\u5E95\u5931\u6548\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/record-center/src/main/java/com/wanbaohe/recordcenter/service/HealthInsightService.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/record-center/src/main/java/com/wanbaohe/recordcenter/service/HealthInsightService.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5217958ef98e53d8070a8c9f1d9bdc1d3f0e86acbfd8cf44100e4c82c9962eb1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt: feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is ManageGameUseCase.start at line 48), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(i18n): \u6D3B\u52A8\u65E5\u5FD7\u4E0E\u63D0\u8BCD\u5668\u6587\u6848\u672C\u5730\u5316,\u6E05\u7406\u4EE3\u7801\u786C\u7F16\u7801\u4E2D\u6587\u201D; \u201Cfix(games): \u68CB\u7C7B\u6E38\u620F(chess/gomoku/xiangqi)\u518D\u6765\u4E00\u5C40\u4FDD\u7559\u5386\u53F2\u5BF9\u5C40\u3001\u8FD4\u56DE\u6808\u5E95\u515C\u5E95\u201D; \u201Cfix(xiangqi): \u4FEE\u68CB\u8C31\u6B63\u786E\u6027\u4E0E\u56DE\u653E\u53EF\u7528\u6027, \u7EDF\u4E00\u7ED3\u679C\u8BCD\u6C47\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0077bd0719b8b11cdfdc441ebc6eb1182ad29a08f44f929c5d7bb2ccbfab63db"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: core/base/src/main/java/com/shifenmiao/base/utils/DateUtils.kt: core/base/src/main/java/com/shifenmiao/base/utils/DateUtils.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is DateUtils.getTimePassedInHourMinSec at line 60), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ui): \u963F\u8BED\u8DDF\u968F RTL \u5E03\u5C40,\u4FEE\u6B63\u65E5\u671F bidi\u3001\u5361\u7247\u5BF9\u9F50\u4E0E\u641C\u7D22\u9AD8\u4EAE\u201D; \u201Cfix(i18n): \u65E5\u671F\u683C\u5F0F\u8DDF\u968F locale\u3001\u957F\u5206\u7C7B chip \u4E0E FAB \u6807\u7B7E\u5141\u8BB8\u4E24\u884C\u3001\u79EF\u5206\u6309 locale \u5343\u5206\u4F4D\u201D; \u201Cfix(i18n): \u4FEE\u590D\u590D\u6570/\u5360\u4F4D/\u65E5\u6587\u6B8B\u7559/\u8F6C\u76D8\u547D\u540D/\u65F6\u95F4\u786C\u7F16\u7801\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- core/base/src/main/java/com/shifenmiao/base/utils/DateUtils.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/shifenmiao/base/utils/DateUtils.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb090ca44c3a25faa5bf480ba5aba7633943882bbd2bf105301f7ea1b5a2cd6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/MilestoneInsightService.kt: feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/MilestoneInsightService.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is MilestoneInsightService.generateAndSave at line 50), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(i18n): \u7A7A\u5185\u5BB9\u515C\u5E95\u6587\u6848\u672C\u5730\u5316, \u6613\u7ECF\u89E3\u8BFB\u8DDF\u968F\u5E94\u7528\u8BED\u8A00\u201D; \u201Cfix(i18n): AI \u751F\u6210\u7C7B\u63D0\u793A\u8BCD\u8DDF\u968F\u5E94\u7528\u8BED\u8A00, \u4E0D\u518D\u4E00\u5F8B\u8F93\u51FA\u4E2D\u6587\u201D; \u201Cfix(ai): \u521B\u5EFA\u667A\u80FD\u4F53/\u63D0\u793A\u8BCD\u8865\u767B\u5F55\u4E0E\u79EF\u5206\u95F8, \u4FEE\u590D\u5168\u5C40 401 \u515C\u5E95\u5931\u6548\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:11:02 \u002B08:00\u0027 --until=\u00272026-11-16 20:11:02 \u002B08:00\u0027 --full-history --no-merges -- feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/MilestoneInsightService.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/MilestoneInsightService.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4c239eebc123b87c17e03e29dba580af4b9f12c22bb10be41c222bc50cfe15"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 145 significant file(s) lose their only recent owner: feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt, feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt, feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt, feature/iching-divination/src/main/java/com/wanbaohe/iching/ui/icons/CoinFrontQian.kt, core/resources/src/main/java/com/t8rin/imagetoolbox/core/resources/icons/line/LineAddToHome.kt, feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt, feature/survive30s/src/main/java/com/wanbaohe/survive30s/screen/Survive30sScreen.kt, feature/marktodo/src/main/java/com/shifenmiao/marktodo/screen/MarkTodoScreen.kt (\u002B137 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f66b1e902e64662e89c3d33dc97042dd349ea9a3df13530a0d5a626b9e905624"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 130 significant file(s) lose their only recent owner: feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt, feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/presentation/components/StyleCustomizer.kt, feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt, feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupDocumentCodec.kt, libs/documentscanner/src/main/java/com/t8rin/documentscanner/DocumentScannerActivity.kt, feature/boardgame/src/main/java/com/wanbaohe/boardgame/export/BoardGameGifExportDialog.kt, feature/lifetime/src/main/java/com/shifenmiao/lifetime/ui/HourglassHeroCard.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt (\u002B122 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f85ee6aa7442a26b62d857c5bf5673487d8a52c119a4c2c49d396a7f61962645"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: really important one.. \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":"libs/twain/src/main/java/io/noties/markwon/prism4j/languages/Prism_css.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea24d6173fa057694c40f6b93d806fa82fb8d591f685e4fe6b6fe715a8eb4267"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Add resetting back to bounds for rotated state as well \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":"libs/cropper/src/main/java/com/t8rin/cropper/state/CropStateImpl.kt"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7128c94ec39e7e6a0af553075a7a094e32731663bc4d55eb8fe6f680dad2ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //    //TODO Change pan when zoom is bigger than 1f and touchRegion is inside overlay rect \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":"libs/cropper/src/main/java/com/t8rin/cropper/state/DynamicCropState.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cbeb0f5001129552f54974a85691ba25591062c51de61a00be9d5f91e6f9dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Remove unnecessary callbacks \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":"feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/screenLogic/LimitsResizeComponent.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5e08816b424e19453fb9b3bf9402de02dd5518933402de532d021774835650"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 todo / \u68C0\u67E5\u70B9 / \u7EDF\u8BA1\u884C \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/screen/node/ChatNodes.kt"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c16f0955e30e7b63c326ff40b170892f345fbfa26d5e12582cc17d2e28d729"}},{"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":"feature/ai-image/src/main/java/com/shifenmiao/ai/image/controllers/AIImageComponent.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ecc58f13b2c9dd2c23064965c865a001ba51c4fb29e426db2bdfdde01a5666"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Phase 4): Phase 1 \u672C\u5730\u6A21\u578B supportToolCalls = false\uFF0Ctool \u6D88\u606F\u4E0D\u4F1A\u5230\u8FBE\u3002 \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":"feature/ai/src/main/java/com/shifenmiao/ai/request/LocalLlmRuntime.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae30355f0b0c5c525fb86053aba6a9f5d834f03b547210a6f4f71920b3d78ac"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // \u4F7F\u7528 Z \u4EE3\u66FF XXX\uFF0C\u517C\u5BB9 API 23\u002B \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":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/GetCurrentTimeTool.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"30498634a8ef00b44dcb51dab44e76c7f645a30f8bb7aa9d381ea057fe4a0198"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(b/322878517): Figure out a way to seamlessly continue the animation after \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/modifier/AnimateContentSizeNoClip.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae491cdbdfcd6b2363c14b8dca91f4ac6c585846716139ab7c8e8c623b0772d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo open uri \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":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/SafeUriHandler.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fd59f782732ad566b9e30d70b0ddbaae01c547d9f9971c62d1d3cfbbc128bf"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060produceID\u0060 spells \u0060ID\u0060 where 154 names in the project spell it \u0060Id\u0060: 154 of 156 names in project model spell the token \u0060Id\u0060 (154 of 156; unit: names in project model containing \u0060Id\u0060). Peers: Wechat.appId (core/model/src/foss/java/com/shifenmiao/model/wechat/Wechat.kt:34); Wechat.corpId (core/model/src/foss/java/com/shifenmiao/model/wechat/Wechat.kt:35); Wechat.register(appId) (core/model/src/foss/java/com/shifenmiao/model/wechat/Wechat.kt:45); Wechat.pay(appId) (core/model/src/foss/java/com/shifenmiao/model/wechat/Wechat.kt:49); Wechat.pay(partnerId) (core/model/src/foss/java/com/shifenmiao/model/wechat/Wechat.kt:49). Rename to \u0060produceId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/model/src/main/java/com/shifenmiao/model/ai/AIGCInfo.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"091cff8ac4da6f0c24ca2ec4c40ce84eea5f1244354daf9aeea0722e8c6d8f63"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060propagateID\u0060 spells \u0060ID\u0060 where 154 names in the project spell it \u0060Id\u0060: 154 of 156 names in project model spell the token \u0060Id\u0060 (154 of 156; unit: names in project model containing \u0060Id\u0060). Peers: Wechat.appId (core/model/src/foss/java/com/shifenmiao/model/wechat/Wechat.kt:34); Wechat.corpId (core/model/src/foss/java/com/shifenmiao/model/wechat/Wechat.kt:35); Wechat.register(appId) (core/model/src/foss/java/com/shifenmiao/model/wechat/Wechat.kt:45); Wechat.pay(appId) (core/model/src/foss/java/com/shifenmiao/model/wechat/Wechat.kt:49); Wechat.pay(partnerId) (core/model/src/foss/java/com/shifenmiao/model/wechat/Wechat.kt:49). Rename to \u0060propagateId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/model/src/main/java/com/shifenmiao/model/ai/AIGCInfo.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7861f339459212ece816d272beda303e40b3e9c190b4570c7c9a7114a97cae8"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060showURL\u0060 spells \u0060URL\u0060 where 38 names in the project spell it \u0060Url\u0060: 38 of 39 names in project model spell the token \u0060Url\u0060 (38 of 39; unit: names in project model containing \u0060Url\u0060). Peers: DefaultDataItem.customUrl (core/model/src/main/java/com/shifenmiao/model/DataItem.kt:86); AiEngine.requestUrl (core/model/src/main/java/com/shifenmiao/model/ai/AiEngine.kt:64); AiEngine.proxyUrl (core/model/src/main/java/com/shifenmiao/model/ai/AiEngine.kt:66); AiEngine.isUrlError (core/model/src/main/java/com/shifenmiao/model/ai/AiEngine.kt:76); ImageContent.imageUrl (core/model/src/main/java/com/shifenmiao/model/ai/RequestContent.kt:135). Rename to \u0060showUrl\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/model/src/main/java/com/shifenmiao/model/pay/alipay/PayParams.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc1fdcaaf34f33f77910a1b4b083a82a337b13c8c530c42060668da6b9d0bfc"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060currentAIEngine\u0060 spells \u0060AI\u0060 where 78 names in the project spell it \u0060Ai\u0060: 78 of 80 names in project chess spell the token \u0060Ai\u0060 (78 of 80; unit: names in project chess containing \u0060Ai\u0060). Peers: GameSummary.whiteAiConfig (feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GameDtos.kt:40); GameSummary.blackAiConfig (feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GameDtos.kt:41); GameDetail.whiteAiConfig (feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GameDtos.kt:68); GameDetail.blackAiConfig (feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GameDtos.kt:69); com.wanbaohe.chess.application.dto.GameAiPlayerConfig (feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GamePreparation.kt:41). Rename to \u0060currentAiEngine\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7aa220ffeea09231844e450f152d03fd7eb2542bfe03d56defe87d8121d015"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060currentAIEngine\u0060 spells \u0060AI\u0060 where 78 names in the project spell it \u0060Ai\u0060: 78 of 80 names in project chess spell the token \u0060Ai\u0060 (78 of 80; unit: names in project chess containing \u0060Ai\u0060). Peers: GameSummary.whiteAiConfig (feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GameDtos.kt:40); GameSummary.blackAiConfig (feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GameDtos.kt:41); GameDetail.whiteAiConfig (feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GameDtos.kt:68); GameDetail.blackAiConfig (feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GameDtos.kt:69); com.wanbaohe.chess.application.dto.GameAiPlayerConfig (feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GamePreparation.kt:41). Rename to \u0060currentAiEngine\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f624a6564537c25946af435aaa0880ba72000fa6f7878a5a25e452bca26d0e"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060buildProduceID\u0060 spells \u0060ID\u0060 where 70 names in the project spell it \u0060Id\u0060: 70 of 71 names in project common spell the token \u0060Id\u0060 (70 of 71; unit: names in project common containing \u0060Id\u0060). Peers: AigcInfoGenerator.generateJson(completionId) (feature/common/src/main/java/com/shifenmiao/common/ai/aigc/AigcInfoGenerator.kt:75); AigcInfoGenerator.generateJson(conversationId) (feature/common/src/main/java/com/shifenmiao/common/ai/aigc/AigcInfoGenerator.kt:75); AigcInfoGenerator.generateJson(contentId) (feature/common/src/main/java/com/shifenmiao/common/ai/aigc/AigcInfoGenerator.kt:75); AigcInfoGenerator.generateJson(entryRefId) (feature/common/src/main/java/com/shifenmiao/common/ai/aigc/AigcInfoGenerator.kt:75); AigcInfoGenerator.generate(completionId) (feature/common/src/main/java/com/shifenmiao/common/ai/aigc/AigcInfoGenerator.kt:108). Rename to \u0060buildProduceId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/ai/aigc/AigcInfoGenerator.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4fbde5d493505741af813985504e2538959a1c0b9f4095ff20af552a61a5aa"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060currentAIEngine\u0060 spells \u0060AI\u0060 where 79 names in the project spell it \u0060Ai\u0060: 79 of 81 names in project gomoku spell the token \u0060Ai\u0060 (79 of 81; unit: names in project gomoku containing \u0060Ai\u0060). Peers: GameSummary.blackAiConfig (feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/dto/GameDtos.kt:40); GameSummary.whiteAiConfig (feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/dto/GameDtos.kt:41); GameDetail.blackAiConfig (feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/dto/GameDtos.kt:70); GameDetail.whiteAiConfig (feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/dto/GameDtos.kt:71); com.wanbaohe.gomoku.application.dto.GameAiPlayerConfig (feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/dto/GamePreparation.kt:41). Rename to \u0060currentAiEngine\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d467c2c51439ba87d4e014bff9107da0c289df417bb274d456472ed836f05e4"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060currentAIEngine\u0060 spells \u0060AI\u0060 where 79 names in the project spell it \u0060Ai\u0060: 79 of 81 names in project gomoku spell the token \u0060Ai\u0060 (79 of 81; unit: names in project gomoku containing \u0060Ai\u0060). Peers: GameSummary.blackAiConfig (feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/dto/GameDtos.kt:40); GameSummary.whiteAiConfig (feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/dto/GameDtos.kt:41); GameDetail.blackAiConfig (feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/dto/GameDtos.kt:70); GameDetail.whiteAiConfig (feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/dto/GameDtos.kt:71); com.wanbaohe.gomoku.application.dto.GameAiPlayerConfig (feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/dto/GamePreparation.kt:41). Rename to \u0060currentAiEngine\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0628e49a6600add17351d01a4746bcffc82207cce9e1cbb6e3f8976a80213630"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060currentAIEngine\u0060 spells \u0060AI\u0060 where 83 names in the project spell it \u0060Ai\u0060: 83 of 85 names in project xiangqi spell the token \u0060Ai\u0060 (83 of 85; unit: names in project xiangqi containing \u0060Ai\u0060). Peers: GameSummary.redAiConfig (feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/dto/GameDtos.kt:40); GameSummary.blackAiConfig (feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/dto/GameDtos.kt:41); GameDetail.redAiConfig (feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/dto/GameDtos.kt:68); GameDetail.blackAiConfig (feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/dto/GameDtos.kt:69); com.wanbaohe.xiangqi.application.dto.GameAiPlayerConfig (feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/dto/GamePreparation.kt:39). Rename to \u0060currentAiEngine\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb385da40d8ae2b7fa1e89afb719f19892a79ba96236ebf0f7af327a2d4eaf9"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060currentAIEngine\u0060 spells \u0060AI\u0060 where 83 names in the project spell it \u0060Ai\u0060: 83 of 85 names in project xiangqi spell the token \u0060Ai\u0060 (83 of 85; unit: names in project xiangqi containing \u0060Ai\u0060). Peers: GameSummary.redAiConfig (feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/dto/GameDtos.kt:40); GameSummary.blackAiConfig (feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/dto/GameDtos.kt:41); GameDetail.redAiConfig (feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/dto/GameDtos.kt:68); GameDetail.blackAiConfig (feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/dto/GameDtos.kt:69); com.wanbaohe.xiangqi.application.dto.GameAiPlayerConfig (feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/dto/GamePreparation.kt:39). Rename to \u0060currentAiEngine\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b810c640dafc07530ec795963e17ca37483ed34abb9872204ef17ac754f59041"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060core/resources\u0060 (258479 LoC, 812 module-visible types across 7 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/resources/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fa75e71622fd58b833c1fac6c66787ba061d6b08036ea0e6c8dd79df5889f2"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060core/weather\u0060 (228941 LoC, 545 module-visible types across 12 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/weather/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab03f703104fe5b2ee2a19b6cd360ddbcf4bef928b2e340f4f43ab4a5c2e9f2"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060core/ui\u0060 (75856 LoC, 1035 module-visible types across 79 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db7f2dc5bd2afd9d5da99b929a4b34cfbb668ef0105be62b143ee37781dd722"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/ai\u0060 (63359 LoC, 635 module-visible types across 48 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68aac942505d20416b64d8c3ded56a97dc0d7cb9cf1f6704052e6420e3e63344"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060core/database\u0060 (15365 LoC, 255 module-visible types across 100 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6e1aecb82630110049ec1a9e1eb054a3cb13efdaded24e8126059ca3ab9f7d"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060core/model\u0060 (14206 LoC, 922 module-visible types across 65 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/model/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3ab9d77d21364e5a43bc89e3c5611a339f74aeed34f0e5962e0cb8ad6d1db6"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060core/domain\u0060 (7227 LoC, 841 module-visible types across 20 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d18ab26d1404cec9b7591cb4d8456cf6ce6edd1fe522be0951d65ce58a40805"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060core/filters\u0060 (24798 LoC, 829 module-visible types across 13 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/filters/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc19eeac9cf90775a3cd1367850d40c8bcf7b64da6b1b4e079b5f3be0b4c6d94"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/common\u0060 (31908 LoC, 354 module-visible types across 35 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a59eb582480292ef32de2f23066f8929ab97592ab945acde3cb1f9345350d7"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/pdf-tools\u0060 (11899 LoC, 158 module-visible types across 44 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/pdf-tools/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2a47859efc9a796ea7f5bca8fc0cc7faea4cd5fdf15b45972eb21cbc487d85"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060libs/diagram\u0060 (23697 LoC, 261 module-visible types across 16 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1755e12c93b4b77b46cbcd3e4c3845efea532bbe410a65beb0bd7fc2acab7f6"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060libs/markdown\u0060 (16891 LoC, 392 module-visible types across 22 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c975a073b0d67c095509f1206c5668b52700a113afb782ca933517f10e3758e7"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/dsh-client\u0060 (18450 LoC, 383 module-visible types across 9 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0670da0fb78f7e7d9c52e4335060a3668e62d66931cb5224ea77118b793210ca"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/filters\u0060 (18655 LoC, 375 module-visible types across 18 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe0e252c8f8fb6e6d04fc7095678cc7bd0e10a7236f6ccfadd59bbcb81fe2ff"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/markup-layers\u0060 (18629 LoC, 193 module-visible types across 29 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd802d306b4a26be3d4dea4056a499081e084199627704b3d11f3ac13a1fbb3"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/settings\u0060 (15953 LoC, 155 module-visible types across 25 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a74e8913797f2af413ce28b181c5b08c84409d8cb37247a84eaf1b16ea5de82"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/xiangqi\u0060 (15507 LoC, 295 module-visible types across 19 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8741f8246a091381498965f6d03ae045f9c4a7a73563628bcb7ef93d114bfe04"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/chess\u0060 (13276 LoC, 280 module-visible types across 18 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"096ca2e0c68cd1833aa291fbb679ad366cd6fa144af02c0a5d9749eb3c3a48cd"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/gomoku\u0060 (12509 LoC, 261 module-visible types across 18 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f92a42e00aa8ca7ba9a5e66f6245282bfb30d478411c020be5b41786b38b32b"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/app\u0060 (11724 LoC, 214 module-visible types across 17 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/app/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3224ade68e7a230031a64a688ce8414aead8ee1c17ecde97fe4eec534de0559f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060core/base\u0060 (6611 LoC, 89 module-visible types across 19 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4beb0324ae1df0b08b10483ddaaf7c392b42c7ff630cc414d4b3febb1f3c2b7f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/marktodo\u0060 (9934 LoC, 224 module-visible types across 10 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6d9de618e6401ae7b48ee09cb23c9f836542be1fedd955bd91cfb3438a4add"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/text-card\u0060 (10772 LoC, 114 module-visible types across 16 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/text-card/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb325fcf3cb774861986f3320edc471081ecdda82cad1628eb6ce2ff626f551"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/watermarking\u0060 (6172 LoC, 131 module-visible types across 17 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c64d0b3a5bd8fa621abc488eee26891709d25e9fda1cfd5aab34eb27f64616"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/webview\u0060 (8992 LoC, 86 module-visible types across 11 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36fdbdb7fb3e3c7f94cb56f4853a9ba85f2a92fbc410cbd11ba8b2d3b8355f1"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060core/data\u0060 (6851 LoC, 101 module-visible types across 14 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b8a1798ba43bb2d4a84c8ab09d60f25ef2794d76dfe476278a7a6da93537f2"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/draw\u0060 (7932 LoC, 121 module-visible types across 11 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c400d5499a7922078fd5c38b78a575b170887f5427247f9b03f72327f0c214d"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060feature/cloud-storage\u0060 (7856 LoC, 86 module-visible types across 12 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b734de2f9c09807b53a16df74267bec72216ded81e0b17001ce3a61f56d808f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060core/network\u0060 (5602 LoC, 132 module-visible types across 12 directories) overshoots its size bounds. 29 of 155 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfd4b1f7a61e18f118689591a9ec29533d3d17f5192382016e0b9737a688910"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a369dcb4efa36d15f982b7ea776e82b0e6709c54fff443a4b51b70ab97fef498"},"properties":{"commitSha":"2908899af782b021b7530415538de807ab020589"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0730847df21c4986f9f73fdb9c63aba20163225c65e36f0b63516b29224c25dc"},"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":"bb63397f18fb872024430f816b3d12265b1167a6a6365ded578a1c45c99c22c1"},"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":"059b718c685be35634450a53deee6e9874edb805b60158d86048b5677e521732"},"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":"ac1b6de529ec325d0846e680ba786f7e8a4a0b369357a12e7d37e6aa0beb5c35"},"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":"bc7132d15236d2aac05f28b153386d63e7836c2311539211ea335172b737d93b"},"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":"28bdd636111f8daf41965aa82d3f591bba8b4ce813b19e6af794ed4b04645bd5"},"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":"b4db6b20db602559a73aa44a2472c419ed5b9f82fbf2e3f83790ce505c0d4cac"},"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":"b297c0cb1698aa411a02a0c0c418a2b9a5d0c53dd5a621cb853849e5966af306"},"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":"96dd157f128580d32281f19a7c7077f64d2093d9646935485d9f3efdbde8a06a"},"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":"b86e225a94b70c4517f172ab8d869e3be59ae95ef08bad0c054b3871297c70d4"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"391c0d224eb5edca1f17f3823a79cc376301b4a5b0381d7ca4dfb330aa6af4fa"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b2bdd02137fecfeeea94f4a41bf00230b8ffdc39657923a8536f30fad4d16fd"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"7dd5d97ea24924d1b194b807c1b0d56114ca38e94c347c75d4fdb20d9c9c9271"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"710cba15f6415283213ddc5d5a90f7cfdd5f2660cf3c0c6331b0eeb443ccb3c2"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"5d2c973a0b0419df3da820fcdf5c28e615c1f68bb8e8194d6d576eb85bf81465"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"90afe0769b15ad1f8fa00477a64daaa0d717caedff6a469706be23b286054e41"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"9dace274e7b0e7fa0c78a9ce3577b20f03995e7cfe9d6cc174ab0fa3a0bee818"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AIAddEngineScreen.kt \u2194 AIEngineSettingsDetailScreen.kt: \u0060feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIAddEngineScreen.kt\u0060 and \u0060feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIEngineSettingsDetailScreen.kt\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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060ef369bfa\u0060 feat(marktodo): use shared selector for task groups; \u0060afb796d2\u0060 feat(settings): hide provider model fetch on proxy-routed engines; \u006010404038\u0060 feat(settings): simplify AI service editing and pick protocol from a \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/ai/screen/AIAddEngineScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"592e232a6d540c3fc624d354685df0e20c7988d9c496da5ca325bf0483db8962"}},{"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":"fe274ba5adebde25ca0b3db842e44cbb1aaeb7cfecfbb7215cd452596ba1f4c2"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/files/interactions.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbef593b438fbe46b73e97b205c905f4d9558f85cba25dd94161f1f6e3d31b89"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/protype/_1/code.html"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"068ce050f31462577273a11a0bed34ee3924189d40c8057a84b4c51e5ae16ed7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/lifetime/protype/_1/code.html"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"5597e8666c1b602089e22e5c901fb93bc4a901ef56206e941fdadfe399c3b4fd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/index.html"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e102b6c6f3fbe990706321b57c514ac5168cc17d69bffecf0116cfe596ff6b51"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/files/render.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"74af4bab6a3db8c7adbcff54439d6de5f414ec7ef7af3cc96d212a50f725f1a6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/files/render.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04597feafc726f75970781733bd62b34da5a9f96738d166f87d11be1f7ae644"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/index.html"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"39590c61de679e60209bb14864b8c0d0960a695159fe16c4f829fca7bd431b47"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/index.html"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b2a4d8afa521e864d67debfa9bfba377cf8b2d2173733da3541377fa5d9cc7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/index.html"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e4c4c428e77aea066a1fa48706b5b702e2f811849697b80cb3dd90b8e663fc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/index.html"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cbcddc2285201771446706807ae0491154682c23f3462be51f26bf3182b8a9"}},{"ruleId":"AC3","level":"warning","message":{"text":"Multiple navigation landmarks without distinguishing labels: With more than one navigation landmark, each needs an aria-label/aria-labelledby (e.g. \u0022Primary\u0022, \u0022Footer\u0022) so assistive tech can tell them apart. At least one nav here is unlabelled."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae79c2724446441e5e88448f1ffd91cc859fb2525792d01e11fa80752907c039"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/docx.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5a75bfff95175318bfca3128666a4bfe285a2ec3f5467bd9a950d7df2db0df"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/docx.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa382b0384d4d2b9364ac98cbf56041aca5f34936c6b89dfd1eee03ba6e6be68"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe852c08664decc433bce82e8d8bde162a9755ea22bc69533e6be531db64f637"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/imgweb.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f61c079f33b2ebe18d1ffcb0be41f6202e351e820556cf27cb12d63f5b3152"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/imgweb.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"366120a7da3ae4f5b500e2b2983198f5afeafa5517cfdab52705d39367717aaf"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/md.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb43d36788f4df5c95799ee37b1285be723f712cb6e80eb49aa75b1537583aa9"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/md.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e420772484e07c37440fac8ec2f144e81dd6cda41236bbdce5fc302e0c68cac"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/odp.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2ce1ae1e04b1f72206347d70809ffac40770ab5ab945631203b5f0b9df632f"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/odp.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ea9745e1c7cf48ea7039f3a513a9fb58a559aaa258b8adf76f884250a8f67e"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/ppt.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25d4f6259367f6401523e6ea05b1ec432cee675f6017dd9ab25022420105ef0"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/ppt.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"661b4cb8bcb19c44681e5bda4857477022626a2ca90605484d8c4aba4fccb139"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/pptx.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a9c0925b1d392e8257fe1b001d0714c0034879009bc99fa11ac68d006fe12c"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/pptx.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fb57ae21a28a455e3a4c611d055651f5bbb4a8bd159e1d0125dce11043ab68"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea10e6b79df7066dbfe49e033f33b729235388e7d3a586e6741929e2c9b1895"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-rtf.js"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73dad654013da6749ae3d5ec553ac98f0722456c54bf8ac6677ae844e7880a9"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"300f68eb59c285f318598aae6e92c427e17e78dd8cae732b88133721d92a3687"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0e5ed1497e19b4ccf3e0ccb084363c50e34dd0dce2fac66c7046217cec4317"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/text.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed63ee290d60a7613178fdf612fefc250d99177dfc4b2961da8020bd3f95c0e5"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/text.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7353c81f2bcc1183a09882aa8f5724248204f17e31387393cc8d5f0bac9682"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/unsupported.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fb1069379d5be1c1f49fba44ff659281132a74d323df0dd2c96106892148b7"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/unsupported.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c93c995a73cd8b8dae6fb61a81f8fa455805b6f951482bb0b33409549e01edd"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/xlsx.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"877a7f7fcfb5da6e6ea32fd967c428b6883ba0fb50e23caeded76fe7abe98850"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/xlsx.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9860c25cf1a172917768b15694f660fe96dd900644214750b1ffeab006f95e12"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c052a90b4219a2d715fe0ab02e2a588601b045c5ba7dd2ee68fdf47423e3d0"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/index.html"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b487fb521d2d9434041b456ad6533f7531d8dcc65bc121cebe76147a775582da"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/index.html"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3b2b4d3a350f4ee012e94f7e7cb3fa654387a419b3b1f28b32c15f6067fe2f"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/files/navigation.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"761d22b646ad0ae291a1941ece6a64f08dce6ad21d3a8cc55192a78402ca4d25"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/files/navigation.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"405b49f3e98374bdc45cc6b0af3e0e0eacdc165131a2ed2f98a70343448d68a5"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.html"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4417f146535a5efb452dc4d02abf44c4f4926ac404db1688554c07d7b0b30791"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.html"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"679a7c5c34f0ffc40b394e6f69487e725316c3cde2036c5b08884aada6e8017e"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"b111fb38eedeedd7033d98a9e5c085f0f32411673a6193c7d0319f9557ab6b3a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a30400d6b5f50d1d158671d96eea395ac0ae57595d847d83658c508b6c588ba"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.skeleton\u0060 moves (\u0060animation: shimmer 1.5s infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/index.html"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3e2e34d16af30a3055ccd26a79ff77ec2fe506d9809bf30222fc37e6fb9dd2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.spinner\u0060 moves (\u0060animation: spin 1s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/index.html"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"149d1c61f32998432cb27e859c2d86de5dcd3f2725bf262a6f99828bf19890ff"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.dialog\u0060 moves (\u0060transition: transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/index.html"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d560e3664d6efd5e8ac2faca36b9e61e6f70184cd4d0d1e0c913d087bc6b545"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.milkdown\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/index.html"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6437ba8b4a6f1d644fadae510b0b1cdcc0ee822d444848cff317aeca126e69f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.milkdown .editor\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/index.html"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b72bbb6a8995263451087afcb8dce6313362cca7ba83ddc87d2d669d0a81b25"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: A2uiComponentRegistry: \u0060A2uiComponentRegistry\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (rendererMap; e.g. \u0060rendererMap\u0060 in \u0060register\u0060 at line 34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/A2uiComponentRegistry.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff0a9e2cc84fe8c69b73a8d82cff6c69ec0b40790d18d6bba8ed95258a30535"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: NetworkAudioPlayer: \u0060NetworkAudioPlayer\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (effectPlayer, backgroundDesired, backgroundPlayerSource, backgroundPlayer, playEpoch; e.g. \u0060effectPlayer\u0060 in \u0060playEffect\u0060 at line 67)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/shifenmiao/base/audio/NetworkAudioPlayer.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f833ea109a2297ff4fb1d8213e3675477f8f97e8dc8fd0af9242b389aab611"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: DeviceInfoModule: \u0060DeviceInfoModule\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (info; e.g. \u0060info\u0060 in \u0060getDeviceInfoFun\u0060 at line 103)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/shifenmiao/base/hilt/DeviceInfoModule.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"552a63c8e149bf61b0a7d5750753bb31ceaba89d7c5a95f3f00ec4567a236da7"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: VideoPipState: \u0060VideoPipState\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (owner; e.g. \u0060owner\u0060 in \u0060update\u0060 at line 83)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/shifenmiao/base/pip/VideoPipState.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba4649451974a488cc8151f30e244bc942efebe044e72c55b2aee844934e402"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ActionRegistry: \u0060ActionRegistry\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (customHandlers; e.g. \u0060customHandlers\u0060 in \u0060register\u0060 at line 129)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/action/ActionEngine.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1967dc3a52246eac336a6222a1ac497934e1f5126ee84240fb4a8851f38fd4"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ModifierRegistry: \u0060ModifierRegistry\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (handlers; e.g. \u0060handlers\u0060 in \u0060register\u0060 at line 92)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/modifier/ModifierRegistry.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8680e9616c6d25e1bc19598658701953b28c491fe0c2d906ffd45d1dd45a1b12"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ComponentRegistry: \u0060ComponentRegistry\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (renderers; e.g. \u0060renderers\u0060 in \u0060register\u0060 at line 75)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/renderer/ComponentRegistry.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dd4eb56714c6367c6a018922e87fd19c3179bbf7008973a3ad44b341cd895e"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: OkHttpHtmlDownloader: \u0060OkHttpHtmlDownloader\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (currentClient; e.g. \u0060currentClient\u0060 in \u0060downloadHtml\u0060 at line 42)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/downloader/OkHttpHtmlDownloader.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8de1c9bffc25cb93ca347f288f8a7c409501d35bfe43317eb0b17f3e384971c"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: GmRewardedAdController: \u0060GmRewardedAdController\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (sdkStarting, loading, rewardedAd, configRetried; e.g. \u0060sdkStarting\u0060 in \u0060ensureSdkStarted\u0060 at line 100)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ad-watch/src/domestic/java/com/wanbaohe/adwatch/ads/GmRewardedAdController.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ba99f121370bc5e722621a7225b02dca3fb20ddd4a28b36438dc8660ba840c"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: GmsRewardedAdController: \u0060GmsRewardedAdController\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (loading, rewardedAd; e.g. \u0060loading\u0060 in \u0060preloadInternal\u0060 at line 78)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ad-watch/src/google/java/com/wanbaohe/adwatch/ads/GmsRewardedAdController.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04a18d826b27040251ea19c205879d076be04eeb1cf99aefa0e54412357f619"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: AgentToolRegistry: \u0060AgentToolRegistry\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (cachedToolDefinitions; e.g. \u0060cachedToolDefinitions\u0060 in \u0060invalidateToolDefinitionsCache\u0060 at line 140)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AgentToolRegistry.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e3deba589d1f1806e6021d4b7a026e57e95bd0752da4bcc7973e2c5e200412"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: SignalingClientImpl: \u0060SignalingClientImpl\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (savedRoomId, savedListener, isUserDisconnect, reconnectAttempts, listener, webSocket; e.g. \u0060savedRoomId\u0060 in \u0060connect\u0060 at line 112)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/online/SignalingClientImpl.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8181b4c3d2dd21291657f35f2b5f110920aa1e15f2518e3ace7ebda4225983bb"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: VoiceRecognizer: \u0060VoiceRecognizer\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (client, recorder; e.g. \u0060client\u0060 in \u0060start\u0060 at line 109)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/voice/VoiceRecognizer.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8483e3577fd441c53f1dff8ac481b7286da5865ba7784d5cc057f7fd02c6d95e"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: SignalingClientImpl: \u0060SignalingClientImpl\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (savedRoomId, savedListener, isUserDisconnect, reconnectAttempts, listener, webSocket; e.g. \u0060savedRoomId\u0060 in \u0060connect\u0060 at line 112)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/online/SignalingClientImpl.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f2968f850446f20bbdd8bf389a0b4d47b481853f7d4c0bf235d699864eb83f"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: LoginStateHolder: \u0060LoginStateHolder\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (handledWechatCodes; e.g. \u0060handledWechatCodes\u0060 in \u0060markWechatCodeHandled\u0060 at line 195)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/state/LoginStateHolder.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22d3555765bc79ab3812b3768efedfe0ca0e65f2bcf07650f161f4d5a276940"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: InlineMediaPlaybackCoordinator: \u0060InlineMediaPlaybackCoordinator\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (activeController; e.g. \u0060activeController\u0060 in \u0060activate\u0060 at line 57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-player/src/main/java/com/wanbaohe/media/domain/InlineMediaPlaybackController.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c920d99263a8f0098ac83dabcc58ec6e7831d890c6c4948583d8cc6bbb6d979d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ExoPlaybackEngine: \u0060ExoPlaybackEngine\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (playerKind, queueEntries, errorStreak, activeTextureView, mediaSession, exoPlayer; e.g. \u0060playerKind\u0060 in \u0060openQueue\u0060 at line 107)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-player/src/main/java/com/wanbaohe/media/playback/ExoPlaybackEngine.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"13596d66d7226b971f1050079aab332827c87c4e5928a203065f421b97abd94a"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: PoemService: \u0060PoemService\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (memoryFilterCache; e.g. \u0060memoryFilterCache\u0060 in \u0060loadFilterCache\u0060 at line 162)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/poem/src/main/java/com/wanbaohe/poem/service/PoemService.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d50b4610650b6b6d22191307aad54b72b25662732422bc6b865710f736e2718"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: VisualAutomationController: \u0060VisualAutomationController\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (isRunning, currentActivity, actionHistory; e.g. \u0060isRunning\u0060 in \u0060startTask\u0060 at line 126)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/VisualAutomationController.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce335c579957d1b8f2c77b84f8eacc39ae1202a1a56b3b4d545a5b70c7a2390"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: WebpService: \u0060WebpService\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (cachedExtractResult; e.g. \u0060cachedExtractResult\u0060 in \u0060extractFrames\u0060 at line 67)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/service/WebpService.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e2062b321dcd5a8fb45b5ee7ed991b0e906de9e10ebbe0f7b6f13305999f90"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: LocalXiangqiEngine: \u0060LocalXiangqiEngine\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (writer, reader, process; e.g. \u0060writer\u0060 in \u0060destroyProcess\u0060 at line 219)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/local/LocalXiangqiEngine.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5638b919ec4880bf7779f573eaecbbe158952f8f5b9603c952ec1b3cff1932"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: SignalingClientImpl: \u0060SignalingClientImpl\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (savedRoomId, savedListener, isUserDisconnect, reconnectAttempts, listener, webSocket; e.g. \u0060savedRoomId\u0060 in \u0060connect\u0060 at line 112)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/online/SignalingClientImpl.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48d85045fa481b183cc243e6ea02e627a1a1c9590dac7d5fd15124aaecf2fae"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: A2uiRendererModule (36 abstract methods): \u0060A2uiRendererModule\u0060 declares 36 abstract methods: \u0060bindColumnRenderer\u0060, \u0060bindRowRenderer\u0060, \u0060bindCardRenderer\u0060, \u0060bindListRenderer\u0060, \u0060bindButtonRenderer\u0060, \u0060bindTextFieldRenderer\u0060, \u0060bindCheckboxRenderer\u0060, \u0060bindChoicePickerRenderer\u0060, \u0060bindSliderRenderer\u0060, \u0060bindDateInputRenderer\u0060, \u0060bindTimeInputRenderer\u0060, \u0060bindTextRenderer\u0060, \u0060bindImageRenderer\u0060, \u0060bindIconRenderer\u0060, \u0060bindDividerRenderer\u0060, \u0060bindVideoRenderer\u0060, \u0060bindAudioPlayerRenderer\u0060, \u0060bindTabsRenderer\u0060, \u0060bindProgressRenderer\u0060, \u0060bindModalRenderer\u0060, \u0060bindSpacerRenderer\u0060, \u0060bindSwitchRenderer\u0060, \u0060bindStepperRenderer\u0060, \u0060bindRadioGroupRenderer\u0060, \u0060bindRowSelectorRenderer\u0060, \u0060bindColumnSelectorRenderer\u0060, \u0060bindGridSelectorRenderer\u0060, \u0060bindListSelectorRenderer\u0060, \u0060bindColorPickerRenderer\u0060, \u0060bindLocationPickerRenderer\u0060, \u0060bindImagePickerRenderer\u0060, \u0060bindFilePickerRenderer\u0060, \u0060bindFolderPickerRenderer\u0060, \u0060bindRangeSliderRenderer\u0060, \u0060bindRatingRenderer\u0060, \u0060bindBadgeRenderer\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/di/A2uiRendererModule.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0921211fd8680398409ed8ee3934223048b5eb79aa4d79c100c059cdc3394c8c"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AppDatabase (25 abstract methods): \u0060AppDatabase\u0060 declares 25 abstract methods: \u0060blogArticleDao\u0060, \u0060searchResultDao\u0060, \u0060imageDao\u0060, \u0060aiEngineDao\u0060, \u0060aiModelDao\u0060, \u0060itemEntityDao\u0060, \u0060itemDataDao\u0060, \u0060messageDao\u0060, \u0060conversationDao\u0060, \u0060agentDao\u0060, \u0060chatPromptDao\u0060, \u0060categoryDao\u0060, \u0060activityLogDao\u0060, \u0060toolCallTaskDao\u0060, \u0060themePresetDao\u0060, \u0060toolCatalogDao\u0060, \u0060conversationToolPolicyDao\u0060, \u0060toolBindingDao\u0060, \u0060ttsAudioEntryDao\u0060, \u0060passwordVaultEntryDao\u0060, \u0060passwordVaultCategoryDao\u0060, \u0060authCodeDao\u0060, \u0060memoryEntryDao\u0060, \u0060skillDao\u0060, \u0060conversationMemoryPolicyDao\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb34b55df59a8d34414e1ae7e9c3acd48b3bfa7f1abee6e9f1e238c54ec1d41"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: FeatureDatabase (46 abstract methods): \u0060FeatureDatabase\u0060 declares 46 abstract methods: \u0060paddleOcrTaskDao\u0060, \u0060docConvertTaskDao\u0060, \u0060markTodoCategoryDao\u0060, \u0060markTodoTaskDao\u0060, \u0060markTodoDashboardDao\u0060, \u0060markTodoTagDao\u0060, \u0060scheduleEventDao\u0060, \u0060scheduleProviderBindingDao\u0060, \u0060scheduleSyncStateDao\u0060, \u0060frequencyEventDao\u0060, \u0060personalMilestoneDao\u0060, \u0060countdownEventDao\u0060, \u0060milestoneAiInsightDao\u0060, \u0060watermarkTemplateDao\u0060, \u0060idPhotoSizeDao\u0060, \u0060altitudeRecordDao\u0060, \u0060speedTestRecordDao\u0060, \u0060speedTestConfigDao\u0060, \u0060bookkeepingCategoryDao\u0060, \u0060bookkeepingRecordDao\u0060, \u0060teleprompterScriptDao\u0060, \u0060dataDraftDao\u0060, \u0060xiangqiGameDao\u0060, \u0060xiangqiPlyDao\u0060, \u0060xiangqiAiTaskDao\u0060, \u0060gomokuGameDao\u0060, \u0060gomokuPlyDao\u0060, \u0060gomokuAiTaskDao\u0060, \u0060chessGameDao\u0060, \u0060chessPlyDao\u0060, \u0060chessAiTaskDao\u0060, \u0060wheelDao\u0060, \u0060chatMessageDao\u0060, \u0060chatSessionDao\u0060, \u0060recentAccessDao\u0060, \u0060blessingRecordDao\u0060, \u0060blessingWishDao\u0060, \u0060blessingTabConfigDao\u0060, \u0060poemDao\u0060, \u0060habitDao\u0060, and 6 more. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a163342f5e59516a19da0884a3dc5dee58ac42b2b3aeca32c1b6b6ac22533334"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AiEngineDao (20 abstract methods): \u0060AiEngineDao\u0060 declares 20 abstract methods: \u0060getAllEngines\u0060, \u0060getAllEnginesList\u0060, \u0060getEnginesByUserLevel\u0060, \u0060getEnginesListByUserLevel\u0060, \u0060getEngineByName\u0060, \u0060getEnginesByName\u0060, \u0060getEngineById\u0060, \u0060getEngineByNameAndProtocol\u0060, \u0060updateEngineSelectedModelName\u0060, \u0060updateEnginesSelectedModelNameByNameAndCurrentModelName\u0060, \u0060insertEngine\u0060, \u0060insertEngines\u0060, \u0060insertEnginesIgnore\u0060, \u0060updateEngine\u0060, \u0060deleteEngine\u0060, \u0060deleteEngineByNameAndProtocol\u0060, \u0060renameEngineName\u0060, \u0060deleteAllEngines\u0060, \u0060getEngineCount\u0060, \u0060clearProxyRoutesByNames\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/dao/AiEngineDao.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3ea7ed8a65ae86ce3a8bdef9259895d9d25abc6923059f9be55d735f631950"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AiModelDao (19 abstract methods): \u0060AiModelDao\u0060 declares 19 abstract methods: \u0060getAllModels\u0060, \u0060getAllModelsList\u0060, \u0060getModelById\u0060, \u0060getMaxSortOrderForEngine\u0060, \u0060getModelByNameAndEngineName\u0060, \u0060getModelByRemoteIdAndEngineName\u0060, \u0060getModelsByProvider\u0060, \u0060getModelsByEngineName\u0060, \u0060getModelsByEngineNameFlow\u0060, \u0060getFirstAvailableModel\u0060, \u0060getFirstAvailableModelForEngine\u0060, \u0060deleteModelsByEngineName\u0060, \u0060updateModelsEngineName\u0060, \u0060updateModelsProvider\u0060, \u0060insertModel\u0060, \u0060insertModels\u0060, \u0060updateModel\u0060, \u0060deleteModel\u0060, \u0060deleteAllModels\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/dao/AiModelDao.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a908acb4e331ae60e99b5767ca34f2d7244708732e34327387084ba000cb67f7"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ConversationDao (16 abstract methods): \u0060ConversationDao\u0060 declares 16 abstract methods: \u0060insertReplace\u0060, \u0060update\u0060, \u0060getConversationById\u0060, \u0060getConversationByConversationId\u0060, \u0060deleteConversationById\u0060, \u0060deleteConversationByConversationId\u0060, \u0060deleteAll\u0060, \u0060getLastConversationByType\u0060, \u0060getLastHiddenConversationByType\u0060, \u0060getConversationsByType\u0060, \u0060getVisibleConversationsByType\u0060, \u0060getLastConversationByEntry\u0060, \u0060observeConversation\u0060, \u0060observeAllConversations\u0060, \u0060observeHistoryConversations\u0060, \u0060updateTitle\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/dao/ConversationDao.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7d2b452192695528a1810c1d3207dd14cd73f5cf994482a99f2a97a988c795"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MessageDao (40 abstract methods): \u0060MessageDao\u0060 declares 40 abstract methods: \u0060insertReplace\u0060, \u0060insertNew\u0060, \u0060delete\u0060, \u0060deleteMessagesByConversationId\u0060, \u0060deleteMessagesByCompletionId\u0060, \u0060updateTitlesByConversationId\u0060, \u0060getMessagesForConversation\u0060, \u0060getMessagesBeforeCurrentTime\u0060, \u0060insertAll\u0060, \u0060getMessagesByConversationId\u0060, \u0060getMessagesForPage\u0060, \u0060getEarliestMessagesForPage\u0060, \u0060getHistoryMessageList\u0060, \u0060getEarliestMessagesForPageFlow\u0060, \u0060deleteAll\u0060, \u0060getMessagesFlow\u0060, \u0060getMessagesFlowPaged\u0060, \u0060getMessageListOnce\u0060, \u0060getMessagesBeforeCurrentTimeFlow\u0060, \u0060getById\u0060, \u0060searchQuestionOrAnswer\u0060, \u0060updateMessageEntityExpiredByCompletionId\u0060, \u0060updateStreamDraft\u0060, \u0060getMessagesByFinishReason\u0060, \u0060updateMessageAnswerAndFinishReason\u0060, \u0060getMessageFinishReason\u0060, \u0060deleteMessagesByIds\u0060, \u0060queryQuestionAndAnswerByCompletionId\u0060, \u0060findLatestStreamAnswer\u0060, \u0060getActiveMessageCountsByConversationIds\u0060, \u0060getMessageWithImages\u0060, \u0060getMessagesWithImagesByConversationId\u0060, \u0060getMessageWithSearchResults\u0060, \u0060getMessagesWithSearchResultsByConversationId\u0060, \u0060getMessageWithAllRelations\u0060, \u0060getMessagesWithAllRelationsByConversationId\u0060, \u0060getRecentDistinctQuestions\u0060, \u0060getTokenUsageSummary\u0060, \u0060getTokenUsageByModel\u0060, \u0060getTopTokenQueries\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/dao/MessageDao.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6cc6841fa00e0fe8c10f4c14b4eac0ac6ff895cb9614dabd845ec052ea7fa2"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PromptDao (21 abstract methods): \u0060PromptDao\u0060 declares 21 abstract methods: \u0060getPromptById\u0060, \u0060getPromptByRemoteId\u0060, \u0060getPromptByDocumentId\u0060, \u0060backfillDocumentIdIfMissing\u0060, \u0060getAllPrompts\u0060, \u0060getAllPromptsFlow\u0060, \u0060getPromptsBySource\u0060, \u0060getPromptsBySourceFlow\u0060, \u0060getPromptBySource\u0060, \u0060getPromptLinkByItemId\u0060, \u0060getItemIdByPromptId\u0060, \u0060getItemIdsByPromptId\u0060, \u0060insertPromptLink\u0060, \u0060deletePromptLinkByItemId\u0060, \u0060deletePromptById\u0060, \u0060deleteBySource\u0060, \u0060deleteAll\u0060, \u0060insertPrompt\u0060, \u0060updatePromptPreservingRemoteFields\u0060, \u0060getSystemPromptByKey\u0060, \u0060getPromptsByCategoryId\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/chat_prompt/dao/PromptDao.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f6acdd7cf0c2d72e7f17df1893c91ec71f538e7baf80d97a96fe1ed3107163"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: WheelDao (24 abstract methods): \u0060WheelDao\u0060 declares 24 abstract methods: \u0060insertWheel\u0060, \u0060updateWheel\u0060, \u0060deleteWheel\u0060, \u0060observeWheelsWithOptions\u0060, \u0060getWheelById\u0060, \u0060observeRecentWheelsWithOptions\u0060, \u0060updateWheelUsage\u0060, \u0060insertOption\u0060, \u0060insertOptions\u0060, \u0060updateOption\u0060, \u0060deleteOption\u0060, \u0060getOptionsByWheelId\u0060, \u0060getOptionsByWheelIdFlow\u0060, \u0060deleteOptionsByWheelId\u0060, \u0060updateOptionEnabled\u0060, \u0060resetOptionsEnabled\u0060, \u0060resetAllOptionsEnabled\u0060, \u0060insertHistory\u0060, \u0060getWheelHistory\u0060, \u0060getAllHistory\u0060, \u0060observeAllHistory\u0060, \u0060deleteHistoryByWheelId\u0060, \u0060deleteHistoryById\u0060, \u0060clearAllHistory\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/decision_wheel/dao/WheelDao.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4725f7f864adaf9a85d455fee3d3dd4cdb59f3ed739fedda10eeda287f0b2e8d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ItemDataDao (16 abstract methods): \u0060ItemDataDao\u0060 declares 16 abstract methods: \u0060getByItemId\u0060, \u0060observeByItemId\u0060, \u0060getByRemoteId\u0060, \u0060getByDocumentId\u0060, \u0060getById\u0060, \u0060insertIgnore\u0060, \u0060insertOrReplace\u0060, \u0060updateContent\u0060, \u0060updateFromSync\u0060, \u0060insertLink\u0060, \u0060getDataLinkByItemId\u0060, \u0060deleteLinkByItemId\u0060, \u0060getItemIdsByDataId\u0060, \u0060getLinkedItemIds\u0060, \u0060deleteById\u0060, \u0060getBySource\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/dao/ItemDataDao.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd1cb6b145d08cf4a2845f9336bbce77599647db03292d8fb901d9247b21ab3"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ItemEntityDao (85 abstract methods): \u0060ItemEntityDao\u0060 declares 85 abstract methods: \u0060updateItem\u0060, \u0060getItemEntityById\u0060, \u0060insertItem\u0060, \u0060insertItemIgnore\u0060, \u0060getItemByRemoteId\u0060, \u0060getItemByDocumentId\u0060, \u0060getItemByTitle\u0060, \u0060getItemsByTypeTitleAndSource\u0060, \u0060lastUpdated\u0060, \u0060getItemsByListType\u0060, \u0060updateItemFromSync\u0060, \u0060upsertUserState\u0060, \u0060getUserStateByItemId\u0060, \u0060setFavorited\u0060, \u0060setPinned\u0060, \u0060bumpPinnedAt\u0060, \u0060setCanEdit\u0060, \u0060setRequiresAuth\u0060, \u0060clearAllRequiresAuth\u0060, \u0060observeItemsRequiringAuth\u0060, \u0060ensureClickStat\u0060, \u0060updateClickStat\u0060, \u0060findItemIdByMiniProgramId\u0060, \u0060getCategoryByName\u0060, \u0060getCategoryByDocumentId\u0060, \u0060updateCategoryFromSync\u0060, \u0060updateCategory\u0060, \u0060insertCategory\u0060, \u0060insertItemCategoryCrossRef\u0060, \u0060insertAgent\u0060, \u0060getAgentByRemoteId\u0060, \u0060getAgentByDocumentId\u0060, \u0060getAgentById\u0060, \u0060updateAgentFromSync\u0060, \u0060getAgentLinkByItemId\u0060, \u0060getPromptLinkByItemId\u0060, \u0060getDataLinkByItemId\u0060, \u0060deleteItemDataById\u0060, \u0060insertPrompt\u0060, \u0060getPromptByRemoteId\u0060, and 45 more. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/dao/ItemEntityDao.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe6b7b35f55094a9a8640282be6366d951bdad59774632b23c1169046cab889"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MarkTodoTaskDao (18 abstract methods): \u0060MarkTodoTaskDao\u0060 declares 18 abstract methods: \u0060getByCategoryId\u0060, \u0060getAll\u0060, \u0060search\u0060, \u0060observeAll\u0060, \u0060getById\u0060, \u0060getByIdIncludingDeleted\u0060, \u0060getSoftDeleted\u0060, \u0060getAllByCategoryIdIncludingDeleted\u0060, \u0060upsert\u0060, \u0060setCompleted\u0060, \u0060setStarred\u0060, \u0060updateSortOrder\u0060, \u0060getMaxSortOrder\u0060, \u0060softDeleteById\u0060, \u0060restoreByIdAndDeletedAt\u0060, \u0060purgeByIdAndDeletedAt\u0060, \u0060deleteAll\u0060, \u0060countByCategoryIdAndNormalizedTitle\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/marktodo/dao/MarkTodoTaskDao.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f25d4a79643e348189704a63a0539eb3c0904e2336360ea729e81f6c93bc66e"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BrowserAutomationService (16 abstract methods): \u0060BrowserAutomationService\u0060 declares 16 abstract methods: \u0060attach\u0060, \u0060detach\u0060, \u0060navigateToUrl\u0060, \u0060goBack\u0060, \u0060goForward\u0060, \u0060reload\u0060, \u0060getPageInfo\u0060, \u0060extractPageText\u0060, \u0060extractDom\u0060, \u0060executeJavaScript\u0060, \u0060getTabsInfo\u0060, \u0060switchTab\u0060, \u0060createTab\u0060, \u0060closeTab\u0060, \u0060captureScreenshot\u0060, \u0060getSnapshot\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/interfaces/src/main/java/com/shifenmiao/interfaces/browser/BrowserAutomationService.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50c9b5939a9c8a56a71d84f46e35bc36a907fa237bb1cfdccfeac035096c5cd"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BrowserController (16 abstract methods): \u0060BrowserController\u0060 declares 16 abstract methods: \u0060loadUrl\u0060, \u0060goBack\u0060, \u0060goForward\u0060, \u0060reload\u0060, \u0060stopLoading\u0060, \u0060addTab\u0060, \u0060closeTab\u0060, \u0060switchTab\u0060, \u0060getCurrentUrl\u0060, \u0060getCurrentTitle\u0060, \u0060canGoBack\u0060, \u0060canGoForward\u0060, \u0060isLoading\u0060, \u0060getTabs\u0060, \u0060evaluateJavascript\u0060, \u0060captureScreenshotBase64\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/interfaces/src/main/java/com/shifenmiao/interfaces/browser/BrowserAutomationService.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfae070672ffd5abddabacfa7607fb80df5c6dbfd8d8b62a27a00a3296485fe3"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AgentFileService (16 abstract methods): \u0060AgentFileService\u0060 declares 16 abstract methods: \u0060workspaceRoots\u0060, \u0060browseFiles\u0060, \u0060locateFile\u0060, \u0060globFiles\u0060, \u0060grepFiles\u0060, \u0060statFile\u0060, \u0060readFile\u0060, \u0060readMultipleFiles\u0060, \u0060searchInFile\u0060, \u0060readSearchContext\u0060, \u0060editFile\u0060, \u0060applyTextPatch\u0060, \u0060applyRangePatch\u0060, \u0060manageFile\u0060, \u0060unzipFile\u0060, \u0060resolveContentUriToFile\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/model/src/main/java/com/shifenmiao/model/file/AgentFileService.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"241753105527d71c31cca18ea79bcf5015c51be77fdcb95174cd14f1601bfed8"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MarkTodoServiceInterface (18 abstract methods): \u0060MarkTodoServiceInterface\u0060 declares 18 abstract methods: \u0060getDashboardDto\u0060, \u0060getTaskDto\u0060, \u0060getInboxTasksDto\u0060, \u0060searchTasks\u0060, \u0060findCategoryByTitle\u0060, \u0060createCategory\u0060, \u0060updateCategory\u0060, \u0060deleteCategory\u0060, \u0060reorderCategories\u0060, \u0060createTask\u0060, \u0060updateTask\u0060, \u0060duplicateTask\u0060, \u0060deleteTask\u0060, \u0060undoDeleteTask\u0060, \u0060toggleTaskComplete\u0060, \u0060toggleTaskStar\u0060, \u0060reorderTasks\u0060, \u0060createTag\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/model/src/main/java/com/shifenmiao/model/todo/MarkTodoServiceInterface.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"92526aef8eb899ca628c7378019bfee114c471f4d16c81fa5a81e1650093c202"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ApiService (63 abstract methods): \u0060ApiService\u0060 declares 63 abstract methods: \u0060fetchItemsSync\u0060, \u0060fetchBlogs\u0060, \u0060fetchBlog\u0060, \u0060fetchBlogTags\u0060, \u0060createFeedback\u0060, \u0060uploadFile\u0060, \u0060fetchAgent\u0060, \u0060updateAgent\u0060, \u0060fetchPrompt\u0060, \u0060updatePrompt\u0060, \u0060fetchAiConfig\u0060, \u0060submitAiModels\u0060, \u0060fetchAnnouncements\u0060, \u0060checkUpdate\u0060, \u0060fetchTextCardPapers\u0060, \u0060fetchCategories\u0060, \u0060fetchCategoriesSync\u0060, \u0060loginOut\u0060, \u0060sendCode\u0060, \u0060sendCodeNoCheck\u0060, \u0060bindPhone\u0060, \u0060loginByPhone\u0060, \u0060updateRemoteConfig\u0060, \u0060getVoiceAsrWsAuth\u0060, \u0060checkSensitiveWords\u0060, \u0060detectAiText\u0060, \u0060detectAiImage\u0060, \u0060wechatPublicAccountLogin\u0060, \u0060wechatLogin\u0060, \u0060googleLogin\u0060, \u0060login\u0060, \u0060register\u0060, \u0060loginUnified\u0060, \u0060forgotPassword\u0060, \u0060resetPassword\u0060, \u0060applyInvitationCode\u0060, \u0060updateNickname\u0060, \u0060changePassword\u0060, \u0060sendEmailCode\u0060, \u0060sendBindEmailCode\u0060, and 23 more. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/api/ApiService.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6b8a969873953192b4004b66f2dc7e7028239203cd69008a112f489405debd"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SettingsInteractor (113 abstract methods): \u0060SettingsInteractor\u0060 declares 113 abstract methods: \u0060toggleAddSequenceNumber\u0060, \u0060toggleAddOriginalFilename\u0060, \u0060setEmojisCount\u0060, \u0060setImagePickerMode\u0060, \u0060toggleAddFileSize\u0060, \u0060setEmoji\u0060, \u0060setFilenamePrefix\u0060, \u0060toggleShowUpdateDialogOnStartup\u0060, \u0060setColorTuple\u0060, \u0060setPresets\u0060, \u0060toggleDynamicColors\u0060, \u0060setBorderWidth\u0060, \u0060toggleAllowImageMonet\u0060, \u0060toggleAmoledMode\u0060, \u0060setNightMode\u0060, \u0060setSaveFolderUri\u0060, \u0060setColorTuples\u0060, \u0060setAlignment\u0060, \u0060setScreenOrder\u0060, \u0060toggleClearCacheOnLaunch\u0060, \u0060toggleGroupOptionsByTypes\u0060, \u0060toggleRandomizeFilename\u0060, \u0060createBackupFile\u0060, \u0060restoreFromBackupFile\u0060, \u0060resetSettings\u0060, \u0060createBackupFilename\u0060, \u0060setFont\u0060, \u0060setFontScale\u0060, \u0060toggleAllowCrashlytics\u0060, \u0060toggleAllowAnalytics\u0060, \u0060toggleAllowBetas\u0060, \u0060toggleDrawContainerShadows\u0060, \u0060toggleLockDrawOrientation\u0060, \u0060setThemeStyle\u0060, \u0060setThemeContrast\u0060, \u0060setThemeColorSpec\u0060, \u0060setExpressiveTheme\u0060, \u0060toggleInvertColors\u0060, \u0060toggleScreensSearchEnabled\u0060, \u0060setCopyToClipboardMode\u0060, and 73 more. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/settings/src/main/java/com/t8rin/imagetoolbox/core/settings/domain/SettingsInteractor.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d70eac2a40cb347d37bebc098bdf032748f95cdfc3204d0e656ab2bb2497c42"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ThemeSettingService (19 abstract methods): \u0060ThemeSettingService\u0060 declares 19 abstract methods: \u0060getCurrentTheme\u0060, \u0060listThemes\u0060, \u0060observeThemes\u0060, \u0060switchTheme\u0060, \u0060updateThemeColors\u0060, \u0060setGlassmorphism\u0060, \u0060setLiquidGlass\u0060, \u0060setMeshGradient\u0060, \u0060setGradientStyle\u0060, \u0060setGlassBaseAlpha\u0060, \u0060setGlassBorderAlpha\u0060, \u0060saveUserTheme\u0060, \u0060deleteUserTheme\u0060, \u0060applyThemePreset\u0060, \u0060previewThemePreset\u0060, \u0060setNightMode\u0060, \u0060getNightMode\u0060, \u0060getColorSystem\u0060, \u0060setColorSystem\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/settings/src/main/java/com/t8rin/imagetoolbox/core/settings/domain/ThemeSettingService.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ee4b3a1fb06263a608614741f70c62858d056ed4157fadc944da1aa12f2619"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: CloudStorageRepository (26 abstract methods): \u0060CloudStorageRepository\u0060 declares 26 abstract methods: \u0060getConnections\u0060, \u0060getLastConnectionId\u0060, \u0060getLastBucket\u0060, \u0060getLastPrefix\u0060, \u0060getLastSearchQuery\u0060, \u0060getSort\u0060, \u0060saveSort\u0060, \u0060isGridMode\u0060, \u0060saveUiState\u0060, \u0060saveGridMode\u0060, \u0060saveConnection\u0060, \u0060deleteConnection\u0060, \u0060testConnection\u0060, \u0060listBuckets\u0060, \u0060listObjects\u0060, \u0060searchObjects\u0060, \u0060headObject\u0060, \u0060readBytes\u0060, \u0060uploadObject\u0060, \u0060uploadStream\u0060, \u0060createFolder\u0060, \u0060deleteObject\u0060, \u0060renameObject\u0060, \u0060moveObject\u0060, \u0060buildAuthHeaders\u0060, \u0060buildSignedGetUrl\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/CloudStorageRepository.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"215e7dc962bdf2f36a5620212f9c4daa7872894a28db13e36dc4a7e67d717193"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PdfManager (29 abstract methods): \u0060PdfManager\u0060 declares 29 abstract methods: \u0060extractPages\u0060, \u0060createPdf\u0060, \u0060createSearchablePdf\u0060, \u0060mergePdfs\u0060, \u0060splitPdf\u0060, \u0060removePdfPages\u0060, \u0060rotatePdf\u0060, \u0060rearrangePdf\u0060, \u0060addPageNumbers\u0060, \u0060addWatermark\u0060, \u0060addSignature\u0060, \u0060protectPdf\u0060, \u0060unlockPdf\u0060, \u0060opensWithoutPassword\u0060, \u0060passwordMatches\u0060, \u0060extractPagesFromPdf\u0060, \u0060compressPdf\u0060, \u0060convertToGrayscale\u0060, \u0060repairPdf\u0060, \u0060changePdfMetadata\u0060, \u0060getPdfMetadata\u0060, \u0060stripText\u0060, \u0060cropPdf\u0060, \u0060flattenPdf\u0060, \u0060detectPdfAutoRotations\u0060, \u0060extractImagesFromPdf\u0060, \u0060convertToZip\u0060, \u0060printPdf\u0060, \u0060removeAnnotations\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/domain/PdfManager.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32f6efc48dbbe3d1bcc587e2c5d562d8b136aa096c36e49053dc76c10e879bb"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: WebViewNavigator (16 abstract methods): \u0060WebViewNavigator\u0060 declares 16 abstract methods: \u0060attach\u0060, \u0060detach\u0060, \u0060isAttached\u0060, \u0060loadUrl\u0060, \u0060loadHtml\u0060, \u0060goBack\u0060, \u0060goForward\u0060, \u0060reload\u0060, \u0060stopLoading\u0060, \u0060canGoBack\u0060, \u0060canGoForward\u0060, \u0060captureBitmap\u0060, \u0060createPrintDocumentAdapter\u0060, \u0060evaluateJavascript\u0060, \u0060applySettings\u0060, \u0060clearCache\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/browser/WebViewNavigator.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad845ea3c007be58c728b996aff1ba95b4316b59dbd5c1afd2e2590e86ba9869"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 2 aggregates: PlayMoveUseCase.commitInternal: \u0060PlayMoveUseCase.commitInternal\u0060 saves \u0060PlyEntity\u0060, \u0060GameEntity\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/PlayMoveUseCase.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b8e9523f201dd42d2898b23ba0f258d9c252b611b3037f0f322e07564490b0"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 2 aggregates: PlayMoveUseCase.commit: \u0060PlayMoveUseCase.commit\u0060 saves \u0060PlyEntity\u0060, \u0060GameEntity\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/PlayMoveUseCase.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d6f0d8f3a378588006f76beff6387b69aad3135a2eaa3de7b1e181e139200d"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 2 aggregates: PlayMoveUseCase.commit: \u0060PlayMoveUseCase.commit\u0060 saves \u0060PlyEntity\u0060, \u0060GameEntity\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/PlayMoveUseCase.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e158041ac2166fafb5ceb517da3cbc31593b936eeddd5065707a0cfb10563b1"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ActivityLogEntity: \u0060ActivityLogEntity\u0060\u0027s public constructor takes \u0060category\u0060, \u0060appTitle\u0060, \u0060title\u0060, \u0060description\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ActivityLogEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/activity/entity/ActivityLogEntity.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc435aa35e516edb6c71f3ca4e1751638739040bc2c20e1e626344280b904891"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ItemAgentEntity: \u0060ItemAgentEntity\u0060\u0027s public constructor takes \u0060documentId\u0060, \u0060title\u0060, \u0060description\u0060, \u0060header\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ItemAgentEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/agent/entity/ItemAgentEntity.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"209476a7555699e06028a96a790fd677285a6b2578bfffdb102b279f6c9097ec"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: AiEngineEntity: \u0060AiEngineEntity\u0060\u0027s public constructor takes \u0060name\u0060, \u0060title\u0060, \u0060iconName\u0060, \u0060description\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060AiEngineEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/entity/AiEngineEntity.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af776309e3108a98970afcf29d161446c1a6facb437864440f8ffaed717a8b0"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: AiModelEntity: \u0060AiModelEntity\u0060\u0027s public constructor takes \u0060name\u0060, \u0060title\u0060, \u0060description\u0060, \u0060temperature\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060AiModelEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/entity/AiModelEntity.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"407a16c1f8c514d09c650d30348cf86a21277c64f3c10defe80529759a4bb863"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ConversationEntity: \u0060ConversationEntity\u0060\u0027s public constructor takes \u0060conversationId\u0060, \u0060entryType\u0060, \u0060entryRefId\u0060, \u0060appTitle\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ConversationEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/entity/ConversationEntity.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9608c342f2a119fbf03235ebf46bf46d029438c5cc7ff600d9ea7811be41eb0"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ConversationMemoryPolicyEntity: \u0060ConversationMemoryPolicyEntity\u0060\u0027s public constructor takes \u0060conversationId\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ConversationMemoryPolicyEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/entity/ConversationMemoryPolicyEntity.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc64d65248abeea9db733ce3693605880529b519eb27580cae638684df46933"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ConversationToolPolicyEntity: \u0060ConversationToolPolicyEntity\u0060\u0027s public constructor takes \u0060conversationId\u0060, \u0060enabledToolNamesJson\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ConversationToolPolicyEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/entity/ConversationToolPolicyEntity.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d6d5e9e80667f570deca0a768e759f41ea98fd046b485f6b579acead17baca"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: MemoryEntryEntity: \u0060MemoryEntryEntity\u0060\u0027s public constructor takes \u0060kind\u0060, \u0060content\u0060, \u0060sourceConversationId\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060MemoryEntryEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/entity/MemoryEntryEntity.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a659bfc88fd29b6d3019bbfaa0a8f4e2b4495a17bf14d9366744f576584b369"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: MessageEntity: \u0060MessageEntity\u0060\u0027s public constructor takes \u0060completionId\u0060, \u0060conversationId\u0060, \u0060role\u0060, \u0060question\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060MessageEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/entity/MessageEntity.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9aebf8c89889d3a8cf74cbe75b8dc17d2c62e3965be0f218d25f5546f6d9b97"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SkillEntity: \u0060SkillEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060name\u0060, \u0060description\u0060, \u0060body\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SkillEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/entity/SkillEntity.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35c88583d3d857c028314d0ea2d6c0db20d4f90cd533bddd3a506b2f5fa7d8d"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ToolBindingEntity: \u0060ToolBindingEntity\u0060\u0027s public constructor takes \u0060ownerType\u0060, \u0060toolName\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ToolBindingEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/entity/ToolBindingEntity.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"03570f9e6e413564d65b1be6ebdf2f5dfaec16e8c2a0a19614fb4593fd1bcea2"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ToolCallTaskEntity: \u0060ToolCallTaskEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060conversationId\u0060, \u0060completionId\u0060, \u0060toolName\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ToolCallTaskEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/entity/ToolCallTaskEntity.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc887e24f7b20c0d2c8c8b294a0a1f3021210da54bf9ff5d1247290d928599dd"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ToolCatalogEntity: \u0060ToolCatalogEntity\u0060\u0027s public constructor takes \u0060name\u0060, \u0060title\u0060, \u0060summary\u0060, \u0060description\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ToolCatalogEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/entity/ToolCatalogEntity.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"555009ae3a0a0bc9596aa33ab3df4e6918a6cd3d4f2684dfc6d6d3fc9541c06e"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: AiDetectRecordEntity: \u0060AiDetectRecordEntity\u0060\u0027s public constructor takes \u0060type\u0060, \u0060inputSummary\u0060, \u0060verdict\u0060, \u0060detailJson\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060AiDetectRecordEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/aidetect/entity/AiDetectRecordEntity.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"420c8dbde5422e6be5688b2cc8169bf5ac1e77e74444624acedcc214c61bda15"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: AltitudeRecordEntity: \u0060AltitudeRecordEntity\u0060\u0027s public constructor takes \u0060source\u0060, \u0060latitude\u0060, \u0060longitude\u0060, \u0060title\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060AltitudeRecordEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/altitude/entity/AltitudeRecordEntity.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c9eff83db372338ea377bab7a472487ba74f157e331cb47e33617b76b75709"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: AuthCodeEntity: \u0060AuthCodeEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060codeHash\u0060, \u0060salt\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060AuthCodeEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/authcode/entity/AuthCodeEntity.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea636c9c401df56ce14458adb0e91f4e96b7c753dd8dc36ad9d95b15005feee"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BlessingRecordEntity: \u0060BlessingRecordEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060date\u0060, \u0060type\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BlessingRecordEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/blessing/entity/BlessingRecordEntity.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"26eb4a68398537906527d55afdeb17499eac471206118e4369c94f9ea14957c3"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BlessingTabConfigEntity: \u0060BlessingTabConfigEntity\u0060\u0027s public constructor takes \u0060date\u0060, \u0060type\u0060, \u0060title\u0060, \u0060subtitle\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BlessingTabConfigEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/blessing/entity/BlessingTabConfigEntity.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e17dc0408f80802ee0a2aa417ef94c2894065192760b5a4a66cc4b07d623dc9"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BlessingWishEntity: \u0060BlessingWishEntity\u0060\u0027s public constructor takes \u0060date\u0060, \u0060type\u0060, \u0060content\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BlessingWishEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/blessing/entity/BlessingWishEntity.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"584637ddab29fbaa82e70ef605e9f264a0f24096c28cc1466e0a8e36f922b708"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BlogArticleEntity: \u0060BlogArticleEntity\u0060\u0027s public constructor takes \u0060title\u0060, \u0060summary\u0060, \u0060content\u0060, \u0060authorName\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BlogArticleEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/blog/entity/BlogArticleEntity.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e306157f1f2a2dbda43336fd504f130bd3d5b4c0194b5ea9888e5e838496fb2"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookkeepingCategoryEntity: \u0060BookkeepingCategoryEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060name\u0060, \u0060iconKey\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookkeepingCategoryEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/bookkeeping/entity/BookkeepingCategoryEntity.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8f5c357c63d22ea1979bccb25615f8b67fd1ca99984f2f765c575a73bc83df"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookkeepingRecordEntity: \u0060BookkeepingRecordEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060categoryId\u0060, \u0060note\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookkeepingRecordEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/bookkeeping/entity/BookkeepingRecordEntity.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e122a673036b7bbc9056fb8515f7301de08e1bf9475fdbcc829a387486d6e0d"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PromptEntity: \u0060PromptEntity\u0060\u0027s public constructor takes \u0060documentId\u0060, \u0060title\u0060, \u0060description\u0060, \u0060prompt\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PromptEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/chat_prompt/entity/PromptEntity.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"261c7fd4958615afcd1207687f19d9ae221a60695b1dfed150469be76b7b31be"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ChessGameEntity: \u0060ChessGameEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060title\u0060, \u0060mode\u0060, \u0060redPlayerType\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ChessGameEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/chess/entity/ChessEntities.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e848672b0607a7a0e15b515c8387d3c3bf5c16d3f1dca58360c33fcc29e28a56"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ChessPlyEntity: \u0060ChessPlyEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060gameId\u0060, \u0060moveUcci\u0060, \u0060moveCn\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ChessPlyEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/chess/entity/ChessEntities.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d2171b29031df924af83ba79158424441d7e77dcdc2d02d2b55c15d3c0142e"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ChessAiTaskEntity: \u0060ChessAiTaskEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060gameId\u0060, \u0060requestJson\u0060, \u0060status\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ChessAiTaskEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/chess/entity/ChessEntities.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e909e01eab39d0806c725a9ae4d8dc41b5a676b6ceb558c698f7cf3ca962626"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: DataDraftEntity: \u0060DataDraftEntity\u0060\u0027s public constructor takes \u0060title\u0060, \u0060description\u0060, \u0060url\u0060, \u0060data\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060DataDraftEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/data_draft/entity/DataDraftEntity.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5660688fe2c1944dac2e9eed5e7ed912f0e126a1d4a2e39c77be6161898fba2f"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: WheelEntity: \u0060WheelEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060title\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060WheelEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/decision_wheel/entity/WheelEntity.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efae64a6e5c3b9b39df9a3860faf397052d5499a8a3f416d3b217e71f598923"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: WheelOptionEntity: \u0060WheelOptionEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060wheelId\u0060, \u0060name\u0060, \u0060colorHex\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060WheelOptionEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/decision_wheel/entity/WheelEntity.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a65f819d2871f9b56cdbbf2fa7215cf328f8bf5b52f50d153ff579009c8193"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: WheelHistoryEntity: \u0060WheelHistoryEntity\u0060\u0027s public constructor takes \u0060wheelId\u0060, \u0060wheelTitle\u0060, \u0060selectedOptionId\u0060, \u0060selectedOptionName\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060WheelHistoryEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/decision_wheel/entity/WheelEntity.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d371be8a5bfed78f8b6f2d1c264ea2eae71876da274eb33f468e9cb0e4d7da"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: DocConvertTaskEntity: \u0060DocConvertTaskEntity\u0060\u0027s public constructor takes \u0060taskId\u0060, \u0060fileName\u0060, \u0060sourcePath\u0060, \u0060status\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060DocConvertTaskEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/docconvert/entity/DocConvertTaskEntity.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05e634e08afd9001f3aa7461505bc0e000e41fb17339529daa81ef0be14089a"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: GomokuGameEntity: \u0060GomokuGameEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060title\u0060, \u0060mode\u0060, \u0060redPlayerType\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060GomokuGameEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/gomoku/entity/GomokuEntities.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad0a9a80235efb90d787c0a0a90a7202cebe2947e1747cd7ed06cf1cab657dd"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: GomokuPlyEntity: \u0060GomokuPlyEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060gameId\u0060, \u0060moveUcci\u0060, \u0060moveCn\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060GomokuPlyEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/gomoku/entity/GomokuEntities.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0022107800d4433d301499f8605b3bfc31e34e2fb41ca70ebd7f4a43df92c9"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: GomokuAiTaskEntity: \u0060GomokuAiTaskEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060gameId\u0060, \u0060requestJson\u0060, \u0060status\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060GomokuAiTaskEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/gomoku/entity/GomokuEntities.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0799d12f48e6d133eb4974b4758c2f093161bfa29b1e079869b563640101e33d"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: HabitCheckInEntity: \u0060HabitCheckInEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060habitId\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060HabitCheckInEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/habit/entity/HabitCheckInEntity.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"655d23c65103b6c14b55b0b7e4ac777a76e2897ecd228ab89f1235c2710266ab"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: HabitEntity: \u0060HabitEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060name\u0060, \u0060iconKey\u0060, \u0060repeatType\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060HabitEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/habit/entity/HabitEntity.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b57aa6a24ba1b092f4678b5129e2a8f357a078ced398e138f5dc29c5bb2fca4"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: HouseholdItemEntity: \u0060HouseholdItemEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060name\u0060, \u0060category\u0060, \u0060locationId\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060HouseholdItemEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/household/entity/HouseholdItemEntity.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2f120627255fcb8d9f53ef5f20d16f3a5e2162af431a30c52eca9fe281a96a"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: HouseholdLocationEntity: \u0060HouseholdLocationEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060name\u0060, \u0060parentId\u0060, \u0060iconKey\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060HouseholdLocationEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/household/entity/HouseholdLocationEntity.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c8800fd5b14dda8ad3aec9cb574abcc825aee55e05792b1debbfd2156f9c9d"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: IdPhotoSizeEntity: \u0060IdPhotoSizeEntity\u0060\u0027s public constructor takes \u0060name\u0060, \u0060description\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060IdPhotoSizeEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/idphoto/entity/IdPhotoSizeEntity.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa1e8601c98ebb83d8f82ac1d7f234f445143e63aa0a14d49c6706defc72f71"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ImageEntity: \u0060ImageEntity\u0060\u0027s public constructor takes \u0060uri\u0060, \u0060format\u0060, \u0060base64Data\u0060, \u0060conversationId\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ImageEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/image/entity/ImageEntity.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd8b4ad3dd78d4287fdc2039381a69421877fc1bf3ce233891266dfacb7425b"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Category: \u0060Category\u0060\u0027s public constructor takes \u0060name\u0060, \u0060documentId\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Category\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/Category.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f500b282c00410742b7176d29d0b7311dc934871d3b3f9840a9f2aa4e16e27"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ItemDataEntity: \u0060ItemDataEntity\u0060\u0027s public constructor takes \u0060documentId\u0060, \u0060title\u0060, \u0060data\u0060, \u0060url\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ItemDataEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemDataEntity.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbd9c450a556680f1af777dfddf88b44b084b4e8300afca527ec8f54b5228c4"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ItemEntity: \u0060ItemEntity\u0060\u0027s public constructor takes \u0060title\u0060, \u0060description\u0060, \u0060url\u0060, \u0060miniProgramId\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ItemEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemEntity.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"92119c63cc552351873f86f8a7e44a5c2466124248658d251749b5f726605489"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: CountdownEventEntity: \u0060CountdownEventEntity\u0060\u0027s public constructor takes \u0060name\u0060, \u0060iconKey\u0060, \u0060note\u0060, \u0060color\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060CountdownEventEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/lifetime/entity/CountdownEventEntity.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef156c84ffe52f004bc9349aac5e8b71ae6b82bee57ff06807e3e0ab49d221d"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: FrequencyEventEntity: \u0060FrequencyEventEntity\u0060\u0027s public constructor takes \u0060name\u0060, \u0060iconKey\u0060, \u0060frequencyType\u0060, \u0060unit\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060FrequencyEventEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/lifetime/entity/FrequencyEventEntity.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef407bbe21faa91bfe9a5158c97134866c3abcf42dbd23e819533fd4196e9c8"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: MilestoneAiInsightEntity: \u0060MilestoneAiInsightEntity\u0060\u0027s public constructor takes \u0060content\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060MilestoneAiInsightEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/lifetime/entity/MilestoneAiInsightEntity.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e2df62cfe0b017fb634e6ac3cbaf765bfab5b75b29e5f2743e7e6b35f7020e"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PersonalMilestoneEntity: \u0060PersonalMilestoneEntity\u0060\u0027s public constructor takes \u0060name\u0060, \u0060iconKey\u0060, \u0060note\u0060, \u0060color\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PersonalMilestoneEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/lifetime/entity/PersonalMilestoneEntity.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e869bf545091ff5163ba2eb51f7fbb5f98a8afea173ccf15e2a85cad8c04766"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: MarkTodoCategoryEntity: \u0060MarkTodoCategoryEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060title\u0060, \u0060iconKey\u0060, \u0060description\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060MarkTodoCategoryEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/marktodo/entity/MarkTodoCategoryEntity.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"856bac095159742bc8099ce94dbac808921abe1eeb5d3e79e2b86a213fa0d47c"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: MarkTodoTagEntity: \u0060MarkTodoTagEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060MarkTodoTagEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/marktodo/entity/MarkTodoTagEntity.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ccb00767096f8d33ec049cb7021d197c27a376bc3046b0de9a9196aa5ec0e8"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: MarkTodoTaskEntity: \u0060MarkTodoTaskEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060categoryId\u0060, \u0060title\u0060, \u0060note\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060MarkTodoTaskEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/marktodo/entity/MarkTodoTaskEntity.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"207a762fada9b16912627da5e7b234a0090a60add3859584d0cadae2a1df417d"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PaddleOcrTaskEntity: \u0060PaddleOcrTaskEntity\u0060\u0027s public constructor takes \u0060taskId\u0060, \u0060fileName\u0060, \u0060sourcePath\u0060, \u0060status\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PaddleOcrTaskEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ocr/entity/PaddleOcrTaskEntity.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aaf62b7a03bb51d5d47aca1614ad0497106b174c4fedca96778a54e62bfcc62"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PasswordVaultCategoryEntity: \u0060PasswordVaultCategoryEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PasswordVaultCategoryEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/passwordvault/entity/PasswordVaultCategoryEntity.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ae68cefbd27d6f902aeef549e6b867587e8e88531579c750a6b62f5a65d8e2"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PasswordVaultEntryEntity: \u0060PasswordVaultEntryEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060title\u0060, \u0060categoryId\u0060, \u0060account\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PasswordVaultEntryEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/passwordvault/entity/PasswordVaultEntryEntity.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"963dfb5ad25ab3f72fad80546461e7b3cd5bc9f93b91411173cd5a602b64e1f0"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PeriodRecordEntity: \u0060PeriodRecordEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060flowIntensity\u0060, \u0060symptoms\u0060, \u0060mood\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PeriodRecordEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/period/entity/PeriodRecordEntity.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1022214cffd2e62fa6b0952b5fd115ab83b2ebf63950799850508eb57836f0"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PoemEntity: \u0060PoemEntity\u0060\u0027s public constructor takes \u0060title\u0060, \u0060content\u0060, \u0060author\u0060, \u0060dynasty\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PoemEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/poem/entity/PoemEntity.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b218e6bc601b170b3aa469e8cc3129e25f05b146871653a67dd67a8616bf558c"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: RecentAccessEntity: \u0060RecentAccessEntity\u0060\u0027s public constructor takes \u0060uri\u0060, \u0060displayName\u0060, \u0060accessType\u0060, \u0060pathHint\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060RecentAccessEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/recent_access/entity/RecentAccessEntity.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06bce805e1ad51ba792d7f9efc2bd8cb5a6a517e84569a29486a649fb9e8f82"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: HealthRecordEntity: \u0060HealthRecordEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060type\u0060, \u0060fieldsJson\u0060, \u0060note\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060HealthRecordEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/recordcenter/entity/HealthRecordEntity.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8632240ac52406846c582649e3447302dd6af39b8faf94fe0ae4c9caf1ba0d6f"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ScheduleEventEntity: \u0060ScheduleEventEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060providerType\u0060, \u0060remoteEventId\u0060, \u0060calendarAccountId\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ScheduleEventEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/schedule/entity/ScheduleEventEntity.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b8f7740f7eafea370783268b042bcc7a228b864c9bac2bd7f0628ce64db656"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ScheduleProviderBindingEntity: \u0060ScheduleProviderBindingEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060localEventId\u0060, \u0060providerType\u0060, \u0060remoteEventId\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ScheduleProviderBindingEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/schedule/entity/ScheduleProviderBindingEntity.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"43dbba16243431139b6207e01d7a3d0764a81d04acbd74c3926a36857ee5d3b8"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ScheduleSyncStateEntity: \u0060ScheduleSyncStateEntity\u0060\u0027s public constructor takes \u0060providerType\u0060, \u0060accountId\u0060, \u0060syncToken\u0060, \u0060lastErrorMessage\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ScheduleSyncStateEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/schedule/entity/ScheduleSyncStateEntity.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c424959efc4049863e8e74b521631952de6dae3343100d6ee61b3e80511862b"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SearchResultEntity: \u0060SearchResultEntity\u0060\u0027s public constructor takes \u0060url\u0060, \u0060title\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SearchResultEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/search/entity/SearchResultEntity.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfa112dcfdd1b573a8703e9c81c08ee04bb5bb84aa256737a7ee96934cc7034"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SpeedTestConfigEntity: \u0060SpeedTestConfigEntity\u0060\u0027s public constructor takes \u0060name\u0060, \u0060testUrl\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SpeedTestConfigEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/speedtest/entity/SpeedTestConfigEntity.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d9393c58386dbbdba12e4d8fef9c76fe880b2ce88105c35da2cb3bcd5aa30e"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SpeedTestRecordEntity: \u0060SpeedTestRecordEntity\u0060\u0027s public constructor takes \u0060networkType\u0060, \u0060clientIp\u0060, \u0060clientLocation\u0060, \u0060carrier\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SpeedTestRecordEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/speedtest/entity/SpeedTestRecordEntity.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0660d184dcef5beb318eb82a765b1d11bb3d4a506d64806792d2c0374e91ba"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: TeleprompterScriptEntity: \u0060TeleprompterScriptEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060title\u0060, \u0060content\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060TeleprompterScriptEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/teleprompter/entity/TeleprompterScriptEntity.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d426f1bdc2947bebef46cf1f308f8cba832a59f0b1c75e9c26a36bf819b22c"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ThemePresetEntity: \u0060ThemePresetEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060name\u0060, \u0060colorTupleString\u0060, \u0060customBackgroundImageUri\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ThemePresetEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/theme/entity/ThemePresetEntity.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80ac38f3e8ab53bedea06747f7cba12bc1a0d65dcccdcdc735e449bebb0bc72"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ChatMessageEntity: \u0060ChatMessageEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060channelId\u0060, \u0060type\u0060, \u0060content\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ChatMessageEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/transfer/ChatMessageEntity.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"498f4293b398360af4af6495f2784e22a4297f7bebab9dc59506887117b3828e"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ChatSessionEntity: \u0060ChatSessionEntity\u0060\u0027s public constructor takes \u0060channelId\u0060, \u0060deviceName\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ChatSessionEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/transfer/ChatSessionEntity.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bf6b988e89d59d5026f11d1a804a4756a6dd7cfba9231678ac9377fb1dd7bc"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: TTSAudioEntryEntity: \u0060TTSAudioEntryEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060text\u0060, \u0060voice\u0060, \u0060speed\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060TTSAudioEntryEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/tts/entity/TTSAudioEntryEntity.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5cb56ec6f2e3dd8fab1b5ce928be83afe1ac00d91efe84b7d21c96e7b3ab4a"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: WatermarkTemplateEntity: \u0060WatermarkTemplateEntity\u0060\u0027s public constructor takes \u0060name\u0060, \u0060logoType\u0060, \u0060customLogoPath\u0060, \u0060customTopLeft\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060WatermarkTemplateEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/watermark/entity/WatermarkTemplateEntity.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0904c7ab40beab1312437023ae4e6134c2804db4c7e3bfb5b017f2cf3337d86d"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: XiangqiGameEntity: \u0060XiangqiGameEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060title\u0060, \u0060mode\u0060, \u0060redPlayerType\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060XiangqiGameEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/xiangqi/entity/XiangqiEntities.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4639bf78dbf73c414fa23744980e1aba37313eef7f6ebcd4f27d8622cc25c2d"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: XiangqiPlyEntity: \u0060XiangqiPlyEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060gameId\u0060, \u0060moveUcci\u0060, \u0060moveCn\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060XiangqiPlyEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/xiangqi/entity/XiangqiEntities.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b106bf5714b3f39ace4c9b15fb6b0219b32522c4349ce35ceef60df9974571"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: XiangqiAiTaskEntity: \u0060XiangqiAiTaskEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060gameId\u0060, \u0060requestJson\u0060, \u0060status\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060XiangqiAiTaskEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/xiangqi/entity/XiangqiEntities.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc55e2e931ef7e8bee20b4be6705a514f1aad644d5ecc3ca83d22888cb08bb7"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Category.documentId: \u0060Category.documentId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/Category.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"adde0a2d11bf2d9f6880dfc2b226908e473c60d7f37feadbbdba678459f99dac"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: ItemAgentLink.itemId: \u0060ItemAgentLink.itemId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemAgentLink.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"620144a8cdbe7bfa42121ed52bd5bfd2885f28172e974997230f06b90c7aef66"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: ItemAgentLink.agentId: \u0060ItemAgentLink.agentId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemAgentLink.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c22a79d73d2703ee84123ac32ff87de6514dc003f23c578f91a0d6807c8d08"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: ItemCategoryCrossRef.itemId: \u0060ItemCategoryCrossRef.itemId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemCategoryCrossRef.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c849bc2076db63c607dc3393409a781ff821b5f17ae42c525605234d7cdd5e77"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: ItemCategoryCrossRef.categoryId: \u0060ItemCategoryCrossRef.categoryId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemCategoryCrossRef.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7f755b5b5765a603c2f28be47abddd9b45ab599fbca83fdde457a68353dc9a"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: ItemDataLink.itemId: \u0060ItemDataLink.itemId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemDataLink.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ca157125c443499786a269a3394032632e288c81b4fe7edc120016a72f8f76"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: ItemDataLink.dataId: \u0060ItemDataLink.dataId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemDataLink.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c973acc73928f60442d411dc6ed756ad565b4fcbcd1c4bd1b05a269eb8165ff7"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: ItemPromptLink.itemId: \u0060ItemPromptLink.itemId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemPromptLink.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"543bccff938224323acae8e1d8a19c8e12d017b1d8dd63c2e61dcd8d934f0099"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: ItemPromptLink.promptId: \u0060ItemPromptLink.promptId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemPromptLink.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ddaa9e5666343fcb7ba426c8dc957744c3546301a869baff65101c5973b91c"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: ItemUserState.itemId: \u0060ItemUserState.itemId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemUserState.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be9868489a243912322d63b81a12db4c21c5abb20c50fc251579616b2bf3795"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: OnlineGameEvent.roomId: \u0060OnlineGameEvent.roomId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlineGameSyncUseCase.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e4caf3b6a0dbba1e25e29408c5d715d3f8add6ed571b971c1170b7b2eb4297"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: OnlineGameEvent.roomId: \u0060OnlineGameEvent.roomId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c1c1b316a8149123006189605ced7548788e0ebee365601a2c6d55580dcc20"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Category: \u0060Category\u0060 is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/Category.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad8810282f35bb85fb28aa7887e9659433b5d650a732466035cac1eeef28d4f"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ItemAgentLink: \u0060ItemAgentLink\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemAgentLink.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9448fd4cb2c495926ff93eb0df6d057beed18785de420ea9b8b1e91756376319"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ItemCategoryCrossRef: \u0060ItemCategoryCrossRef\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemCategoryCrossRef.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7440b6531e930919417d740c8506f8b6455212e66aa337a2f9945c117a01d430"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ItemDataLink: \u0060ItemDataLink\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemDataLink.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"325178a48f2d68962d02c305c108eec69498cd454d3321d63d54ddac2b9217ed"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ItemPromptLink: \u0060ItemPromptLink\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemPromptLink.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2107843371c523e7b3337d28321b58acb2c91a02584059e816a7fae2f6c518f9"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ItemUserState: \u0060ItemUserState\u0060 is an aggregate/entity with 7 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/item/entity/ItemUserState.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcf9d0e6141b2921f5ba53fbd3e12050a6e654ae1fbf96c60715211525c1e93"}},{"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":"P2","level":"note","message":{"text":"Logging is not universal: Only 3/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."},"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 spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 3 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/pr-check.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch npm: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060npm\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"da14c5e8fb421b8614b797a2517de829b3c94f3b85263a50e3283dfd26519afe"}},{"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":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/android.yml"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Retrofit.Builder(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/image-generation/src/overseas/java/com/shifenmiao/imagegeneration/di/OpenAiImageModule.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3ccb16ec31a582f308e9a1d39c43fbe730a3eb6d0354c815735e00da87964c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Retrofit.Builder(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/tts/src/main/java/com/shifenmiao/tts/di/TTSModule.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1d97af27adaf16431458b26ee8e97a34a53e169480d39c7c1acd0ef43ad005"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Retrofit.Builder(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/tts/src/main/java/com/shifenmiao/tts/di/TTSModule.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8467a20549ce6eb846da6557e3fe6a8bd85e27bce67ef10652bb60fd4fd09986"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Retrofit.Builder(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/tts/src/main/java/com/shifenmiao/tts/di/TTSModule.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55cbef30a1bf5358a8faad62204e286ddf7e3f2958f8aeb2670a9d02af9f18d"}},{"ruleId":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A JMH/Jetpack Benchmark suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5f9fed18e89835499003434961acf480b8e8012b3bcbeb02e6e62db64ca75aa9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060playBeep\u0060 is async and calls Thread.sleep \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/AudioAdapter.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f21d1dc2d24c996e205d8923e74a4d0f1a38377494032a4536b0af04914938"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060playBeep\u0060 is async and calls Thread.sleep \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/AudioAdapter.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1193943321a7a585a6f9572a1c213762050d8379b1a151134596b1dde953b3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060playBeep\u0060 is async and calls Thread.sleep \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/AudioAdapter.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73a84f238929f6d178570bbcc3562a16831bfd897eaf3af2bc91892fe9a82c2"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 57 plain JS \u2014 the untyped files are web/build.js, web/code-editor/build.js, web/code-editor/editor.src.js, web/file_transfer/js/core/api.js, web/file_transfer/js/core/dom.js, web/file_transfer/js/core/i18n.js (\u002B51 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (7 clone groups): 7 duplicated blocks under web/ have copies in at least two of the sibling directories code-editor, file_transfer, milkdown-editor \u2014 6 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 7 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 7 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 7 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/build.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf956928039083f9f8505c3ffe5e6b22ce7c0567effb4978a605278e4fbac21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/code-editor/editor.src.js:438 \u00B7 web/code-editor/editor.src.js:474 \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":"web/code-editor/editor.src.js"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacb66566be80749dce20f82bed8539514a728693de665b54860a881e48a0d93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): web/file_transfer/js/core/api.js:93 \u00B7 web/file_transfer/js/features/chat/fileUpload.js:93 \u2014 the two spans are one implementation copied and then locally edited \u2014 133 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/core/api.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a442f66135fb85621263e285edf9f883ae1d88cc8ebc68d6b0fd31a00413558"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/file_transfer/js/features/transfer/transfers.js:87 \u00B7 web/file_transfer/js/features/upload/upload.js:381 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/transfer/transfers.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b73d7200564460252184a62bfb223f4280da0dee8b66e0a200b1c541a0162ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/code-editor/build.js:47 \u00B7 web/milkdown-editor/build.js:57 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/build.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"299e2c3b97d733acc3793a2aa49b62ff98773962ede0e5e702ebbe4c094d35d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/code-editor/editor.src.js:132 \u00B7 web/milkdown-editor/editor.src.js:175 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/editor.src.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d5ea10517b949522da37804164b7447f0b566bd0852cb6158dcdf8cf8b018d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): web/file_transfer/js/features/auth.js:22 \u00B7 web/file_transfer/js/features/files/files.js:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/auth.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d63c27817f7700332caea4ed420eb8da411dd37a4de839dba22796e65410c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/milkdown-editor/editor.src.js:1909 \u00B7 web/milkdown-editor/editor.src.js:1935 \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":"web/milkdown-editor/editor.src.js"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e40da00c8f251576a426b4947a0383e6b8c3674fd7a9e9f726c15b1907d3bed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/code-editor/build.js:5 \u00B7 web/milkdown-editor/build.js:5 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/build.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f2eace3e3952cbfe93f781a7f733e077e69f4ffdba1d7539466d0fdb81f53c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/file_viewer/src/prose-doc.js:1729 \u00B7 web/file_viewer/src/prose-rtf.js:489 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"51baec334f12823ebd6fe63a04e3e772b631a0d9ad77dbf52edc8830e0c77eac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/code-editor/editor.src.js:278 \u00B7 web/milkdown-editor/editor.src.js:932 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/editor.src.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"57953f88997c3692ba6f2fc888cfba10ef3b40e78fcf8bad590efb39ac3c890a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/file_transfer/js/core/api.js:25 \u00B7 web/file_transfer/js/core/api.js:66 \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":"web/file_transfer/js/core/api.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"924bbf66e3d6be49b0f4ed62a36f7e5b19477e60f49a39edad824e8293866346"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/file_transfer/js/core/api.js:38 \u00B7 web/file_transfer/js/core/api.js:49 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/core/api.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef39eb3ff077b8b7de99c1ce9df0eac9cb93ed3ae8f69973c3efd52fc62d6a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/file_transfer/js/features/files/ops.js:31 \u00B7 web/file_transfer/js/features/files/ops.js:74 \u00B7 web/file_transfer/js/features/files/ops.js:93 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/files/ops.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c07cacdf01e27aa435faaec12ad92e3dc771053467a6e2d4d9f75c43fadb9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): web/file_transfer/js/features/upload/upload.js:551 \u00B7 web/file_transfer/js/features/upload/upload.js:622 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/upload/upload.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"f662958c4c64736fb22e5e80c1d18640ab562f6059683474cd699127d56de510"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/file_viewer/src/prose-doc.js:452 \u00B7 web/file_viewer/src/prose-doc.js:462 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af13d38b171176e3e9b35a964ab1a7834178adc3104387087a43dca687c538d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/file_viewer/src/prose-doc.js:1693 \u00B7 web/file_viewer/src/prose-rtf.js:451 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"a913684349c09e277247e32c0cc83b69254ed6e5832a181a594856ea4e9f563a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/milkdown-editor/editor.src.js:1496 \u00B7 web/milkdown-editor/editor.src.js:1577 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/editor.src.js"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f30fb9a95c7738e02a1629cdde75951417c4a3252e779ec2cd16341f8137e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/code-editor/editor.src.js:498 \u00B7 web/code-editor/editor.src.js:620 \u00B7 web/milkdown-editor/editor.src.js:1318 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/editor.src.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"7515ca772923b9d46a7d4c6f6be29719b33a5332c0225c94d561b8d0463f30f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): web/file_transfer/js/features/files/render.js:101 \u00B7 web/file_transfer/js/features/files/render.js:151 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/files/render.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"614f3b4a9ec463cc360bd609f1b6c0b40eb0c975a39b2f0da9d1b952905f5cf8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/file_viewer/src/epub.js:660 \u00B7 web/file_viewer/src/epub.js:697 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c12fc4d5ee11a00f5f76361b821a823a5157a1625783aadabd5576e96e9387"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/file_viewer/src/prose-doc.js:1745 \u00B7 web/file_viewer/src/prose-rtf.js:505 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"046331383021cd78ed4fd3abaa28590f45e423cd975e8b6169786a8cdde9e48f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/code-editor/editor.src.js:268 \u00B7 web/milkdown-editor/editor.src.js:916 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/editor.src.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"18940b106fbd6f9bf5a06da86057e39768f81000a17599103f194cdd0927867e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/file_viewer/src/docx.js:137 \u00B7 web/file_viewer/src/prose-draw.js:123 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/docx.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce5f99bad34d80dd85c8a5d536f72d5fa91d6350fc4ad0e0b0811c9c80b3914"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/file_viewer/src/pptx.js:87 \u00B7 web/file_viewer/src/pptx.js:162 \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":"web/file_viewer/src/pptx.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2396dbf3035a74e2f39c9eb10bc212f5e29a69ca92773d6110bca52fcd69a01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): web/file_viewer/src/pptx.js:187 \u00B7 web/file_viewer/src/pptx.js:239 \u00B7 web/file_viewer/src/pptx.js:380 \u00B7 web/file_viewer/src/pptx.js:413 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/pptx.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0174d67f67b13720b629f3c4fa076e48fcc624b97418320c24e2b74dea6e7755"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/file_viewer/src/prose-doc.js:1135 \u00B7 web/file_viewer/src/prose-doc.js:1187 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e1a2db41aaf4ebab9be02a46f1454fc5cf38d4b5e0cccb54face309f94abb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/file_viewer/src/prose-doc.js:1454 \u00B7 web/file_viewer/src/prose-odt.js:582 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"052839464c8a7a07184db4f720ecec3d08b64fc080c99adeaa6156b83a78284c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/file_viewer/src/prose-doc.js:1898 \u00B7 web/file_viewer/src/prose-odt.js:918 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bad399a64d2f3081db237527044d0913c8d355197a6e7b7a041e155eb98a84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): web/file_viewer/src/prose-odt.js:228 \u00B7 web/file_viewer/src/prose-odt.js:263 \u00B7 web/file_viewer/src/prose-odt.js:282 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e049dc7f329fec9b967124ceda3d2f590d67e7397cc78a41a0ac2296efcdaa78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/file_viewer/src/prose-odt.js:252 \u00B7 web/file_viewer/src/prose-odt.js:270 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"719616eca8c04618b06d268b5265f933bd1f2599fa27b036a9634f485657beb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/file_viewer/src/prose-odt.js:587 \u00B7 web/file_viewer/src/prose-rtf.js:330 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad39189f033592af70f2e13b2b907617ec224bb986a4e2aecca934bb6ed5ccc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/milkdown-editor/editor.src.js:475 \u00B7 web/milkdown-editor/editor.src.js:487 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/editor.src.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30fd8d0e676ffca3316ba0b8e8acfa42aa4cdda64e3680f534c69ff65445a7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): web/file_viewer/src/docx-night.js:122 \u00B7 web/file_viewer/src/docx-night.js:133 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/docx-night.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"59151b2c226d8e62271876cabf42377a46386c7f1bc0f3e5bf679bf57ddfa1a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rtfWord (cyclomatic 149, cognitive 58): rtfWord has cyclomatic complexity 149 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-rtf.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f561e7317150255334e9d88a217a18b9d0041a33012b3a11ac04673232a287b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docApplyTap (cyclomatic 85, cognitive 152): docApplyTap has cyclomatic complexity 85 and cognitive complexity 152; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"29511d6c7a60fa434a90e35df7ea7e1bfcc33d0055b045ea5f5a55ba6f8f3fa9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewrite (cyclomatic 81, cognitive 145): rewrite has cyclomatic complexity 81 and cognitive complexity 145; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5cc13e81acd68d6e57f8957daf9ce5e54442509d9d5ebd66a967cf2ec40744"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vwReadRtf (cyclomatic 74, cognitive 145): vwReadRtf has cyclomatic complexity 74 and cognitive complexity 145; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-rtf.js"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"889ae56410e4b7622b3ba029af58e482bd7299d52ba9003a886873ee5d308f58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function odtReadStyle (cyclomatic 65, cognitive 116): odtReadStyle has cyclomatic complexity 65 and cognitive complexity 116; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"210052146022d99ab24283aab25dc481fdcfd09d283d955d47e4fb252e047399"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docDrawTable (cyclomatic 63, cognitive 141): docDrawTable has cyclomatic complexity 63 and cognitive complexity 141; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"1780324f666d17066970535691e51e0d320eb793eb0af32ec8e83b1dfca60ee6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docDrawParagraph (cyclomatic 55, cognitive 121): docDrawParagraph has cyclomatic complexity 55 and cognitive complexity 121; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"5300a999f73c6b5dd01c292d60a4892236b3cdbad97b3485794d2f4c7e78a146"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docApplyPap (cyclomatic 45, cognitive 19): docApplyPap has cyclomatic complexity 45 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16928f7a694c13949352cf3944de22355034fb67f0dfa87a84016e6f5ac5bca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vwProseDeclare (cyclomatic 44, cognitive 55): vwProseDeclare has cyclomatic complexity 44 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-draw.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9745114d2b5413814563f554cc78ac6da333996ffa96f6f21d288e48f722755e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rtfBuildTable (cyclomatic 41, cognitive 97): rtfBuildTable has cyclomatic complexity 41 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-rtf.js"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc013d8f9de8d06405289d6521e404e0020c25632f6d4a62509bc2e6e64e7df9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPackage (cyclomatic 37, cognitive 45): readPackage has cyclomatic complexity 37 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"45389598592d857181518939a1c45cc42c66ee173af94f3733cb371678ba0fe3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docApplyChp (cyclomatic 37, cognitive 13): docApplyChp has cyclomatic complexity 37 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdaa470d8c658320feab75e78211899d18086b6e9dfcf4bd4a3485d0a29e1acb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeAction (cyclomatic 34, cognitive 15): executeAction has cyclomatic complexity 34 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/editor.src.js"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"408e6b353c038d7d7b2961edd38e0dd81a9b6a6bf5ed1d53e3d476359020fac9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docStyles (cyclomatic 30, cognitive 42): docStyles has cyclomatic complexity 30 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b14f6403fd48b91283d6a6daf9705aca5656794a686c59337a446bbe2fa5b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 36): (anonymous) has cyclomatic complexity 30 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/docx-pages.js"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"571f5589b9447790ff69cf07f63e30b74209fdc707cd2388121eac7dc7c246ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docCompound (cyclomatic 29, cognitive 35): docCompound has cyclomatic complexity 29 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7d895612d5754267ea4fed5f2543164f388d70f56b5c3c2ba659ad415f13e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function odtLabel (cyclomatic 28, cognitive 49): odtLabel has cyclomatic complexity 28 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"818fb21a881e115da42ff704508b59ab2ee8f7d15ad66121b38ad6e872c52a05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docPieces (cyclomatic 27, cognitive 59): docPieces has cyclomatic complexity 27 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e03c705435d98b3349d054ef9f2db69b43f6783bffd33008e37b6dafb83d317"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docDrawStory (cyclomatic 25, cognitive 41): docDrawStory has cyclomatic complexity 25 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"3078a97a1eb3e4ed73dc2dd60db2a14a9bb627a00f42b641d85b79082a282c27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docBlip (cyclomatic 24, cognitive 23): docBlip has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"8384b1e1b03714ea7da3a86c030efa70e7b78718674acff70660fd69df73f48e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docLists (cyclomatic 23, cognitive 35): docLists has cyclomatic complexity 23 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b25d678522343609fe348e202e0eac5da7d4b61a220a8e334e66b307980edf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vwFormatJson (cyclomatic 22, cognitive 32): vwFormatJson has cyclomatic complexity 22 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/app.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5088c7324eec7092eb0e6a4d2d20ca85ae023a8a5fa7c3a3bebbda912893b26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function odtInlineNode (cyclomatic 22, cognitive 28): odtInlineNode has cyclomatic complexity 22 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"557f9e601954b6f02b9f7ef0fe42248d210ce158f839567cccaea9441a95dd63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rtfClosePara (cyclomatic 22, cognitive 22): rtfClosePara has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-rtf.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bdfad3d0e4f62493fedd0186f5fdea808bb92b2f0e3acc85b224c3e8aa12a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function disarm (cyclomatic 21, cognitive 30): disarm has cyclomatic complexity 21 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"4043e1ec794ac9a8c45b77348e36e76c997cab4ed0351e51cfba4044764bcadd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokens (cyclomatic 21, cognitive 26): tokens has cyclomatic complexity 21 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bc636ac45d2476ae3503188f71f307ea5a99f4bd0ad8ee6f8091cffe598ef5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docChpBag (cyclomatic 21, cognitive 19): docChpBag has cyclomatic complexity 21 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa319825f80d1475463fe88ba98df96d572633ec6aab0e94a4d32266d502bdae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rtfCharBag (cyclomatic 21, cognitive 19): rtfCharBag has cyclomatic complexity 21 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-rtf.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab10c9d9537f4ae8a5e973717c242033b1d2d92a01c5309eba84aeeb492add7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 20, cognitive 34): walk has cyclomatic complexity 20 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/find.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fae7588c5e2ce8251df5a92e9ab0d12511ffb5cff123526601f5a490163d695"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderShape (cyclomatic 20, cognitive 21): renderShape has cyclomatic complexity 20 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/odp.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5771aa47725bce92fe44f3ee7084e3f0ebe5fe705336c1da57fc251bf0704ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vwNumberPages (cyclomatic 19, cognitive 35): vwNumberPages has cyclomatic complexity 19 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/docx-pages.js"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a7a5966fec6cc42b797ce76bc1164f7771d08cc1c99aebeae4a5869fbd60fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function styleTheDesignGives (cyclomatic 19, cognitive 26): styleTheDesignGives has cyclomatic complexity 19 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/pptx.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e860cbc463e123b32c79b911903b8ab9a96ec4f8a37134e3bb508a78e95422"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rtfTextOut (cyclomatic 19, cognitive 25): rtfTextOut has cyclomatic complexity 19 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-rtf.js"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a090683beac0e0f1f295a85ce181d3ef3b53f1c9a44796e6d4f0618afd1d5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docParagraph (cyclomatic 19, cognitive 21): docParagraph has cyclomatic complexity 19 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c8d67947f18b3bcb8da20c9ea85e9b2ab2da4b5ba9c6de77aceb474fc1f228"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function linesLeftWhole (cyclomatic 19, cognitive 20): linesLeftWhole has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/pptx.js"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"7522bfec31d51e3e7ef8f472f1227119a3d0b15d852e61f424091d4bff111317"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalize (cyclomatic 19, cognitive 19): normalize has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/core/i18n.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3889fab00f4c4f070e7c0605a6bcc90d259fac006870a2e1cb038811065dd029"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docPapBag (cyclomatic 19, cognitive 17): docPapBag has cyclomatic complexity 19 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8be0c1c33e4b847541e53deb65b243d4c9cf4715d81c8f71f57b8b5ef05076"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docLabel (cyclomatic 18, cognitive 26): docLabel has cyclomatic complexity 18 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf19b87f416e72cc35a9fb296d4aff42cadf3e3c95a2261c99937c315c7feea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addTransferItem (cyclomatic 18, cognitive 25): addTransferItem has cyclomatic complexity 18 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/transfer/transfers.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d573c5a3f2aae94e057740201e02765143ca4f3ad87c35985e21b7d3c6537f3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function odtBag (cyclomatic 18, cognitive 25): odtBag has cyclomatic complexity 18 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cf340d0c229727b81ca6c2cddab691e8ab808cfba1846770a2e16ea79cad92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function weigh (cyclomatic 18, cognitive 20): weigh has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcfcb6ee1cbf5116a73b097a3fdadc66d9b05d1530495df51f5612117a996ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleFiles (cyclomatic 18, cognitive 19): handleFiles has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/upload/upload.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05dfcf3cc00eea423b55b9c0f0f953d553e889c1234182332a986d5eb1d2776"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function urlAt (cyclomatic 17, cognitive 27): urlAt has cyclomatic complexity 17 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e9700b3ead693416db32bdef441d7d312ff22a3ff5fdb46f538ea7fd064570"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function odtFrame (cyclomatic 17, cognitive 23): odtFrame has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"a680d6a834a6791e2f9cfa612190bf1be8ca64a8c733d83f2a83fddaaa972702"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 23): (anonymous) has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/editor.src.js"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df9f586cbf6740231427b83a4426e8b8a7a17c50f82cbdc31d8fb877124c9a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docOpen (cyclomatic 17, cognitive 20): docOpen has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ed567dbd241c45d00533731437c85a23ff009c4e995e1b3ead15732ce30d1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function numberEnd (cyclomatic 17, cognitive 18): numberEnd has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4504c8b1d0b19685bfa995b6231a9de60021adb0f32931b26abe457ed391ded"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function odtParagraph (cyclomatic 17, cognitive 17): odtParagraph has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc40cfd137508c6dc7620011b3261a94c3058a65653bf73cf02409169848121"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vwProseSniff (cyclomatic 17, cognitive 11): vwProseSniff has cyclomatic complexity 17 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6531d4e110dae48e1d3b36b4f42ad4c9c654b33c54a97233ebfa33a244a932af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docRuns (cyclomatic 16, cognitive 41): docRuns has cyclomatic complexity 16 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a527e2c167a65a50c401d78295c18b3c7b6621245790df201e16c538b80b92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 16, cognitive 31): walk has cyclomatic complexity 16 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef09de21c6eb466412957294ef02d76e80ffef5cf090b731d6f059fc9d7a5a03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vwSymbolBullet (cyclomatic 16, cognitive 18): vwSymbolBullet has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/symbol-fonts.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"285be474fbcffd05e00c40af8f45754577d050f5ca344e8670c01e8addb06777"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 16, cognitive 17): resolve has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"1507b2ed7641d04f81e2a1d3b3b8bf67a105c1b244537ce4dd03b538b69efc76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function odtFirstBlock (cyclomatic 16, cognitive 16): odtFirstBlock has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"8599c9563f54af3d1e0700fddb92cb6142fd5c852e4dbe520cb4791588d9bd8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vwStrutAsText (cyclomatic 15, cognitive 24): vwStrutAsText has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/docx-lines.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"11168ae5c60f7485dcf51e8fd190f27c0e5a37373cd5d25570bb0dbb52b196fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docFonts (cyclomatic 15, cognitive 24): docFonts has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"19044248aeae266d03433dca49fb007c762f700328e7545ee774fa8c586019dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paragraphsOf (cyclomatic 15, cognitive 22): paragraphsOf has cyclomatic complexity 15 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/odp.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c3fc7f4778db93d176839aadc6cbe038f6f2d91b9acc3f96568757e9c61c1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vwReadDoc (cyclomatic 15, cognitive 21): vwReadDoc has cyclomatic complexity 15 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26f266da7ecfb1ed228cd836ccdd37a376f1d9af3345f4d9388f9f711b69ab9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chapter (cyclomatic 15, cognitive 18): chapter has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9613834862322de9ff30a99c1d5766201945b32586d993a50fe8835fce15231"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function odtList (cyclomatic 15, cognitive 17): odtList has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"43388c80f61358000959757e5090573b47c80c9b777b757a849ebbcaf4ff0412"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rtfParaBag (cyclomatic 15, cognitive 17): rtfParaBag has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-rtf.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4567671a2a9b25ea82eb3e2ce6f8a522c8d049daddf0a4ce2df232920a42befb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function token (cyclomatic 15, cognitive 16): token has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/editor.src.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff72927283f5951ddfee38e2e0983384f134dfe56131c24461b7dd8afaab26d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBrowserDeviceName (cyclomatic 15, cognitive 14): getBrowserDeviceName has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/chat/channel.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e2c11b0347317ef3a072ff12e92137b3a92108b6013991af1e4523f5cccc61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vwProsePictureType (cyclomatic 15, cognitive 13): vwProsePictureType has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-draw.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abd6ac8e3a63f7f46525b4efae1c8beaff79293cb323a05e77f196448efea75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstShowing (cyclomatic 14, cognitive 30): firstShowing has cyclomatic complexity 14 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb93df0d06df4ff350a0ef793d4744a1cd686fc97df9c760f5ade325d7f75f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seek (cyclomatic 14, cognitive 22): seek has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":2051}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e12a1c85d71b96c2830cc0358707852e59f9305b5b9ea78b274bb4c6a4661d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function place (cyclomatic 14, cognitive 20): place has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d0d4f3f02a82be1f4edbdd707f0567c815d93405e41bfa0f09fea315031714"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function odtBlocks (cyclomatic 14, cognitive 19): odtBlocks has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa75ec8d463c8dfdf5822ac99fa1f3856a6df13442565ce63ed565949ee0a8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadDeviceInfo (cyclomatic 14, cognitive 18): loadDeviceInfo has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/device/deviceInfo.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4eaf9f1bd3eb0b673d0fd2d90694f3964c814f6e1b428225818041e795fec9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFileIcon (cyclomatic 14, cognitive 17): getFileIcon has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/files/render.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cc5c396b6beb4005ded8961d7f9336f54ff6ffce9be2861343be8e4aa4b7f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function placeTheDesignGives (cyclomatic 14, cognitive 15): placeTheDesignGives has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/pptx.js"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bdd9c7203a8ec3e67d13ccb7762793cc3d33fe848271b64049162aae2f891c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function columnWidths (cyclomatic 13, cognitive 24): columnWidths has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/xlsx.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddae051f030daf76a77f9723faa0136f4acf61f2cb260b5a1d9ae0142652a2bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 22): (anonymous) has cyclomatic complexity 13 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/docx-night.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0364347a5fb4421a0c31e6d5f866968b3b6bebef91b980ca90c6c7d03e319819"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captionOf (cyclomatic 13, cognitive 19): captionOf has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa23eef1b3565e621a93c77b1bccd6914764d8936d34dc8b7b40216d3818f7b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setImageWidth (cyclomatic 13, cognitive 18): setImageWidth has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/editor.src.js"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"44df50fdf33f011c9e5f5fa467140def55f0d723a9133c93c42e4eefa2a92fe0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function odtTable (cyclomatic 13, cognitive 17): odtTable has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"313426aea2ed51561f7f217740146e8fc9ecbe08c176fc0c81bacb0f0f734461"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 16): (anonymous) has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/docx-pages.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5257d221596cb5d387b5b32f39c3f4ccf1f265017bfd004c4433e7c68b51161"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pageSize (cyclomatic 13, cognitive 16): pageSize has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/odp.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"b211bbfd93953f320b48072cbae0f82817f1a992723d8ded71625ffc1c070131"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vwProseSymbols (cyclomatic 13, cognitive 16): vwProseSymbols has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-draw.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a737d89f43f662be1d703ab0b691147fb65083ad83c9ec57fa73d1f32de1dd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inherit (cyclomatic 13, cognitive 14): inherit has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/pptx.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"0313116711cf3c480e7b15ef24e1c3a06ffd5dc1e581647d09e8aa659435ac97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setActiveNav (cyclomatic 13, cognitive 13): setActiveNav has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/navigation/nav.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ce1c47acfd22c3cf9c4f89fed8e93deaee9762d38d4e48877cc92d30c81ed4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"5140fe2f5b5e31eeaf6433298772711445e59027dc479389f54825947f6e283c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vwProseNumber (cyclomatic 12, cognitive 18): vwProseNumber has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-draw.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93354c887c8453086355cdb1c9fccf90999b97e91506e0295d65e23fe3d7b90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docSprms (cyclomatic 12, cognitive 13): docSprms has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa186501febcbb7387332c30bdc45a14412ea963bc820d3386c8fafa7ad33e14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 12, cognitive 12): decode has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cdf467d95bb9017aec12ecacdb2c06b8a2ad9dfa877d1c884c676d125f93d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateDiagramEditingState (cyclomatic 12, cognitive 12): updateDiagramEditingState has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/editor.src.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b64d41ab15a38030bbad8786865699434b88ba30a856b07d4f1978f383fce7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/upload/upload.js"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94a76c799e582d89e6033e79d9569256ccf740c0ff9fa42b6643f5b9c28fddd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rtfEnter (cyclomatic 12, cognitive 10): rtfEnter has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-rtf.js"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"248ce1f0990bbdf3376892aef7d0a108f8455065cfc7c0d8c4350a4685ee67c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderItem (cyclomatic 12, cognitive 9): renderItem has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/transfer/transfers.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"9874e195469b981772947f8fc844120f2ed39554e31f44f1ab573ad912a619e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paint (cyclomatic 11, cognitive 18): paint has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/find.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1943c61e5b813668d2590a64152f96b773979ed9deefa875c97538046694a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docChp (cyclomatic 11, cognitive 17): docChp has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4e1a9187b4dd852d4805bbeb70c22fe592557cbe664fe2521626f38db6633a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertList (cyclomatic 11, cognitive 16): insertList has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/editor.src.js"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"0057c3dc200630fd0396077f8df4e2f3f141bf3a9b00ff79c0c6d6e59de8527f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docStyle (cyclomatic 11, cognitive 15): docStyle has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9bb4f356eeccfcf21d523722151593c1396539badd65a2b710f7724c321464"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docDrawShape (cyclomatic 11, cognitive 15): docDrawShape has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"efae2b32714b01dc5642edb7c563bf9216748d6ab213e2d4987596d057a829e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function odtLayout (cyclomatic 11, cognitive 15): odtLayout has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1778ac743899b97c0ac83a1805b70de20f2f26a030e0e752f88bbd5d696a83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openPreviewModal (cyclomatic 11, cognitive 14): openPreviewModal has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/files/interactions.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4d84ca53f40a63565859ae0bb7ca7fe1ea2d8a34a387c09ed40fc8c99c7669"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onCommand (cyclomatic 11, cognitive 14): onCommand has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/find.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d5bd96316078f366b6847c479e10b0edfe56dec3c6021b6e8380e5651a3925"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendRuns (cyclomatic 11, cognitive 14): appendRuns has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/odp.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc6a8595490908c011cdd7e5d367412ecb1844b26eb3ad12c70add8158151ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docDrawNoteRef (cyclomatic 11, cognitive 14): docDrawNoteRef has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12acb5cb87f235069796f3a313f4956939e29565f72fd843b03eb93106619a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detailsAt (cyclomatic 11, cognitive 11): detailsAt has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8098bf3c2752e16579209bac2b28b0fa2011786edf9263ff7124512fd612c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rtfLeave (cyclomatic 11, cognitive 11): rtfLeave has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-rtf.js"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b168f1a4993d30738ed4ef8176593291b41b9108597fca50ff79665773240d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function escaped (cyclomatic 11, cognitive 10): escaped has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1609eb7c4b3b3bf043de18c2c2500ac1936d97fd92731fd7589259292a9f29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onload (cyclomatic 11, cognitive 9): onload has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/chat/fileUpload.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c003695c94f2a4a5d7357cae5e6787f1bd7dafaa617b8e93ce4dbd5244b337b9"}},{"ruleId":"R3","level":"warning","message":{"text":"web/file_viewer/src/epub.js: 2644 lines of code: web/file_viewer/src/epub.js has 2644 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59fcd21ecadd4bac49dac203cf4992dcc1245d19d8f37be1bd702cb367c6341"}},{"ruleId":"R3","level":"warning","message":{"text":"web/file_viewer/src/prose-doc.js: 1808 lines of code: web/file_viewer/src/prose-doc.js has 1808 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-doc.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2add1cc681bcf5dc9ed9bf52c615a88748ce46413c995e42785c4170429fca1b"}},{"ruleId":"R3","level":"warning","message":{"text":"web/milkdown-editor/editor.src.js: 1752 lines of code: web/milkdown-editor/editor.src.js has 1752 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/editor.src.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f86ede94da2b0b505a2501284a42875d3144f4efe67da9df6c534e0e057f6b9"}},{"ruleId":"R3","level":"warning","message":{"text":"web/file_viewer/src/prose-rtf.js: 1097 lines of code: web/file_viewer/src/prose-rtf.js has 1097 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-rtf.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44eba3637a0791887b799d28abee06a6ba70980cfa909a76c720fe3c9e452b76"}},{"ruleId":"R3","level":"warning","message":{"text":"web/file_viewer/src/prose-odt.js: 1013 lines of code: web/file_viewer/src/prose-odt.js has 1013 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-odt.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76aaf8a5c73f65a922ba848774ed02d7d2994c1108f314576d5d982e602ea995"}},{"ruleId":"R3","level":"warning","message":{"text":"web/code-editor/editor.src.js: 701 lines of code: web/code-editor/editor.src.js has 701 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/editor.src.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3edc62e97a0113eae7d0168b5a45acd26198ed757f93670bd9ded7f81c9bed"}},{"ruleId":"R3","level":"warning","message":{"text":"web/file_transfer/js/features/upload/upload.js: 586 lines of code: web/file_transfer/js/features/upload/upload.js has 586 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/upload/upload.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f8fdc38c91b8abcf3115f01812bbdf078bd8a9cb4e9a751ffdeff19e8f5904"}},{"ruleId":"R3","level":"warning","message":{"text":"web/file_viewer/src/pptx.js: 582 lines of code: web/file_viewer/src/pptx.js has 582 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/pptx.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16cd898facbf5615cbbc281d3b239df168085a7fef62343f71ec9b6fba91df0"}},{"ruleId":"R3","level":"warning","message":{"text":"web/file_viewer/src/docx-pages.js: 564 lines of code: web/file_viewer/src/docx-pages.js has 564 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/docx-pages.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aead38db527a83cf6f7cb78eddf6d8e4c197ed748e09e50c89e056cc66d8683"}},{"ruleId":"R3","level":"warning","message":{"text":"web/file_viewer/src/app.js: 525 lines of code: web/file_viewer/src/app.js has 525 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"854449d423793766459f05f23a444ccc5aeeccc63f8846cf3bd247ae8692bbeb"}},{"ruleId":"R3","level":"warning","message":{"text":"web/file_viewer/src/find.js: 433 lines of code: web/file_viewer/src/find.js has 433 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/find.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2083ec0734e3e0099eefe9b854f6fcc82ff256618a2b2478b78c636aec6b34f9"}},{"ruleId":"R3","level":"warning","message":{"text":"web/file_viewer/src/prose-draw.js: 401 lines of code: web/file_viewer/src/prose-draw.js has 401 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/prose-draw.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f96de3a79549e42e7fde46eaaf2686138e8021beb6cf6a1bfbdb6eec65e6a4e"}},{"ruleId":"R6","level":"warning","message":{"text":"No test, lint or typecheck script: test \u2717 \u00B7 lint \u2717 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a9372ffc30204d52cc3368af49ceaa995574db973935e30b3946f83785dea15b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027requestPickImage\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/editor.src.js"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f02b94ff96de78cf3fcf51c7145f3f1f73f105a307f0d2c70468ff6ce96a96"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027hideImageDialog\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/editor.src.js"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"3063682b2b8e73e653ccfb33174a8b4690370908eaf46bef8e2173e6ac3d0c44"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027hideLinkDialog\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/editor.src.js"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ae3dbd0178db5e983831a48c0b07b5cd76af1a16d37b0c5e52e537d0e1a5bd"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027chokidar\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/build.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"92dda04a786e814cc4998e269ce56f373d6c8ff12c0cb49d6f8ad9ec6120d849"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@codemirror/autocomplete\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/editor.src.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b71362621ce8ba28c3c7b335879919cb2f13a8bbcd0ca5ac6497115b3d98a9f"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027codemirror\u0027: Declared in web/code-editor/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdb6a482ca0fd7b9355ff8cfa3b7b03c067291778753d23a8c9a705dc01b080"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@milkdown/ctx\u0027: Declared in web/milkdown-editor/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/package.json"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0768661148c1025dd61b70a7a595dd45631ee94bc276077357c2cbf64826aa64"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): web/file_transfer/js/features/auth.js \u2192 web/file_transfer/js/features/files/files.js \u2192 web/file_transfer/js/features/auth.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/auth.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"558699473c42bded199997951727b6a3359ed1f8987e177cd0050c1e938aa9ef"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): web/file_transfer/js/features/chat/messages.js \u2192 web/file_transfer/js/features/chat/ws.js \u2192 web/file_transfer/js/features/chat/messages.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/chat/messages.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97b266b745772978a705c5bca10e48527a9e4526d902c9a3548bb5b5627169b"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: web/code-editor/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/package.json"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"39190eea1ef2b56ff56e32b0ddfe307c2c103ce439db60b705a506cef5a800ef"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: web/milkdown-editor/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/milkdown-editor/package.json"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"131f6e4e885ea036d6b13e6e92c1f1bb92ca47781568d33ac542f10b208bb42d"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: web/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/package.json"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"930edb7b884ede4b85d272f7c56e3bc08bf35924181b522e14af23cf7d8b9dfd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isOfType(\u0022important\u0022, type, alias) || isOfType(\u0022bold\u0022, type, alias)\u0060 appears character-identically in 2 files \u2014 libs/twain/src/main/java/io/noties/markwon/prism4j/syntax/Prism4jThemeDarkula.java, libs/twain/src/main/java/io/noties/markwon/prism4j/syntax/Prism4jThemeDefault.java. 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":"libs/twain/src/main/java/io/noties/markwon/prism4j/syntax/Prism4jThemeDarkula.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"884071053654ea370bbcb48e3c3442e3fc4a7082e16d6bf76bde0992dffbd5e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data?.message || i18n.t(\u0027files.loadFailed\u0027, \u0027\u52A0\u8F7D\u5931\u8D25\u0027)\u0060 appears character-identically in 2 files \u2014 web/file_transfer/js/features/auth.js, web/file_transfer/js/features/files/files.js. 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":"web/file_transfer/js/features/auth.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e3121b955da1862e2ecba13676654027cc42501974c8e37fc819b05790f439"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pendingContent !== null \u0026\u0026 pendingContent !== undefined\u0060 appears character-identically in 2 files \u2014 web/code-editor/editor.src.js, web/milkdown-editor/editor.src.js. 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":"web/code-editor/editor.src.js"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b74a682b5532ac9de4497ced1e31ec4bddce1fb435b7abbb49094ff4ed55eca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060t.status === \u0027uploading\u0027 || t.status === \u0027queued\u0027\u0060 appears character-identically in 2 files \u2014 web/file_transfer/js/features/transfer/transfers.js, web/file_transfer/js/features/upload/upload.js. 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":"web/file_transfer/js/features/transfer/transfers.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75269c0f0d9333acea4856b483aec55b49d3d36a74f402cd366fa0f3eb9d25b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.Android \u0026\u0026 window.Android.onContentChanged\u0060 appears character-identically in 2 files \u2014 web/code-editor/editor.src.js, web/milkdown-editor/editor.src.js. 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":"web/code-editor/editor.src.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb558855b9e2b8ba64a087ed07bc1047fc33e00e4703983fbc61a408bb52b342"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.Android \u0026\u0026 window.Android.onEditorReady\u0060 appears character-identically in 2 files \u2014 web/code-editor/editor.src.js, web/milkdown-editor/editor.src.js. 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":"web/code-editor/editor.src.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e32be14f8960f0fed7b9772d6f1b7a69fe9da74d09aebd0d80157afb7a28e05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060xhr.status === 200 \u0026\u0026 payload \u0026\u0026 payload.success\u0060 appears character-identically in 2 files \u2014 web/file_transfer/js/core/api.js, web/file_transfer/js/features/chat/fileUpload.js. 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":"web/file_transfer/js/core/api.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e522fe669750bdb619df0496557c451fb34a23c35c3b257148f62a54aa6a15b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!address.isLoopbackAddress \u0026\u0026 address is Inet4Address\u0060 appears character-identically in 2 files \u2014 core/network/src/main/java/com/shifenmiao/network/service/NetworkInfoService.kt, feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/util/NetworkUtils.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/service/NetworkInfoService.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"132e1f3bfcae5c45ae28be5d3406eafe7ac77e160f47d4999f970eb13d5b70ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!busy \u0026\u0026 (!draft.hasChanges || issue == null)\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuSetupScreen.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfeee80d35967093b12008d547a6ab1569aee6589917381029ff35634e3ab1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!component.isLoading \u0026\u0026 component.type != null\u0060 appears character-identically in 3 files \u2014 feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt, feature/gif-tools/src/main/java/com/t8rin/imagetoolbox/feature/gif_tools/presentation/GifToolsContent.kt, feature/webp-tools/src/main/java/com/t8rin/imagetoolbox/feature/webp_tools/presentation/WebpToolsContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apng-tools/src/main/java/com/t8rin/imagetoolbox/feature/apng_tools/presentation/ApngToolsContent.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec61576eee167ab0c64d0ac1d9dabbae97939f2356b26e6f1d3310623d6f794"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!component.uris.isNullOrEmpty() \u0026\u0026 workspaceState.currentTabIndex == 0\u0060 appears character-identically in 2 files \u2014 feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt, feature/weight-resize/src/main/java/com/t8rin/imagetoolbox/feature/weight_resize/presentation/WeightResizeContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/limits-resize/src/main/java/com/t8rin/imagetoolbox/feature/limits_resize/presentation/LimitsResizeContent.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"81519b8506889bc11da75aad947482bba2924754bf0281f89e29e4216664defc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!destination.isFile || destination.length() != pending.length() || checksum(destination, cancellation) != digestHex\u0060 appears character-identically in 2 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfe07054619f8dfd3b47a2e41e4d7d1db965b664e466195c04e451d9b31391d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!directory.mkdirs() || !directory.isDirectory\u0060 appears character-identically in 2 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fbf2909a8d012cfa31e12fd0cd8a8c748c9ff9625ec27ee5ab1b56e4b988c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!disposed \u0026\u0026 snapshot.phase == ConnectionPhase.Ready \u0026\u0026 snapshot.generation \u003E lastReadyGeneration\u0060 appears character-identically in 3 files \u2014 feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/CommandStore.kt, feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SessionStore.kt, feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/WorkspaceStore.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/CommandStore.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f47254b6998f83733282017bf3d35f5be0d1169cafd1ce89d0a8417740e3bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!dragging \u0026\u0026 (root - startRoot).getDistance() \u003E viewConfiguration.touchSlop\u0060 appears character-identically in 2 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextBlockTransformHandles.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2013e639e17f07358d281ab9be4f6715b4d8e622af2be5e47f208eecebfd49"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!file.exists() || !file.isFile || !file.canRead()\u0060 appears character-identically in 2 files \u2014 feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/screen/FileTransferScreen.kt, feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/screen/components/ChatMessageItem.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/screen/FileTransferScreen.kt"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee72074014e6a93fe0fd98d71f398eef2917cbec453c56e729ef8b27f7581f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!file.isFile || file.length() != bytes.size.toLong() || File(file.path \u002B \u0022.new\u0022).exists() || File(file.path \u002B \u0022.bak\u0022).exists()\u0060 appears character-identically in 2 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"737ecbf90bc9ac07341f9840d5356488974ec61b1594ef9682920a12c251843f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!forExport \u0026\u0026 (candidateTargets.isNotEmpty() || lastMove != null)\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/ui/board/ChessBoard.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/ui/board/GomokuBoard.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/ui/board/XiangqiBoard.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/ui/board/ChessBoard.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"27443b1ad6c533ab6386a19abb654a4429d385dafe62029ee4383c31bbe5bdcc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!forceUpdate \u0026\u0026 currentTime - lastRenderTime \u003C RENDER_THROTTLE_MS\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt, feature/ai/src/main/java/com/shifenmiao/ai/component/StreamContentProcessor.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3c34a721d3ffab935533eafa84dd034da5273edbae4845b9af62cd8f6a6425"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isFolder \u0026\u0026 extension in IMAGE_EXTENSIONS\u0060 appears character-identically in 2 files \u2014 feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessGridItem.kt, feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessListItem.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessGridItem.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b569ae3e41d2576601862425e14f99deed67c94b33709be5b648750efc0859c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isFolder \u0026\u0026 extension in VIDEO_EXTENSIONS\u0060 appears character-identically in 2 files \u2014 feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessGridItem.kt, feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessListItem.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/ui/RecentAccessGridItem.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e5a47bc97330de653a262b6e93ceeccf29ce6c61c6be10a7c89be834816cc4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isLocalEnginePackaged || localEngineInstallState.value !is XiangqiEngineWeights.InstallState.Installed\u0060 appears character-identically in 2 files \u2014 feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"925e78f519c58835b4c87d09ecf6a383bad7343051a37b32221545ff8f20a404"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isPortrait \u0026\u0026 canShowScreenData \u0026\u0026 showActionsInTopAppBar\u0060 appears character-identically in 2 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveBottomScaffoldLayoutScreen.kt, core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveLayoutScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveBottomScaffoldLayoutScreen.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f759718008e6d14b12b8a7b8603d23d417cb46316d9fece4fe21593966f077"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!it.isNonChat \u0026\u0026 it != AiRequestProtocol.LOCAL_ON_DEVICE\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GamePreparation.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/dto/GamePreparation.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/dto/GamePreparation.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6008ecb08c1115d62904e52f6055c8a7038a148c29118c9f4abdecca3a55963"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!newValue \u0026\u0026 wasPending \u0026\u0026 task.isCompleted\u0060 appears character-identically in 2 files \u2014 feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt, feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/MarkTodoComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/CategoryDetailComponent.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"981e6a407d68de4d453a778b51d19aeb1af0b1483151fec0f96530401222b3a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!settings.ttsEnabled || !ttsEngine.canPrepareVoice()\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AudioFeedbackUseCase.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AudioFeedbackUseCase.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86c71dc7e75d10f02181fea00e6460b3072a9e8f429f381f23ec014be373042"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!settingsState.isGlassAlphaEnabled || style == GlassStyle.None\u0060 appears character-identically in 3 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCard.kt, core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassModifier.kt, core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassSurface.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassCard.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc627660cbe0dc3c70a7afb335db4991675cf250d5089e0846a83bb4a1ebf776"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!source.isAbsolute || source.absolutePath != file.path || file.parentFile != directories.assets || !file.name.matches(AssetPattern) || !file\u2026\u0060 appears character-identically in 2 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8bd13a8f26bfd8f1da9c38182faf9b671ada400a53852aea9d6bcfd1c2c8ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!streamCompleted \u0026\u0026 _uiState.value.status == GenerationStatus.STREAMING\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt, feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e7a78925a317f54fa811dbde4d7fc6ed8061125fea2d85433d236fade7dfb6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!task.errorMsg.isNullOrEmpty() \u0026\u0026 task.status != OcrTaskStatus.SUCCESS.value\u0060 appears character-identically in 2 files \u2014 feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt, feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/OcrTaskListScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/screen/DocConvertTaskListScreen.kt"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2335dfc20fb428aa9eeb87fd31e120bd431a436d825d1082b3d0bc6cb7670f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!uri.authority.isNullOrEmpty() \u0026\u0026 uri.authority != \u0022localhost\u0022\u0060 appears character-identically in 2 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73df62fed322426b6913dff5107aa67725d3901dd4e41a4e724f76cf7ed774d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!visible \u0026\u0026 predictiveBackProgress != 0f\u0060 appears character-identically in 3 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt, feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt, feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/FullscreenEditOption.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"841274f45a5e47e46b8332c0dec037a755d4e6d877fe39e7918c08eb3d9c7fac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(fen.isNullOrEmpty()) \u0026\u0026 (json.isNullOrEmpty())\u0060 appears character-identically in 3 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt, feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageGomokuTool.kt, feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageXiangqiTool.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/ManageChessTool.kt"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f90562a4f6486196da62e6024acab7fdcdc70c6c021f39b4d3bab1d7c882f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Build.VERSION.SDK_INT \u003E= 26 \u0026\u0026 bitmap.config == Bitmap.Config.HARDWARE\u0060 appears character-identically in 2 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/image/StudioImageReader.kt, feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/screenLogic/MarkupLayersComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/image/StudioImageReader.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb84b7a1f932dd9c83562ea65af3b49d67c75a47897a862912487023c3ed414"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Build.VERSION.SDK_INT \u003E= Build.VERSION_CODES.O \u0026\u0026 config == Bitmap.Config.HARDWARE\u0060 appears character-identically in 2 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdd2a472a6957ec3eabab93d91f906664aebc9f7800fa8253f39a206fbaf1b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060SDK_INT \u003E= 26 \u0026\u0026 this == Bitmap.Config.HARDWARE\u0060 appears character-identically in 2 files \u2014 core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/BitmapUtils.kt, core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/ImageUtils.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/utils/BitmapUtils.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4090e80fee9af3cc2815c2e7e3c37ff80dbab8adf0cdb4072d11aa64ba0a3b7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060StringUtils.isValidChinesePhoneNumber(phoneNumber.value) \u0026\u0026 StringUtils.isValidCode(codeNumber.value)\u0060 appears character-identically in 2 files \u2014 feature/login/src/main/java/com/shifenmiao/login/BindPhoneSheet.kt, feature/login/src/main/java/com/shifenmiao/login/ui/LoginBody.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/login/src/main/java/com/shifenmiao/login/BindPhoneSheet.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7859c06eb5480c3623b4d4ec1825113b8cad3a8e7abf7610bb434eea7602c23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_params.value.pages.isNotEmpty() || pages.isEmpty()\u0060 appears character-identically in 2 files \u2014 feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/signature/screenLogic/SignaturePdfToolComponent.kt, feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/watermark/screenLogic/WatermarkPdfToolComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/signature/screenLogic/SignaturePdfToolComponent.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d5047778ec480d9b7818b435853411c1560caf0f94de9ca349fe353bd47efc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_presetSelected.value == Preset.Telegram \u0026\u0026 imageData.imageInfo.imageFormat != ImageFormat.Png.Lossless\u0060 appears character-identically in 2 files \u2014 feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt, feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdd7f99461030768679062788080b2e96164cc3236afc029739cb3409377b1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_presetSelected.value == Preset.Telegram \u0026\u0026 imageFormat != ImageFormat.Png.Lossless\u0060 appears character-identically in 2 files \u2014 feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt, feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b197e387d6b15d69448172cc65908846474ae16947d1df9720d9565f44ddc92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_uiState.value.showValidationErrors \u0026\u0026 event.title.isBlank()\u0060 appears character-identically in 3 files \u2014 feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddCategoryComponent.kt, feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt, feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/TodoDetailComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddCategoryComponent.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6e1a51cf2ea3b33a315b495faa7e6295167c37dff6b30c8a6fd72084d83c00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.left \u003C b.right \u0026\u0026 a.right \u003E b.left \u0026\u0026 a.top \u003C b.bottom \u0026\u0026 a.bottom \u003E b.top\u0060 appears character-identically in 3 files \u2014 libs/diagram/src/upstream/java/com/hrm/diagram/render/cache/Quadtree.kt, libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt, libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/cache/Quadtree.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd45fc4d272225025d4cc8d5da795dddf6bf97f30d4a920d9f10bf30f6267b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060accessController.isGuidanceVisible || accessController.isCheckingPersistedGrants\u0060 appears character-identically in 2 files \u2014 feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt, feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/pdf_preview/PdfPreviewScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/screen/CodeEditorScreen.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a2ea367606b16423e360f7863a439633c1367d9e17be5a61a9b7eb0547189e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060active \u0026\u0026 type == PlayerType.LLM \u0026\u0026 state.isAiThinking\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a672f407701955df872dc8e3016bc4127328cc9cd9c3bc92e81e96434f2bffc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060address.isBlank() \u0026\u0026 body.isBlank() \u0026\u0026 subject.isBlank()\u0060 appears character-identically in 2 files \u2014 core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/model/QrType.kt, core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content_pickers/ContactPicker.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/model/QrType.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7516986d08a5d05c233e6c9d2af116519487e0cfd7fbebae8c97c86352bb535"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060addresses.isEmpty() \u0026\u0026 emails.isEmpty() \u0026\u0026 name.isEmpty() \u0026\u0026 organization.isBlank() \u0026\u0026 phones.isEmpty() \u0026\u0026 title.isBlank() \u0026\u0026 urls.isEmpty()\u0060 appears character-identically in 2 files \u2014 core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/model/QrType.kt, core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content_pickers/ContactPicker.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/model/QrType.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc51abef67953ab7ce3b7512d61decc58ad91e75255bed821b67a4fd725dee62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060arguments.isBlank() || arguments == \u0022{}\u0022\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/visual/AutomateUiTaskTool.kt, feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/visual/ScreenshotUiTool.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/visual/AutomateUiTaskTool.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f248c64bf3e3a556d3befe8cb1c78e0057286bcbcc51fe26c888d6889652fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060arguments.isBlank() || arguments.trim() == \u0022{}\u0022\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/PickFilesTool.kt, feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/PickFolderTool.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/PickFilesTool.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6f82e0c07a978a7de3e460559684b3b99c6c698c97f0241994c6ea56e04485"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060artifact.canonicalFile != artifact.absoluteFile || artifact.canonicalFile.parentFile != directories.projects || (artifact.exists() \u0026\u0026 !artif\u2026\u0060 appears character-identically in 2 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14c73639a1c3a5e8f4d4bcbedc6c567303646f0504d22df05f083cd02c564ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bitmap.isRecycled || bitmap.width \u003C= 0 || bitmap.height \u003C= 0\u0060 appears character-identically in 2 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af98a52e61b73748f581baf3a7c6639abd9728ded1ee08e59c8ac6512094895"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child is Child.Game \u0026\u0026 child.component.gameId == gameId\u0060 appears character-identically in 2 files \u2014 feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"facedef6ffaf4e90e5088440ce216aa8d6f72f9d3ac8722efc8ced079a84809e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child is Child.Game \u0026\u0026 child.component.setupDraft != null\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9de846eef5539f4c9de5bf5b2b53c5295b86cafcb1efef889e5abac20c9724b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chunk.errorCode != 0 || chunk.errorMsg.isNotBlank()\u0060 appears character-identically in 2 files \u2014 feature/common/src/main/java/com/shifenmiao/common/ai/AIPromptExecutor.kt, feature/visual-automation/src/main/java/com/wanbaohe/visual/automation/ai/VisualAIClient.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/ai/AIPromptExecutor.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd07445adc3ac98b8c229f2219348d84ed8906054fdf8cd20f47f28b4783d55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060component.isSaving || component.isImageLoading\u0060 appears character-identically in 4 files \u2014 feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt, feature/crop/src/main/java/com/t8rin/imagetoolbox/feature/crop/presentation/CropContent.kt, feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/DrawContent.kt, feature/gradient-maker/src/main/java/com/t8rin/imagetoolbox/feature/gradient_maker/presentation/GradientMakerContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/collage-maker/src/main/java/com/t8rin/imagetoolbox/collage_maker/presentation/CollageMakerContent.kt"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0da851c51dd34322b23d493c7b12beb958b4f2092c647efb45281e97794f8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060component.lastPaths.isNotEmpty() || component.paths.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentSecondaryControls.kt, feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/addEditMaskSheet/AddEditMaskSheetControls.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentSecondaryControls.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c31dd0f0b9d546d4a9b6e56cc076a2afc1529fd7f7f6737689f9960d271e7de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060component.paths.isNotEmpty() \u0026\u0026 component.filterList.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/addEditMaskSheet/AddEditMaskSheet.kt, feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/addEditMaskSheet/AddEditMaskSheetControls.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/addEditMaskSheet/AddEditMaskSheet.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9d2d52691e6595710a7abde715df87ef6d6f2b3398c5f222b8b79b14ff4852"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060component.previewBitmap != null \u0026\u0026 component.bitmap != null \u0026\u0026 component.shouldShowPreview\u0060 appears character-identically in 3 files \u2014 feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt, feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt, feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/SingleEditContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70b522d625b98a515fc0d1809fb206334f786deeaeb65d3e1f2c68dd55a47b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060component.previewBitmap != null \u0026\u0026 component.shouldShowPreview\u0060 appears character-identically in 3 files \u2014 feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt, feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt, feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/SingleEditContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/format-conversion/src/main/java/com/t8rin/imagetoolbox/feature/format_conversion/presentation/FormatConversionContent.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b55220351a2653a9fed2d1b6bc2fb95ef041859d9420cd4c8d6623eaf71123"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.isValid() \u0026\u0026 ( !ttsService.isProxyRoute(config) || com.shifenmiao.storage.TokenStorage.isLogin() )\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/data/AudioAdapter.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/AudioAdapter.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/AudioAdapter.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/AudioAdapter.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0574cb33c553afe0af6b823f063a1f67cbe9a1070cc243fcb1dfdefb151cdb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connectionState == ConnectionState.READY || connectionState == ConnectionState.PLAYING\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"3593eb254a2d57d647d6d711f75b97c75b067bbcbd26c492c92c7c144e9dcc9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060constraints.hasBoundedWidth \u0026\u0026 constraints.hasBoundedHeight\u0060 appears character-identically in 2 files \u2014 libs/cropper/src/main/java/com/t8rin/cropper/util/ImageContentScaleUtil.kt, libs/image/src/main/java/com/t8rin/image/util/ImageContentScaleUtil.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cropper/src/main/java/com/t8rin/cropper/util/ImageContentScaleUtil.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6f473bebd12212d0b4d2a1e31da43c2967c9feb718c030000f19c0d42003fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060constraints.hasFixedWidth \u0026\u0026 constraints.hasFixedHeight\u0060 appears character-identically in 2 files \u2014 libs/cropper/src/main/java/com/t8rin/cropper/util/ImageContentScaleUtil.kt, libs/image/src/main/java/com/t8rin/image/util/ImageContentScaleUtil.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cropper/src/main/java/com/t8rin/cropper/util/ImageContentScaleUtil.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7803e0a1e236d333ae0bfc6e391d9a0d5dd6568826826d4d3f2bf8289cfb1820"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060content is WatermarkContent.Image \u0026\u0026 content.imageData.isBlank()\u0060 appears character-identically in 2 files \u2014 feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/panels/LayerPanel.kt, feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/panels/PresetPanel.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/panels/LayerPanel.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"414ffbcf30b8f01c73951d8dd990db4177a4dc3e7302cf481f001d9b037ed795"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cue != Cue.MOVE \u0026\u0026 tryTts(cue, settings)\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AudioFeedbackUseCase.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AudioFeedbackUseCase.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AudioFeedbackUseCase.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4416abdf7e3a147be76d336ca06da20e28509f7a1c928a27ad019d748ed7ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current.hasDueTime \u0026\u0026 current.dueDateMillis != null\u0060 appears character-identically in 2 files \u2014 feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt, feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/QuickAddTodoComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5518d7e57895727fd0cac3db82d1cbaedf1aaf0cf8c95710b9b505c5ee630a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current.identityKey() == draft.identityKey() || current.name.equals(draft.name, ignoreCase = true)\u0060 appears character-identically in 2 files \u2014 feature/settings/src/main/java/com/wanbaohe/setting/ai/component/AIAddEngineComponent.kt, feature/settings/src/main/java/com/wanbaohe/setting/ai/component/AIEngineSettingsDetailComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/settings/src/main/java/com/wanbaohe/setting/ai/component/AIAddEngineComponent.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"61124409a5136b695871eef463fdcd86d03a00423ccf7a41e4d7c8bf22fe0d5d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentDraftId == null || currentDraftId == 0L\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt, feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74c5a306974f59447e4a2f8db5503448712439c6a2d2406be49735d64e3288a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060date != null \u0026\u0026 ( (minDate != null \u0026\u0026 date.isBefore(minDate)) || (maxDate != null \u0026\u0026 date.isAfter(maxDate)) )\u0060 appears character-identically in 2 files \u2014 core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt, core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDateRangePickerDialog.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/java/com/wanbaohe/base/ui/picker/ChineseDatePickerDialog.kt"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"c141b9aeec1cb68652462d5f41ad3b728a73c79554b592e22993154379df5d7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060detail.status != GameStatus.PLAYING \u0026\u0026 detail.status != GameStatus.CHECK\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AiOrchestrationUseCase.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79c4255a593a0d2e83039db7a3295a097f8f3f8b5bb0284ae87a809dd252ee5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dismissValue == SwipeToDismissBoxValue.EndToStart || dismissValue == SwipeToDismissBoxValue.StartToEnd\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/content/AIChatHistory.kt, feature/app/src/main/java/com/wanbaohe/app/app_screen/FavoriteScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/content/AIChatHistory.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"55825ef14b8e721247d16e62efc1edc6ca02cd10716c8e779bdf3e05d3de7a5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060disposed || snapshot.phase != ConnectionPhase.Ready\u0060 appears character-identically in 3 files \u2014 feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/FeedbackStore.kt, feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SettingsStore.kt, feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/SubagentStore.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/FeedbackStore.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e753db1aaf0f9a8cf59a1d33d229f0fb2b610458e823acfdc6b3b875867268"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060distA \u003C= touchRadiusPx \u0026\u0026 distA \u003C= distB\u0060 appears character-identically in 2 files \u2014 feature/measurement/src/main/java/com/wanbaohe/measurement/screen/AngleMeasure.kt, feature/measurement/src/main/java/com/wanbaohe/measurement/screen/RulerMeasure.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/measurement/src/main/java/com/wanbaohe/measurement/screen/AngleMeasure.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a590806795256105e6eb269d90d5f648a247a06faae57be6846a2e5910ba85de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060draft.data.isNotBlank() \u0026\u0026 draft.status != DataDraftEntity.STATUS_DRAFT\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt, feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"432aee2b2db96e95584305e2e64835250ff2be9e3b5a5bc6776e72c1794c330c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060draft.tool == SetupTool.PLACE \u0026\u0026 draft.placementPiece == piece\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiSetupScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessSetupScreen.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"55073bc58ecdd7f0d166feb29d09bf1ffe9b8ea188dffb8da65ddcc1eba8708a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060draggableState.offset == 0f \u0026\u0026 !hideControls\u0060 appears character-identically in 2 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt, feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcdfa97ffc48bc6cf9865d25d5e78da0a4f84a79063efe3981b4a916dd4b907"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060draggableState.offset == 0f \u0026\u0026 showBottomHist \u0026\u0026 !hideControls\u0060 appears character-identically in 2 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt, feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f181ada15d34ab2259ecba19608200b3b6c013d7f946c16b63722382924dc23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dragging \u0026\u0026 change.positionChange() != Offset.Zero\u0060 appears character-identically in 2 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/editor/TextBlockTransformHandles.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/editor/EditorLayerBox.kt"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc370745204bc4bbd4f31b703fc3f66b333258118e73379d993e0fb33d045afe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060drawMode !is DrawMode.Highlighter \u0026\u0026 drawMode !is DrawMode.PathEffect \u0026\u0026 drawMode !is DrawMode.SpotHeal\u0060 appears character-identically in 2 files \u2014 feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentControls.kt, feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/DrawEditOption.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentControls.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"45893cfbd51ffeb6997af6a9cdd4fcb171f47a59a44f929d73446eab58fcfd54"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060drawMode !is DrawMode.Neon \u0026\u0026 drawMode !is DrawMode.PathEffect \u0026\u0026 drawMode !is DrawMode.SpotHeal\u0060 appears character-identically in 2 files \u2014 feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentControls.kt, feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/DrawEditOption.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentControls.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e29be4ec343a8d8f5431f071eeddc3bbe79a46b4b93ebd063fbf027ec4e542"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060drawMode !is DrawMode.PathEffect \u0026\u0026 drawMode !is DrawMode.Image \u0026\u0026 drawMode !is DrawMode.SpotHeal\u0060 appears character-identically in 2 files \u2014 feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentControls.kt, feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/DrawEditOption.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentControls.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d8c839c87eb6b7f03aaca7fd1acb3c73944180b5c783b6694ac6b74a6bb240"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060drawMode !is DrawMode.Text \u0026\u0026 drawMode !is DrawMode.Image\u0060 appears character-identically in 3 files \u2014 feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentControls.kt, feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/DrawUtils.kt, feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/DrawEditOption.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/controls/DrawContentControls.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d162789a5d61fe779246bb878533640464d209f8c763843533f47faa31a62b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060drawMode is DrawMode.Highlighter || isSharpEdge\u0060 appears character-identically in 2 files \u2014 feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt, feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/DrawUtils.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/AndroidImageDrawApplier.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"634277f917fbbf8f4df4b65f4317ee169ebf0161dcab2d39b50f8e0419036c8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060drawMode is DrawMode.Image \u0026\u0026 !isEraserOn\u0060 appears character-identically in 2 files \u2014 feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/BitmapDrawer.kt, feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/UiPathPaintCanvasAction.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/BitmapDrawer.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0d5e28a66a9e29fa5b69c61bb1e8aa1fa8cc19074c2b8486764433ea733c37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060drawMode is DrawMode.PathEffect \u0026\u0026 !isEraserOn\u0060 appears character-identically in 2 files \u2014 feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/BitmapDrawer.kt, feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/UiPathPaintCanvasAction.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/BitmapDrawer.kt"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0acfba1aa94531d6de3a01909933504ba8aeaddddd0d4f6a3486a7ab1508c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060drawMode is DrawMode.SpotHeal \u0026\u0026 !isEraserOn\u0060 appears character-identically in 2 files \u2014 feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/BitmapDrawer.kt, feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/UiPathPaintCanvasAction.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/BitmapDrawer.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"b093312179a88d3d1f50e912c031fea6256a7057837a740e17f37be66677e0b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060drawMode is DrawMode.Text \u0026\u0026 !isEraserOn\u0060 appears character-identically in 3 files \u2014 feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/BitmapDrawer.kt, feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/UiPathPaintCanvasAction.kt, feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/DrawUtils.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/BitmapDrawer.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"482f20ee56d8b783c72314f0228250cf6611d55edcb9c9331f2be867f21e1562"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060duelASource.requiresLogin || duelBSource.requiresLogin\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/application/port/outbound/ChessAiStore.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/port/outbound/GomokuAiStore.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/port/outbound/XiangqiAiStore.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/port/outbound/ChessAiStore.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2476953a9d664e5fc8979b27a83c259ff0d22fde56bd68bceaa1869997f6d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enableGlass \u0026\u0026 settingsState.isGlassAlphaEnabled\u0060 appears character-identically in 2 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedAlertDialog.kt, core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedAlertDialog.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caedf825e5f901f9dd9933873760fc1276b19656b1f37ad1b5cafbf6d5fbec6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.durationMs \u003C= 0L || entry.mediaTitle == null\u0060 appears character-identically in 2 files \u2014 feature/media-player/src/main/java/com/wanbaohe/media/ui/MediaLibraryContent.kt, feature/media-player/src/main/java/com/wanbaohe/media/ui/VideoPlayerContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-player/src/main/java/com/wanbaohe/media/ui/MediaLibraryContent.kt"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c265703e5ddd3b924792f3ef6e05918444a7339074d80c43d255661b8086fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errorMessage == fetchFailedText || errorMessage.equals(\u0022API error\u0022, ignoreCase = true)\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e76de493e1e0c32d9a7ab5039d5e384f206617972aca2426eab45466842aec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.action == KeyEvent.ACTION_DOWN \u0026\u0026 event.repeatCount == 0\u0060 appears character-identically in 2 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt, libs/modalsheet/src/main/java/com/t8rin/modalsheet/FullscreenPopup.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ed40a5d8f4bc964cc1290b2f6b3f93837260f1a29604021d62365f6bc072c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.keyCode == KeyEvent.KEYCODE_BACK \u0026\u0026 onDismiss != null\u0060 appears character-identically in 2 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt, libs/modalsheet/src/main/java/com/t8rin/modalsheet/FullscreenPopup.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5bc02bc92463793528990cfe44ad217a86105075a7f54cd3102ef6cff17239"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.type != KeyEventType.KeyDown || !event.isCtrlPressed\u0060 appears character-identically in 2 files \u2014 libs/rich-text-editor/src/main/java/com/wanbaohe/richtext/editor/command/RichTextKeyboardShortcuts.kt, libs/rich-text-editor/src/main/java/com/wanbaohe/richtext/editor/document/MarkdownDocumentKeyboardShortcuts.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/rich-text-editor/src/main/java/com/wanbaohe/richtext/editor/command/RichTextKeyboardShortcuts.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b06f09d12bfef47c96e010b3824f44b7c752c76c0a4cb4d259623095c6c8f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.exists() || File(file.path \u002B \u0022.bak\u0022).exists()\u0060 appears character-identically in 2 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c59634f59fd52f13df074fca1808c9677ef74d654649e388552cc872a38dc01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.exists() || File(file.path \u002B \u0022.bak\u0022).exists() || File(file.path \u002B \u0022.new\u0022).exists()\u0060 appears character-identically in 3 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt, feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/recipe/AndroidRecipeStore.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/data/project/AndroidTextCardProjectStore.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/project/MarkupProjectStore.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"62102fb11e715099f722841ce5447a6bbf5ca68e759d869633903d60b1dcedbf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fine == PackageManager.PERMISSION_GRANTED || coarse == PackageManager.PERMISSION_GRANTED\u0060 appears character-identically in 2 files \u2014 core/weather/src/main/java/com/wanbaohe/core/weather/data/location/AndroidCurrentLocationProvider.kt, core/weather/src/main/java/com/wanbaohe/core/weather/data/location/AndroidLocationProvider.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/weather/src/main/java/com/wanbaohe/core/weather/data/location/AndroidCurrentLocationProvider.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56ee8a90702310a05ae6c4122788ff8bd190bacf88de28fe069824ff4a48bef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060first.isBlank() \u0026\u0026 formattedName.isBlank() \u0026\u0026 last.isBlank() \u0026\u0026 middle.isBlank() \u0026\u0026 prefix.isBlank() \u0026\u0026 pronunciation.isBlank() \u0026\u0026 suffix.is\u2026\u0060 appears character-identically in 2 files \u2014 core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/model/QrType.kt, core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content_pickers/ContactPicker.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/model/QrType.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"6943905a72d167b9b328ca1bbf6269576e78291267f9a290df8cdc46af31fcbd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060force \u003E SHAKE_THRESHOLD \u0026\u0026 now - lastShakeMs \u003E SHAKE_COOLDOWN_MS\u0060 appears character-identically in 2 files \u2014 feature/dice-roller/src/main/java/com/wanbaohe/diceroller/component/DiceRollerComponent.kt, feature/iching-divination/src/main/java/com/wanbaohe/iching/component/IChingDivinationComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dice-roller/src/main/java/com/wanbaohe/diceroller/component/DiceRollerComponent.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c6c7ae4fca260478c54ec8185764b9e8dbc041343317188ecfea0b9991aa0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060game.status != GameStatus.PLAYING \u0026\u0026 game.status != GameStatus.CHECK\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb275547752b43ed2eb4664cd78e70726966384302825f834f7a06c5d998950d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060game.status == GameStatus.NOT_STARTED \u0026\u0026 game.startedAt == 0L \u0026\u0026 game.currentPly == 0\u0060 appears character-identically in 2 files \u2014 feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"701752e39dc8d9b0f34665ce6b26dc835f4ba589deb49cfd925a3ee31e8c6282"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasUpdateAvailable \u0026\u0026 screen is Screen.Profile\u0060 appears character-identically in 2 files \u2014 feature/app/src/main/java/com/wanbaohe/app/components/BottomNavigationBar.kt, feature/app/src/main/java/com/wanbaohe/app/components/NavigationRailBar.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/app/src/main/java/com/wanbaohe/app/components/BottomNavigationBar.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fdd79cd7f91a0a92af9e5d2f4fc8d2c4e38a462347555d5e3edae88164c44e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060imageByteArray[i].toInt() == 255 \u0026\u0026 imageByteArray[i \u002B 1].toInt() == 218\u0060 appears character-identically in 2 files \u2014 feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/Glitcher.kt, feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/tools/JpegGlitch.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/data/utils/glitch/Glitcher.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e21ebad3eb277b2796b9138d7deb1d558e54985620d1fcaea708f245cb2a9c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060interval \u003C 0 \u0026\u0026 distance \u002B bitmapWidth \u003C 0\u0060 appears character-identically in 2 files \u2014 feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/utils/DrawRepeatedPath.kt, feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/components/utils/DrawRepeatedPath.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/data/utils/DrawRepeatedPath.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4873a782764de81185f269610da5dd4428865437845d90b2a52e5ab3e2af38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLoading || connectionState == ConnectionState.CONNECTING\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c05b795aae6d7baa3485b369192484a99c602ff19e406d0fafa473edda5807"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLoading || connectionState in setOf( ConnectionState.CONNECTING, ConnectionState.WAITING_FOR_OPPONENT, )\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5d475ede2cef1d65c54be92e4b9218f37981662edd505b77b5574db64ad390"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isStartingPreparation || isRestoringRecentGame\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ad6f217b1891319b2758b3751aefd86237e10beb4b8bf710924d6f3052b197"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isStartingPreparation || isRestoringRecentGame || preparationSetupDraft != null\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba35a1efe9c42691c36fb38ef997b1d290e4906b6992d4aabec74a0f11cd024"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isVisible \u0026\u0026 !isNavigatingAway \u0026\u0026 !suppressAiRequests \u0026\u0026 setupDraft == null \u0026\u0026 !uiState.isUpdating \u0026\u0026 aiRequestJob?.isActive != true \u0026\u0026 play\u2026\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b81f8e6f584d8b645c3d52759fd2af615e71e3d77881b5128eaca6bbace19a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isVisible \u0026\u0026 !isNavigatingAway \u0026\u0026 uiState.isLoaded \u0026\u0026 !uiState.isUpdating \u0026\u0026 !uiState.isAiThinking \u0026\u0026 uiState.mode != GameMode.ONLINE_PVP \u0026\u0026\u2026\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb43fd6015c29684e90673e88f22608d12140fdbf5dec3be8a8ba543ddc03499"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isVisible \u0026\u0026 !isNavigatingAway \u0026\u0026 uiState.isLoaded \u0026\u0026 !uiState.isUpdating \u0026\u0026 uiState.mode != GameMode.ONLINE_PVP \u0026\u0026 setupDraft == null \u0026\u0026 re\u2026\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"5232fea1f97a7269b850bed489825c94a63715657b9d0d83128df775f1925569"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isVisible \u0026\u0026 !isNavigatingAway \u0026\u0026 uiState.isLoaded \u0026\u0026 !uiState.isUpdating \u0026\u0026 uiState.mode != GameMode.ONLINE_PVP \u0026\u0026 setupDraft == null \u0026\u0026 un\u2026\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedc734dfca3ab52fe7044eebaecf8c586d5e52ffd014fdb48467d9dfb0109eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it == ModalBottomSheetValue.Hidden \u0026\u0026 !internalCancelable.value\u0060 appears character-identically in 2 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt, libs/modalsheet/src/main/java/com/t8rin/modalsheet/ModalSheet.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd26ce3d078fc13fd0afc0e9ab257d8a9163e713d053cdd0bf6a8a369c8bd23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.color != null \u0026\u0026 it.start \u003C end \u0026\u0026 it.end \u003E start\u0060 appears character-identically in 2 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/TextLayerRichText.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/TextBlock.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/TextLayerRichText.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2998ab74ce6128411c6dd84d8a83e25738e18c1e2da790dee496f10d2a90d7a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.entryType == AIConversationEntryType.DUEL \u0026\u0026 !it.expired\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt, feature/ai/src/main/java/com/shifenmiao/ai/component/AIHistoryCenterComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIDuelChatComponent.kt"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cd78ae49a20d59ea444aa15333cff19bdf750dc14a344e1d21b632ffa86b75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isBlank() || it.equals(\u0022null\u0022, ignoreCase = true)\u0060 appears character-identically in 3 files \u2014 core/database/src/main/java/com/shifenmiao/database/ai/entity/AiEngineEntity.kt, core/model/src/main/java/com/shifenmiao/model/ai/AiEngine.kt, core/network/src/main/java/com/shifenmiao/network/di/NetworkModule.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/ai/entity/AiEngineEntity.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1d2867bb6d84e9fcb7f326b8254681f5f6463d7c83b387004c6832b4a7fa0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.lastPlayedAt \u003E 0L || it.plyCount \u003E 0 || it.status != GameStatus.NOT_STARTED\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/GameQueryUseCase.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/GameQueryUseCase.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/GameQueryUseCase.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5800a03ac6eb8b75be18ca92ef5f1223c36dff10adb5c6bdb80f0c97f0009a52"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.sizeScale != null \u0026\u0026 it.start \u003C end \u0026\u0026 it.end \u003E start\u0060 appears character-identically in 2 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/TextLayerRichText.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/domain/model/TextBlock.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/domain/model/TextLayerRichText.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23f2989e26581ffde7061288334acbe56774dfb2f75b233de7364d5ba16c137"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.startsWith(\u0022http://\u0022) || it.startsWith(\u0022https://\u0022)\u0060 appears character-identically in 3 files \u2014 core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/hunyuan/HunyuanImageProvider.kt, core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/openai/OpenAiImageProvider.kt, core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/qwen/QwenImageProvider.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/hunyuan/HunyuanImageProvider.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbe7f828b885b4426d32af843da3d54c1541c1b85bd956da9c4f057d85caa21"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.status == OcrTaskStatus.PENDING.value || it.status == OcrTaskStatus.PROCESSING.value\u0060 appears character-identically in 2 files \u2014 feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt, feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/OcrTaskListComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"578f5ecabc409c96a3cc670e6dc22c59aca3acf37510bae3e8ab751cf452d62c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lastPly != null \u0026\u0026 isVisible \u0026\u0026 !isNavigatingAway\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"1113a281afef4cc0ecaf3f6ad3b653dc9ce7189f233198c9c7e2acde3c5cad25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060latest != null \u0026\u0026 shouldRequestAi(latest, FenCodec.parse(latest.currentFen))\u0060 appears character-identically in 2 files \u2014 feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e25f1c9b4d8c79423deddee8592c6ef79720c3c8346134fb35d99df0b0fa6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060layer.requiresBitmapProcessing \u0026\u0026 filteredBitmap == null\u0060 appears character-identically in 3 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/DrawLayerPreviewRenderer.kt, feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/ImageLayerPreviewRenderer.kt, feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/StickerLayerPreviewRenderer.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/DrawLayerPreviewRenderer.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a1c66431575c8a1f39796211d3a543154063ab89eced3e649ffe6cf3612cac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lazyListState.firstVisibleItemIndex \u003E 0 \u0026\u0026 lazyListState.firstVisibleItemScrollOffset \u003E 0\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatBody.kt, feature/ai/src/main/java/com/shifenmiao/ai/screen/AgentDetailScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatBody.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"28731b5e32fd16dd069060d08e3f2b0ca5cbf3a36c15ea1e5cdf523598c72d14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060left \u003C other.right \u0026\u0026 right \u003E other.left \u0026\u0026 top \u003C other.bottom \u0026\u0026 bottom \u003E other.top\u0060 appears character-identically in 2 files \u2014 libs/diagram/src/upstream/java/com/hrm/diagram/render/cache/DrawCommandIndex.kt, libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlComponentSubPipeline.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/cache/DrawCommandIndex.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9e00e6d2d224a8a2a00fb9bf21e4c44dcde4e410a9803182712978d0f1593c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lifecycle.state \u003C Lifecycle.State.STARTED || childStack.value.active.configuration != sourceRoute || selectedGameId != sourceGameId\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/router/screenLogic/ChessRouterComponent.kt"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b6c4f59bf1b26903ffa27f4419bd4fd4bf236705352bbfe255cb8f2ae4b0ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.contains(\u0022content_filter\u0022) || lower.contains(\u0022content filter\u0022) || lower.contains(\u0022considered high risk\u0022) || lower.contains(\u0022high risk\u0022\u2026\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/error/AiChatError.kt, feature/ai/src/main/java/com/shifenmiao/ai/utils/AiUtils.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/error/AiChatError.kt"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa52475ab5034946d86ef11e1910e9d855fa66aa8801a11d98f9fd5f7af22b9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.seq \u003E 0 \u0026\u0026 !handledMoveSeqs.add(dedupeKey)\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/OnlinePlayUseCase.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/OnlinePlayUseCase.kt"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"4608ad09672e2f21985182a89cff7aeb7189dea40404c5eced36296d9b2d64ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060messageUiModels.isNotEmpty() \u0026\u0026 chatUIState.pageState != PageState.INITIALIZING\u0060 appears character-identically in 3 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatBody.kt, feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatScreen.kt, feature/ai/src/main/java/com/shifenmiao/ai/screen/AgentDetailScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/AIChatBody.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3633370839f1a3b846db7159cba89ae58cf6b0d9f9eb37da08e1421db63b02b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mimeType?.startsWith(\u0022image/\u0022) == true || extension in IMAGE_EXTENSIONS\u0060 appears character-identically in 2 files \u2014 core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/content/ContentTypeResolver.kt, feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/data/DefaultScanCodeResultResolver.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/content/ContentTypeResolver.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59d31b6b200d74303cd5a9131c76323bf6c73a485befc07d40cb3dd372c1adc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mode != MatchMode.JOIN || targetRoomId.isNotBlank()\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08d0a6f6fa1279697d03afa78bd3f9573676a2c57e34927107c63d0d519084e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060move.captured != null || move.piece.type == PieceType.PAWN\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/domain/model/BoardState.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/model/BoardState.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/model/BoardState.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"662d9959fc128047f0a42f86e7a112ddfbe74dafa16685a00a47dd7a780af5f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized.equals(open.routeKey, ignoreCase = true) || normalized.equals(open.canonicalName, ignoreCase = true) || normalized.equals(open.sl\u2026\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/ItemScreenCatalogRepository.kt, feature/common/src/main/java/com/shifenmiao/common/handle/navigation/ItemDeeplinkResolver.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/ItemScreenCatalogRepository.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3834703d625b6f52549263bcc74b6fbac08ec2d4e15137ea310162acf48886e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.outWidth \u003E 0 \u0026\u0026 options.outHeight \u003E 0\u0060 appears character-identically in 2 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/image/StudioImageReader.kt, feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/recipe/MarkupBatchProcessor.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/image/StudioImageReader.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd72b8ac6ea7b1c7e65bd8053c3ad62b7cc86ecd79378fd311d451f8b9e9d09b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060original.board != boardState.board || original.sideToMove != boardState.sideToMove\u0060 appears character-identically in 2 files \u2014 feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/BoardSetupDraft.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/BoardSetupDraft.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/BoardSetupDraft.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2865ec5f769cf4dab8904e00230a62763d001373c9e387d0b382588d908ff99"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060other == null || this::class != other::class\u0060 appears character-identically in 3 files \u2014 core/model/src/main/java/com/shifenmiao/model/wechat/common/MediaMessage.kt, core/model/src/main/java/com/shifenmiao/model/wechat/common/MediaObject.kt, core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/other/ToastHost.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/model/src/main/java/com/shifenmiao/model/wechat/common/MediaMessage.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5e3f5c6f0a59b61137f9d4b51ee71ad3bf81a5f09c895347abc1266b07b0d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.startsWith(\u0022http://\u0022) || path.startsWith(\u0022https://\u0022)\u0060 appears character-identically in 4 files \u2014 core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/hunyuan/HunyuanImageProvider.kt, core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/openai/OpenAiImageProvider.kt, core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/qwen/QwenImageProvider.kt, core/network/src/main/java/com/shifenmiao/network/AiRequestUrlResolver.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/hunyuan/HunyuanImageProvider.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf38db1da03b340224a37093a9ed45f986a29e53bb163d2e882c3af0b46c18e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060paths.isEmpty() \u0026\u0026 lastPaths.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/screenLogic/DrawComponent.kt, feature/filters/src/main/java/com/t8rin/imagetoolbox/feature/filters/presentation/components/addEditMaskSheet/AddMaskSheetComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/draw/src/main/java/com/t8rin/imagetoolbox/feature/draw/presentation/screenLogic/DrawComponent.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f550f2583006c780fe90af2050e444cefc8cd75fcda7cc395bea8f582cb508d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060piece?.side == side \u0026\u0026 piece.type == PieceType.KING\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/domain/GameArbiter.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/GameArbiter.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/GameArbiter.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"978901741c18e4551f76140860ff798438a3c86898fcc85c26b5dc37dbdec127"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060playable \u0026\u0026 state.boardState.sideToMove == side\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5630834e9cf96b50db4954df57269416a0dc548ef3b6a8be481a879e69f46dea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pos.isInside() \u0026\u0026 boardState.stoneAt(pos) == side\u0060 appears character-identically in 2 files \u2014 feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GomokuMoveFallback.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/domain/GameArbiter.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GomokuMoveFallback.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"805420974247f7bf74d4f9cb8e8f58518f3ba5e4539e3c93eb378eb71256c167"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preparation.setup.playerTypeFor(side) != PlayerType.LLM || preparation.aiConfigFor(side) != null\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/CreateGameUseCase.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/CreateGameUseCase.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/CreateGameUseCase.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"107b5aa262604d09f7457630047e585d3b9ce9f3376ea67f47557f3dff4f9883"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preparationSetupDraft != null \u0026\u0026 child == Child.PlayHome\u0060 appears character-identically in 2 files \u2014 feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d6c1222619732c30b6f666fa5f3e6e7b8aab983cbc5d481922a97633260690"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preset is Preset.AspectRatio \u0026\u0026 preset.ratio != 1f\u0060 appears character-identically in 4 files \u2014 feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt, feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/screenLogic/ResizeAndConvertComponent.kt, feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/SingleEditContent.kt, feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/screenLogic/SingleEditComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/resize-convert/src/main/java/com/t8rin/imagetoolbox/feature/resize_convert/presentation/ResizeAndConvertContent.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb088286ce686a22413f09f0392249c9c8b954af287197278fdd65a01fc2f166"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previous == GameStatus.PAUSED \u0026\u0026 (evaluated == GameStatus.PLAYING || evaluated == GameStatus.CHECK)\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/domain/GameResultResolver.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/domain/GameResultResolver.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/domain/GameResultResolver.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5554830381d167488680bece3dd9838a86a6e219a249ce58cce9633db769f813"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw.startsWith(\u0022\\${state.\u0022) \u0026\u0026 raw.endsWith(\u0022}\u0022)\u0060 appears character-identically in 2 files \u2014 core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt, core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/state/PromptCollector.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/DynamicUi.kt"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c492c8bda044caeb17b44131a48cc54aa57f8965775527e0925b0e2bb43fff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060recent != null \u0026\u0026 !preparationTouched \u0026\u0026 childStack.value.active.configuration == Route.PlayHome\u0060 appears character-identically in 2 files \u2014 feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/router/screenLogic/XiangqiRouterComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/router/screenLogic/GomokuRouterComponent.kt"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8b00918273681e2c7be5bc4b859c0e205713e93418d24a159983495af515ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rel.kind == ClassRelationKind.Dependency || rel.kind == ClassRelationKind.Realization || rel.kind == ClassRelationKind.LinkDashed\u0060 appears character-identically in 2 files \u2014 libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt, libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47bf5449c51a497b1b00b0a3705490c8a700ba4669af3078801b34a1d8ef108"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response != null \u0026\u0026 response.isSuccessful\u0060 appears character-identically in 2 files \u2014 feature/common/src/main/java/com/shifenmiao/common/logic/AppComponent.kt, feature/login/src/main/java/com/shifenmiao/login/viewModel/LoginComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/logic/AppComponent.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c2a3ccee24303be4df1c20d56c73b134da331de1f3cfe1a8e63a30cc9e7972"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.isSuccessful \u0026\u0026 response.body() != null\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/usecase/MessageListUseCase.kt, feature/profile/src/main/java/com/wanbaohe/profile/viewmodel/PayComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/usecase/MessageListUseCase.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b0ffb097ae351067c1aebdbb2feae4d6386d75f7353df6e3f4ff4405e4937f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060restoredStatus == GenerationStatus.SUCCESS \u0026\u0026 draft.data.isNotBlank()\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt, feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d6723683f4b40fe89d038924f6e92ab24d1ba52acc90d693dc56b1ef656f2d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result !is PlayMoveUseCase.Result.Success || result.detail.currentPly != targetPly\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/AiOrchestrationUseCase.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/AiOrchestrationUseCase.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/AiOrchestrationUseCase.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a6c851b6033719747e8c1ca3b55637fe674df6c3f04eca873e1df487c882f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result == null || result == \u0022null\u0022 || result == \u0022\\\u0022\\\u0022\u0022\u0060 appears character-identically in 2 files \u2014 feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditorState.kt, feature/markdown-edit/src/main/java/com/wanbaohe/markdown/edit/webview/WebViewMarkdownEditorState.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/code-editor/src/main/java/com/wanbaohe/code/editor/webview/WebViewCodeEditorState.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"afde1d0756d048f376754f94ed57bcea65d898512ea7a614aba461145366d25c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060route.kind == RouteKind.Bezier \u0026\u0026 pts.size \u003E= 4\u0060 appears character-identically in 4 files \u2014 libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt, libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlArchimateSubPipeline.kt, libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlC4SubPipeline.kt, libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f66c40decf21753c6bd0906487db6c2ac8fbc8e325143963158f0e6ba9a5dd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060route.kind == RouteKind.Bezier \u0026\u0026 pts.size \u003E= 4 \u0026\u0026 (pts.size - 1) % 3 == 0\u0060 appears character-identically in 2 files \u2014 libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt, libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlStateSubPipeline.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidStateSubPipeline.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"536c27628e090eef87b2e0ab4bb43cbe921bd52cfb7fc8fa46142d82c0e7b0c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060route.kind == com.hrm.diagram.layout.RouteKind.Bezier \u0026\u0026 pts.size \u003E= 4\u0060 appears character-identically in 2 files \u2014 libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt, libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/plantuml/PlantUmlClassSubPipeline.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidClassSubPipeline.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"485df89e03fa4c22b6822030b91d427023dfb64907557c66c93e60f924f87c9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.black?.ply == state.currentPly || row.white?.ply == state.currentPly\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuAnalysisScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessAnalysisScreen.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fcb6c71597be8b67f6bf961904fac63cd1a63612f8b2865262f65b40a60af0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scaffoldState.bottomSheetState.currentValue == SheetValue.PartiallyExpanded \u0026\u0026 !scaffoldState.bottomSheetState.isAnimationRunning\u0060 appears character-identically in 2 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveBottomScaffoldLayoutScreen.kt, feature/single-edit/src/main/java/com/t8rin/imagetoolbox/feature/single_edit/presentation/components/FullscreenEditOption.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/AdaptiveBottomScaffoldLayoutScreen.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"380fdc5eb380b5e92c8acd4a6247db27a2022cbda6436d63b02495bb3838fb63"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selected != null \u0026\u0026 !selected.transform.locked\u0060 appears character-identically in 2 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersSheet.kt, feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/panels/LayerPanel.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/components/LayersSheet.kt"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89b9969b0f5ff467e7aeedbe0ab6d41c54df4496577d853f95bf3d7b06cfe7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settingsState.isMeshGradientBackgroundEnabled || settingsState.customBackgroundImageUri != null\u0060 appears character-identically in 3 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassModifier.kt, core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/navigation/BottomNavigationBar.kt, feature/app/src/main/java/com/wanbaohe/app/components/NavigationRailBar.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassModifier.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"737fd92913bfbaf1ea39297535124855cbc8edb79b816f28c49cbe1b10806a26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060setupDraft == null || uiState.isUpdating\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f70934d2256cc8b66286e97b7f7718b0ac69b3e0be5497546a7b201ac7f772"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sheetState.progress == 1f \u0026\u0026 sheetState.currentValue == sheetState.targetValue\u0060 appears character-identically in 2 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt, libs/modalsheet/src/main/java/com/t8rin/modalsheet/ModalSheet.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/enhanced/EnhancedModalBottomSheet.kt"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02564d79901d328d4a299ce9101638978d11154a69c6772a6fb60bdcae59179"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060showDeleteDialogState.value \u0026\u0026 draftToDelete != null\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt, feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIPromptScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/screen/CreateAIAgentScreen.kt"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c50dddd4ed3b9e6257d218959c34e8325d97b8ff3d3543c5ea2001f675bfc58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060span.bold != null || span.italic != null\u0060 appears character-identically in 2 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/TextLayerExportRenderer.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/data/render/TextBlockRendering.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/TextLayerExportRenderer.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7d1c6bbbadf1caebf33f9c4f8db90dc24473fcd84d55f28993b5c44f2619d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state != null \u0026\u0026 state.isTracking(event) \u0026\u0026 !event.isCanceled\u0060 appears character-identically in 2 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt, libs/modalsheet/src/main/java/com/t8rin/modalsheet/FullscreenPopup.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/utils/FullscreenPopup.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2146157ec094cf6b3c941e430c19c08b61b9272ad1dd50d98d4425f1a122c53e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.errorMessage.isNotBlank() \u0026\u0026 state.errorMessage != \u0022AI_FALLBACK\u0022\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2d89c765243b749115d9b709933cdb69faacb9c5d1a57da2cd489b51741869"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.gameState == GameState.WON || state.gameState == GameState.LOST\u0060 appears character-identically in 2 files \u2014 feature/minesweeper/src/main/java/com/wanbaohe/minesweeper/component/MinesweeperComponent.kt, feature/minesweeper/src/main/java/com/wanbaohe/minesweeper/screen/MinesweeperScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/minesweeper/src/main/java/com/wanbaohe/minesweeper/component/MinesweeperComponent.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbc66b5e32e7779fa0ed36783be32f011f00aa8b30bcba7ffb7bc3bcf617c05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.input.isNotBlank() \u0026\u0026 !state.isDetecting\u0060 appears character-identically in 2 files \u2014 feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/AiDetectScreen.kt, feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/TextDetectTab.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai-detect/src/main/java/com/wanbaohe/aidetect/screen/AiDetectScreen.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe328d8be3eb18fe546d49f92587929fcdc3c06e834ed6e050674b86b0cacbb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.isLoaded \u0026\u0026 !state.isUpdating \u0026\u0026 issue == null\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuPlayHomeScreen.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiPlayHomeScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayHomeScreen.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ece4feaf0ab378aeec64940208b3ab548beb566225d57ded9b582eac1c6fa0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.isLoaded \u0026\u0026 (state.status == GameStatus.NOT_STARTED || state.status == GameStatus.PAUSED)\u0060 appears character-identically in 2 files \u2014 feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"666dd30b717d68232366a0d46739482361f1080c301b8508c2fe64e30fb50ac0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.isLoaded \u0026\u0026 (state.status == GameStatus.PLAYING || state.status == GameStatus.CHECK)\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84c958d3de30f826a67ebcf8e5d8f27cb1b953c1bf0072347c8bf3778a542a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.isSaving || state.status == GenerationStatus.STREAMING\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt, feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"028cd9e72e23e7cad34bff26cf1f3dc0499dc37e09b51c7e0390beebf1a8e2e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.status == GameStatus.NOT_STARTED \u0026\u0026 state.startedAt == 0L\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt, feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a5ffd14dbf99e355740d379a0292b0e7173681bad59b8900ea946eb9d1fde5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.status == GameStatus.PLAYING || state.status == GameStatus.CHECK\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4168436fae4cabc873bc27e1b320248b27b6684eb953a6dd42a7e84002ee3fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060targetRoomId.isBlank() || hasAutoJoinedTargetRoom\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/OnlineMatchScreen.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/OnlineMatchScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/OnlineMatchScreen.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"79746d7d5ab72e6bda9f47dd79883d89e272430db961a04d1d827e02e6a2c12a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this != Color.Unspecified \u0026\u0026 this != Color.Transparent\u0060 appears character-identically in 6 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassButton.kt, core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassIconButton.kt, core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassOutlinedButton.kt, core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassTextButton.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassButton.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"be406b2bc96b7f6c3a975a9eaa398be3d12cceeb65b6a880375ad5d35068f3e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this == \u0022application/zip\u0022 || this == \u0022application/x-zip-compressed\u0022\u0060 appears character-identically in 2 files \u2014 core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/content/ContentTypeResolver.kt, core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/helper/HandleDeeplinks.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/content/ContentTypeResolver.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"488843bf0eaced9a3388406a4403be3858fe730afccd87074d323bf7ed1cbf0b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this == Color.Unspecified || this == Color.Transparent\u0060 appears character-identically in 2 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassMaterial.kt, core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassModifier.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/glass/GlassMaterial.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffb8e1e17d94afe69ff43688f96556f357855d9d7add746f19fb26be156c7fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this == GameStatus.PLAYING || this == GameStatus.CHECK\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a0f0206dc0f9777f2f7b21ec14f2fee7b847dd5c1ffe7e32aaf084b84a5174"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this == GameStatus.WHITE_WINS || this == GameStatus.BLACK_WINS || this == GameStatus.DRAW || this == GameStatus.RESIGNED\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt, feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessGameScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a101513ea893ba22b1fefeb94f790abc77648432b8c02371fb6e2996d01628d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060titleRect != null \u0026\u0026 !ir.title.isNullOrBlank()\u0060 appears character-identically in 9 files \u2014 libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGanttSubPipeline.kt, libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGaugeSubPipeline.kt, libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGitGraphSubPipeline.kt, libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidJourneySubPipeline.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/diagram/src/upstream/java/com/hrm/diagram/render/streaming/mermaid/MermaidGanttSubPipeline.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"331bbffee941984a303f3c5dd40418198437c27b3a296a45a80ce8d2a114429e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.isBlank() || trimmed == game.title\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/application/usecase/ManageGameUseCase.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/application/usecase/ManageGameUseCase.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/application/usecase/ManageGameUseCase.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cceb58fd3e5bfce745b936523f965640490b0c23381811a74ac81ce8984601e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.startsWith(\u0022{\u0022) || trimmed.startsWith(\u0022[\u0022)\u0060 appears character-identically in 2 files \u2014 feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AgentToolRegistry.kt, feature/ai/src/main/java/com/shifenmiao/ai/context/ToolResultTruncator.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AgentToolRegistry.kt"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de7f0482aafbf24bba6fd232f5359585b635ec12aa8d58d5dcda3e5943b56e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type != PlayerType.HUMAN || state.mode == GameMode.LOCAL_PVP || login.isLogin\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"807adc133315ec4666832f61457e5294c67103b884f82f64454dc421fe6faa09"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type == PlayerType.LLM \u0026\u0026 state.isLoaded \u0026\u0026 !state.isUpdating\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/screen/GomokuGameScreen.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/screen/XiangqiGameScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/screen/ChessPlayersRow.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3b779c4d132b628cab46223c1d684eaaaf22a2e760ddc77939d2926012830f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type.startsWith(\u0022tool/\u0022) || type.startsWith(\u0022tool:\u0022)\u0060 appears character-identically in 2 files \u2014 feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/EventNodes.kt, feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/Trajectory.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/session/EventNodes.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aefc29e1d09f6dda03333aad075fb74555383b30bbc85a7e0f25df8cde94594"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type.widthManuallySet \u0026\u0026 type.widthRatio != null\u0060 appears character-identically in 3 files \u2014 feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/TextLayerExportRenderer.kt, feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/InPlaceTextLayerEditor.kt, feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/render/TextLayerPreviewRenderer.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/render/TextLayerExportRenderer.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4e3d95c6f1ad49f9cf82535be0bb13be31c734668451c640f1899f4ab007e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uiState.isAiThinking \u0026\u0026 isCurrentSideAi(detail)\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9747ed00c33cfa9cefd28894cfdec01b6f4d08437e73fac64f8a74fe91ab359"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uiState.isLoaded \u0026\u0026 uiState.mode != GameMode.ONLINE_PVP\u0060 appears character-identically in 2 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"a526fde8f519953fdee825f4f1def7629c15f8a19a36541f923a838754f7f91a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uiState.mode != GameMode.ONLINE_PVP || uiState.boardState.sideToMove == uiState.onlineMySide\u0060 appears character-identically in 3 files \u2014 feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt, feature/gomoku/src/main/java/com/wanbaohe/gomoku/component/GomokuGameComponent.kt, feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/component/XiangqiGameComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/component/ChessGameComponent.kt"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e6aea330c76afea9beff9fc669e226ec8e7f0a1882a0ca0d7080569e7b079d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060updatedDate != null \u0026\u0026 current.hasDueTime\u0060 appears character-identically in 2 files \u2014 feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt, feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/QuickAddTodoComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/marktodo/src/main/java/com/shifenmiao/marktodo/screenLogic/AddTodoComponent.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb9900de2eaa5c4b07263154f0f7845dec2aeef439ec695a57894c405befa55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.startsWith(\u0022http://\u0022) || url.startsWith(\u0022https://\u0022)\u0060 appears character-identically in 4 files \u2014 core/network/src/main/java/com/shifenmiao/network/downloader/OkHttpHtmlDownloader.kt, feature/common/src/main/java/com/shifenmiao/common/handle/UrlNavigator.kt, feature/image-viewer/src/main/java/com/wanbaohe/imageviewer/components/ImageViewerScreen.kt, feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/downloader/OkHttpHtmlDownloader.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2dcdc74ef3611e22137eda8f8e3fc5c6ca3971dfd9cff1b36e61f6ce01820e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.contains(\u0027.\u0027) \u0026\u0026 !value.contains(\u0022://\u0022)\u0060 appears character-identically in 2 files \u2014 feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt, feature/ocr-document/src/main/java/com/shifenmiao/feature/document/repository/DocConvertRepository.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"0509f5e04ac6c7fdbc45d0a7325abc234a7dd6fcda5fa3f207576b6459ef78a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.startsWith(\u0022http://\u0022, ignoreCase = true) || value.startsWith(\u0022https://\u0022, ignoreCase = true)\u0060 appears character-identically in 2 files \u2014 feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt, feature/ocr-document/src/main/java/com/shifenmiao/feature/document/repository/DocConvertRepository.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ocr-document/src/main/java/com/shifenmiao/feature/document/component/DocConvertTaskListComponent.kt"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71b395574b6e0e48de42547d5982a0d08e4e1f036a1efafb295560d178c48f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060valueParts != null \u0026\u0026 valueParts.first.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/RecordsTab.kt, feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/TrendsTab.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/record-center/src/main/java/com/wanbaohe/recordcenter/screen/tab/RecordsTab.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad8ca2d977cf997201d1189053f4d8b80bf46ec621f55539d8dbcca96539f7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060width != null \u0026\u0026 height != null \u0026\u0026 width \u003E 0 \u0026\u0026 height \u003E 0\u0060 appears character-identically in 4 files \u2014 core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/openai/OpenAiImageProvider.kt, core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/qwen/QwenImageProvider.kt, feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/image/StudioImageReader.kt, feature/text-card/src/main/java/com/wanbaohe/textcard/presentation/selection/CanvasSelectContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/image-generation/src/main/java/com/shifenmiao/imagegeneration/provider/openai/OpenAiImageProvider.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"194a6e363afee221546798da47fa66b1cc5d7aeab5cb849f16f73b873099230a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060year \u003C 1900 || year \u003E 2100 || month \u003C 1 || month \u003E 12 || day \u003C 1 || day \u003E 31\u0060 appears character-identically in 2 files \u2014 feature/calendar/src/main/java/com/wanbaohe/calendar/ai/tool/LunarCalendarTool.kt, feature/calendar/src/main/java/com/wanbaohe/calendar/ai/tool/LunarConvertTool.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/ai/tool/LunarCalendarTool.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"53894f4d45e1eb2779ace8af9451d4ee8e09bcb2e1815f61ee09ae64cd4e2f62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060zoomState.scale \u003C 1.01f \u0026\u0026 !pagerState.isScrollInProgress\u0060 appears character-identically in 2 files \u2014 core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt, feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/presentation/components/MediaImagePager.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/widget/image/ImagePager.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae15780a1a65e7b6d5eba446032c568189aef0e1eec7926ba9d836337060ba6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.environ.get(\u0022HTTPS_PROXY\u0022) or os.environ.get(\u0022https_proxy\u0022)\u0060 appears character-identically in 4 files \u2014 fastlane/fetch_images.py, fastlane/fetch_listing.py, fastlane/push_images.py, fastlane/push_listing.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fastlane/fetch_images.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c54999440ec523fbeada08f6d4a6b98750b5285b92a5775235065aefbb6f651"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060SchemaToIrMapper.mapNode\u0060 is public and takes \u0060node: JsonObject\u0060 from its caller, and it calls itself at line 100 with a piece of \u0060node\u0060 \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060SchemaToIrMapper.mapNode\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. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060SchemaToIrMapper.mapNode\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/parser/SchemaToIrMapper.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d719e6794f6adf63958532024891c39bc7bdbd4cb20270090f49fd7d6dd0d1df"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060SchemaToIrMapper.mapAction\u0060 is public and takes \u0060action: JsonObject\u0060 from its caller, and it calls itself at line 156 with a piece of \u0060action\u0060 (and at line 157, line 158) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060SchemaToIrMapper.mapAction\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. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060SchemaToIrMapper.mapAction\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/parser/SchemaToIrMapper.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8294f2e88d59e293ca455844cd70931e254ac5adf5c00949420bedcaa59d910"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060SchemaToIrMapper.mapNode\u0060 is public, takes a document from its caller (line 68) and hands it to \u0060SchemaToIrMapper.jsonElementToPropValue\u0060, which calls itself at line 188 with a piece of \u0060el\u0060 (and at line 193) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060SchemaToIrMapper.jsonElementToPropValue\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. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060SchemaToIrMapper.jsonElementToPropValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/parser/SchemaToIrMapper.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1018fca58d42fcce5764e0946a75d85861ab74d167b91c7c2193dd6bac77fb7"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060SchemaToIrMapper.map\u0060 is public, takes a document from its caller (line 57) and hands it to \u0060SchemaToIrMapper.jsonElementToAny\u0060, which calls itself at line 205 with a piece of \u0060el\u0060 (and at line 206) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060SchemaToIrMapper.jsonElementToAny\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. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060SchemaToIrMapper.jsonElementToAny\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/parser/SchemaToIrMapper.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec98e30232313b7e3a374224256d7ae3f641b8a4d483cb44c2a18564b367f912"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060MapUtils.flattenParams\u0060 is public, takes a document from its caller (line 48) and hands it to \u0060MapUtils.flatten\u0060, which calls itself at line 62 with a piece of \u0060params\u0060 \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060MapUtils.flatten\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. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060MapUtils.flatten\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/shifenmiao/base/utils/MapUtils.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1e4dd62e6f536345f7bbc82b80da248596f1fc6ee17279bcc493717f544224"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept an AbortSignal or the coroutine\u0027s cancellation: Only 0/18 functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http; Ktor, OkHttp newCall, URL streams) accept an AbortSignal or the coroutine\u0027s cancellation or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, a cancelled request, a shutdown, an expired deadline. Take a \u0060signal\u0060 () and hand it to the request; in a Kotlin suspend function, make the request with a call that suspends \u2014 Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 that cancels the \u0060Call\u0060 \u2014 not a blocking \u0060execute()\u0060: \u0060withContext(Dispatchers.IO)\u0060 moves the call off the caller\u0027s thread but does not make it cancellable; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"21eeee9e423271c6ca8c1585dbd13becefdff0bcb29bcd0381c3b54ed97e04fd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: listFiles: \u0060listFiles\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/core/api.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2494018b83c7fb8daa7860256e2b6fdbc04e032a50ced13cd283b1bf28c9d0ff"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: auth: \u0060auth\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/core/api.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1011f6e79d38027fbf55f44e4de83bc0000db1d60aacea0beec12d1829ada3a0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: deviceInfo: \u0060deviceInfo\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/core/api.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"888a52e98d9cacf86c6c4d54181e0c5a3d99dbaf12a94fdd145bf9baaddb2b37"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: mkdir: \u0060mkdir\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/core/api.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db827b1badbf96cdf76a5e9a7072c23d17ba05114ab89f4df1734308923f61b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: rename: \u0060rename\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/core/api.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b360c535dcb629847435b359858975b4ecaf40e94417614985de44a9c7c07d7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: deletePaths: \u0060deletePaths\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/core/api.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb71eb95f48879ad234644b036bd85a8d1bd654d5f413fdcdf4dc91e7e33fbb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: downloadProbe: \u0060downloadProbe\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/core/api.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"465ede9f1bff8eb4933d2179fbb54fa6fb0da7600c48aee355ef0229a7395b14"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: chatHistory: \u0060chatHistory\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/core/api.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1792dda6a64dbc6ca0a18bd160390f93016a93648fe43b18091e8301e15c501"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: load: \u0060load\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/core/i18n.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab62345d7a776e49ff8cfa5676a8bfd1aa245c8bd9b78ce64acab0d50c32672c"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: downloadZip: \u0060downloadZip\u0060 suspends, but makes its request with \u0060URL(\u2026).openConnection()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/data/OcrModelStore.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"616d0110c7069d92a1ba17eedba4233459a695d8db67a78b9118c04a40562904"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: load: \u0060load\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/service/CloudflareNetworkInfoService.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8621c94c8024da9b2034ddf27b88e44bbcf50d35f2199495f23af191f67214d8"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: request: \u0060request\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/service/HttpRequestService.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ebb303a9b667f55c30bc281fc8df60ad073b13bdf5d4e2a02d03bf29fa3030"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: check: \u0060check\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/service/UrlCheckService.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da81b84d708aa259cfd8c92d4f1a077bac546f960e47b1d04f95bd54eb21870"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: downloadHtml: \u0060downloadHtml\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/downloader/OkHttpHtmlDownloader.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2a849659f812f999b0b9be44fb3cc9c766c3448532d0ddf6d0876d6b5d8ea5"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: handle: \u0060handle\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/action/handlers/BuiltinHandlers.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ddd2a513a114374f83d236c44b955cf22ca8a81058cbd1fc143e8416949e6e"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: downloadResources: \u0060downloadResources\u0060 suspends, but makes its request with \u0060URL(\u2026).openConnection()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/remote/AndroidRemoteResourcesStore.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b9252fca17729297b56e02ff0655b20cc6cf013bf9cfe97bb0ca4628813327"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getResourceLinks: \u0060getResourceLinks\u0060 suspends, but makes its request with \u0060URL(\u2026).openConnection()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/remote/AndroidRemoteResourcesStore.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"907bc435fdb77386fc166d43c5ce4f06b0609f05d1e1eaa50a6d4a93dc04734b"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getCachedFile: \u0060getCachedFile\u0060 suspends, but makes its request with \u0060URL(\u2026).openStream()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/shifenmiao/base/audio/NetworkAudioPlayer.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fface5b3a281d8aa6c433e78ea4c287f3424057e5570c99a7c1ef66847ef14"}},{"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, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/docx-night.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a08fb52d5cce72a8d68fa88b752360afcc06d4c180225728c9942cf5d8cfa0"}},{"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":"web/file_viewer/src/docx-night.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6369f60518d154e8d57900d9360a39fb547e05a8f9c35d5a376e4909bab74fe7"}},{"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":"web/file_viewer/src/epub.js"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d6ccbc4c5e1488468cd2e68a37658f5040bf2e3b2197500330609b48130f91"}},{"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":"web/file_viewer/src/epub.js"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5d78855c1bb86571349360f72bddc79640b16406ee07f92bd4b73f2b0ad7f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(function(){})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6b2b218b60d71237f35953b8bb19f35fe02f8a67edae2da9eb494fffd6f901"}},{"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, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa9f5fc692cc222b361de57b7769ff7617b8c7f97fd5b9a12b79ddb080dee32"}},{"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":"web/file_viewer/src/epub.js"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71eab8adb81135a7eb92d2799eeedaf2cb65f201604521de5e5ef3b6ada6f2b"}},{"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":"web/file_viewer/src/epub.js"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"f715852d046358a78e76f4f85a02b76daf1c8b62a41f6bd09b73d567fdfa0477"}},{"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, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":1980}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0fa3bc29d5c7db35ca2493e9c583f2cc94a475ea7670f352f729db16ba21a0"}},{"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":"web/file_viewer/src/epub.js"},"region":{"startLine":2388}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc6bc4a1e2bb646557fdef0c7a5139d2d9b1ca71fa9df5fa83561b20e00b555"}},{"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":"web/file_viewer/src/epub.js"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"426ce4f7c9b6fe481b218bffcbfb13668b3e9a0c816f9dd893267b99c93838a9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, function(){})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_viewer/src/epub.js"},"region":{"startLine":2648}}}],"partialFingerprints":{"codehealthFindingId/v1":"8771b0cff182b9ef761208052bbef07f434f48d1b230cfde00488c82a018b6dd"}},{"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":"web/file_viewer/src/epub.js"},"region":{"startLine":2830}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2de9a6036b24a5f84d30043880d8fd988efac69314401421f36a1206ce3ee9"}},{"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":"web/file_viewer/src/find.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3a651c09375fcdf6f4049c45c517c3f43b4f4c75f0b256d0194eda9204cd5a"}},{"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":"web/file_viewer/src/xlsx.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"420d9482d5ed19b539bd09e9a71c7b3038f2783833603363d7ba271e08ca7377"}},{"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":"web/file_transfer/js/bootstrap.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7803202b65f989b7958363b2fbd20f2921cd74127aad3993ab14d65f835a99"}},{"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":"web/file_transfer/js/features/upload/upload.js"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"6239924f95dbb6accacd5bcb0d94c960316e236cb5600d44d001735720436a75"}},{"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":"web/file_transfer/js/features/transfer/transfers.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bc7b4626835d8c4c6e77711cabda2c7e39ce066ad475bd9d4a3ff897e1752f"}},{"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":"web/file_transfer/js/features/transfer/transfers.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f015ca08fc870095e4cc365ee4131e8b47dde7cc3e3cda6e4b9373498d65155"}},{"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":"web/file_transfer/js/features/files/files.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db29f2a513b73429bc6ed937d21ea03c56ca7fc04780836c9f0beb5112fef4c"}},{"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":"web/file_transfer/js/features/files/render.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdebd523e7f6871d9e241e2f04581a846ae6a8fe9a7a3883694fae7814e12c9"}},{"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":"web/file_transfer/js/features/chat/channel.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e71d205f0e20146b1a2a794f59acd50fd87aa2322cd2ac52a63a1c8ee94fe48"}},{"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":"web/file_transfer/js/features/chat/channel.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0a2220b29645769c594ef3bc2a261b6e313d2d693fa894aec297ee734f381d"}},{"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":"web/file_transfer/js/features/chat/channel.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da2948e29fde8aeb582fda236698a4cf357b75a52df55a6138a25d389888eb4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/chat/fileUpload.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"980ad1c6e049d7a7d8238aae6dce1c6660dc8383b2380afa4688d77d34281b78"}},{"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":"web/file_transfer/js/features/chat/fileUpload.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedbefeaddab2de4416e19bffcf335a84e76b55165ad3d1b904dcdd72075e7ca"}},{"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":"web/file_transfer/js/features/chat/fileUpload.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"4781830f83cc16bfc21592eade6835630537c8d9c32894ab6e1ea37d3b0ca83b"}},{"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":"web/file_transfer/js/features/chat/ui.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"69221435fba2e6fa69d526f8fab1d0f8a24b6ce7ee8464d540880855d1f6deff"}},{"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":"web/file_transfer/js/features/chat/ws.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"035ba3ea8bb2f93bb47c6c3c6eeebb10977ea22a3af12e01addca9e7b4e8bc6c"}},{"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":"web/file_transfer/js/core/api.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6727b244e6663eaaeccc4e46d470a1bfff6472665e28318eb358f1f024e19d"}},{"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":"web/file_transfer/js/core/i18n.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e061decc4199ea57f6d0b4fcfb508d17ec49b24ed217a167ef67f2b78fb4599e"}},{"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":"web/file_transfer/js/core/i18n.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0e24bd90f7c03652c55df75d5fed5a32a10adaf30ebdd963d1b2335b87ee8e"}},{"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":"web/file_transfer/js/core/i18n.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1f5b8ad56c0471506c830dc1786d8f8fca9dd49f3d162edd610ca447404bdd"}},{"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":"web/file_transfer/js/core/i18n.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bae59def0842a782472003bacef75f67cc99c2ce6f9b9de0c8952d0a3e6926"}},{"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":"web/code-editor/editor.src.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"b429cb052299dde8bc8b45c2212c61d4b6ef718ef7bee9d23fed904e5e283923"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineRenderUtils.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"824695b8cc4b39f9c5e8995f8c69686fa0156ebda0764790683b2044588959c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineRenderUtils.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb8251562a6f9a9f25018078cc1fba6cc378031917155b6fa9ce69ba6ce5f54"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/markdown/src/upstream/java/com/hrm/markdown/renderer/inline/InlineRenderUtils.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b80676d962906e2acfaf6a4d2a1e45865548b78ea2d7924a54b1e3834fca19"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/HeuristicMoveFallback.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdec1636390b158a678391dc53c8413eb6aff732d2bf34bb60d81d0322bce71"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/utils/Utils.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82459ad2c1332eedd3c483e3aa027b254b7cca0c88830c7894b75440ba06f85"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/browser/AndroidWebViewNavigator.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"97db7606d5270bee95c34e83df2372da445dac18ec802c97d54138fb0bc50580"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserModels.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1690363976c58650c746d2d77d961e5b8978e8c99d4778c99e4b8327c10cc016"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserScreen.kt"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7cfd60d9e14dddc5b267ff2c92188ee0f0776d530f5b1b93c2aaf7c6983f03"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (error: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/screenLogic/WatermarkingComponent.kt"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"075f38c4ef3d11227247e1e8dc6fa19a060dc7d11204474e6ff8961f3d7fa5b6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (error: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/screenLogic/WatermarkingComponent.kt"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ba51bf434b6763a19a39a7f4596cc04efd3084d13376fd739cf7ffb68c4a2c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (error: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/screenLogic/WatermarkingComponent.kt"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0dd5f811774eeeaf90f453396e23b0290b1e6ae5c39b2a7e853e6f0922eaa3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (error: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/data/render/BitmapWatermarkRenderer.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e772a6f731f4e0208a91d398265fe09afd20647a41c26e851a250393fc1578"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (error: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/data/render/BitmapWatermarkRenderer.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1218699293a3166a0e709136546c8e158c55ed173e2396b5646ce2fb93ac6b6b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/unit-converter/src/main/java/com/wanbaohe/unitconverter/component/UnitConverterComponent.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c1e9f13e5409f536f6902b4c3677a2361f5606ee1e3bead964b3989787154b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/text-card/src/main/java/com/wanbaohe/textcard/data/export/AndroidTextCardExportService.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc449953285be078823916c1edf7851ecaf803a5afb4acb425d0b610289549d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/profile/src/main/java/com/wanbaohe/profile/ProfileScreen.kt"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86ba335ac0377425408cfe1ec6dcd52cf62f9b04fa39da01b6611e05314bd1b"}},{"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":"feature/profile/src/main/java/com/wanbaohe/profile/settingItem/ProfileSettingItem.kt"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"191be463b71237d4a7b01a25de0b8287cd2e35a97023b2a91ca14e3c86ecc348"}},{"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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/root/components/viewer/ModernPdfViewerDelegate.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6ee1b9574bda1b0722198c995f02424d7c8a8fdda5a291de39fac515b1a657"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/presentation/root/components/viewer/ModernPdfViewerDelegate.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed6dc4f7c423d804a92187bc93cd6071718bca93840ca38e2eda374c058cfde"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/password-vault/src/main/java/com/wanbaohe/passwordvault/service/PasswordVaultService.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"3001ee229e71b6b7348370026c230499f872f73fe3256a9ef9a6c193078e763a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/online/src/main/java/com/shifenmiao/online/component/CreateHtmlComponent.kt"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f20aa03b98644cac51b620bc99eda2fbdb659b95210f96113bd4bb68bddb26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/data/utils/MediaObserver.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"74da549abca89e9f5a6b1c2f3935680f10c085dc54dd2953861439cc39d2abb7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/data/utils/MediaObserver.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"31083bc8b372dc19b05c8c8a618eda069dccacdd688c4fdf54e9b6b5aeb18974"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/data/utils/MediaObserver.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d40bd8ed6cc112279065f79cd8d4c936fdc82682a8accc60aa7b29a5abfc63c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/data/utils/MediaObserver.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c8fa4a5440bb728005f10440b6b899d3eacd509678c5558508e54a89ae8a91"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/media-picker/src/main/java/com/t8rin/imagetoolbox/feature/media_picker/data/utils/MediaQuery.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fafd7ac75d3c75d6dc8cfb4a23f75addc96088249e4a43a7ac665a79d6f0c5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/presentation/tools/mask/MaskToolSheet.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b4d1a47399339376a2c619ad20c6dbfd7ef3eae876b719c151aa7a914b3850"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/markup-layers/src/main/java/com/wanbaohe/markuplayers/data/recipe/MarkupBatchProcessor.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d6e5f706bc3ba849c514028345de4f97bc74e0dd526552fc679f3a0a97e2e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/lifetime/src/main/java/com/shifenmiao/lifetime/domain/model/CountdownEvent.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4899974f1494869221a53f97d9ddc1c6903104ab1f82ac3836d0e63dc1e3bc4b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/GomokuMoveFallback.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f5634637b8c2c17057b95aba67bb293a8827183a642f300c285851f77ae72a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/util/NetworkUtils.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cee2e226be90556a64c868a5db1f89184a70935d2477f44e1b1b53797b37e73"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/util/NetworkUtils.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8964bf6fb25cd25ba0a65458194403c3aab559d96ebf98340c375b8d8db70ea6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/ChatWebSocket.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfafaabbc293fa65bc2fd2bd84c6a19b8dd80afc0afdf46c4fa6bd5e35c06e2c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cad9a73bd60bfef21cdf3f38b3bded9736b902b61b8cccf0331aded16024089"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49e27a903d4f45363cddc80dc290c1c838bf9e4d00f48aa6928363cbca2a460"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40fbd633790919646d37faa63108b0ce41c161aa3ce43b746811088858fd601"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/utils/FileHelper.kt"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"952ccec8edf333ab9824d75b210f3a757869efef21173a8760921ec951842efe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-browser/src/main/java/com/wanbaohe/file/browser/utils/FileHelper.kt"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ee96a4fb42d3c7c102928f296f7e7a86c61246350a9b11d467d100971d8b63"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e20b9150abc7b1fb223d78d0ee0dd2d52793652da4cf88a53e2d07b68ed757"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77f0f927cfd7e9fabaa31b0f31cd5e34bd1b7fa8d726f2f1aff1ad42a33f9ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aebc11df06d8631ae54039361fbebb6465bc26086404c79c7136afb3b5f6d77"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/dsh-client/src/main/java/com/wanbaohe/dsh/component/DshRootComponent.kt"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bda6a387833f81765581ae2512ade01f18d6194946b0d5889c1780e3d4fe8c1"}},{"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":"feature/common/src/main/java/com/shifenmiao/common/voice/FunAsrClient.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3164ca07473cbff16b8bb48684f8460e1ab31dd119885ec72020e83a6ff5b7b2"}},{"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":"feature/common/src/main/java/com/shifenmiao/common/voice/IFlytekAsrClient.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a975bd7848a9e7058531fccdb45e62931c0d0e7d6da28bd16f7f3efb5a8840"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/voice/VoiceRecognizer.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a588c0e2d8cc7f394dde13d5394bf55f7551ec0d5c5955f363c07acdedc7082b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/ui/ImageBaseScreen.kt"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b4dea134aff7ae74dbf3daeba85eaaacf8a400f60b76b348f77a7ba94e8977"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/localmodel/DefaultLocalModelRepository.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9f9a3c7aeb4025d19d02debe31dc9e208fa8f37773b28b034c3f134cc8dc3a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/handle/UrlNavigator.kt"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71efdbb39ca695b43e07a845dd8374723bc16b604e02baecf7a9611cd090a90"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/file/AigcFileMetadataReader.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e47c20990a9de74994aa707ce62863331e0e982fe27828315faa9893722b50"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/file/AigcFileMetadataReader.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea32d175ff00179153f0d2ad2fdea6188fda53600cf97076c677459043fab48"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/blog/BlogRepositoryImpl.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f557dc983554d9a692d3d265e706257bd7dbd306911630192a61489b2702ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/chess/src/main/java/com/wanbaohe/chess/data/ChessMoveFallback.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efda6ed1db0cd8bfdb0a8b7a4acbef7f0a94f9a38816bd18931e6dbb297312f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/ExifMetadataParser.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e418ace55fe09b6414bb126aba96a8526fe7abeb96eb981376496c1a514d63a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/ExifMetadataParser.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c1c17266ec68544a433f8cf4673bf0ef58b3a958cb8187dec2781d53e58c78"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/ExifMetadataParser.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"454396d5ba00442f6c71af633a5318cad3759f65365a5909df61e5834575f933"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/ExifMetadataParser.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d01a988778c4a356038f4a7c05ebe5e4706949550ba7eda9910dd79373ce2fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/ExifMetadataParser.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"64461948f5049a20b7873227c209f7caae19f2419df2441e0f51c0f89b6a5407"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/ExifMetadataParser.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e9fa6d96c9c656c16a8997b06c147406fe56cc3bfc14267a5fae44641db630"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/WatermarkRenderer.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9d2c25896405862e502858778ad2d2d4c0c6125d881ae906baedea17a8ba26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/calendar/src/main/java/com/wanbaohe/calendar/share/CalendarShareScreen.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f7d3baf1ba0af723bbec1e9c68e93cec5f62ec63d1e80c607b74d48871a744"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/bookkeeping/src/main/java/com/wanbaohe/bookkeeping/service/BookkeepingService.kt"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bc69ea36ceeeb4603a3a9d1950f742951be58bd353282180897c3dacccd7da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/blog/src/main/java/com/wanbaohe/blog/repository/FeedbackRepository.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"542ba95575dca2584e157eafa7085feda6545e924642d67fe1fa67e6fbd1a22b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/blog/src/main/java/com/wanbaohe/blog/repository/FeedbackRepository.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed86ab112b42ef2251c911dfe2474a18528150cd782c1722c7e970755ad7671"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/blessing-wall/src/main/java/com/wanbaohe/blessingwall/screen/BlessingRecordScreen.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b611e600db45d15a000847bb83942d1fe97b679872e75ab3ff1330877a82b87"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/utils/PromptBuildUtils.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e38808b9f46a23f44e1d4a4a57a2ebf557d1ed936c6189959c1b60c3dbe1a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/upload/CloudFileUploadHandler.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ace4eae09bd8326f44ac971a7dd03fcf80729e22dcfdcc2d817de7a83df6ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"d772b6005103fbea5b4b9013aac41c86e07c17be79889e0e5aefa91a3482ad35"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"409523a33be4ff28d364f626989d073bb8e781793f4c8d2f51268ebbf340cbdb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3366d16c23734f7f75318cc84c7a8af3b0892e72263a73fa289740f94576ee0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bf38b67130c42b033dab95fc7b1f020999a8618a334bcafa438f135c80806b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"524232c47920d9e07d7a4cbec2cc3e9c5700d8cdb2742a6576bfc6c1995884c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"de71534c959705945be66808f6e2f3b1137ec65c1dd5cf22ed3e85abc0ba7d7c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7f5a7d3c855492ce66b05ee7105b55073dfc64bce87f795d8db9263c4ddff3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"450c20d965276525f0f1767a4fa7426ac35c941b0cc792b067f9fcc61f499864"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileUploadRouter.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27bb077691a01c83fec3c6dcf02a4d3d37a8c777bc8a3cca788a5c707393dc4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/ui/JsonTreeViewer.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"919a0b1b507afc1985e1852857fd135cbc5bd4756d64feed63e0cd6f22d57fab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/logic/ChatInputComponent.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"93db43154f1fa383e6cbd1b0f076aeb6c8925e99ca46fb375380034617498f65"}},{"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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AIChatComponent.kt"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"1078dfb0038a1a7c4a8c326e745d3db4f7a176491d97d07b2b55705c148c2b16"}},{"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":"feature/ai/src/main/java/com/shifenmiao/ai/component/AgentLoopRunner.kt"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fa684d16fc11231ff72befac249a5daebd7556bfce68658f4d1ae8793b1ca5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/AgentLoopExecutor.kt"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a42c37aab755292d1e10d5f4a4d1c0fa6eabaff7c77eb661fb25fae97c3c05"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/InteractiveToolRuntime.kt"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a380640a861008ebdbab2c6541ec2bc95d11fb3da40f527f276c5888498d509"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/builtin/network/SendHttpRequestTool.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"521c171640ffb6a433ab8fb4acb82a0ca7add69bdcb58baa328b0ae1bbdd4771"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/utils/src/main/java/com/wanbaohe/com/string/TimeFormatter.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a33318ad0f762ed897d0dc1f3171b4d1341a297c102f739cd6f68324abf6c02"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/utils/src/main/java/com/wanbaohe/com/string/TimeFormatter.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2071e91a9f5f57ec4a15eab0c25b66565b57e49e6a56924b5080e4836142e175"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content/ContentRouter.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"27372b4ddee0e815c63e45a9248f483de706d9fd7fdeeeef5a38e8eb175f79d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ui/src/main/kotlin/com/wanbaohe/core/ui/utils/content/ContentRouter.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1899ebbe713b9658c048e5973b380b77b3dae36f416b4c9d177ea1456812470"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/utils/NetworkUtils.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1539f1325245a0d19b86ed8ce756073d1820aabc9305c8a2734b7140cbecb683"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/service/NetworkInfoService.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"117c22e8903643362db6653388374509c792090f35a61fcb5724c0092427a7b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/service/NetworkInfoService.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c1d84b3e6c4ecb97e5d1bde43b212fc927ea996b80288a19ed92ced72c6f15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/service/NetworkInfoService.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30a130bfcd955172569078b99ca402fd2fbf3868ad39927569ea94658bf4789"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/service/UrlCheckService.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d026b434aebf29e69296f8ebbfcc8e67c3381c2f014a61eee64b098728a3eed5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/downloader/CharsetDetector.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"747bd07a4346153bb091e6b99543d01752fbaf5e8ceab37e359a06b37ac4241f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/downloader/CharsetDetector.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef25036ea2fdd3c1bc6f4d11d94b7baf205b663e507b645656a07db81fa11bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/downloader/CharsetDetector.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"6295d2a596795e63c4e01ba4f262f7caa3626d5fba3c4bab06356721819dfdeb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/network/src/main/java/com/shifenmiao/network/downloader/CharsetDetector.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e09eccf6c7a68794d8d706ab12066c4dc7390d4f43dc60e393549f078038467"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/model/src/main/java/com/shifenmiao/model/ai/ChatCompletionParam.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"72575fe56fef57888a928954a80ab53a8b428639c221974250bb34e0ad7ef9a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dynamic-ui/src/main/kotlin/com/wanbaohe/dynamicui/renderer/UiNodeRenderer.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bba473259398ef8ac50fc2eb75e899f1611a5dc5334041bc55b50e7f596458"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/content/ContentTypeResolver.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fbac9e88964c27880d0b62787ebb29076b50ccd6a86119f0aec614101b1444"}},{"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":"core/database/src/main/java/com/shifenmiao/database/AppDatabase.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6704f726ebcf81326e4ebf79b5fde17ee27c2e5d7d37e98e28b828ee2e4a72e6"}},{"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":"core/database/src/main/java/com/shifenmiao/database/FeatureDatabase.kt"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"362d3f86affc3a042ec2687c50408c40fea740539609510fda0261a657bb5291"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/LocalWorkspaceFileScanner.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c398a7fe2b8cb800d20b934326ac2885e6373d05537fe8d08e5adff66a44f80b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/LocalWorkspaceFileScanner.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ad71df3b6e5100f4db7b6850d50798e68f0374e1c6349f95c9b147980cdbdf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/LocalWorkspaceFileScanner.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8389ddda1edaaf8a18f3cec549c8d745bad18c2c67e0c0a76d0ff460679b8e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/LocalWorkspaceFileScanner.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e8c5067c0407551bae0a473d37542b8c91d4b65117d48b706779d2a44652fd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/LocalWorkspaceFileScanner.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaeb0c9b6c4b3ace865c04aa1041b4c510a6f96c89c895bd9abcf56578823492"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/MediaStoreWorkspaceFileScanner.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30a78ac9a276e179001e4f08cbc28aef2c87f0b63be27b5c3cd09ad405d2748"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/MediaStoreWorkspaceFileScanner.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d4412fc7e4cce0bfc211275e4e332165516a3056f3dd98c34099fe72618703"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/MediaStoreWorkspaceFileScanner.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c928ac21d22cecb4084b1c840a11e6795e2e622d0b4b031aed38492aaf8327c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/SafWorkspaceFileScanner.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0028e8729b1c0bba7932a1b0950114e1d427dbb060665fc16ca91e50715e32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/SafWorkspaceFileScanner.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c458bbcdbf16e68eadebc63a83178599a158ffec4bb6b4249c09c1896d5036"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/SafWorkspaceFileScanner.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9699ea45ed53972b8242d688cdbc7531a3e94a788801b93980111e8b05ba9d83"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/main/java/com/t8rin/imagetoolbox/core/data/workspace/search/SafWorkspaceFileScanner.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1142f52fddb40f03eac96dfde0573402af76223128957f6e0c45ade7cc594f8c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/shifenmiao/base/utils/DateUtils.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fe3ad1305a1aeeb89b9fabeec8894fe7924aa1e7589fdd9f73961d3a599350"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/shifenmiao/base/utils/StringUtils.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea2439744dc5b5d43b2b6d4e7422eeffc23857ab4e91a554c905f263e156559"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/A2uiContentParser.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b44fa9e87d64fbed90a4f727dfb8b75fbd8f5a61b918020da2e6a640c5fbe6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shifenmiao/app/utils/GetProcessName.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4a91ecce5e72ed4b7d4251bddc1c651b516d89f8856ed776110b57422fa390"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/error/AiChatError.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a710f33083331dbc6aab9cf941e8fd550e7eedef31bdcc50d5be37536d4e828f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseOptions\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ChoicePickerRenderer.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"191e8fb58fd80e859a4b3cbd16137d8bb170eaea251b6e7963978fba9802f4d3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseColors\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/ColorPickerRenderer.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"681a724d1d188050e3abc65e1c6c313a72c72ef3f48bcff96ba4150aa73645e9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseOptions\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/RadioGroupRenderer.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a1f87b671fad75f8911726c03d9af2965b7e0e99a8ee5294aaf32f18996ae1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseSelectorOptions\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/a2ui/src/main/java/com/wanbaohe/a2ui/catalog/builtin/input/SelectorSupport.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0109d786a569311e46291ff72b54a25d0770b4c593d0c3a2857c9c9f15b42c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatDate\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/base/src/main/java/com/shifenmiao/base/utils/DateUtils.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea04480f7f30f1b9926ded27cb8b2d7d794c58458861e9dd0c7a80fcaf1cc8d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decodeCategoryIds\u0060 swallows every exception into \u0060emptySet()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/database/src/main/java/com/shifenmiao/database/data_draft/DataDraftHelper.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa3b6147eb31bb63998876c474b5ed223745b2e0087fba9862e91532f785dac"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060encode\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/model/ColorPalette.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd2a8a15af0db550f6131df73b4de8c7b4efe28528f1ead33a7698a6b9d3819"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decode\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/main/kotlin/com/t8rin/imagetoolbox/core/domain/model/ColorPalette.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"391724d64254a511634449b884d95715aa83ad5788a39efc13c9d8a382ada003"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadConfigs\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/image-generation/src/main/java/com/shifenmiao/imagegeneration/repository/ImageProviderConfigRepository.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d0a44c9a142346be35bdd40b3ffa6261c642dcbc5880dfa9373102f3e906e0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseLooseJsonObject\u0060 swallows every exception into \u0060emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/model/src/main/java/com/shifenmiao/model/JsonMaps.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7199c0773ce870e9156d376639ffa6cc37260cd1ab42a134d0791d049577c1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readDownloadedIds\u0060 swallows every exception into \u0060emptySet()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/settings/src/main/java/com/t8rin/imagetoolbox/core/settings/data/FontDownloadStore.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f6b2c80442d6598e8fbd3960b9788db48ae0e83233f3aa2023ef30ef811206"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadHistory\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/storage/src/main/java/com/shifenmiao/storage/ColorPickHistoryStore.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"533e824bd41c1c2a744be1a3a4c6d7f974e1ef551ea4087f168c2bc7a76f6c68"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadHistory\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/storage/src/main/java/com/shifenmiao/storage/ScanHistoryStore.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4837eeb02b430bb62b1dabd2d82d6ef319651e320cb1f6922d6a04aa2ba57ea"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatDate\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/utils/src/main/java/com/wanbaohe/com/string/TimeFormatter.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e8deb8b4b470e9aa65bd49437b916752bca2eb5dbc23c23ce6a506125e1787"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatDateTime\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/utils/src/main/java/com/wanbaohe/com/string/TimeFormatter.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4341733fd7a586315f5da09529e6435886db3f281ee2dc54f812b040131d0552"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060clientUpdatedAtMillis\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/weather/src/main/java/com/wanbaohe/core/weather/domain/model/PlaceWeather.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39a1173c25267da7e1f8d63857a00656733301386955ce428833cc7226833e5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decodeA2uiSource\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/a2ui/A2uiMarkdownPlugin.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"67975e1cf48ddad7c5b31c0d245bc671f5e4798a6ff3352faa79bf43894dd211"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060serializeToolCallsChain\u0060 swallows every exception into \u0060\u0022[]\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/AgentLoopExecutor.kt"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd592bc56467663ed6603d21b014fad3229d25f523d53065f1d7e553b99b84ed"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060deserializeToolCallsChain\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/AgentLoopExecutor.kt"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8416a827d25f99a11ec23779cb304d62f26359f4eab78743e67b3398e6a6f4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseFromJson\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/AgentLoopExecutor.kt"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"126896227a911b16488b696711e373977a81e3100df4529aad166de9ab2441a7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseDeepLinks\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/AgentToolRegistry.kt"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"7987983a449161b5611c795411dfca1594ea4e9a4d5c91656a0add2649ca1b98"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decodeStringList\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/agent/tool/ConversationToolPolicyRepository.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"862ebd13b7ec0a06bc9d43f96dedcd96b44d8d0f02ac6cc6105e1d2ab92be241"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decodeDraftToolNames\u0060 swallows every exception into \u0060emptySet()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIAgentComponent.kt"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"42450ba2a1a0534d9f1ef83f2f8f3eb0c474bbc94064efe567424ac88d76e297"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decodeDraftToolNames\u0060 swallows every exception into \u0060emptySet()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/component/CreateAIPromptComponent.kt"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f6d83543c25751941ee5b2124c19a40fd8b02bf8608e498d015e5f7a481dc0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractDeepLinks\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/execution/presenter/AiExecutionPresenter.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"1024f79b309d7df032b14187e14f96ba40cc03b597feaf89dc00b34962b46d0c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getFileSize\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/logic/ChatInputComponent.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa71848c59ce48c0c16708ad4cb1fc134076fa6f857613b8f21febd36f6e4e5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getFileName\u0060 swallows every exception into \u0060\u0022unknown\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/upload/CloudFileUploadHandler.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e01b403ddb24b6b862f254e2a7887e75d3f32abc332f030c3726c3640464c5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getFileName\u0060 swallows every exception into \u0060\u0022unknown\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32cfed9923a60a55d267f5d648963f71bb620665f0f8e37747936433ad8957c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getFileSize\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileAnalyzer.kt"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc5b4418a142a11e204f2b1605b211857b90409694cd20a7ed27057e70b2c36"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getFileSize\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/ai/src/main/java/com/shifenmiao/ai/upload/FileUploadRouter.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1ab7d93dd09711be026481303749d54cbca82018928bf0857e8bc1f445732b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060currentVersionName\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/app/src/main/java/com/wanbaohe/app/update/AppUpdate.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dd09575ed9632a5abe1923844ec890826fd39b97738ccdb58bb6c9929ab201"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060currentVersionCode\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/app/src/main/java/com/wanbaohe/app/update/AppUpdate.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ba03c764348ad18c5e5dab2d69c8abaef9cbd8964d653480b5128e01c9efa9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060callString\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/data/LunarJavaBridge.kt"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"62792cb140c8304ff66c04ae97dc9a92386664134f900643145a4c88fd3cb0c7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060callInt\u0060 swallows every exception into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/calendar/src/main/java/com/wanbaohe/calendar/data/LunarJavaBridge.kt"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2f5dd347564d2444cfd68da5d771ac5f45922bcd077e71d5fa19cc72c04077"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatFocalLength\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/ExifMetadataParser.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bf276cf36862293dead526bd869edc2c136eea7fe5dcbe3e1bde054d346818"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatAperture\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/ExifMetadataParser.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb02eaa78643123d84af7d00732c7e0f0e52ac8e8d8b74420b6a539a49b67c4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatShutterSpeed\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/ExifMetadataParser.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba16e2f98f3fca02017b488738ef2bf1c3485023ad0c58848392caed4e009fd3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatIso\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/ExifMetadataParser.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"663073c75cafe2e6c37e735659c7c203b71d22b09e39f9d7712183e6dbd65c56"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatDateTime\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/ExifMetadataParser.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9344b1fe1a26c91ea96701e0fa81fbf89c3f1d58ea7f3533ca45ebbce0606962"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatGpsCoordinate\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/camera-watermark/src/main/java/com/wanbaohe/camera/watermark/data/ExifMetadataParser.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d4a1ade090700b25beb30f7bb535e93919c643c141cefe4513962cd0bf5b54"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060calculateChecksum\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/checksum-tools/src/main/java/com/t8rin/imagetoolbox/feature/checksum_tools/data/AndroidChecksumManager.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b428101799e6a1fc992bd79d913404dfe186acbaa0f62f5259fc8f8b496a2619"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseReason\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/chess/src/main/java/com/wanbaohe/chess/data/LlmMoveChooser.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ea279ee98a1a597c04c4c18b2309134ab97400ea06e03393e0398003adee4c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadConnections\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/CloudStorageSecureStore.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ffd9e9b3256fcf0432ddcb7368cf3e8b3bdfeb379f89645c202e136bae8b6c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060webDavRootPrefix\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/data/adapter/WebDavFileSystemAdapter.kt"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"3285b540b32002da1ab6b4733fa96bc83f53950527ee224e2bec8f3afa74e224"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060authHeaders\u0060 swallows every exception into \u0060emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screenLogic/CloudStorageComponent.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"406c6d923d699267c07cab1c9114700656a8f1f09ed31c6648fd919b711aa934"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolveSize\u0060 swallows every exception into \u0060-1L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/cloud-storage/src/main/java/com/wanbaohe/cloud/storage/screenLogic/CloudStorageComponent.kt"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d48801c44babb76fa7af034ac4a9a7db105aa4decf2ababe46d6d3ce71f9cc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060appVersionCode\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/backup/BackupArchiveWriter.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedcd1c024883bf1196c6da3ba9fb7be687a596eafeb771fbdd3d153ddf9c910"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060appVersionName\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/backup/BackupArchiveWriter.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fe76ae64921569daf75f7a9e8adda0599a640798206622930b3ee63b5dc97a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060read\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/backup/BackupHistoryStore.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"af897ed64198762733c64b28889ffdaa136e76abf10225a9eca05a301534b6cb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060toBlogItem\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/blog/BlogRepositoryImpl.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b889849b9fe566b6af79911ed97e21eb709fa12452acbcbe7af73d293a356907"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060entryScreenId\u0060 swallows every exception into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/common/src/main/java/com/shifenmiao/common/handle/UrlNavigator.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6389677b275db66d1673230f2ac95ffbe350806444259244e0cbbeee46c11fe"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decodeHistory\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dice-roller/src/main/java/com/wanbaohe/diceroller/data/DiceHistoryStorage.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1277a9d507dce81fe7da08d128eb7ada52e77898ba8ba19304556e364f3ef491"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getChatHistoryByChannel\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"45160b7c25ba2a471dd800b844bb661118bea3f59d1dd934c304c6199a77906b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listChatSessions\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08ddfd444067dd53659135d083f901fb627ac37ad21fea56ddf8fcbdb9f8dea"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getAssetResource\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ef3abee6ed2b86f14382b8527e488f74e4d710e5b8d66bf1e54124cd8ccfd2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getWebResource\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/server/FileTransferServer.kt"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"355f4b9f3312344775fe880efc32e06ed90f7dd4ee1ed99d120bc9eae2d3b7b1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060read\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/file-transfer/src/main/java/com/wanbaohe/file_transfer/store/RecentReceivedStore.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb27e8774df0e2dfafaf80125ca2af5d57e072e336b28bbdb8b74923a6eb04e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseReason\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/gomoku/src/main/java/com/wanbaohe/gomoku/data/LlmMoveChooser.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"621cdedb505141049849cfe205b218263e30895767f177a104020199b7aec3c1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decode\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/iching-divination/src/main/java/com/wanbaohe/iching/data/IChingHistoryStorage.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de4e5652e0e5b62afe5fbd72982908a2d6442a7738c7b82c902b25dbce62474"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readNames\u0060 swallows every exception into \u0060emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/media-player/src/main/java/com/wanbaohe/media/data/MediaFavoritesStore.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0ae2eeade3da0000822750810f3dd701f51e1e46469281d3a84c6823eeea47"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadRecords\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/on-device-ocr/src/main/java/com/wanbaohe/ocr/data/MmkvOcrHistoryRepository.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5225f4572f7bcef475b3ba8f55625d0efbed48fd2d84d7edad7f3e285a4d7a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getPdfPages\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/pdf-tools/src/main/java/com/t8rin/imagetoolbox/feature/pdf_tools/data/AndroidPdfHelper.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c58a0a8ce8ea5c226a663d5fc5749f301ce1789b3495e67f3915648be520091"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ProfileStatsRow\u0060 swallows every exception into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/profile/src/main/java/com/wanbaohe/profile/ProfileScreen.kt"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d09578bcc79523b3d55a9ca04988e2312e822a2948bf5c9720fee366ca2bd1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decode\u0060 swallows every exception into \u0060emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/record-center/src/main/java/com/wanbaohe/recordcenter/model/RecordFieldsCodec.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce79bbdeb6adabc900921eb105d803e63cc0434dc68503129f1bc9310694ef95"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060QrCalendarEditField\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/scan-qr-code/src/main/java/com/t8rin/imagetoolbox/feature/scan_qr_code/presentation/components/editor/QrCalendarEditField.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f360e860fbbf8fbe91c8d61a185cb04d0affca047bde3ef49ec84bcde2a4b4af"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadRecords\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/sudoku/src/main/java/com/wanbaohe/sudoku/data/SudokuStorage.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfbfac8de105e653e7b87ef4c5d0b75282eaa175c0ff41d38dc484d15ade72e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadRecords\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/translator/src/main/java/com/wanbaohe/translator/data/MmkvTranslationHistoryRepository.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee601788d1dd25bbc6080e8ea56e05a944236b74d943358ac07221bdd096b56"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060convert\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/unit-converter/src/main/java/com/wanbaohe/unitconverter/component/UnitConverterComponent.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d26207257a4dbfa48413f73dd8ad6cc0c61abb2c7cc5678dde32f851fcfe1f0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadCustomPresets\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/watermarking/src/main/java/com/shifenmiao/app/watermarking/presentation/screenLogic/WatermarkingComponent.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"7172a7e18c6f8d50b608e1086c23fb324a8cd65f4e412951d349205d1539f900"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060toFaviconUrl\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/webview/src/main/java/com/shifenmiao/webview/browser/BrowserModels.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9848a30bd35f3693eb80e8b2bfafabd27c3d4e3b6d56f11c119b1d8a2a2c9593"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseReason\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/xiangqi/src/main/java/com/wanbaohe/xiangqi/data/LlmMoveChooser.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf931f5c9165ac46d4e5896f396b3fa34a9f911fd8c8cb83c32ede2de161f8f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolveSize\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/zip/src/main/java/com/t8rin/imagetoolbox/feature/zip/data/AndroidZipManager.kt"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c6922c143f53b73f309b1cdf8858aef3dc6d3c48231e8368426603ee8eee21"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadDraft\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/code-editor/editor.src.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37328f02eb01a361eb934d6059480b0767f664aea2954a9f609b168a133c534"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getBrowserDeviceName\u0060 swallows every exception into \u0060return \u0027Browser\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/file_transfer/js/features/chat/channel.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f1866025ad27fe8e0f402657cc373e39a63ead95ec8889c7b1badfb3d83e37"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.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-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-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":25,"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."]}]}