{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"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":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writePanelPiece (cyclomatic 72): DocxSemanticBackend.writePanelPiece has cyclomatic complexity 72 (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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":9294}}}],"partialFingerprints":{"codehealthFindingId/v1":"6922723b15456e1ca46cae82b51a86fb1c7b994407e2e6e2c157af70eeb4cd91"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.reportZoneLine (cyclomatic 54): DocxSemanticBackend.reportZoneLine 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":3896}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d21782ba7bdc0dc65294ac7f14bfe8808d2e83a330e4bea3e1845cf3b8526f4"}},{"ruleId":"D1","level":"warning","message":{"text":"gallery-viewer.panelModel (cyclomatic 46): gallery-viewer.panelModel has cyclomatic complexity 46 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/gallery-viewer.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ac217e939a5ae94c3800d7b5cbebaa84de5c8b82cb4de6d3a60431ed906806"}},{"ruleId":"D1","level":"warning","message":{"text":"buildSurface (cyclomatic 44): buildSurface has cyclomatic complexity 44 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 9 belong to 18 function items 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":"knowledge/tools/api-surface/extract-api.mjs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"746f9c67991ddc9ee64501a81b4f83db8092c58ddfd6669abb0cc4df91b6133e"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.applyPageZones (cyclomatic 43): DocxSemanticBackend.applyPageZones 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb625592b3b852a53a5a53727ef3037a8e231b01f839eab35b8d3d18e0a8aad1"}},{"ruleId":"D1","level":"warning","message":{"text":"gallery-viewer.createViewer (cyclomatic 43): gallery-viewer.createViewer has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 2 of the 43 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 778, 836, 740, \u2026). 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/gallery-viewer.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"a799fec9d99b6f705dd18dfab6524dbb0fab7d9d4ef53ebfcb1252908970815b"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxTimelineRails.apply (cyclomatic 41): DocxTimelineRails.apply 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2bedf77d6f348991d22bfc295753db9914049389652b90d9fcdc4bc3ecfafb"}},{"ruleId":"D1","level":"warning","message":{"text":"SvgPathParser.apply (cyclomatic 39): SvgPathParser.apply 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":"core/src/main/java/com/demcha/compose/document/svg/SvgPathParser.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"90241607c583528193abf5389e34c258137cc39c4005aa1e313fb6162068e7a1"}},{"ruleId":"D1","level":"warning","message":{"text":"query (cyclomatic 39): query has cyclomatic complexity 39 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 2 belong to 16 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"caaa7eceb7aa7f4ff1ea0de885fb88135da0d4f77bb60a3e84d2e8ad3d9676ad"}},{"ruleId":"D1","level":"warning","message":{"text":"BarChartLayout.resolveHorizontal (cyclomatic 38): BarChartLayout.resolveHorizontal 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/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f575a26d66f8aa4955d2f738331121fb4996954c699cbdcb75f3feab7839982a"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.zonePlacement (cyclomatic 35): DocxSemanticBackend.zonePlacement has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":3538}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9921da7680a33c1144fb44709e8310ba5766b36dec4871cb17b80bc4370411"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeParagraphRuns (cyclomatic 32): DocxSemanticBackend.writeParagraphRuns has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":15313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55ba71d12c59873b3a9f4d97c2af7f67e43f32c249047bc226e24abe0316f40"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.reportTheItemsPictures (cyclomatic 31): DocxSemanticBackend.reportTheItemsPictures 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":16719}}}],"partialFingerprints":{"codehealthFindingId/v1":"27701fe48f9b91710abef65c3a5dc89bb6fa66987be75fb7d4bb8d028ab1494e"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.write (cyclomatic 30): DocxSemanticBackend.write 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdb730b81fe3b4f1abd5b28b9a23e346aa95cdd541ccbe455f1aa48e1b5cad5"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutCompiler.compileComposite (cyclomatic 29): LayoutCompiler.compileComposite 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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4c3837e7fe147edee027cb576dd163b929a0f76c5958cae25fab55e5ec7a18"}},{"ruleId":"D1","level":"warning","message":{"text":"RowNode.\u003Cinit\u003E (cyclomatic 29): RowNode.\u003Cinit\u003E 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/src/main/java/com/demcha/compose/document/node/RowNode.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7a927a154867181f31e39bcab8e07c3916897cd0b178edd0219dee9edf70de"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.takeFromTheLineAbove (cyclomatic 29): DocxSemanticBackend.takeFromTheLineAbove 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":11805}}}],"partialFingerprints":{"codehealthFindingId/v1":"320e86c5024544e7263f5dc4ed4e33d52f01b0e4f91cff68316ec24a99817f3b"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.dispatchNode (cyclomatic 28): DocxSemanticBackend.dispatchNode 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":5549}}}],"partialFingerprints":{"codehealthFindingId/v1":"965baac49504f30da34e894acbccb8eb042f09f3ba023a73b02732ab623326c6"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeBand (cyclomatic 28): DocxSemanticBackend.writeBand 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":2687}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1cb1ccd5332aef88b32ef7beea80a947412333a7f08d9de908fdf288d32dd9"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeLayerColumns (cyclomatic 28): DocxSemanticBackend.writeLayerColumns 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":20975}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d6a3b593f2d7bb06ac022390761dd75fec3ff0b5d438f266a038ad8739739c"}},{"ruleId":"D1","level":"warning","message":{"text":"ParagraphWrapping.toInlineParagraphLine (cyclomatic 27): ParagraphWrapping.toInlineParagraphLine 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/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0db749bdef9bda10c09d4fbd63d4437539462580da403d36b86f8b4aaeb9a3"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxLinePair.of (cyclomatic 27): DocxLinePair.of 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLinePair.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"476dabe980a559272bfc9859aa4ee2277538964e2563d04a538bb895387b5fd2"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeLinePair (cyclomatic 27): DocxSemanticBackend.writeLinePair 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":12913}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d09f5aaaa92724acab66f85b837c0696dc5827d06d1c51e460cfcd8cdc2f99"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeNodeContentOf (cyclomatic 27): DocxSemanticBackend.writeNodeContentOf 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":5394}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7b891765e72e34552cbd011c0c07e2ec72f00604ad17c3d152b8afc1f5c51c"}},{"ruleId":"D1","level":"warning","message":{"text":"PdfParagraphFragmentRenderHandler.renderLine (cyclomatic 27): PdfParagraphFragmentRenderHandler.renderLine 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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee174424ea0e44bf2a3736f27f6b6104f07a6cc4e98ebca9d950c92f0864c3e5"}},{"ruleId":"D1","level":"warning","message":{"text":"loadSurfaces (cyclomatic 27): loadSurfaces has cyclomatic complexity 27 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 4 belong to 7 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"28045f40338f19bbaa9aec52ee1660d010c2d69f99391a7939dddea4e8913dd3"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxPageMarginSections.plan (cyclomatic 26): DocxPageMarginSections.plan 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPageMarginSections.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc097651c80a189e37b691b527248090b9782f13416c392a1f5c544416db2fee"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.drawAndNameOwnFragments (cyclomatic 26): DocxSemanticBackend.drawAndNameOwnFragments 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":6151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d6fc9f8d6be817719e98cafe9ee0bf9780ca76a1eebd21e2a85f403c3f34b0"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeRule (cyclomatic 26): DocxSemanticBackend.writeRule 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":17700}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f41bfe81563d4f3b4b1dc4866a080dbfb8a01f1b0d03bc35425ff03e99fbe18"}},{"ruleId":"D1","level":"warning","message":{"text":"ParagraphWrapping.wrapInlineParagraph (cyclomatic 25): ParagraphWrapping.wrapInlineParagraph 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/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6efa7cd85d6db9de8a49a76e77d1d0bbd7b7f9727817b410b8e19cc2050e1de"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxNodeValues.alike (cyclomatic 24): DocxNodeValues.alike 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNodeValues.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2597d110d97bb13fec465a4da9e68b62fa9f98989a7baba22894d1bf855b8be7"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.carriedWithout (cyclomatic 24): DocxSemanticBackend.carriedWithout 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":5729}}}],"partialFingerprints":{"codehealthFindingId/v1":"17733f015c42a6a84f76e7158dd0f2e644158bfd13ea77fe20322972c51034e7"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.textBadgeParagraph (cyclomatic 24): DocxSemanticBackend.textBadgeParagraph has cyclomatic complexity 24 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":17418}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1a2c69aad3106f97b64128e25a206ff2ba50145a2bce5dfa3af4b0279b581e"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeTableRows (cyclomatic 24): DocxSemanticBackend.writeTableRows 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":19390}}}],"partialFingerprints":{"codehealthFindingId/v1":"1601bdc09e6f32c6a4f218683b324b98899f77ed2bf352337e2397a8d3b0d395"}},{"ruleId":"D1","level":"warning","message":{"text":"TimelineMinimal.sectionLines (cyclomatic 24): TimelineMinimal.sectionLines 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4567fe35a265176c5cb836f4deeb276c62e779fa5f9a34a5b18d4d370cdb4a5"}},{"ruleId":"D1","level":"warning","message":{"text":"examples.render (cyclomatic 24): examples.render has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/examples.js"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df3e9f3aa1da7fdffac147e0f2e97c923d5607c676e8a8d41c3394d9cde75cc"}},{"ruleId":"D1","level":"warning","message":{"text":"LineChartLayout.resolve (cyclomatic 23): LineChartLayout.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":"core/src/main/java/com/demcha/compose/document/chart/LineChartLayout.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49a7773890b6e1b984b349b99942a9aa640342d14d2691b8b2b670a35fed630"}},{"ruleId":"D1","level":"warning","message":{"text":"ParagraphWrapping.wrapMarkdownParagraph (cyclomatic 23): ParagraphWrapping.wrapMarkdownParagraph 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/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f17278b3e579f9c58763b10bfb63ccd8df2723d6af44177acf34bcd39132d7"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxGrownLines.reachOf (cyclomatic 23): DocxGrownLines.reachOf 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxGrownLines.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"42978dd6632f9b3b3a1d99b1722faee6b717118caf1a471d9d4c623fff85faad"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeCellContent (cyclomatic 23): DocxSemanticBackend.writeCellContent has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":19926}}}],"partialFingerprints":{"codehealthFindingId/v1":"a436a75d17e93fd1a960eddf3371fee21b892e651cc2d4531d4745f1283d8eb1"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeRichListLine (cyclomatic 23): DocxSemanticBackend.writeRichListLine has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":7992}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8e0c48819fa3885c8b65bcb2e99b845eb5954875a3c371547a4def53ce232c"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.zoneStops (cyclomatic 23): DocxSemanticBackend.zoneStops has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":3693}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec201991af370c01a8592891e55b6e4cb96e683c4ce60762546a5e4d396d04c2"}},{"ruleId":"D1","level":"warning","message":{"text":"PdfTableRowFragmentRenderHandler.renderCellText (cyclomatic 23): PdfTableRowFragmentRenderHandler.renderCellText 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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0916fab988022c9ea4c938bfad18c0c8d7683bece7e0c11d2e2065b16e10d30"}},{"ruleId":"D1","level":"warning","message":{"text":"PieChartLayout.resolve (cyclomatic 22): PieChartLayout.resolve 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":"core/src/main/java/com/demcha/compose/document/chart/PieChartLayout.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc09814075f95d93f0ee3d091d1da492cfd9af7fab78e1c795333dbd33de0f7"}},{"ruleId":"D1","level":"warning","message":{"text":"SvgPathParser.number (cyclomatic 22): SvgPathParser.number has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/svg/SvgPathParser.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fb244c37d2981bc68d1cd11adbaa967646aa207924546e384aa05ed02ce5f4"}},{"ruleId":"D1","level":"warning","message":{"text":"javap.parseMember (cyclomatic 22): javap.parseMember 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":"knowledge/tools/api-surface/lib/javap.mjs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1533bb13025cf4910e72575e9b2e51d17ae54390726b919f7bcf698f043baeab"}},{"ruleId":"D1","level":"warning","message":{"text":"gallery-viewer.createViewer.render (cyclomatic 22): gallery-viewer.createViewer.render 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":"web/gallery-viewer.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"235af08e17153795311605fa3461382fba0fe7ced32f7043e0101bb7e0d17a77"}},{"ruleId":"D1","level":"warning","message":{"text":"createViewer.render (cyclomatic 22): createViewer.render 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":"web/gallery-viewer.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"86833a41972cdf89d53f2c531e08e43777ddbfe14cfa5afd05b0153957749e21"}},{"ruleId":"D1","level":"warning","message":{"text":"render (cyclomatic 22): render has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong to 2 function items 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef1ec99a55fbdcc26c67c40cdfcaa72115f743fcf031f8b4a8f38df63795ab7"}},{"ruleId":"D1","level":"warning","message":{"text":"Part.legend (cyclomatic 21): Part.legend 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3309aa905d203bce38827b2f79a89a497dc20af618a7a051b13f7c3455e6a30"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.moveTheRowsText (cyclomatic 21): DocxSemanticBackend.moveTheRowsText 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":20162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2485621850f97238b3bcdc95614b45e1474d5ba79268bca77474e7b004c7bd7"}},{"ruleId":"D1","level":"warning","message":{"text":"ParagraphWrapping.tokenizeInlineRuns (cyclomatic 20): ParagraphWrapping.tokenizeInlineRuns 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":"core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6009e87def9059a627fc8f54f4bb762b94afce24257dc0db378168f50c014c"}},{"ruleId":"D1","level":"warning","message":{"text":"SvgIconReader.stylize (cyclomatic 20): SvgIconReader.stylize 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/src/main/java/com/demcha/compose/document/svg/SvgIconReader.java"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"904a100a1515afee162af7716bbc7bcc9d7126f9ab24b04c7fe97c0319c689f2"}},{"ruleId":"D1","level":"warning","message":{"text":"SvgIconReader.walk (cyclomatic 20): SvgIconReader.walk has cyclomatic complexity 20 (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/src/main/java/com/demcha/compose/document/svg/SvgIconReader.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a38d608b357337931b5de8dab713ec221f03bccdc0f8836092cedb6d3adc5ab"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxLayerColumns.flow (cyclomatic 20): DocxLayerColumns.flow 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af2796a25613c5524a5188e9a6c79b8a99d9f2bc539ab86e0665b3677e4e9ec"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxLineStartHyphens.hold (cyclomatic 20): DocxLineStartHyphens.hold 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLineStartHyphens.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3a3779cb2a5d4ca71fabb558880f3beade9553c1f104ae96bf420e49b8081c"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.reportBandText (cyclomatic 20): DocxSemanticBackend.reportBandText 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":2941}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4e6ed61e467250e8fa7f80c4c527ea6787b90639618ca8aa860acb61cade90"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxTimelineRails.offsetOfTheBar (cyclomatic 20): DocxTimelineRails.offsetOfTheBar 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"9650ce6d285c152005f8c031902b1efd8ad0c8382afcfb4f14fd7e786b17ccbe"}},{"ruleId":"D1","level":"warning","message":{"text":"Found.look (cyclomatic 20): Found.look has cyclomatic complexity 20 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxWithoutLayout.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4889841ae9ee5c04238b6db009dccbadb57157b1fdae992001c982d6e1a34a7a"}},{"ruleId":"D1","level":"warning","message":{"text":"examples.renderCard (cyclomatic 20): examples.renderCard has cyclomatic complexity 20 (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":"web/examples.js"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"4863d8908eced3bbb1d3d9d8a6cfb11b81aa7e32ecadd753e7e52d622baec9bd"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxLayoutMetrics.lineHeight (cyclomatic 19): DocxLayoutMetrics.lineHeight 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7faca9324c39cca0319eb15274d6588bfa288ecc2499a3892d7c08fe1c863e"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxLayoutMetrics.solidFillAt (cyclomatic 19): DocxLayoutMetrics.solidFillAt 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"d017a7c5f7d45603558d526e24d66bbf1ee41b7c51a6c5b3f78dc4c65c034503"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.anchorComposedDrawing (cyclomatic 19): DocxSemanticBackend.anchorComposedDrawing 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":18550}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e4202ec3fd79e2389c32609fa0eb7ef2ff20d81a562d529ca10dc3e5f0660a"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.placeZone (cyclomatic 19): DocxSemanticBackend.placeZone 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":3265}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a59270876c8c0f1acd5b080411304f72935eb10e17e4c34d416f0f38a6ad9ff"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.twentiethsToThePage (cyclomatic 19): DocxSemanticBackend.twentiethsToThePage 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":12592}}}],"partialFingerprints":{"codehealthFindingId/v1":"28960dac7d344459380771254d1353725b4f221240ee958412860bd1f0b068e3"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.withRowEditorSlack (cyclomatic 19): DocxSemanticBackend.withRowEditorSlack 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":22377}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b717816b803628510272cf21dfe092514b36bc683996b215f8f9479203be80e"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeContainerChildren (cyclomatic 19): DocxSemanticBackend.writeContainerChildren 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":8535}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10f74cbb6ec3510b40ac8ce4d4498e3473093ea0d1ba03616a0e27bf63d5be8"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeList (cyclomatic 19): DocxSemanticBackend.writeList 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":6942}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e3dc989f9f450ad9c623133b07f0fe8e971ea1f5bbc09f0722b266dabb58a5"}},{"ruleId":"D1","level":"warning","message":{"text":"ChartStyle.\u003Cinit\u003E (cyclomatic 18): ChartStyle.\u003Cinit\u003E has cyclomatic complexity 18 (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":"core/src/main/java/com/demcha/compose/document/chart/ChartStyle.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebde8fd402b139ef02e1b965b44d56b4497d609085689aac8192634f730c298e"}},{"ruleId":"D1","level":"warning","message":{"text":"SvgIconReader.emitLayer (cyclomatic 18): SvgIconReader.emitLayer 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":"core/src/main/java/com/demcha/compose/document/svg/SvgIconReader.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"1002b14073ccb629efab61a924f24d7192e56d4e805256b97709ab2ef24ec598"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxMarkdown.laidOutAt (cyclomatic 18): DocxMarkdown.laidOutAt 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxMarkdown.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7127f4a91a4fa8b46da7b63369aa9a72df204fa6a60d591ea2e2be833e40d2d"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.fittedSize (cyclomatic 18): DocxSemanticBackend.fittedSize 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":14379}}}],"partialFingerprints":{"codehealthFindingId/v1":"779bb3d9ef1e96b70957184195310f70cb522c0df2d908b70613fb571e684401"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.measureAtWordsSize (cyclomatic 18): DocxSemanticBackend.measureAtWordsSize 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":12486}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6c66bf2114ae6d1d64914bef6fa8c82b2db13d94ad6ca6bdf3bddacb4a2371"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeTableWithItsOwnSpacing (cyclomatic 18): DocxSemanticBackend.writeTableWithItsOwnSpacing 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":18083}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc96ee34d0227177905f7161b4c5e30d99f6dba3ba20383c634091e93c2dc9c9"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeZoneLine (cyclomatic 18): DocxSemanticBackend.writeZoneLine 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":3357}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4a921996b4bb0d90d08efef4cbbe60d495e03e7477938b57da73e4facb3202"}},{"ruleId":"D1","level":"warning","message":{"text":"PdfTableRowFragmentRenderHandler.resolveTextLines (cyclomatic 18): PdfTableRowFragmentRenderHandler.resolveTextLines 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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8823b0a6ad97e584aecf1881ae671fe60565ce4c947aa1659539319629622b6"}},{"ruleId":"D1","level":"warning","message":{"text":"claims.stripCommentsAndLiterals (cyclomatic 18): claims.stripCommentsAndLiterals has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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":"knowledge/tools/claims/lib/claims.mjs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50500ada7cbb4094f40b283d4f2588d472a7500f854e7c9d479c9c94b983ee1"}},{"ruleId":"D1","level":"warning","message":{"text":"BarChartLayout.resolveVertical (cyclomatic 17): BarChartLayout.resolveVertical 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/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabadc6bf125fd2a61d59d3ad430778fe4aebfc149c8a51e7cc8c85b3ca25f4d"}},{"ruleId":"D1","level":"warning","message":{"text":"ChartStyle.mergedUnder (cyclomatic 17): ChartStyle.mergedUnder 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/src/main/java/com/demcha/compose/document/chart/ChartStyle.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"de72d55f92589ddc3f11ac8e7305c5122cd7b8c0393622024c6c2d0f77f4f92d"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageNode.\u003Cinit\u003E (cyclomatic 17): ImageNode.\u003Cinit\u003E 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/src/main/java/com/demcha/compose/document/node/ImageNode.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"915befebbe84bf8ed8f179d817e0af5b74f5e03cf062fd6129c4036fe33fee8c"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxDrawingAnchors.endSection (cyclomatic 17): DocxDrawingAnchors.endSection 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"554611116fd317e98f0fd1b37eda12688df9578348dcafb4360f3f3184ed11a3"}},{"ruleId":"D1","level":"warning","message":{"text":"Run.of (cyclomatic 17): Run.of 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxGrownLines.java"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9e29258e0b61a5f43666325416be02a1b6e89cceb8ece1c1d7f01cf5fd38d5"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxNativeCharts.scaleOf (cyclomatic 17): DocxNativeCharts.scaleOf 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1522ef8bcfae076c3456506158153ac4f69d1f784551423eb7890ee59225cb"}},{"ruleId":"D1","level":"warning","message":{"text":"Part.bar (cyclomatic 17): Part.bar 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb5e2ff0c83b50ece8c8b9878bee039de265c70eb5bf8a11ef7765f8a2e535b"}},{"ruleId":"D1","level":"warning","message":{"text":"Part.line (cyclomatic 17): Part.line 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0dd298329bf61a1ecc1860b44c7024de45c4cc94b7f0b9e413fc875a0e0b72"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.composedRowStarts (cyclomatic 17): DocxSemanticBackend.composedRowStarts 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":22058}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fc49bbb19565a817dd7829bfa38d3106225496f97514b2aa99d132934fc4ee"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.drawnBesideItsText (cyclomatic 17): DocxSemanticBackend.drawnBesideItsText 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":21846}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b239bd2422bb07a4c252544dfcb57507467dada0ca51489580f9621eb0c98d3"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.dropTheSpaceBelow (cyclomatic 17): DocxSemanticBackend.dropTheSpaceBelow 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":11644}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f00769622947cf33a5a5ee077bd992fd3eec2124a55a9a1997d74a0433b062f"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.indentAsThePrefixDoes (cyclomatic 17): DocxSemanticBackend.indentAsThePrefixDoes 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":14575}}}],"partialFingerprints":{"codehealthFindingId/v1":"357be3a638ffbeda20988654ccd3ab76945a27f8dff3189beb82e572e00102e4"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.reportTheLayersOfItsPanel (cyclomatic 17): DocxSemanticBackend.reportTheLayersOfItsPanel 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":10620}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abcac748a6461016fc3b7c78a305d181099fee68ea9a3bf99395b7896941c33"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.resolveRowSlots (cyclomatic 17): DocxSemanticBackend.resolveRowSlots 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":22692}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb333633019c671061a80bfc2f88ccaef196f389e2988f066ea2faf4fc02dbb7"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeInlinePicture (cyclomatic 17): DocxSemanticBackend.writeInlinePicture 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":16472}}}],"partialFingerprints":{"codehealthFindingId/v1":"242d37267a83863a11b4182d25f3a503dc1783517098f9f7883b32f4705b1320"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeParagraph (cyclomatic 17): DocxSemanticBackend.writeParagraph 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":13761}}}],"partialFingerprints":{"codehealthFindingId/v1":"a532236bed2769ca5d7333133a6072770465a03cc0c1669fd75d97508019cf44"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeShapeContainer (cyclomatic 17): DocxSemanticBackend.writeShapeContainer 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":13117}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8fdc29bbd748ac5b9e6ea09e86157e5044aa3eee0b0996a0e1c68fce629a73"}},{"ruleId":"D1","level":"warning","message":{"text":"ParagraphWrapping.wrapParagraph (cyclomatic 16): ParagraphWrapping.wrapParagraph 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/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ded6851ad3f87e5678355ee17a4024365c8db13a806a95c2e3cb4857e24354b"}},{"ruleId":"D1","level":"warning","message":{"text":"SplittableLeafCompiler.compile (cyclomatic 16): SplittableLeafCompiler.compile 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/src/main/java/com/demcha/compose/document/layout/SplittableLeafCompiler.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf87c1377d06f2fa481f22231f42f4857fc2f4c2810866673b77c2e3f35c9ea"}},{"ruleId":"D1","level":"warning","message":{"text":"ArabicShaper.shape (cyclomatic 16): ArabicShaper.shape 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/src/main/java/com/demcha/compose/engine/text/bidi/ArabicShaper.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01610ea229b24a033f64a7d0d3c624c03966dcc61981a2e419267da0e7756e2"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxClosingSpaces.fillTheClosingSpaces (cyclomatic 16): DocxClosingSpaces.fillTheClosingSpaces 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxClosingSpaces.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e398cdf15aa30532da1eaf1b1753e9a70cc5ac2ddce2dbbbe956ab54a439656"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxLayerColumns.columnsOf (cyclomatic 16): DocxLayerColumns.columnsOf 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e27107e9cbd674d1186f021018d69cee5276badd3042b1031b48ababfed1ac"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxLayoutMetrics.entriesOf (cyclomatic 16): DocxLayoutMetrics.entriesOf 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":2182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c183a3482c3154ebbbbb5083514070290436da0b41a30f4a6afada0c0bbc36"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.carryTheRowsRounding (cyclomatic 16): DocxSemanticBackend.carryTheRowsRounding 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":18853}}}],"partialFingerprints":{"codehealthFindingId/v1":"678a619a9a8a6cc3e88e5f36ddcda115a5dbf285f05f4fe08d95f0ebb752f33c"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.fitBlankLinesToTheRow (cyclomatic 16): DocxSemanticBackend.fitBlankLinesToTheRow 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":19034}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1af4d6e2345f5462f4d59e698c06cb320c085f1730f782738e72b870182ae6"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.floatable (cyclomatic 16): DocxSemanticBackend.floatable 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":4939}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44dc74c73d5d5d23ced53bdcc73963f599442c57a6f1af9e25475f42ec43c1b"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.holdIn (cyclomatic 16): DocxSemanticBackend.holdIn 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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":21487}}}],"partialFingerprints":{"codehealthFindingId/v1":"842b38d608ba9d7316df45e7278dbafa8606ab87214c6045014ea2e595d158c7"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.keepTheLastBookmarkOfEachAnchor (cyclomatic 16): DocxSemanticBackend.keepTheLastBookmarkOfEachAnchor 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":13649}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab73a69779d8b0db7004de468d3f9197049998599458c7577fd06139416e374b"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.newBodyParagraph (cyclomatic 16): DocxSemanticBackend.newBodyParagraph 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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":11291}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c5c559f2415996b0da58bed365114d1d62a7ff4e97ba7846cd11e3c5c9a32b"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.paragraphLost (cyclomatic 16): DocxSemanticBackend.paragraphLost 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":13874}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9b662a7de82a2c7195e6ef0fc4886fcfbd5983d4e024abbca23519e4d11dfd"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.raiseRows (cyclomatic 16): DocxSemanticBackend.raiseRows 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":11976}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c3e89d0b7edc1a12e09031bde0457d88d0987e258155417fa1f1843d151e04"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.reportUnwrittenRowPaint (cyclomatic 16): DocxSemanticBackend.reportUnwrittenRowPaint 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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":20447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce9d4794066b1e92d0cf5efc7313babee7e87703aa163831af6c707c1536967"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.takeTheDrawingOf (cyclomatic 16): DocxSemanticBackend.takeTheDrawingOf 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":18643}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e1ce93d0c5df339eab13b7b0bd0bd371da7c62e3e56408906fa5cb82406a83"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.valueGridOf (cyclomatic 16): DocxSemanticBackend.valueGridOf 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":8345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27f45160c1b3f893d11cd562252fd6922fd82b03cad11cf0f74ea8ed3a55934"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxSemanticBackend.writeRow (cyclomatic 16): DocxSemanticBackend.writeRow 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java holds 54 of the 116 methods over the threshold \u2014 including the worst \u2014 and 419 of the 897 points over it (47%), 6.3\u00D7 the next-largest file (web/gallery-viewer.js at 66). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":20638}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa11308bf21048ba3b2e89cef4d731e58d6739b78522b70ce58ab26e39cedd2e"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxTimelineRails.cutAt (cyclomatic 16): DocxTimelineRails.cutAt 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9714e848b535712a4f2d19a350fba4e37955155d14561e064acaed4dbfd7787"}},{"ruleId":"D1","level":"warning","message":{"text":"StructuredProposalData.\u003Cinit\u003E (cyclomatic 16): StructuredProposalData.\u003Cinit\u003E 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":"templates/src/main/java/com/demcha/compose/document/templates/data/proposal/StructuredProposalData.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc586baf2f70913f156dfc91028f6da982e5eacd9ae20daf8f914b860138965b"}},{"ruleId":"D1","level":"warning","message":{"text":"api-query.renderTask (cyclomatic 16): api-query.renderTask 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9f7514d004fd0a558b1e39e3fce193b65d02a49183e041059a804f99219800"}},{"ruleId":"D1","level":"warning","message":{"text":"examples.injectFullItemListJsonLd (cyclomatic 16): examples.injectFullItemListJsonLd 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":"web/examples.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b9b3b12e1dfa69c03301a2d6c534543ee8de6450fdb0f1798a47e47a4d18e6"}},{"ruleId":"D2","level":"warning","message":{"text":"extract-api.buildSurface (cognitive 100): extract-api.buildSurface has cognitive complexity 100 (threshold 15). Drivers by points: ternaries 12 (36 pts), if/else 13 (33 pts), loops 10 (21 pts), boolean chains 6, error handling 1 (4 pts) (nesting depth added 58). Of this number, 80 points are the body\u0027s own statements and 20 belong to 4 function items 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":"knowledge/tools/api-surface/extract-api.mjs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cab8cfbd6ed9e2dc50a5c790e69b172d110ea6c521259803a361d09e0898761"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.reportZoneLine (cognitive 91): DocxSemanticBackend.reportZoneLine has cognitive complexity 91 (threshold 15). Drivers by points: if/else 24 (39 pts), ternaries 13 (33 pts), boolean chains 13, loops 6 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":3896}}}],"partialFingerprints":{"codehealthFindingId/v1":"29484c711e2b9b7f947e6b5b0cb1440bcfd574cf8c3c2c479ecb76cd1df2e0dd"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writePanelPiece (cognitive 89): DocxSemanticBackend.writePanelPiece has cognitive complexity 89 (threshold 15). Drivers by points: ternaries 26 (36 pts), if/else 28 (35 pts), boolean chains 18 (nesting depth added 17). 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":9294}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ef82600d41788e0121987d0e582bdd560d73eb6f134feeb612d86811b4eb6a"}},{"ruleId":"D2","level":"warning","message":{"text":"BarChartLayout.resolveHorizontal (cognitive 80): BarChartLayout.resolveHorizontal has cognitive complexity 80 (threshold 15). Drivers by points: if/else 19 (48 pts), loops 8 (17 pts), ternaries 6 (10 pts), boolean chains 5 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into 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/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3deeec19aa12a8751dcceb38e1983b5950eef5f3c7e8ea5288aef0e2bbd0d8"}},{"ruleId":"D2","level":"warning","message":{"text":"ParagraphWrapping.wrapInlineParagraph (cognitive 73): ParagraphWrapping.wrapInlineParagraph has cognitive complexity 73 (threshold 15). Drivers by points: if/else 15 (47 pts), ternaries 5 (19 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 49). To reduce it, split the body into named stages: move each independent step or branch into 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/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c00591e1ba8555f058dc50444dbf6b1b43cc16a0f8b3fa4763517fbd74d0ba"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.applyPageZones (cognitive 67): DocxSemanticBackend.applyPageZones has cognitive complexity 67 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 10 (14 pts), boolean chains 13, ternaries 6 (13 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"efafd97b0deef40505b539343225df4c90eaa91e385721c6f3ae1d560f0b66c9"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxTimelineRails.apply (cognitive 61): DocxTimelineRails.apply has cognitive complexity 61 (threshold 15). Drivers by points: if/else 19 (30 pts), loops 10 (14 pts), boolean chains 11, ternaries 2 (6 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"83513a1ee0b71f98f88201f3def80eefb45830bee972af3f088e6834184fd46e"}},{"ruleId":"D2","level":"warning","message":{"text":"PdfParagraphFragmentRenderHandler.renderLine (cognitive 60): PdfParagraphFragmentRenderHandler.renderLine has cognitive complexity 60 (threshold 15). Drivers by points: if/else 22 (54 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd633eb98a3f8abd9f4f6b86560c51a405ce487928431497cb7664431fbcab8"}},{"ruleId":"D2","level":"warning","message":{"text":"query (cognitive 59): query has cognitive complexity 59 (threshold 15). Drivers by points: if/else 11 (21 pts), ternaries 8 (16 pts), loops 5 (10 pts), boolean chains 8, other 4 (nesting depth added 23). Of this number, 55 points are the body\u0027s own statements and 4 belong to 16 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac20d256d76b57b05526428bf292b012ca9311cc9e8ee334e8d038004b9bf28"}},{"ruleId":"D2","level":"warning","message":{"text":"ParagraphWrapping.wrapMarkdownParagraph (cognitive 58): ParagraphWrapping.wrapMarkdownParagraph has cognitive complexity 58 (threshold 15). Drivers by points: if/else 15 (47 pts), loops 3 (6 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into 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/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"5068d91fc35f78074bfe1a7b95d7e0ee31580adff58677a9a2d9ff09e5e04a74"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.zonePlacement (cognitive 57): DocxSemanticBackend.zonePlacement has cognitive complexity 57 (threshold 15). Drivers by points: if/else 15 (30 pts), ternaries 8 (16 pts), boolean chains 8, loops 3 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":3538}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf7c20c62b20d2a7fad08786c7b1b5c9adf582557bf63f3a0f3617aac7096c9"}},{"ruleId":"D2","level":"warning","message":{"text":"SvgPathParser.apply (cognitive 55): SvgPathParser.apply has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 24 (48 pts), if/else 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 26). 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/src/main/java/com/demcha/compose/document/svg/SvgPathParser.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7acc823a8470c9161654f2fd376edaa872b41cdf1eb3fda239840fd02d2de1"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.write (cognitive 53): DocxSemanticBackend.write has cognitive complexity 53 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 5 (10 pts), ternaries 6 (10 pts), boolean chains 5 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4b34c5b174f2f16c2ea5a4d92bdbee0cff0d96a4edfdad7157f53ed434a1af"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeParagraphRuns (cognitive 53): DocxSemanticBackend.writeParagraphRuns has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (26 pts), ternaries 11 (18 pts), boolean chains 6, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":15313}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6bb6b15e42415b28f98cbeaa4cca8cdec18a30feb8dfbac20fd13616924b35"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeTableRows (cognitive 53): DocxSemanticBackend.writeTableRows has cognitive complexity 53 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 9 (18 pts), ternaries 4 (13 pts), boolean chains 3 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":19390}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab63e6a12252d83d85508f85154f7ad0521145926a1127fe4b246e6dbd78cd0f"}},{"ruleId":"D2","level":"warning","message":{"text":"TimelineMinimal.sectionLines (cognitive 52): TimelineMinimal.sectionLines has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (44 pts), loops 3 (6 pts), boolean chains 2 (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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f01b1272e159bb2614d368d911bf73c24c3ddf1d3ebdaebb600c87b198212c"}},{"ruleId":"D2","level":"warning","message":{"text":"loadSurfaces (cognitive 52): loadSurfaces has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 5 (22 pts), loops 4 (10 pts), other 9, if/else 3 (7 pts), boolean chains 4 (nesting depth added 27). Of this number, 44 points are the body\u0027s own statements and 8 belong to 7 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"601d793ad0d23db84907252f2a33d39aa487debf70c376951a3df6c6bd63f21a"}},{"ruleId":"D2","level":"warning","message":{"text":"ParagraphWrapping.tokenizeInlineRuns (cognitive 50): ParagraphWrapping.tokenizeInlineRuns has cognitive complexity 50 (threshold 15). Drivers by points: if/else 11 (25 pts), ternaries 4 (14 pts), loops 4 (11 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c613255ccefa87c0b34d37f8653fd72613ee192aa3fc2803ee15be06093f93"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.reportTheItemsPictures (cognitive 49): DocxSemanticBackend.reportTheItemsPictures has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (26 pts), loops 6 (10 pts), ternaries 4 (8 pts), boolean chains 5 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":16719}}}],"partialFingerprints":{"codehealthFindingId/v1":"41898952a0f3e786bc439e705975c6260ff704682973afa4e6d63f4cb0e5e626"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutCompiler.compileComposite (cognitive 48): LayoutCompiler.compileComposite has cognitive complexity 48 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 10, loops 3 (8 pts), ternaries 2 (6 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":"core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8217960e30cb445c684ad7e2f1605e159d88352b001338cf8d8b982f64a2a01e"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxPageMarginSections.plan (cognitive 48): DocxPageMarginSections.plan has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (26 pts), ternaries 6 (16 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPageMarginSections.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e1a9154f375242de1763aec5cb18f0704a04756231ce9d64e8e8d3f4a8c1d5"}},{"ruleId":"D2","level":"warning","message":{"text":"LineChartLayout.resolve (cognitive 47): LineChartLayout.resolve has cognitive complexity 47 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 8 (18 pts), ternaries 4 (6 pts), boolean chains 2 (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":"core/src/main/java/com/demcha/compose/document/chart/LineChartLayout.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cd28add38072662187c22d8b6f50de2fbeca4377374d4ebc0093287c63999c"}},{"ruleId":"D2","level":"warning","message":{"text":"ParagraphWrapping.toInlineParagraphLine (cognitive 46): ParagraphWrapping.toInlineParagraphLine has cognitive complexity 46 (threshold 15). Drivers by points: if/else 16 (27 pts), loops 7 (15 pts), boolean chains 4 (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":"core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a940f1f1648667f95fd4bba5c1416f881075b5e8fb5ca458a2b0febe5dada95"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeBand (cognitive 45): DocxSemanticBackend.writeBand has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 12 (23 pts), if/else 12 (19 pts), boolean chains 3 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":2687}}}],"partialFingerprints":{"codehealthFindingId/v1":"5614392a01d42f1ed3c94f66e7d29e9e938fbfdc52e50f3130ca5a3dd20420d4"}},{"ruleId":"D2","level":"warning","message":{"text":"BarChartLayout.resolveVertical (cognitive 43): BarChartLayout.resolveVertical has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 3 (7 pts), ternaries 3 (7 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":"core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b9eb32cdef6e7690bdb37a16af72de4da615082beeb412270147e9506c382d"}},{"ruleId":"D2","level":"warning","message":{"text":"gallery-viewer.panelModel (cognitive 41): gallery-viewer.panelModel has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 17, if/else 14 (16 pts), ternaries 8 (nesting depth added 2). Of this number, 40 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/gallery-viewer.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"418003ede629b38ce592c95d61dfb9cb6b2e6363f4cd921f4ba2ebe7f1eff109"}},{"ruleId":"D2","level":"warning","message":{"text":"gallery-viewer.createViewer (cognitive 41): gallery-viewer.createViewer has cognitive complexity 41 (threshold 15). Drivers by points: if/else 24 (28 pts), boolean chains 9, ternaries 3 (4 pts) (nesting depth added 5). Most of this is not in the body itself: 1 of the 41 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 778, 740, 836, \u2026). 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/gallery-viewer.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"523a431fb5b5d9a6ed782626281fc28645f20b40dfd2db0800e863d94a20e6ee"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.drawAndNameOwnFragments (cognitive 40): DocxSemanticBackend.drawAndNameOwnFragments has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (22 pts), ternaries 4 (8 pts), boolean chains 6, loops 2 (4 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":6151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df2b7c104da93d53b6af2ad65e50928046661f4cfd19e39f05f9355333bae4a"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeLayerColumns (cognitive 40): DocxSemanticBackend.writeLayerColumns has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 8, ternaries 2 (4 pts), loops 3 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":20975}}}],"partialFingerprints":{"codehealthFindingId/v1":"4464d740a62d942bc0cc6df47e31de7aa7a2b33f1a00f9dbec29357ad94b65b8"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxTimelineRails.offsetOfTheBar (cognitive 39): DocxTimelineRails.offsetOfTheBar has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (20 pts), ternaries 4 (12 pts), boolean chains 4, loops 2 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a5beb4a026cfa6b08fc78aa439e13bcae3ad40d7ee2a61ad27ef4ee85cd40c"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeNodeContentOf (cognitive 38): DocxSemanticBackend.writeNodeContentOf has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 10, loops 2 (4 pts), ternaries 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":5394}}}],"partialFingerprints":{"codehealthFindingId/v1":"281d307ff277314e7004d78fa36c17e3075ca9b2734dc536d8d8da9932767796"}},{"ruleId":"D2","level":"warning","message":{"text":"ParagraphWrapping.wrapParagraph (cognitive 37): ParagraphWrapping.wrapParagraph has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 3 (6 pts), ternaries 2 (5 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":"core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b158e6d0674206de8b6db45e0772df2fb61f6f8b8cb8bcc0f38b9236e502e8"}},{"ruleId":"D2","level":"warning","message":{"text":"PdfTableRowFragmentRenderHandler.renderCellText (cognitive 37): PdfTableRowFragmentRenderHandler.renderCellText has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (23 pts), ternaries 6 (9 pts), loops 2 (3 pts), boolean chains 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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddfc8e191bdb1876e7eead5ac03a5d2403140f858fa463e2dd5b87b1a350cf1"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxLayoutMetrics.lineHeight (cognitive 36): DocxLayoutMetrics.lineHeight has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (16 pts), ternaries 4 (10 pts), boolean chains 6, loops 2 (4 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2e3db6a74925bd358e6e8e8d2c8924df23cef3b1964518994d93937eb4eaae"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxNodeValues.alike (cognitive 36): DocxNodeValues.alike has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (23 pts), loops 3 (6 pts), boolean chains 5, error handling 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNodeValues.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3acaa3ff6607573356ec893f9fb3ac48bf55254ea71e2da6246010333fa8eff"}},{"ruleId":"D2","level":"warning","message":{"text":"RowNode.\u003Cinit\u003E (cognitive 35): RowNode.\u003Cinit\u003E has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 9, boolean chains 7, loops 3 (4 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/src/main/java/com/demcha/compose/document/node/RowNode.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcba1e11c00d1553c649f54d6eea04e762da3cf4fc1fb3f2fa1897a4b9459023"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxLayerColumns.flow (cognitive 35): DocxLayerColumns.flow has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 8 (15 pts), boolean chains 3, ternaries 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"48889df4b520f4cd9547911a4f96c153ff92a6bcf87bcf2f2ab83431da36f235"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeRule (cognitive 35): DocxSemanticBackend.writeRule has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 15 (21 pts), if/else 12 (13 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":17700}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff687981110611d09a0ae214e44cbf394400419f4a88bd3af49407f7049b26be"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeRichListLine (cognitive 34): DocxSemanticBackend.writeRichListLine has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 7 (11 pts), boolean chains 8, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":7992}}}],"partialFingerprints":{"codehealthFindingId/v1":"f718898e22a3c653ce824220c67593140c21ca89cbe34efb618acda6a514b7ec"}},{"ruleId":"D2","level":"warning","message":{"text":"examples.injectFullItemListJsonLd (cognitive 34): examples.injectFullItemListJsonLd has cognitive complexity 34 (threshold 15). Drivers by points: if/else 4 (13 pts), ternaries 2 (9 pts), boolean chains 6, loops 3 (6 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":"web/examples.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2a09c968a63721de6dbd97e5a441cc57703f32a6074cef13ce99fb97211a36"}},{"ruleId":"D2","level":"warning","message":{"text":"render (cognitive 34): render has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 9, loops 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 11). Of this number, 32 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/examples.js"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"52142a60d45a333acec68c14fd2041e3a46230cea40b9fa5b19fc312451dea82"}},{"ruleId":"D2","level":"warning","message":{"text":"stripCommentsAndLiterals (cognitive 34): stripCommentsAndLiterals has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (19 pts), ternaries 2 (6 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 16). Of this number, 29 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/claims/lib/claims.mjs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"02148f13678dc31b066cd34e845f2c3b204372200040da02f6a73aff60cdfbdb"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutCompiler.compileHorizontalRow (cognitive 33): LayoutCompiler.compileHorizontalRow has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 6 (13 pts), loops 1 (2 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":"core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b0856c733b293c91fb77abee5527d8edb708b9a0c83515500afa630d6e66e0"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.dispatchNode (cognitive 33): DocxSemanticBackend.dispatchNode has cognitive complexity 33 (threshold 15). Drivers by points: if/else 21 (24 pts), boolean chains 7, ternaries 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":5549}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ecab36689aae06e328c070fe1f258b2dd303bfe514a7d37add306e44024014"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.moveTheRowsText (cognitive 33): DocxSemanticBackend.moveTheRowsText has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 5 (9 pts), ternaries 3 (8 pts), boolean chains 6 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":20162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f68fd697b8250ef321171877cd134df8e7593339909321ab156df4bd44432b"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.takeFromTheLineAbove (cognitive 32): DocxSemanticBackend.takeFromTheLineAbove has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 12, ternaries 7 (10 pts), if/else 7 (8 pts), loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":11805}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f27a2d885f8cb01963dd02121a83b9a3abee6a478fbe1756004ad60d4c7ff80"}},{"ruleId":"D2","level":"warning","message":{"text":"SplittableLeafCompiler.compile (cognitive 31): SplittableLeafCompiler.compile has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 2, 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":"core/src/main/java/com/demcha/compose/document/layout/SplittableLeafCompiler.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b895b015027bf1ceb7d13857bfb4f5a019c466a83f405697ae157ebaef7e1c9"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxGrownLines.reachOf (cognitive 31): DocxGrownLines.reachOf has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 9, loops 2 (3 pts), ternaries 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxGrownLines.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"614511a4bd80eec0e0ae2eae7fc24df8aea9ccd4608ff63f29ca86ada3c59f1e"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxLinePair.of (cognitive 31): DocxLinePair.of has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 7, ternaries 2 (6 pts), boolean chains 3 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLinePair.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d095363a82e40a0e447b8d5e9e3a24d03d9f7f98d328d84406f123ade35d8a1"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.reportTheLayersOfItsPanel (cognitive 31): DocxSemanticBackend.reportTheLayersOfItsPanel has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 5 (14 pts), if/else 7 (12 pts), boolean chains 4, loops 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":10620}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3a3f1e5e728415fad1eea701147ce81060acad714176bcdee9f50dc02a47ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Template.addReferences (cognitive 31): Template.addReferences has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 9 (26 pts), loops 2 (3 pts), boolean chains 1, if/else 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf5cfc9c47119c3f03f9abfdb2865081bc49e28ad87ba49abaa4857b412c87f"}},{"ruleId":"D2","level":"warning","message":{"text":"PieChartLayout.resolve (cognitive 30): PieChartLayout.resolve has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 7 (9 pts), loops 4 (5 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":"core/src/main/java/com/demcha/compose/document/chart/PieChartLayout.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f76fb68860286950a27f2e5290c35f7bb24600541196cec0d4a589dda82fcd2"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutCompiler.compileNodeInFixedSlot (cognitive 30): LayoutCompiler.compileNodeInFixedSlot has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (6 pts), ternaries 1 (2 pts), 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":"core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7c301dc24d1bebe5800a1499a1dca50c5fff2b081056f07479ed57ea92e15d"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarPortrait.languageItems (cognitive 30): SidebarPortrait.languageItems has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (11 pts), boolean chains 3 (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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbddfdcd708b4654915a60e16d2a34368b57785bac1322496aa4522fc251e7a"}},{"ruleId":"D2","level":"warning","message":{"text":"TableGrid.resolve (cognitive 29): TableGrid.resolve has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 4 (10 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":"core/src/main/java/com/demcha/compose/document/layout/TableGrid.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06741dc44ff2d18141e04b8245182f2ecc01a2f251c064029d51c0e3a509813"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxNativeCharts.scaleOf (cognitive 29): DocxNativeCharts.scaleOf has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 4 (10 pts), boolean chains 4 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"091235d63169149a1cc269f0abbdd16c7a3465077c2ccd0cf2879bab922f63bb"}},{"ruleId":"D2","level":"warning","message":{"text":"Part.line (cognitive 29): Part.line has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 6 (13 pts), if/else 8 (12 pts), loops 2 (3 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f99e1366803f21ece6d0ac91cc2cbf4e05f8a1e4287ae89062750b991b48127"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.carriedWithout (cognitive 29): DocxSemanticBackend.carriedWithout has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 5, ternaries 2 (4 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":5729}}}],"partialFingerprints":{"codehealthFindingId/v1":"16be5bbe667cbe9ba9c53d00fe9d2d5eaac59a99d4615998f6b7514e4b91dcce"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.reportBandText (cognitive 29): DocxSemanticBackend.reportBandText has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 10 (20 pts), boolean chains 5, if/else 4 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":2941}}}],"partialFingerprints":{"codehealthFindingId/v1":"9468edf568b6f6c22810da04c4cfd9e7493e5d8e0ef0daaf26f95ffb1dd2987b"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeLinePair (cognitive 29): DocxSemanticBackend.writeLinePair has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 6 (8 pts), loops 5 (6 pts), boolean chains 5 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":12913}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b6626bb188fff6b218278c5e7571b6932a86ccc392b4e90682a8daca7320ca"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.zoneStops (cognitive 29): DocxSemanticBackend.zoneStops has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 5 (10 pts), boolean chains 5, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":3693}}}],"partialFingerprints":{"codehealthFindingId/v1":"e127304ac2ae9447c19df6397ae282b1d8b3e2365e9bb63b4b876ac47812455b"}},{"ruleId":"D2","level":"warning","message":{"text":"render (cognitive 29): render has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11, loops 5 (10 pts), ternaries 3 (6 pts), boolean chains 1, other 1 (nesting depth added 8). Of this number, 25 points are the body\u0027s own statements and 4 belong to 2 function items 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"7302e6343c04955f2e34b554fe4c7fda96591be08379fc03ad95d5b412e779c7"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxDrawingAnchors.endSection (cognitive 28): DocxDrawingAnchors.endSection has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (18 pts), ternaries 2 (5 pts), loops 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"2166496a3b9fab478828bdaba9b384584a0167118fbe9c339d4454e7c826acfd"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxLineStartHyphens.hold (cognitive 28): DocxLineStartHyphens.hold has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 5 (7 pts), boolean chains 5, ternaries 2 (4 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLineStartHyphens.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6892572e5e45b8c8d113f322507d5de76b8ab7a75d55203aa3fb0b624d02ed2c"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.carryTheRowsRounding (cognitive 28): DocxSemanticBackend.carryTheRowsRounding has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), boolean chains 5, ternaries 2 (5 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":18853}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f69530e214ab68d173e17d248cd20a57ccb8bdb8299aacba9f7ef51de2924ee"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.dropTheSpaceBelow (cognitive 28): DocxSemanticBackend.dropTheSpaceBelow has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 6, loops 2 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":11644}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dfd8941774305fd01ed393cda4af95033c1aee441ed0d593406d55d17f3034"}},{"ruleId":"D2","level":"warning","message":{"text":"SvgIconReader.emitLayer (cognitive 27): SvgIconReader.emitLayer has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 6, ternaries 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/src/main/java/com/demcha/compose/document/svg/SvgIconReader.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab5ccb1b89ece4d66fdd46931d25635e802da0f4ce6bcc93eb5a7382f0fcdde"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxLayoutMetrics.solidFillAt (cognitive 27): DocxLayoutMetrics.solidFillAt has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 6 (8 pts), boolean chains 5, loops 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8df7ef47648d3c048024e00501c9ca89e00f86d4f933058245c272a33173469"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.twentiethsToThePage (cognitive 27): DocxSemanticBackend.twentiethsToThePage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 6, loops 3 (4 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":12592}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ed44c8a12fb9e927b4604cd28fdb6e57aeac16e9968959ed8ca50e89a21edd"}},{"ruleId":"D2","level":"warning","message":{"text":"javap.parseMember (cognitive 27): javap.parseMember has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, ternaries 4 (5 pts), loops 3 (4 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":"knowledge/tools/api-surface/lib/javap.mjs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f5341e05667a7e62f5995477bc4d0efbbb26709dd0fd0cdd9993cecff1a197"}},{"ruleId":"D2","level":"warning","message":{"text":"originatingBetas (cognitive 27): originatingBetas has cognitive complexity 27 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 4 (10 pts), other 3, boolean chains 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":"knowledge/tools/api-surface/lib/stability-doc.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fed012b111a4488919e112efb56e7bc9d6c0ffdb93c33035746729016c0feb"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxClosingSpaces.fillTheClosingSpaces (cognitive 26): DocxClosingSpaces.fillTheClosingSpaces has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (7 pts), loops 3 (5 pts), boolean chains 3 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxClosingSpaces.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff179998b11aa1f1d4a0b9981d11c39362d1c39e5f0640b8c901e9c6a0667453"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.fittedSize (cognitive 26): DocxSemanticBackend.fittedSize has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (5 pts), ternaries 3 (5 pts), boolean chains 3 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":14379}}}],"partialFingerprints":{"codehealthFindingId/v1":"0960d8e676161eb0f68880bc763e9f17162b15a4c6049c289e8a76de368472c4"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.raiseRows (cognitive 26): DocxSemanticBackend.raiseRows has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (5 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":11976}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1264781f23b054fdd134ac596272fa5a31849e1a3cd1bec69dd555b938a2ae"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeZoneLine (cognitive 26): DocxSemanticBackend.writeZoneLine has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 4 (6 pts), boolean chains 3, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":3357}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3ddf8766398a9260ac4aa8e244630ceb73c44da757c50fcd6d8b8b06830746"}},{"ruleId":"D2","level":"warning","message":{"text":"TableLayoutSupport.resolveNaturalColumnWidths (cognitive 25): TableLayoutSupport.resolveNaturalColumnWidths has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 5 (7 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":"core/src/main/java/com/demcha/compose/document/layout/TableLayoutSupport.java"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"0128e91114d390290f3186d18804be0d16eae343880500a86f3cd8a8871187be"}},{"ruleId":"D2","level":"warning","message":{"text":"SvgIconReader.clipShapeData (cognitive 25): SvgIconReader.clipShapeData has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (18 pts), ternaries 1 (4 pts), boolean chains 2, loops 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":"core/src/main/java/com/demcha/compose/document/svg/SvgIconReader.java"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"920ff8d034976a4791e7eac39f2ddf613341c6e6252dbf70259df9daedd0ed63"}},{"ruleId":"D2","level":"warning","message":{"text":"SvgPathParser.number (cognitive 25): SvgPathParser.number has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (9 pts), loops 3 (5 pts) (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/src/main/java/com/demcha/compose/document/svg/SvgPathParser.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a107eb78a10347ac202648b5fb4c3c4287c6375f9f38c4bf5e2b42bda13d50f"}},{"ruleId":"D2","level":"warning","message":{"text":"ArabicShaper.shape (cognitive 25): ArabicShaper.shape has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (6 pts), boolean chains 5, 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":"core/src/main/java/com/demcha/compose/engine/text/bidi/ArabicShaper.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60b0125dd8b0535d07b736d29e3aeab844d2298d1830d3811dc26731aafff24"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxLayoutMetrics.matchComposedText (cognitive 25): DocxLayoutMetrics.matchComposedText has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (5 pts), ternaries 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd9ccdc53b6ac69745d551737e56c663d75308b6850d04b538e18ea15b557bb"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.composedRowStarts (cognitive 25): DocxSemanticBackend.composedRowStarts has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (5 pts), boolean chains 4, ternaries 2 (4 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":22058}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17757f52cdb8a618b10a0cf00c8b38ef6b9697d72729f441705f72b2ebc4ad1"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.keepOnOnePage (cognitive 25): DocxSemanticBackend.keepOnOnePage has cognitive complexity 25 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 4 (9 pts), ternaries 1 (3 pts), boolean chains 2 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":4697}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd53508a8a1f226042d43aefb27c80685e89276d65b3ebb1983ff5db78cf518"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.resolveRowSlots (cognitive 25): DocxSemanticBackend.resolveRowSlots has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 5 (9 pts), match/switch 1 (3 pts), ternaries 1 (2 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":22692}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c8634de09574b70d52fa7e3f9062eed46a55b4d63cf9e035a1c11caa3841f3"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.weighTextStyles (cognitive 25): DocxSemanticBackend.weighTextStyles has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 3 (6 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":11033}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d099ec85c5996787265763ffa1d8a559f9f5d0e819c53bec11a4b891ed73290"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.withRowEditorSlack (cognitive 25): DocxSemanticBackend.withRowEditorSlack has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 3 (7 pts), boolean chains 6, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":22377}}}],"partialFingerprints":{"codehealthFindingId/v1":"5010e704e9df524eda43ed4df8772201885d2d670c0585da03b063b47e30d843"}},{"ruleId":"D2","level":"warning","message":{"text":"ChartLayoutSupport.domain (cognitive 24): ChartLayoutSupport.domain has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (10 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/chart/ChartLayoutSupport.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"77164fc5009e5d42978865140a2e99a7cfb866264bee669abe0179203bfe7b37"}},{"ruleId":"D2","level":"warning","message":{"text":"Seat.paragraphTop (cognitive 24): Seat.paragraphTop has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 5 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4090de4172ca27649a04cdaf04ddfc2dedf5a4114b4aa1a1c4e077a63dd789"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxLayoutMetrics.entriesOf (cognitive 24): DocxLayoutMetrics.entriesOf has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (5 pts), boolean chains 3, ternaries 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":2182}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c86395cba11c3288a7968cd48c98a914ad5614d4f99720910601f29ee60c3d"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxLineStartHyphens.lettersOf (cognitive 24): DocxLineStartHyphens.lettersOf has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (7 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLineStartHyphens.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb5b65f06eb5f7b20625d0bcb45dfb65b08a658013f2ce64126f57afdba6a71"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxMarkdown.laidOutAt (cognitive 24): DocxMarkdown.laidOutAt has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 5 (6 pts), ternaries 3 (5 pts), boolean chains 4 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxMarkdown.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"972283675b7d7ceed5347f60bb67617bf64c5c174f516023b680c36f6c8238e9"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.laidOverAPaintedNeighbour (cognitive 24): DocxSemanticBackend.laidOverAPaintedNeighbour has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (6 pts), boolean chains 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":5104}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd401a8ab6ead6037c1f1afb7070e3d43032cc0d1cb9a2eb34bf404afb022175"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writtenContent (cognitive 24): DocxSemanticBackend.writtenContent has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 4 (8 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":18907}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d592a64e46fe54407187211fb5e908d4b812a385ccd03e990b9697bcf9ba80"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeDefinitionSupport.measureRow (cognitive 23): NodeDefinitionSupport.measureRow has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (10 pts), loops 4 (7 pts), if/else 5 (6 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":"core/src/main/java/com/demcha/compose/document/layout/NodeDefinitionSupport.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a014f1314ba201129966ceaf3763d48f09cfef70e0c7f7c1b9fd5c7ae01d3d"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxLayerColumns.columnsOf (cognitive 23): DocxLayerColumns.columnsOf has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, loops 3 (4 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b5fa5d7aab904e47dcd7ab0f4e803560b77fe9e3870f34c7acdcba1da3f602"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.placeZone (cognitive 23): DocxSemanticBackend.placeZone has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 11 (15 pts), if/else 5, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":3265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4f8eed094da1c55bd547056bef2c89ae2c060fbde1f965933764d975e8af66"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.textBadgeParagraph (cognitive 23): DocxSemanticBackend.textBadgeParagraph has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 15, if/else 6, ternaries 2. 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":17418}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dacd4c95c912ca3998c849680161e95d684ec06e6d2001814ce4aba4b11b1e3"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.valueGridOf (cognitive 23): DocxSemanticBackend.valueGridOf has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (12 pts), if/else 5 (8 pts), loops 2, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":8345}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3e35d29f9139710258e58d152527fbd22b852090fb830eb8ddacbfc4999289"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxTimelineRails.gapsBetween (cognitive 23): DocxTimelineRails.gapsBetween has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, loops 2 (3 pts), ternaries 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed43cf269b87018d73897ea52dad336189b4c801082b3e3feb60dbe3d3ee912"}},{"ruleId":"D2","level":"warning","message":{"text":"check-claims.loadProofTargets (cognitive 23): check-claims.loadProofTargets has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (4 pts), boolean chains 2, error handling 1 (nesting depth added 10). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to one function item inside it that branches (walkTests). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/claims/check-claims.mjs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3d38a4ab91b0c38bbcc2488f296f94ab111ec9ab17c79f2af308ac5d180e6e"}},{"ruleId":"D2","level":"warning","message":{"text":"createViewer.render (cognitive 23): createViewer.render has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 10 (12 pts), boolean chains 7, if/else 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":"web/gallery-viewer.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"8691c5ab35c70e8e04fb9c0c175c2e3ba48b0220e7c3dee52cb24cb75aa53e3d"}},{"ruleId":"D2","level":"warning","message":{"text":"TableLayoutSupport.resolveTableLayout (cognitive 22): TableLayoutSupport.resolveTableLayout has cognitive complexity 22 (threshold 15). Drivers by points: loops 7 (12 pts), if/else 4 (10 pts) (nesting depth added 11). 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/src/main/java/com/demcha/compose/document/layout/TableLayoutSupport.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d97f8a32c047c6f315b03fbfce99206e50fd7cbfb4f4bfcc13b4522fe5c46da"}},{"ruleId":"D2","level":"warning","message":{"text":"Part.legend (cognitive 22): Part.legend has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, loops 2 (4 pts), ternaries 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f7a5ddc712f449bd45d100823e55ceb31cd34b828fc37966177cf47a78e8aa"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writePanel (cognitive 22): DocxSemanticBackend.writePanel has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 3 (6 pts), boolean chains 4, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":8643}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c216f16f6c9b0de2676efa40f485b9718ef58757b4a7039e6c48f5d637d8d6"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeShapeContainer (cognitive 22): DocxSemanticBackend.writeShapeContainer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, ternaries 2 (4 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":13117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4312c47d454eefc1f8a0830df1bc254ee4505d68f1ae4135bae0cd81289872"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxTimelineRails.cutAt (cognitive 22): DocxTimelineRails.cutAt has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 5 (6 pts), ternaries 4 (6 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2651727b8129006dcd6d08cf948595c3b6c3b889e90a2e247ab25217210006"}},{"ruleId":"D2","level":"warning","message":{"text":"BarcodeRuns.of (cognitive 22): BarcodeRuns.of has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (6 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/BarcodeRuns.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a675d09fdd664cfb695e92252a164b0b8596b2254f847904802585fd018f44"}},{"ruleId":"D2","level":"warning","message":{"text":"javap.findJavap (cognitive 22): javap.findJavap has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (6 pts), ternaries 2, 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":"knowledge/tools/api-surface/lib/javap.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e768f11542f391cc48f7123d6179adad83826c9da32dab3afcd7b0d179c26e82"}},{"ruleId":"D2","level":"warning","message":{"text":"source-names.indexParameterNames (cognitive 22): source-names.indexParameterNames has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/api-surface/lib/source-names.mjs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b1f737154ca00e640e2259865e71bc6831ef3158c2cbe3bb78adf832e34603"}},{"ruleId":"D2","level":"warning","message":{"text":"ResolvedLayoutPasses.apply (cognitive 21): ResolvedLayoutPasses.apply has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (4 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":"core/src/main/java/com/demcha/compose/document/api/ResolvedLayoutPasses.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bbbe3f77844cadee7ff2fe7afc9cddd0b5053b3643951710e7e4462b9466de"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.fitBlankLinesToTheRow (cognitive 21): DocxSemanticBackend.fitBlankLinesToTheRow has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3 (6 pts), boolean chains 5, loops 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":19034}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd2d3e29ba7db9a156b20f67d309a0e19ae449285355b8976e6b9d53b291400"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.keepTheLastBookmarkOfEachAnchor (cognitive 21): DocxSemanticBackend.keepTheLastBookmarkOfEachAnchor has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 7 (9 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":13649}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79e6f861ed8b9338fea4a40a6b5c15db9da4bbbfdd8117a09f49a64bb3fa268"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.paragraphLost (cognitive 21): DocxSemanticBackend.paragraphLost has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 2, ternaries 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":13874}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05496492d266c56abccb7fa6f5a8e32582a44c67746a2130d092c502f2c5450"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.picturesLost (cognitive 21): DocxSemanticBackend.picturesLost has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (5 pts), ternaries 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":13933}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5e951845914e89d14148d65684c3c76f4955967ef846b7a679444262531f00"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.seatByTheLines (cognitive 21): DocxSemanticBackend.seatByTheLines has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 4, if/else 2 (3 pts), 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":20233}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d8062a0b4a689dc17a39fa59430cc7b7f694eeebf06c8714f0e1086c6a8e8d"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.slackTheMarginsHold (cognitive 21): DocxSemanticBackend.slackTheMarginsHold has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 5 (10 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":22925}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ff475e50b25141154a0205151b610bd5ed87779af6572d40b134f59c4de490"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.takeFromTheFoot (cognitive 21): DocxSemanticBackend.takeFromTheFoot has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (5 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":12193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8717e5ea592663e2071235c6eb52c81304ad576233f64be655970e2d97e42c01"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeRow (cognitive 21): DocxSemanticBackend.writeRow has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 4 (7 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":20638}}}],"partialFingerprints":{"codehealthFindingId/v1":"5010212d1281496e94efbeeac07fd5309eaf95bf699c319df7d5ceda842c6816"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnPages.plan (cognitive 21): ColumnPages.plan has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 6 (8 pts), ternaries 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ColumnPages.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3584868da8a0187ff663ec90ca740f19c3072e0e93598f44262fc5b2d0da9a"}},{"ruleId":"D2","level":"warning","message":{"text":"api-query.renderTask (cognitive 21): api-query.renderTask has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 2 (4 pts), ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b072e6220cb3b3e23c5b579a9dfbe807643ee456cb7d85691f4ff91d3c41cff9"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.anchorComposedDrawing (cognitive 20): DocxSemanticBackend.anchorComposedDrawing has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, ternaries 4, loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":18550}}}],"partialFingerprints":{"codehealthFindingId/v1":"126da8e242767ec0d99aa372e19bee363dd2d17617161bac928021ee79e56285"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.drawnBesideItsText (cognitive 20): DocxSemanticBackend.drawnBesideItsText has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 9, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":21846}}}],"partialFingerprints":{"codehealthFindingId/v1":"1373760bfb11cac6660d63a488f4a788d9f85ce69767961310ee02977374f4f2"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.floatable (cognitive 20): DocxSemanticBackend.floatable has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 6, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":4939}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc3f0825beceba377b6ae1375a6ad01b727e8eb0e4b2ff0ee06855df8c3964c"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.measureAtWordsSize (cognitive 20): DocxSemanticBackend.measureAtWordsSize has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (11 pts), if/else 5, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":12486}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc8769a30738fb1921a806b9788ccfc0c134e1ebccab1248270938485cd34de"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.takeTheDrawingOf (cognitive 20): DocxSemanticBackend.takeTheDrawingOf has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, loops 2 (3 pts), ternaries 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":18643}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0b8b89cbc40cdf99aff180da5d10770aca19a8004041a3793ff2200b503c5b"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeContainerChildren (cognitive 20): DocxSemanticBackend.writeContainerChildren has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8, boolean chains 6, ternaries 4 (6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":8535}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f36823ce43eed3df5d7b309df96ef8811175af8ba208c9987242a3d84f655b0"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeList (cognitive 20): DocxSemanticBackend.writeList has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11 (12 pts), boolean chains 4, if/else 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":6942}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53e9284b75e76cc696d253f926fdde3fdd18635f8dc0f4c43cfbd853f9002ea"}},{"ruleId":"D2","level":"warning","message":{"text":"PdfShapeFragmentRenderHandler.render (cognitive 20): PdfShapeFragmentRenderHandler.render has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 5 (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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfShapeFragmentRenderHandler.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfe183f9d3a9a6c2ce8793fc6877d895c00e1e0e86ba7bc07673a011635beac"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownText.parse (cognitive 20): MarkdownText.parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 4, loops 1, ternaries 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":"templates/src/main/java/com/demcha/compose/document/templates/core/text/MarkdownText.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cba0ebb340e80282aaa542e0eb2f6449e01f8075dcfc6be3ac5164ad18c54e"}},{"ruleId":"D2","level":"warning","message":{"text":"TimelineBuilder.layout (cognitive 19): TimelineBuilder.layout has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (7 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":"core/src/main/java/com/demcha/compose/document/dsl/TimelineBuilder.java"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"addb98434ee8df5c75821072a21ab76015d59df58123a9ffd10540ea163a7f1f"}},{"ruleId":"D2","level":"warning","message":{"text":"SvgIconReader.stylize (cognitive 19): SvgIconReader.stylize has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, ternaries 3 (6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/svg/SvgIconReader.java"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fced2c6913a274be8cd78acf21df6ecbb4307133d187662a84c9eb43272421"}},{"ruleId":"D2","level":"warning","message":{"text":"Part.bar (cognitive 19): Part.bar has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 5, boolean chains 4, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"46102e0d7cea5e44b50948c91b8f685bd878af7c45d58e09ccc86182234db9ff"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.evenTheRowsMargins (cognitive 19): DocxSemanticBackend.evenTheRowsMargins has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, loops 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":19111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6ad6791cbd90bf6b1c6e69fed893a3b2791cc0899d169f73646bc9bfc0af22"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.holdIn (cognitive 19): DocxSemanticBackend.holdIn has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 6 (7 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":21487}}}],"partialFingerprints":{"codehealthFindingId/v1":"737edeaff820d49795ab7dfc85a4686f1dd64d10f5f64eeb138702215bfe080d"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.letTheOneRowTablesKeptWithTheNextBreak (cognitive 19): DocxSemanticBackend.letTheOneRowTablesKeptWithTheNextBreak has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 3 (7 pts), boolean chains 3 (nesting depth added 9). 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae6533c5fc55bd788014277c5ffecb927500c81431a4a0b4612e88044efa890"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.newBodyParagraph (cognitive 19): DocxSemanticBackend.newBodyParagraph has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, ternaries 3 (4 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":11291}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc212f8954f2a71060399d085dd2644316a51501810f483246a179682821efc4"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.piecesWordMaySplit (cognitive 19): DocxSemanticBackend.piecesWordMaySplit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (9 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":4490}}}],"partialFingerprints":{"codehealthFindingId/v1":"807a03f4db1997ac34a0489542cb1fc368b2d932f084ebd555f36838f45e40be"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.placeComposedAcross (cognitive 19): DocxSemanticBackend.placeComposedAcross has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 3, if/else 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":21376}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef638be68975f8e3926765126df1f3d3ab581f7fec86d1ba13aab63ec7e4d11"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.reportUnwrittenRowPaint (cognitive 19): DocxSemanticBackend.reportUnwrittenRowPaint has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, ternaries 5 (8 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":20447}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd97150030af274a3208778edbf14035c1e7add6405cd6e7afd78883614c86b4"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeCellContent (cognitive 19): DocxSemanticBackend.writeCellContent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 3 (5 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":19926}}}],"partialFingerprints":{"codehealthFindingId/v1":"a792cb3ed6f77ed8ef8b6da5196d85a07525ff7f3f790c28524edcda222446a0"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeInlinePicture (cognitive 19): DocxSemanticBackend.writeInlinePicture has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 4 (5 pts), boolean chains 2, error handling 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":16472}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dea3240017c801f73864f114b80bf365f7257b2258804f754a32d114244cb6"}},{"ruleId":"D2","level":"warning","message":{"text":"Found.look (cognitive 19): Found.look has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 7, loops 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxWithoutLayout.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0796cb1d80f252b3bbe98c90b394c6ac389cd9e28a47b6db9cf6a887506ed9"}},{"ruleId":"D2","level":"warning","message":{"text":"PptxParagraphFragmentRenderHandler.renderLine (cognitive 19): PptxParagraphFragmentRenderHandler.renderLine 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":"render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxParagraphFragmentRenderHandler.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"543b02bf1b790bc935e8a0252ba25577b338dc5a03b71509af257fd64a2ca776"}},{"ruleId":"D2","level":"warning","message":{"text":"build-emoji-set.main (cognitive 19): build-emoji-set.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 5 (6 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":"emoji/tools/build-emoji-set.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedabc295f0b30688db1cfe86337d4dc411d9eb154e5ad0ebaf7c4509921bd76"}},{"ruleId":"D2","level":"warning","message":{"text":"claims.readDeclaration (cognitive 19): claims.readDeclaration has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 1, 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":"knowledge/tools/claims/lib/claims.mjs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d9ed40a02437985f01ff07cbef6c0fb6d30063f24ec65009f5ab4d44c24451"}},{"ruleId":"D2","level":"warning","message":{"text":"gallery-viewer.createViewer.render (cognitive 19): gallery-viewer.createViewer.render has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 7, if/else 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":"web/gallery-viewer.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc347e1ee6dfe1956b03d84c2001c0f564e1e6623bdcf796da8bb6b733cbfbd1"}},{"ruleId":"D2","level":"warning","message":{"text":"ArabicShaper.toBaseLetters (cognitive 18): ArabicShaper.toBaseLetters has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (5 pts), boolean chains 3, 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":"core/src/main/java/com/demcha/compose/engine/text/bidi/ArabicShaper.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eabc5683f6bd6420bc99d94407040ddccd6fadf1005f1d9be41b585a0368c42"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxFontTable.collectFonts (cognitive 18): DocxFontTable.collectFonts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (4 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxFontTable.java"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"974f066fecda4b047043858e41664e0ba731790397674cca036ef018fd4e247c"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxLayerColumns.lowestEdge (cognitive 18): DocxLayerColumns.lowestEdge has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (6 pts), boolean chains 3, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"04540fcc55b5c49991b40fbee96035fd736344aa8d903ad16180d75ec60680a7"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.indentAsThePrefixDoes (cognitive 18): DocxSemanticBackend.indentAsThePrefixDoes has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 5, if/else 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":14575}}}],"partialFingerprints":{"codehealthFindingId/v1":"a451313a0c986cd482ef8bb7eb1548f223a711930d2864181f63c0afd0030b97"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.itemsMarkdownLost (cognitive 18): DocxSemanticBackend.itemsMarkdownLost has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 4 (6 pts), loops 2, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":7123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41a0c8ca0b77090dcea247b6764ef9b457db3a62e28d03c180c4f651e53021b"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeTableWithItsOwnSpacing (cognitive 18): DocxSemanticBackend.writeTableWithItsOwnSpacing has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":18083}}}],"partialFingerprints":{"codehealthFindingId/v1":"947f4f479985cffcb060d81aa065aca97da64c79833a55e677325d7d354ece00"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.zoneContentsIn (cognitive 18): DocxSemanticBackend.zoneContentsIn has cognitive complexity 18 (threshold 15). Drivers by points: if/else 2 (7 pts), loops 3 (6 pts), ternaries 2 (5 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"871d3335e864a235eef34833208a3f09ef564893b8462e984b5bcbc9b07fec4a"}},{"ruleId":"D2","level":"warning","message":{"text":"PptxShapeFragmentRenderHandler.render (cognitive 18): PptxShapeFragmentRenderHandler.render has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 1 (2 pts) (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":"render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxShapeFragmentRenderHandler.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4096f96312d2f37c3cb91fa90a611e022982550ddbe4ffc25ef3f09c60f36c1"}},{"ruleId":"D2","level":"warning","message":{"text":"claims.resolveSymbol (cognitive 18): claims.resolveSymbol has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (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":"knowledge/tools/claims/lib/claims.mjs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a5c80aaa102a39838ed70cf421bb8b9edb3bbe0cdf76af591b847467892636"}},{"ruleId":"D2","level":"warning","message":{"text":"examples.renderCard (cognitive 18): examples.renderCard has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, ternaries 6 (7 pts) (nesting depth added 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":"web/examples.js"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dbf525d2818080ac85cd34cca087f6f3c7044ed5bd1eca4e36f2beaf63ebf9"}},{"ruleId":"D2","level":"warning","message":{"text":"membersOf (cognitive 18): membersOf has cognitive complexity 18 (threshold 15). Drivers by points: other 7, loops 3 (6 pts), ternaries 1 (4 pts), if/else 1 (nesting depth added 6). 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":"knowledge/tools/changeset/changeset.mjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c808d99897361c90c6b0a1a7012e9a69dd43a96930515f3294188e2715d0a74"}},{"ruleId":"D2","level":"warning","message":{"text":"ChartStyle.\u003Cinit\u003E (cognitive 17): ChartStyle.\u003Cinit\u003E has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 5, ternaries 2. 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":"core/src/main/java/com/demcha/compose/document/chart/ChartStyle.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"169e21691fc4c541b898763000cf8e166dc43d2d66ee79b3fd5f89df399a8e33"}},{"ruleId":"D2","level":"warning","message":{"text":"ParagraphWrapping.directionOf (cognitive 17): ParagraphWrapping.directionOf has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 4, boolean chains 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f3402c813bdb9c8a91411c7a1e005a22e60d816e31f7f9a077185939aaeba1"}},{"ruleId":"D2","level":"warning","message":{"text":"Seat.inTheRow (cognitive 17): Seat.inTheRow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a187da7055386b101823cef5a78b83c84506253c34ddb0314a5b6bab9023b4f4"}},{"ruleId":"D2","level":"warning","message":{"text":"Run.of (cognitive 17): Run.of has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (6 pts), match/switch 1 (2 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxGrownLines.java"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c64ea823cad15b2e4490fadc7867a274d7189d356a2ed8fa8723c4a61dc45c0"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxMarkdown.split (cognitive 17): DocxMarkdown.split has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxMarkdown.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacafea0e87637a1c7a30e80165ebaf80b79ba4be75c62a63e36956efb09b387"}},{"ruleId":"D2","level":"warning","message":{"text":"Part.excelCode (cognitive 17): Part.excelCode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 3 (5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d4a8443dd9de88f057a3752779a306c4e926dcf2e0fe39e8090642fe777a57"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.numberingFor (cognitive 17): DocxSemanticBackend.numberingFor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 2 (4 pts), boolean chains 3, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":6732}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac390080634262e3c6e8db574283cac4c81457154f9f7e5131aea589aaa37c66"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.reportClipCut (cognitive 17): DocxSemanticBackend.reportClipCut has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":4804}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4763d21fbc5a1fcffa399dca05dc9dc599ec2af1adcf4081f9d1c25c19e119c"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeParagraph (cognitive 17): DocxSemanticBackend.writeParagraph has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, ternaries 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":13761}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf4241f457533d3b54174798390abe7e2efeadc4a5895902dae6c2bac7566ec"}},{"ruleId":"D2","level":"warning","message":{"text":"PptxClipSafety.requiredInset (cognitive 17): PptxClipSafety.requiredInset has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 3 (6 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":"render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/PptxClipSafety.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f528fd7e9a62677b6069fb99196ca8787d38c8e16b2ca241e56210302be75e2"}},{"ruleId":"D2","level":"warning","message":{"text":"ChartStyle.mergedUnder (cognitive 16): ChartStyle.mergedUnder has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 15, if/else 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/src/main/java/com/demcha/compose/document/chart/ChartStyle.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf16c158bb21e373fea3ff3953ebbddee9ed486e86bdfc6b59b9e73f9f6283ad"}},{"ruleId":"D2","level":"warning","message":{"text":"TimelineRailOwner.segments (cognitive 16): TimelineRailOwner.segments has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, if/else 3 (5 pts), ternaries 2 (4 pts), loops 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":"core/src/main/java/com/demcha/compose/document/dsl/TimelineRailOwner.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0035fecab0b1124c68809bd2d2cbe97a618c650971b0d3ab5b1b270f04f6811"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageNode.\u003Cinit\u003E (cognitive 16): ImageNode.\u003Cinit\u003E has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, ternaries 6, if/else 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/src/main/java/com/demcha/compose/document/node/ImageNode.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cf232146c1e907083015ca57e67ea9ded0cb3900eedb9e73f7509433b795eb"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxLayerColumns.edgeIn (cognitive 16): DocxLayerColumns.edgeIn has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 3 (5 pts), boolean chains 4, 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8fd0b56f18d3627cf417e0c99f3f93faaadf7fd0d206d5e972542232878e3d"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxPageMarginSections.apply (cognitive 16): DocxPageMarginSections.apply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 1 (3 pts), 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPageMarginSections.java"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1338d42a67ca6de8047abde992ceff2abf5953ca16fa5259356865bc79fb1b6"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.applyMetadata (cognitive 16): DocxSemanticBackend.applyMetadata has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0347a0b510934c7207e3f53fe2f6550b2089e9ae9b2d4d6c3fa790d446ca5f9"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.drawCellDrawing (cognitive 16): DocxSemanticBackend.drawCellDrawing has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, ternaries 1 (3 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":18297}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf282ef0f2f35745778b50a132160e18fcbd6a1f92c19182f92564f26b203b92"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.planTheRailsAlongTheirCells (cognitive 16): DocxSemanticBackend.planTheRailsAlongTheirCells has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 2 (5 pts), ternaries 1 (2 pts), boolean chains 1 (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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0a80262528545d44c709b56b3fa523699deb36c5006121fde0e7e2830f8688"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.sidesLost (cognitive 16): DocxSemanticBackend.sidesLost has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 4 (6 pts), if/else 2 (nesting depth added 2). 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":5854}}}],"partialFingerprints":{"codehealthFindingId/v1":"94976cfd914aa7787af06c0a21bb4233a620a7a2a1df3d4a8d394aef0e1535f8"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.spaceTheSlotAsThePage (cognitive 16): DocxSemanticBackend.spaceTheSlotAsThePage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 3, loops 3, error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":2821}}}],"partialFingerprints":{"codehealthFindingId/v1":"9649ac4e548169b9900212957efa970c5f0ca42f6f97cbfaeea2dedbf973ebfc"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeContainerBody (cognitive 16): DocxSemanticBackend.writeContainerBody has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, ternaries 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":10167}}}],"partialFingerprints":{"codehealthFindingId/v1":"54447eb2bef93fa842b12a314409fd3eb6707decb8afa2cc991b7e7e875bcfac"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxSemanticBackend.writeNodeContent (cognitive 16): DocxSemanticBackend.writeNodeContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, loops 1 (2 pts), ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":4728}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be06758e5c6636c2feb6e8118243bf765cbbf53e03e769ae4e7847002e71b4a"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxTimelineRails.empty (cognitive 16): DocxTimelineRails.empty has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 4 (7 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ace14ae211ea09c87070271c449c935f359899898d2cf412dde818a059999a"}},{"ruleId":"D2","level":"warning","message":{"text":"PptxClipSafety.clipCannotRemoveInk (cognitive 16): PptxClipSafety.clipCannotRemoveInk has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 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":"render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/PptxClipSafety.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bd7cbed3434c038aa3dc8651ccba067e5b60d3cb841a87c579113cc8644bfc"}},{"ruleId":"D2","level":"warning","message":{"text":"PptxClipSafety.segmentsInsideUnitBox (cognitive 16): PptxClipSafety.segmentsInsideUnitBox has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 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":"render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/PptxClipSafety.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b93b6ff7ec816ac057347e6cf13cae259132dafd13b4896503f71874d75752a"}},{"ruleId":"D2","level":"warning","message":{"text":"SectionDispatcher.renderBody (cognitive 16): SectionDispatcher.renderBody has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/components/SectionDispatcher.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc3cc371f1f293ad1c556632e860d306038251968e46d4d66686c3ba5cd7c73"}},{"ruleId":"D2","level":"warning","message":{"text":"api-query.parseArgs (cognitive 16): api-query.parseArgs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 1, loops 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f6e8fe3dc176cbeda3e3113c396de34daa1b1b19f5de4191fc08765a95b6cd"}},{"ruleId":"D2","level":"warning","message":{"text":"extract-api.parseArgs (cognitive 16): extract-api.parseArgs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, loops 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":"knowledge/tools/api-surface/extract-api.mjs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff23c2d38b439860f333d357334990df7670a0986d8888cca1646b9dc9b43821"}},{"ruleId":"D2","level":"warning","message":{"text":"createViewer.renderThumbnails (cognitive 16): createViewer.renderThumbnails has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (3 pts), ternaries 1 (2 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":"web/gallery-viewer.js"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6eb0d571f796ffb77bf0a1ceb5cf65bbd109f928674c7471ccfb2436829c587"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DocxSemanticBackend: TooManyMethods \u2014 782 methods. The bar is 30 methods; this is 752 over it, 26.07\u00D7 the bar. This type is on a published API surface \u2014 a japicmp binary-compatibility gate (render-docx/pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0ece21946c0f8a1c4a941d4323ac21298dc2accb77349dfea9dc7d05ab0e57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: docx/DocxSemanticBackend.java: FileTooLong \u2014 11252 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 10752 over it, 22.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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cb82f341336b74c9d2a6b2c1987600793263fc904dd9bbfebaa2c21e47e2ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: gallery-viewer.createViewer: FunctionTooLong \u2014 createViewer 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":"web/gallery-viewer.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1394bab53b36b5202605efe0a84cc7b8978b9b3885edc40d550678dc08d5fcc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DocxLayoutMetrics: TooManyMethods \u2014 110 methods. The bar is 30 methods; this is 80 over it, 3.67\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d24e2a38805fb8241b45f22d2b62b661ef5c63c393a8232add597546622b3b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractFlowBuilder: TooManyMethods \u2014 99 methods. The bar is 30 methods; this is 69 over it, 3.30\u00D7 the bar. This type is on a published API surface \u2014 a japicmp binary-compatibility gate (core/pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/dsl/AbstractFlowBuilder.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6f18f2aa0e38182b9e40429d706aaf78cff31e65068db2ed8cbe0ab431fd94"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DocumentSession: TooManyMethods \u2014 78 methods. The bar is 30 methods; this is 48 over it, 2.60\u00D7 the bar. This type is on a published API surface \u2014 a japicmp binary-compatibility gate (core/pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/api/DocumentSession.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e127fec27b448d5d6d36746a17a34f9193874c41cef5766475425ca090a283f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DocxLayoutMetrics: ClassTooLong \u2014 1008 significant lines (blank, comment-only and punctuation-only lines excluded), 110 methods. The bar is 400 significant lines; this is 608 over it, 2.52\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0d6976134c21a9843824194b11b131dc935cd825457ddac5ac0d1ec3b144a3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LayoutCompiler: ClassTooLong \u2014 924 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 524 over it, 2.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5a69ccc6e33e31312a3855139cfcaffe529836720364e62fc0d1bf297b9e9a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ParagraphBuilder: TooManyMethods \u2014 68 methods. The bar is 30 methods; this is 38 over it, 2.27\u00D7 the bar. This type is on a published API surface \u2014 a japicmp binary-compatibility gate (core/pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c89cc98b346c8deed69f551c8c513c53dc9c90abd9ae63b4b2cf4c5fdff74cb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LayoutCompiler.compileNodeInFixedSlot: MethodTooLong \u2014 compileNodeInFixedSlot 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":"core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82c27053ad5f11149ef6bfcc6f795729fa8e7238e74145a14abd927d9fb6af0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: docx/DocxLayoutMetrics.java: FileTooLong \u2014 1036 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: DocxLayoutMetrics (53-2399). The bar is 500 significant lines; this is 536 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ca38db1b0f26d2dc8877fbc0e0a30b7e2b200dff38e6b7316a40619f1d5b8a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RichText: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.07\u00D7 the bar. This type is on a published API surface \u2014 a japicmp binary-compatibility gate (core/pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/dsl/RichText.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45eacdc72c02c396449c9891f4e31eedafe90b0d0b5260b8bc8654f4988306c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ParagraphWrapping: ClassTooLong \u2014 788 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 388 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":"core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c149bbdb1ba06133a03dffb2ce03505ffe7226a0fa25a85b06f68a0ea5c6a6a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/LayoutCompiler.java: FileTooLong \u2014 943 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: LayoutCompiler (27-1476). The bar is 500 significant lines; this is 443 over it, 1.89\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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b26a04b106ab31718060078664b811ee0c813bea4c3b98444135454a2dfba86"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Template.compose: MethodTooLong \u2014 compose 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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e99e151ad0c5b4559b62c34b29a4cebb233237089d10d5bab5fb63239a7951b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: extract-api.buildSurface: FunctionTooLong \u2014 buildSurface 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":"knowledge/tools/api-surface/extract-api.mjs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff255c65ab0fed562a38c051dd2d5616e62c7034822161947c7d6c9fee73075"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TextFlowSupport: ClassTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 296 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":"core/src/main/java/com/demcha/compose/document/layout/TextFlowSupport.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53d34c64664e141b3ecf8bc272fc9a0a0bdfc7a12644a1d80e111fbe65205b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LayoutCompiler.compileHorizontalRow: MethodTooLong \u2014 compileHorizontalRow 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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"791b8e5a2cf363640f12b06f3512418e2bd0ba93e2e2026983f9d5d68f996d88"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DocxNativeCharts: ClassTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 263 over it, 1.66\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d66211b8c7b28b7dec0a79d7becd595f8278bceb00583dcd52822ed997a115"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/ParagraphWrapping.java: FileTooLong \u2014 804 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: ParagraphWrapping (30-1219). The bar is 500 significant lines; this is 304 over it, 1.61\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/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3f9b212e625f32fcb072acd974dd951d3134bd4e2c8fdba19466d48c165c15"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LayoutCompiler.compileComposite: MethodTooLong \u2014 compileComposite 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":"core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc3bb8c2a929d36891aa3c319b36e5ebab17b13d16d39b2ef26bb7536843f2a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MintEditorial: ClassTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 234 over it, 1.59\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"789a192560067472c6287334ea7e32ebf0766cc106a1e795a633aca2eaa70e3d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SidebarPortrait: ClassTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 209 over it, 1.52\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb1a735409ac24246bf40fb5ff92a2a614a1c9c5710b395d5cd1c7a9e8f1e79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BarChartLayout.resolveHorizontal: MethodTooLong \u2014 resolveHorizontal 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":"core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ca9e061534e64dc774e06c411a1c7ff76730becce3fe3f8beb43a5fb0ffdf1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Template.compose: MethodTooLong \u2014 compose 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"738e5e6feb4a8d54e6e92c7f0202e784b05fd60bb6cc78415f1b8cc6e60e1763"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/TextFlowSupport.java: FileTooLong \u2014 716 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: TextFlowSupport (35-1152). The bar is 500 significant lines; this is 216 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/src/main/java/com/demcha/compose/document/layout/TextFlowSupport.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0995f66b742ef1cdba6e4cd6e991ef6ee22820b97d82bd01b03103be513bf16c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: docx/DocxNativeCharts.java: FileTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: DocxNativeCharts (71-1068). The bar is 500 significant lines; this is 212 over it, 1.42\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87754b1aa1296a95ac7a495508cbe8c9f412f96c9884604caa20a8e81b79555"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShapeContainerBuilder: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. This type is on a published API surface \u2014 a japicmp binary-compatibility gate (core/pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/dsl/ShapeContainerBuilder.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8184d7f32956e0ab242ad8205d8ca71d4ae027c041af55419541ffacde4e1f5f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SplittableLeafCompiler.compile: MethodTooLong \u2014 compile 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":"core/src/main/java/com/demcha/compose/document/layout/SplittableLeafCompiler.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22145f128fae37e076b36030434b400d506ad1ab9be86eb59f8e61d9824060b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MonogramSidebar: ClassTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 155 over it, 1.39\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"877b69f597c090fb8a247378d8ced41f2bcf8abe8dd0d914cd9a042a8ae402b7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PdfFixedLayoutBackend: ClassTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 148 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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06bcc9f7b74208c38c9855877e7a6bfccb1c10f68fe6f5d8877a803d2e421d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presets/MintEditorial.java: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: MintEditorial (131-1365). The bar is 500 significant lines; this is 172 over it, 1.34\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8964934b053eb1500d2d003e62dc85df7bf5e94e4bfcdd5fdf97f04376dd1d6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParagraphWrapping.toInlineParagraphLine: MethodTooLong \u2014 toInlineParagraphLine 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":"core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99e3babc308a08ba5e2a4b3da71405b3727d6c7d05671788305d64c7e26b558"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RowBuilder: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. This type is on a published API surface \u2014 a japicmp binary-compatibility gate (core/pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/dsl/RowBuilder.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae160d4407a54c86334c39356d405e9046a139d06554a78c5042dc09bc027bc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TableLayoutSupport: ClassTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 113 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":"core/src/main/java/com/demcha/compose/document/layout/TableLayoutSupport.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb272c83e2c4b122c1947ef6ad9398dab07b4160aab683c23d13c24a75a78dfe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presets/SidebarPortrait.java: FileTooLong \u2014 640 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: SidebarPortrait (79-1149). The bar is 500 significant lines; this is 140 over it, 1.28\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98810f175786642a61692f7ab8ca6bc66b86eb53e1f44c922ddf36e58710e1da"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DocumentSession: ClassTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), 78 methods. The bar is 400 significant lines; this is 103 over it, 1.26\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/src/main/java/com/demcha/compose/document/api/DocumentSession.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"095b51c2d2280a6a0c8dcac5334f3e9ebd0b2fe0d805a4e4d917e00e79340a52"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextFlowSupport: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. This type is on a published API surface \u2014 a japicmp binary-compatibility gate (core/pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/layout/TextFlowSupport.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa4b3ce208b90f72b463b1917e62224fba8f623a3740ad736f0591ca1d64524"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PdfParagraphFragmentRenderHandler.renderLine: MethodTooLong \u2014 renderLine 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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ca0b8bc0056973420b85be35b161c95d37a3e738ccae45f911aee7640a5d69"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pdf/PdfFixedLayoutBackend.java: FileTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: PdfFixedLayoutBackend (55-1037). The bar is 500 significant lines; this is 84 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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f396d58e0587ffaceb7357fa8fe082934022700272728f54b4e627a3149cde10"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TableLayoutSupport: 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":"core/src/main/java/com/demcha/compose/document/layout/TableLayoutSupport.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d42e14760b9d75106422855b33f311827c6d00698b7a281a5fc85d840026252"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presets/MonogramSidebar.java: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: MonogramSidebar (71-963). The bar is 500 significant lines; this is 76 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5449ee93220c914d7a52b47d1d908fc0f586585edc57cc537fea53a70f4993e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StackedLayerCompiler.compile: MethodTooLong \u2014 compile 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":"core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"062432897da703ea8a3967b0aeade20a356edc42add2bc3093689dc69847a8ed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DocxDrawingAnchors: 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"414818ed30ad67a383e980adc4092adf230149bb55ee699db0d547c17c7a7338"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Template: 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ca962fa12c19b5cb1c301c55e8f71383bced0fb673587e3066a6ffdac420b0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EngineeringResume: ClassTooLong \u2014 450 significant lines (blank, comment-only and punctuation-only lines excluded), 5 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"256c587be402b97cfdba2cdd872a58e351e5543518c9d0e58d1a49c98e5a2a58"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DocxTimelineRails: ClassTooLong \u2014 445 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 45 over it, 1.11\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcaa943a2faf384deaa9beb885042111dd658890c7a53f1e03b69b5278e16807"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TableBuilder: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. This type is on a published API surface \u2014 a japicmp binary-compatibility gate (core/pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/dsl/TableBuilder.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83341f2ec0a0d15d5a84b1e5ae99f751f42beb696a267ffa72720c8dc2c8a47"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ParagraphWrapping: 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/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdd715a26ec1909b18452a2d2b7449447e68a4854d7eb40cf614e57cb6ed2e6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TimelineMinimal: ClassTooLong \u2014 440 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 40 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e07d8a27a87d6d1d6b0b954ce113af84036d02cee78351b154a660f17622b7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NodeDefinitionSupport: ClassTooLong \u2014 438 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 38 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/src/main/java/com/demcha/compose/document/layout/NodeDefinitionSupport.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0873b4e6a7f0868b512bb93706fdb3bb807968e76ab5ed615dbe03e0cb282e78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/DocumentSession.java: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: DocumentSession (70-1541). 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/src/main/java/com/demcha/compose/document/api/DocumentSession.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f41a23074ecd0f8ddae80bd1b97c9012e36adf30f440afa2f4eb888ed896e73"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/gallery-viewer.js: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 39 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":"web/gallery-viewer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3849806060dd5a3f46b0c9eb6f6bfe31b284eb0fe275e43f075cd01cd02d36"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LineBuilder: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. This type is on a published API surface \u2014 a japicmp binary-compatibility gate (core/pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/dsl/LineBuilder.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a913fd9145d19360d818461dc3e8b68f4f4128ccf26a37d0400c1c3affbe2a11"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DocxTimelineRails: 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"373b6cb86f0a77e63c7e4aaf9953c4e98700fc49ec7b77b54b7ddc3ad58f97d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/TableLayoutSupport.java: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: TableLayoutSupport (31-905). The bar is 500 significant lines; this is 31 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/src/main/java/com/demcha/compose/document/layout/TableLayoutSupport.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de9fe87de1fe072692215814a61cfcac36a962fd588368d0113a13c54c7bbd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: api-query.query: FunctionTooLong \u2014 query 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c339d0f6676f67032bb4fcfde437ce840e01db91ca262a14e65e62bc27e274"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ListBuilder: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. This type is on a published API surface \u2014 a japicmp binary-compatibility gate (core/pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/dsl/ListBuilder.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d8255e67dd4813fb747e1a2178ecd16fe487274ce9304fe9642c4a013b6f4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/examples.js: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 13 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":"web/examples.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b578bd3328c5e439dd3b1922a5d72557fb75b3595359fa111331eb0e76331504"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api-surface/extract-api.mjs: FileTooLong \u2014 508 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 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":"knowledge/tools/api-surface/extract-api.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67967422fed469656dc11647ed3662d195ae70e82011011b22293ca2bd3483f6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PptxFixedLayoutBackend: ClassTooLong \u2014 405 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/PptxFixedLayoutBackend.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4892e0ea082b6ef723280c026908c716656e824ba5cd5bf91c48cc17883e9413"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SvgIconReader: ClassTooLong \u2014 401 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 1 over it, 1.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":"core/src/main/java/com/demcha/compose/document/svg/SvgIconReader.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bee344992bdc2b6069682b71215eea9f85b8fcc12cc25e554deef97511ef35"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (48 shared lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java:121-292 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java:124-339 \u2014 These two members are variants of one another: 48 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9256607494b055942c4c7d2ab8b15501006815705acea4774c8cce01adfbe9cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (25 shared lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java:115-207 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformSettlement.java:103-189 \u2014 These two members are variants of one another: 25 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5c8317af32c5d70bd9fe5f05e2b6b666e828d8cfe310ea6dbcde8260f34154"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:959-1000 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1005-1067 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a0a04c1d636274d864fce0098f8bd6743e018f5bb7c05c053a9cbb2de9a422"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java:640-665 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/PptxFixedLayoutBackend.java:610-633 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fa7a3ad4cb6f8fa2599b900e23ad6e4becb07b5b7135c8fbbc30ec299f266f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceData.java:43-55 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalData.java:43-55 \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":"templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceData.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c238346e6e2f0e71b2d18d9464d1bf2efbbf61f574b278315c484442a9f1a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (18 members, 50\u002B identical tokens): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldIcons.java:76-88 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyIcons.java:87-98 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1351-1364 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:1073-1087 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeIcons.java:102-113 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseIcons.java:93-104 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailIcons.java:84-96 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridIcons.java:100-111 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/LumaStudioIcons.java:53-64 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantIcons.java:65-76 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredIcons.java:63-74 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianIcons.java:43-54 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsIcons.java:82-93 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformIcons.java:71-82 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionIcons.java:61-73 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceIcons.java:75-86 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoIcons.java:84-95 | templates/src/main/java/com/demcha/compose/document/templates/rota/presets/CobaltIcons.java:67-77 \u2014 These 18 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 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldIcons.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e824a5992265ac919a0cf179de6f65c50035ab5713cd8d65f8672078e1b812c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): core/src/main/java/com/demcha/compose/document/chart/ChartPrimitive.java:31-41 | core/src/main/java/com/demcha/compose/document/layout/SplitRequest.java:20-27 | core/src/main/java/com/demcha/compose/document/node/BarcodeNode.java:42-58 | core/src/main/java/com/demcha/compose/document/node/EllipseNode.java:42-54 | core/src/main/java/com/demcha/compose/document/node/InlineImageRun.java:38-50 | core/src/main/java/com/demcha/compose/document/node/InlineSvgRun.java:43-55 | core/src/main/java/com/demcha/compose/document/node/PathNode.java:73-101 | core/src/main/java/com/demcha/compose/document/node/PolygonNode.java:46-62 | core/src/main/java/com/demcha/compose/document/node/ShapeNode.java:170-183 | core/src/main/java/com/demcha/compose/document/style/DocumentTextAutoSize.java:24-37 \u2014 These 10 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 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":"core/src/main/java/com/demcha/compose/document/chart/ChartPrimitive.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ceaa8dd7eb7362e65b6a945dc65c0e1b95b81074d6e1114b49b95776a05c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyWidgets.java:47-55 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:244-252 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredWidgets.java:48-56 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianWidgets.java:42-50 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsWidgets.java:42-50 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformWidgets.java:50-58 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionWidgets.java:40-48 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceWidgets.java:48-56 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoFlow.java:107-115 \u2014 These 9 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 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyWidgets.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8568323d6a30eafd37a51461ed837cbd3f41ad6c1b0813ee5917242c4445a598"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): core/src/main/java/com/demcha/compose/document/layout/definitions/BarcodeDefinition.java:45-67 | core/src/main/java/com/demcha/compose/document/layout/definitions/EllipseDefinition.java:45-68 | core/src/main/java/com/demcha/compose/document/layout/definitions/ImageDefinition.java:47-70 | core/src/main/java/com/demcha/compose/document/layout/definitions/LineDefinition.java:59-90 | core/src/main/java/com/demcha/compose/document/layout/definitions/PathDefinition.java:51-96 | core/src/main/java/com/demcha/compose/document/layout/definitions/PolygonDefinition.java:47-67 | core/src/main/java/com/demcha/compose/document/layout/definitions/ShapeDefinition.java:46-86 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/layout/definitions/BarcodeDefinition.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e562444a03edd0003215a59289f0fe0c94547b13dbd96a5b81e757701e7f4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyWidgets.java:126-134 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsWidgets.java:187-195 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java:411-419 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseBody.java:224-232 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailAside.java:330-338 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailMain.java:421-429 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridWidgets.java:132-140 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyWidgets.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac9ee23050ac5c0e0d404a9f0bb9b0afc3fd93ed38fe3c52bce308be046489e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:248-477 | core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:497-691 | core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:746-784 | core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:946-1198 | core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java:61-183 \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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"5730d40526c9d8d1ebbad88f5f4de366c06a72bb7693d92df393e8a59806f1dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPageMarginSections.java:536-544 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:6544-6569 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:6605-6616 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:11591-11601 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:18550-18619 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPageMarginSections.java"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bb31e60bf50b64b3bbcbe83584491841ddc95ef644d7689398f5beb548389f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceContactBlock.java:47-58 | templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceParty.java:26-32 | templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoicePaymentBlock.java:44-52 | templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceRecipient.java:41-50 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalParty.java:26-32 \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":"templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceContactBlock.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b8035d641edb6244f7477532eb05c8ee5be4e26721bbf58fe72d2b48952a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/src/main/java/com/demcha/compose/document/layout/BoxConstraints.java:23-30 | core/src/main/java/com/demcha/compose/document/layout/MeasureResult.java:13-20 | core/src/main/java/com/demcha/compose/document/node/ListNode.java:83-105 | core/src/main/java/com/demcha/compose/document/node/SpacerNode.java:29-42 \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/src/main/java/com/demcha/compose/document/layout/BoxConstraints.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c558119c209eb00751eb32ed91f2b0701b01f0a8679ff50ca62e751b3f4d5bae"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java:160-196 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java:162-198 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Executive.java:186-222 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Panel.java:279-315 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3908b4dcf13f361a58fe83c8ed8314b78ab920f34078c41cf9dc14f447225c5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:246-261 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1298-1314 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1319-1335 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:728-743 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1599ab01bee72c172a8177896bee1d221dc77b41632cb9c850a3387fc18a0a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGold.java:248-260 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebar.java:226-238 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebar.java:255-267 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadline.java:248-260 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGold.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e00c12a45f409330ee3071bf06153fb9da14a61a1ed09a95a41dbf1a7d5349"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldText.java:26-35 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarMain.java:325-334 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarMain.java:318-327 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineText.java:25-34 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldText.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5714c00d9175b50308098e8076063c15218d0fe6a42c7aeed795e6a63fff5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrange.java:232-244 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulse.java:206-218 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRail.java:262-274 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGrid.java:215-227 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrange.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d749a7e2d5823263de673a7d7de988aa0b6aaed3dd436880ef9def82be65a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java:220-243 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredClosing.java:95-120 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java:159-185 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionClosing.java:267-289 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8863a4bcf9533c0e22beefe88a9a3be0e511bf35f1a50cad07299dce9879043a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java:246-254 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredClosing.java:123-131 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java:188-196 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionClosing.java:292-300 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbfefd5b8128818c7077e076593be0304fdbe964f087510068abe4a85639871"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:72-102 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java:62-89 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionMasthead.java:73-103 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceMasthead.java:103-132 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e22e4286ef252e2224f945c7d2aa23ef188ffb81485de607743f257d38e0f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (101 corresponding lines): core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:280-407 | core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:436-536 \u2014 These two members are one piece of code written twice and then edited apart: 101 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdabe405e1198103aba413ae8dcfe1b459f14ed990568219f85ebda988ddba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java:126-190 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java:117-182 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e25c01747e89a45742e1f1e5161d5c3cec9979a777d2e684ae3b00b0291eefb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java:302-361 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java:189-264 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f84203867712db4a8293b62f8cfe3900d130a81375d1daf1a4d2e8ce0da41de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebar.java:170-247 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRail.java:179-246 \u2014 These two members are one piece of code written twice and then edited apart: 68 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebar.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e518250603ad08d0983fcf025f80441c667edf1f32977da9a11a291e54e416"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantParties.java:85-141 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformParties.java:88-139 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantParties.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"25116be7ab7da134a8bc93c43f7d584d266ee6e4d1e8cc706adb6391c11d90cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): core/src/main/java/com/demcha/compose/document/chart/LineChartLayout.java:277-313 | core/src/main/java/com/demcha/compose/document/chart/LineChartLayout.java:322-365 \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/src/main/java/com/demcha/compose/document/chart/LineChartLayout.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"106e098c063b0d572bf06472d8b14b51cee24d63145af7248719165719936941"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java:217-270 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java:209-262 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"09582b76e3c3afdf6f87cad4bd8ae7f7099b4044a736b647df40cc587f940da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java:210-271 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformSettlement.java:199-247 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab6cf9e2a1c0f734a5216c62b1804ab6b995d894be4afe6037f7e454faf4af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:152-204 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java:133-175 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1422c05557f1a8ca09a9f1534877f2ac7f882eb8daf9773290d7a5a8a4f8dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java:178-225 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfShapeClipBeginRenderHandler.java:82-134 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9a0f2ec214f2cb321bc5bf72b40c5218d2cc4f61975238882858ef05b61258"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java:151-204 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceLines.java:128-173 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d11dcabe2083b5f116a421a3eb845337083d9a1d00d84ea8368f516b0b8a10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoBand.java:146-185 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoMasthead.java:305-345 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoBand.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d593d40cdd6071b6ebe81b57dc80bbc391c2c7cd251d9ee6d047ae7696b370"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:272-306 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java:305-338 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"503e90faafca8fd613220cdd685d5ea24abcad62d6755934160ebf5703195c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java:345-388 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:630-687 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5652b5d047becc9706922bda25650c01f815763824de81a920783f7b04169fc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java:188-224 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridClosing.java:371-407 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ad1db54c196a4c9aacdbba63aaad2b886fba1e02fe5810de284b5394fd29bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:519-553 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:730-778 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:568-601 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"875cd6ee71e296da32c16bd99ec266b5a2b8af874e6a59b347b121de890a3087"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java:89-123 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java:68-101 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4a45e90f1056c2f6449752f337f599a92fef53337256961e8af4bab4c7b9b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java:179-214 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:657-693 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d7689384b0cbd41f265abd18754a6c16997c66213f7d87d9890eb3818baea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/BoxedSections.java:99-135 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MinimalUnderlined.java:99-130 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/BoxedSections.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d5a49d7f0f05e8059ce24d7d09f5a364d84c7b921c036270c37bef762879c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java:273-312 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformSettlement.java:249-279 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a206b897b0172925a013065116f8b93b763339d99fa293b88c16a7c55c848e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMasthead.java:268-292 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridMasthead.java:120-150 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMasthead.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"040a19e3d6a773e0f48fa65076d4db9e61e15c3bd10adc59f260dbc3dd92b67d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): core/src/main/java/com/demcha/compose/document/chart/ChartLayoutSupport.java:139-173 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java:932-975 \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/src/main/java/com/demcha/compose/document/chart/ChartLayoutSupport.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b5384475b4787a363930760fa4f31d0ba9a5fa46badabe852ecb55becb350f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineClosing.java:114-146 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineMain.java:257-288 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineClosing.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"decabafe4df01f49bc9535e4694c371a7edc33488f4375ae775ebac637170010"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavy.java:156-192 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrange.java:174-216 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavy.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67435bd69095a5c74e2aec5cfae929dbae3e3484e34d8a29ce81827b32610f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/NordicCleanLetter.java:114-142 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:292-324 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/NordicCleanLetter.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"777ab206f76ba581acdf239199139783e5eb7999f8dc2bd8523775cb654f835d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineMain.java:107-149 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java:139-180 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineMain.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6af8fa6ee0c5e741af22b7900fa5a77b71a603b94a02015767aa28664c527c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:185-211 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java:222-247 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0893862f94e8726176b51a1ec6013ac1ea121f590ac29ee507dd2155ae135e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantLines.java:178-216 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformWidgets.java:86-114 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantLines.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc31b25b2768c8c60211143ec0ded27a9d25740ec769c7f6cc155a8c84b6b373"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:219-253 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java:255-288 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"128c3c1c0f37fe09314153b697d4fbeb3ddc37ed360cb433cfbc28923ee2a1b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldAside.java:224-261 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldAside.java:303-329 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldAside.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c128da3e3285965e21e215d6928400c692b7485c6d1350f22dfe5a39dacf73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/core/identity/ContactLine.java:275-300 | templates/src/main/java/com/demcha/compose/document/templates/core/identity/ContactLine.java:307-336 \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":"templates/src/main/java/com/demcha/compose/document/templates/core/identity/ContactLine.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"81677023c2d4a99f262e505c000996eb6a67196b28ecbff42c8802266ca90dc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:182-207 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:430-458 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"069518c05549f037a695dee84d0e892363bd003863f78aae0b198b2858af0091"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): core/src/main/java/com/demcha/compose/document/layout/CompositeDecoration.java:105-148 | core/src/main/java/com/demcha/compose/document/layout/CompositeDecoration.java:165-198 \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/src/main/java/com/demcha/compose/document/layout/CompositeDecoration.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fecfa016f2b4de093e7e62e5975586c128ba5f0a85ff43872d28ddf61e4089a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxInkOutline.java:141-159 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/InlineSvgRasters.java:100-117 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxInkOutline.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"829093eb45659872a56df6fa82ecd51cdbbfc8853834cf485a9f115430009995"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java:233-267 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java:281-319 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"211ea8efeeaf0d32ac3728feb94b8abb2640bc950b83033d6dd2b962f3e5c8bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:223-241 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java:201-221 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c9b93e2951d6f95884a7ef79f299e8662475834a603e7af4b71acb4f8fe867"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulse.java:162-190 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGrid.java:163-199 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulse.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f3a5faab85cc45bf841595187652eaacaaf4a537f0d0369fef26055612eba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java:209-236 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridBody.java:338-370 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f840da00633d5e093f9affe46987fb71bf0af857b8de2c614cfb384c0e2d82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:475-501 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:522-564 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb92dc438ac60ae38c5667ac4c4fab26ff18ea699a88364f07f8cbe8fee0486b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoBand.java:113-136 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoLower.java:136-160 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoBand.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1edb457c31fcf099540fb6d930d16c4b67afc69d6cfa34c0ee9990e0e985010"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarMain.java:264-286 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineMain.java:166-191 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarMain.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"2509ee29ce81ae14e66d65b710b91f21a4d6b37ae52b94b3f7d769d5c03e1dc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfGuideLinesRenderer.java:98-119 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfGuideLinesRenderer.java:123-144 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfGuideLinesRenderer.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"692442b2ba6099fe98fd1739bb2f5d2fff1167934adb30a12cd3cd5c0af7f03a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsAside.java:85-107 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsMain.java:93-113 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsAside.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e2d9fe0ce497aaa4fdc51ff088ff91625db7388cf189a06d3644e411ca22c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsParties.java:57-81 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceMasthead.java:207-233 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsParties.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f40d6163c960c1f29cc3c36b4dc2e4b2ee157d2b8506b71cbdb05446f22b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java:467-485 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java:511-528 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a39d82a310e3bc29599f956061c9542285a702a39d8529afabf814f36c3bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 22\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantInvoice.java:130-154 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsInvoice.java:124-145 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformInvoice.java:127-157 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionInvoice.java:130-156 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceInvoice.java:122-144 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantInvoice.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"748bd49e17a300cee97c7f995e957146d1aee1b2b6363dd14ec78ebb6d7baf6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxShapePictures.java:303-320 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfShapeGeometry.java:148-163 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxShapePictures.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c2f2d9acbfa7f55d64391c17fe5c34feccc0da849b4a1a076b0b3f5652456e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantLines.java:107-128 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformLines.java:126-147 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantLines.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f974e3821f43fa821cabb6f4452a1d1bdd26d06ac899ff75a6e71ff2d2041b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java:150-177 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:433-460 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d447ea7919709ba71b1e35ef44720092c51293359dcffd7c94745cc8332e553"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java:88-116 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java:87-108 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9812c163d0fb6c553b17e54652982484271c52d6bc383e0dbbe7ea956b2c90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:314-345 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:347-370 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53364918bfd9294525e397ae6d74c3d0f9143a4c91e319c1e2e9c59312fc7e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java:771-787 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java:797-817 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc87bb5a37ac6c3642ca45f1f59851a6daed38bc0f6a9bdc16de139aacd6f1ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:482-516 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:521-549 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"7327c0b7a2be6898e6cf9f23765b4647dec137ea2a25e108193a9a4a7e7928d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfShadingSupport.java:117-130 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfShadingSupport.java:133-150 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfShadingSupport.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"75739e9053ac8ceac91c02c5d5d776450c4beac601a4bbbd0230f397776d81d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java:130-150 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java:143-164 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe434643b7a5e7eb1a41fcc2a9c3828ef10dafdc16757884ff6b95e6bef93fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/receipt/widgets/PartyPair.java:95-118 | templates/src/main/java/com/demcha/compose/document/templates/receipt/widgets/ReceiptFooter.java:100-122 \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":"templates/src/main/java/com/demcha/compose/document/templates/receipt/widgets/PartyPair.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2abe11971f424f8dbc69adf3084a9ce1fe56576726568d62bc255823fe5507"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java:81-99 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceLines.java:72-90 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b91ff213fe639fe40c6a4abd1d68a38def5aacdda27ac2f456579e42a92011"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/src/main/java/com/demcha/compose/document/layout/definitions/CanvasLayerDefinition.java:50-76 | core/src/main/java/com/demcha/compose/document/layout/definitions/LayerStackDefinition.java:39-56 \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/src/main/java/com/demcha/compose/document/layout/definitions/CanvasLayerDefinition.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdecbafc6bc53b1db3dcddbe9d68b6444d11f9705046775f93cb612d968906e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/src/main/java/com/demcha/compose/document/node/ContainerNode.java:46-59 | core/src/main/java/com/demcha/compose/document/node/SectionNode.java:58-72 \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/src/main/java/com/demcha/compose/document/node/ContainerNode.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"945879461bbd50128a1b3327f83100394feeca219bcbf3ae37aefee8846504a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantLines.java:73-88 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformLines.java:73-94 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantLines.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"42daedc57c832414ff4a24943cfdbefc65822f6b78b64959e94c394b911640f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarMain.java:188-209 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseMasthead.java:148-170 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarMain.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0001abe95a631c07df2de653cf6c3f67eab6cf7145e34c7409b41fd8fd4cd9ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarAside.java:165-184 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarAside.java:240-259 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarAside.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecea2c15740377c86a0fa9b3a2950708ba31ad8d90b05eb1db9db9d268b62090"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyMain.java:127-157 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarMain.java:209-241 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyMain.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c972e15b6c9565f12a10c84f28315965b26a1496ff983c995ef5423dae12f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:118-139 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantParties.java:52-82 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java:99-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 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"edec1bbe4c821081858bc54947dcb81d5f5a5f90a1f146dea66af70a301d969f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarAside.java:296-314 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarAside.java:337-356 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarAside.java"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a9f02f61bde8b1392855a254fc1e468d119ec5070e8ba636e05bfff2f28d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/IconTextRow.java:80-103 | templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/IconTextRow.java:125-148 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/IconTextRow.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee7546a1facfd151a788513e12488b4636b4f88ede80f838fd95b33380aa4cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:572-592 | core/src/main/java/com/demcha/compose/engine/text/markdown/MarkDownParser.java:153-175 \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/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ba335e23ad3e6a8d66bb94c577a61bbe12bd14f5b4f136a597e9e215d36f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfDocumentPostProcessor.java:62-85 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfDocumentPostProcessor.java:111-128 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfDocumentPostProcessor.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef195f98e5c8813f1edee0b3e38d724d95d56bff71d21b09c277e954b8d7a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java:216-230 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:234-253 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"676908a871eee3b00706862366a367fdca7aba1647e709ddc03a6bc879427bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/src/main/java/com/demcha/compose/document/layout/definitions/PageFieldDefinition.java:51-60 | core/src/main/java/com/demcha/compose/document/layout/definitions/PageReferenceDefinition.java:39-50 \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/src/main/java/com/demcha/compose/document/layout/definitions/PageFieldDefinition.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c940db19c726b4fe598ebd33c2509b7d338c76e06d8fae98e7bbf49242def8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldAside.java:187-199 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarAside.java:186-198 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarAside.java:261-273 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineMasthead.java:177-189 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldAside.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed5ce5cfccc54192eb75e341da8fa1912162f31297ac681f04789082cf789e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:9729-9744 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:10477-10493 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":9729}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8b78941676ea745d62bee6f77ad8ed18b8b116f9e78c5f9ae60fea22cedf7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java:76-100 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOutputOptionsTranslator.java:115-133 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxChromeRenderer.java:449-472 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"857607e0bfb19e5b5352905d955938080fc7bf9883cc32d8299eafe8248b2701"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): render-pdf/src/main/java/com/demcha/compose/engine/render/pdf/helpers/PdfWatermarkRenderer.java:186-198 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxChromeRenderer.java:297-308 \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":"render-pdf/src/main/java/com/demcha/compose/engine/render/pdf/helpers/PdfWatermarkRenderer.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f46b5b037f0a15be04ae9e4f719c031cea8fcae97cf869fac324f45e887193"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:12374-12387 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:19236-19246 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":12374}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e4ddc7ea10b65f9b5a5a4b72e24ec043235ef5f6f67c8b5ee397f7efc2d279"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java:98-113 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformSettlement.java:84-101 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2cc56c9e9e19113e69b7324b4f730f9d39bf78f0981f6b0a67a60730e9e002"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java:235-255 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridClosing.java:410-427 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e521998809fc305ca8ec4684a055eccc18ad62295418d76b9d1fa96b9d960fb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:161-178 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java:195-215 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a961ab5725e8bb8c541a8179641e12185c9bfe9a81ec21179a5a1aece16bf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfDocumentPostProcessor.java:223-243 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/PptxDeckAssembly.java:174-191 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfDocumentPostProcessor.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f516125e7e318abb829c8398ce7ac78c619f0d9a3fc6543188966a00ee36b07f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/rota/presets/CobaltHeader.java:104-120 | templates/src/main/java/com/demcha/compose/document/templates/rota/presets/CobaltHeader.java:177-193 \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":"templates/src/main/java/com/demcha/compose/document/templates/rota/presets/CobaltHeader.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"116b68b387b2607202bf59509dda64982310826545ff5048e4af32ab6974ee03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): core/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java:247-274 | core/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java:334-355 \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/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4c7e56ce861a498acba2aee35a576fd33ab9d840134b0d7921eb9651302e8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarAside.java:79-97 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarMain.java:81-97 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarAside.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"91576ffc70468944624bce0ac40ddc2d3642bed55b301f25234aab39f521062c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfEllipseFragmentRenderHandler.java:62-73 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfPolygonFragmentRenderHandler.java:34-45 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfEllipseFragmentRenderHandler.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad252f7d73ac0b2dba293f25bfc13a570a8868eebcd90772291c7795e8e3933"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java:114-128 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ClassicSerif.java:135-149 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7de031500b52da7f1b9f9c313c05b07c696cd798bd357b0720345b59263ed5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarMain.java:147-162 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarMain.java:164-179 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarMain.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bf3e05dc92e2b477bd7670f54e57bccba50f049b36e4a72a4ee27d8c92f580"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialProposal.java:113-135 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlineProposal.java:108-132 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialProposal.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb6115a32aa4b5a231bd99132e9d70aecf49cacfd1489bfbf16a2cfdb4a88f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 17\u002B corresponding lines): core/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java:57-91 | core/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java:183-201 | core/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java:217-233 | core/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java:276-305 | core/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java:307-332 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f0633dd3ea988b61cf2bf9cd1cb8eec03f46affaf785a5aac628dd6798ec5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/src/main/java/com/demcha/compose/document/node/LayerStackNode.java:47-60 | core/src/main/java/com/demcha/compose/document/node/ShapeContainerNode.java:89-112 \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/src/main/java/com/demcha/compose/document/node/LayerStackNode.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f461f3face1e62711c18d0a0e527e4cf0722296c6f5729be40d45c238a915ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/src/main/java/com/demcha/compose/document/backend/fixed/BackendProviders.java:107-124 | core/src/main/java/com/demcha/compose/document/backend/semantic/SemanticBackendProviders.java:79-96 \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/src/main/java/com/demcha/compose/document/backend/fixed/BackendProviders.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fb2369d5dad522bb29685c2fd52915eb846e3be5496d0b1c08a7c684fb7d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java:137-152 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:186-203 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee22b551bc7217b97692dceda7afa36d7d5ca6de2c3dd24a97d29cc3137f92f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/src/main/java/com/demcha/compose/document/api/DocumentSession.java:904-919 | core/src/main/java/com/demcha/compose/document/api/DocumentSession.java:935-949 \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/src/main/java/com/demcha/compose/document/api/DocumentSession.java"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edcff2cada72b66fd6529f8f7896a01a88de274cd29a4e056386b8ff34c20e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarMain.java:289-310 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarMain.java:256-275 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarMain.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66f4ea50c0d11b7c59c82ad14e3c00c98217da373ce7f8da5474a90c2126fcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsClosing.java:146-160 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsSettlement.java:81-98 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsClosing.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c84531751f04983c9c2ffdd82daba9681ce8b676d761529ddc64addfba0e24e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseMasthead.java:202-213 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridMasthead.java:153-165 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseMasthead.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0e74412ef9572dba05214dae123cc6d640876a691cc4f1672d84d9abb7bc80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/src/main/java/com/demcha/compose/document/layout/definitions/ContainerDefinition.java:52-65 | core/src/main/java/com/demcha/compose/document/layout/definitions/SectionDefinition.java:52-65 \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/src/main/java/com/demcha/compose/document/layout/definitions/ContainerDefinition.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ef2c48afb0b16f2697f5d288dd0b33ddc414eca8020107efe495244c53a907"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:403-430 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:463-492 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b254256719d49f4ee572a3d95118a8a5309f5be32bf786e37b3e49016a8cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java:58-74 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOutputOptionsTranslator.java:91-107 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"51def333944b148be1ebba1cd9420f16a2ad0266040bf7d854ec1fdd139e2882"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): examples/src/main/java/com/demcha/examples/support/ShowcaseSync.java:617-635 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java:1054-1067 \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":"examples/src/main/java/com/demcha/examples/support/ShowcaseSync.java"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c0db3a6f34de35d7a7c5b2fb9ccf4fdf8fa57215cd0840b8e9b9060ea7bbf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldMain.java:170-184 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailMain.java:260-275 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldMain.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e498002940a7a9957beea829fcebe6ea2ada443eda1492f71c570005666efd87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java:197-213 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:397-416 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"0309fbd0008201219fb3c3530627d8e10b897e0661a4b95818226566d421df7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:117-138 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java:154-169 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5705a17ccf53b582b732914460a5e39de8ee464902b9797e1da6cdbc7005e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:141-154 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java:173-188 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb1a0e3093a6e91277a17daf3f4e965a4dc4fc600c5dd5f40e53f8bf6eaa683"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:695-709 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:757-771 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c04a6510218b385d62f14bf7f115448c60e0ad03c9c0160876b83bfcd335349"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/components/ProjectRenderer.java:46-63 | templates/src/main/java/com/demcha/compose/document/templates/cv/components/ProjectRenderer.java:123-137 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/components/ProjectRenderer.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec137866b2c06b0473518535543be6ad3603d25c7e7104ee0fe43ae37a6e48d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java:41-56 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOutputOptionsTranslator.java:68-83 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a31b2885f45f70d23021b80a02df440e6578c53446147ddfe1d588b58504b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): core/src/main/java/com/demcha/compose/document/layout/definitions/AlignDefinition.java:37-53 | core/src/main/java/com/demcha/compose/document/layout/definitions/HorizontalBandContentDefinition.java:48-59 | core/src/main/java/com/demcha/compose/document/layout/definitions/HorizontalBandsDefinition.java:45-53 | core/src/main/java/com/demcha/compose/document/layout/definitions/LayoutAnchorDefinition.java:55-65 \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":"core/src/main/java/com/demcha/compose/document/layout/definitions/AlignDefinition.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"002a388377bc7a925e27045346f1bbb6763863de41d816b93d7e520c76fa6a82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 18\u002B corresponding lines): core/src/main/java/com/demcha/compose/engine/text/TextControlSanitizer.java:55-76 | core/src/main/java/com/demcha/compose/engine/text/TextControlSanitizer.java:89-108 | core/src/main/java/com/demcha/compose/engine/text/TextControlSanitizer.java:157-179 | core/src/main/java/com/demcha/compose/engine/text/bidi/ArabicShaper.java:242-265 | core/src/main/java/com/demcha/compose/engine/text/bidi/BidiMirroring.java:33-51 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTextControls.java:79-96 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/engine/text/TextControlSanitizer.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"229d7bcb38b55cdf66d5a5ac3779ead5432338091387cc89f91fe9bb33960a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java:427-442 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java:302-320 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java:361-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 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"4316e35f063bcb70ecbe700f2f7e06aff04bc80fe76ecc6046977a0c65163c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:207-221 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java:185-199 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4dd42f8daefef5f8e2d34aa95f3ebfe1b41688114160f5a8775370a15f7fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java:88-103 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java:110-123 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a277aaca703df131373abb320a6a18bf4a7781152a66f286d85d61a03a5e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/core/text/MarkdownInline.java:66-82 | templates/src/main/java/com/demcha/compose/document/templates/core/text/MarkdownInline.java:115-128 \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":"templates/src/main/java/com/demcha/compose/document/templates/core/text/MarkdownInline.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"086984e75c15da572424ec4969f276ff5ef4965878d3daedeac6096bfbc7ec36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java:95-111 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java:111-127 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java:116-132 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c364e7494da38f7d7552ea4680952aed207a60fa2bbcf398926f1a4a9b894583"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/SectionHeader.java:159-172 | templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/SectionHeader.java:198-213 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/SectionHeader.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"667883487f2e8a6951b494f88fedb8cb22ecbd004490a3f1e7d221bb68b5bddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:624-638 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:641-655 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"96024cd695be7932551f200a9f1899c4c2dc6c7e556f9b5ad1995ebe554be46a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ClassicSerif.java:277-289 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EditorialBlue.java:152-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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ClassicSerif.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e48d13385b1ea1ae54fe076483510a72bf2360329b63173193b1a2ccd3ebc93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:712-727 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:774-789 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"3231b90a8139f24a08d686056c6f81d25db86bbfbc3e075c5b899e17b85589fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:103-114 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java:140-151 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c50ab7b750a4cc1ff33cd02374f04159341ecb80f0e272184c586bf02beb50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailAside.java:213-226 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailWidgets.java:236-248 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailAside.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee586e5b3a0857e5a3ac36958d44be8b7b3fa18a8d25f433f0c40cd8cb7044b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/data/SkillGroup.java:34-48 | templates/src/main/java/com/demcha/compose/document/templates/cv/data/SkillsSection.java:27-40 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/data/SkillGroup.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"443ce5306788883fb37b168d25021a864d7a6ef632bd3e226614427e8087a1ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:555-569 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:604-618 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ed0817f8ec79022b74536771ee0aac7180c2561f3291a569fa4e4cde0cd9df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsMain.java:122-134 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java:109-120 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsMain.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c6a202ffed20aa882f5a626ebf4648c137d5619f2880fdf25f536f47258afd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:13997-14015 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxZoneParts.java:213-229 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":13997}}}],"partialFingerprints":{"codehealthFindingId/v1":"8062c172d133ae840bcb05a7c3f652d804e5b12ff6dc82981d5eaf619c143b34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:19866-19874 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:19877-19885 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":19866}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d430ed3031224cb3bd9621119403cf454d76b4f60c9c8968edaa7eadd42bf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxEllipseFragmentRenderHandler.java:35-47 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxPolygonFragmentRenderHandler.java:34-47 \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":"render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxEllipseFragmentRenderHandler.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c06c133c7378e17ae7d629fe6b686e9c1e1b64f93a8c8dff305255694c4988"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java:154-169 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:141-154 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:332-345 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"419e24fa0150100b931ceac5f6074bb78d9632e243d941434dbdc8cb2f8bada8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/SectionHeader.java:73-83 | templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/SectionHeader.java:112-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":"templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/SectionHeader.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb25fdaca6aef1f2a6bb7dfb4f7f905cdc2ad77c08fae301e6ef01eeed8239ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialProposal.java:144-160 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlineProposal.java:141-162 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialProposal.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7e87dde91745f487da333583233044c27d036c0954d5205ab33a0413dbd7e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:1076-1093 | core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:1145-1156 \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/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ffad0276e266fa134da8ae0a689d7a7e77ff180b86ab78f92d3c0d54650b47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineClosing.java:62-73 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineClosing.java:103-112 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineClosing.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cc33c8e64b4090b15cc0cab8c22c73bffd591c9af2a8f10b1f44afa90775a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/src/main/java/com/demcha/compose/engine/components/style/Margin.java:40-45 | core/src/main/java/com/demcha/compose/engine/components/style/Padding.java:26-31 \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/src/main/java/com/demcha/compose/engine/components/style/Margin.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"527552044678ae5fe01d15a59dae9600465b088b15c36e42d5710f3688142254"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxExportReport.java:185-197 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxExportReport.java:211-220 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxExportReport.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3add09fe52e51e610a6752038d71737f778e49879c13a2d7330b1475c557ba66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/BlueBannerLetter.java:84-101 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EditorialBlueLetter.java:93-110 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/SidebarPortraitLetter.java:88-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 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/BlueBannerLetter.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d335fcaffc534e60c11c568370103013476f553b5876561501c8073098a9339"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:18757-18769 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:22272-22284 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":18757}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e57ba84631c368f0c900f789d61a02fd33c9d25e517b4e52ba03cf84b7dcbd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxWithoutLayout.java:233-246 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxWrittenTree.java:33-46 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxWithoutLayout.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"110fb05f1003c1e5de3d6e59fed5d3614888015d0486b8d0104125672ebeacb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:168-182 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:276-290 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"840ce95715e61592bb883e62bae7c1f48c6524675d844747076a10ab9058517b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarMain.java:244-254 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarMain.java:279-289 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarMain.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a396ec88ba54a7b50a401630f53c2302f0c5d42b50702011292e27b287de0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailAside.java:273-284 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailProjects.java:47-59 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailAside.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d3b5d4fbec7d801b058b6f8bbeebb881ea16ccf57b10c66ee693fa9f01dad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionMasthead.java:107-116 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionSettlement.java:66-75 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionMasthead.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ba146fdfcb8c51f0213c5650c272421a6cbe345d34c3281978700723040af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ConsultingInvoice.java:158-173 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/LumaStudioInvoice.java:184-200 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ConsultingInvoice.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae284c513249a0ea6b70bfb641ddd1926375b3c98af7cbc135473389395cde67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/src/main/java/com/demcha/compose/document/svg/SvgGradients.java:273-283 | core/src/main/java/com/demcha/compose/document/svg/SvgGradients.java:286-298 \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/src/main/java/com/demcha/compose/document/svg/SvgGradients.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f2d275caa6eab46ea17819c75d152dfdc346a3bbbd82fd45cb34f3fcaf514c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java:2312-2326 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java:2357-2371 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":2312}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f30117d8f51b2866813bc069daa4bdec0ac46b5f263ec1742c808ae2c0ab01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/src/main/java/com/demcha/compose/document/node/PageFieldNode.java:46-55 | core/src/main/java/com/demcha/compose/document/node/PageReferenceNode.java:43-54 \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/src/main/java/com/demcha/compose/document/node/PageFieldNode.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"12713f3bd11a88c51ab2b7b21a836d4e380ae96bac64614a951b44a687ce9154"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:14653-14661 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:23782-23787 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":14653}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c85c3333f51bba8b7973fcc080480ad98e1ce7e1b0be86b5ca1a51900c391ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxShapeFragmentRenderHandler.java:119-132 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java:171-182 \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":"render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxShapeFragmentRenderHandler.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"25eca94638b34ad4f40f509dee348d71fd0006aaeaf902d9b7c5368d93d1d58f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/components/LabelValueRenderer.java:35-48 | templates/src/main/java/com/demcha/compose/document/templates/cv/components/ProjectRenderer.java:83-101 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/components/LabelValueRenderer.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6c71013e32efdea8726a46eca25d5d507ddd13f2966dca8db2f24ab23ebae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyWidgets.java:66-77 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyWidgets.java:88-99 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailWidgets.java:82-95 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyWidgets.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8ce6b0d2d5c460af6029836a98e65e8ea6d9f2957bd70d3e4e9ff2472079d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfRenderEnvironment.java:341-353 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/PptxRenderEnvironment.java:575-587 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfRenderEnvironment.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3700953cd9d0fa256f60465d11454357e86c6e7207b2d62de88db8dae72deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java:377-386 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseBody.java:212-221 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bdf8b398e0843b4841d7841d71af7610fe9ca752d15ee4fad95c707e150cce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java:166-174 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:364-373 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9c2912a0210f211f4d544f370d7d76507c349da5d8a82459209afaa0d57d07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:326-340 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:358-369 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f8ea9516b664c8a65ba96efa43571cdbaacea3892e7ddc628bf929275fac90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java:545-552 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java:1266-1273 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ef97a1fa89631580088752f349eb32d9b6475e57ebb1cc91f0967337ffeb62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java:27-39 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOutputOptionsTranslator.java:27-39 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dcc703e846f9f401cbedddb2d88a05296640d7807334171e9c1eeef8c69897"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldWidgets.java:43-52 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldWidgets.java:85-94 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldWidgets.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9ad14b183a6849bed031a79f18919ab9e3db630566eb6470758eb28309ca3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfHeaderFooterOptions.java:58-71 | core/src/main/java/com/demcha/compose/document/output/DocumentHeaderFooter.java:90-104 \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/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfHeaderFooterOptions.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ec005263d00ba8702d7307ce134375e68a0bfc2e0c1a9fddf5938b74eaa912"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): render-pdf/src/main/java/com/demcha/compose/engine/render/pdf/PdfFont.java:86-97 | render-pdf/src/main/java/com/demcha/compose/engine/render/pdf/PdfFont.java:288-299 \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":"render-pdf/src/main/java/com/demcha/compose/engine/render/pdf/PdfFont.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8002b1f16bacf97cf2264f5a498551d4c8fe1dd6c0b84e62c67d4aa3f28516"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:972-986 | core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:994-1008 \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/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32eb9d6ae08d06328395cc5f18a1252951f82bd180e43228c033b3116065b00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): examples/src/main/java/com/demcha/examples/features/text/LetterSpacingExample.java:100-111 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java:400-415 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java:353-359 \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":"examples/src/main/java/com/demcha/examples/features/text/LetterSpacingExample.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9f4fdcf3032e0cb025ea0b6c465cf4813789de26ab4181b3da9bd9e405545d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java:204-213 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Panel.java:455-465 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Panel.java:473-483 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc29f62d74a34afaf65aa47527ac207a29faf556d73174de1c64d16b9b8abb5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseClosing.java:138-151 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/LumaStudioWidgets.java:108-119 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseClosing.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bc137eddfbefa0c6d2b9b7a56d64a70443910e448ab1115383db9ad35f6ca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java:260-268 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:887-895 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"937a08d0b1ee0626f5e06306e8a31dd44dfdd6f938d7eddd93bec26df72ac7be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:502-513 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:515-526 | templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/SectionHeader.java:287-299 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3bb5ffc1bdc9a7b61952a49d4a1116a5733435b88ba735be0953d67cbc0e30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:381-395 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:418-431 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:433-446 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:448-461 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cf8dedcf0351b31e255d35df3551e3024294ed1dad2421ad2873bed9833367"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/components/SectionAllocation.java:72-89 | templates/src/main/java/com/demcha/compose/document/templates/cv/components/SectionLookup.java:23-40 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/components/SectionAllocation.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e361fac106836c78e9cd42afebc6503d4bd253a53546c78a8766d429ce7bdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ClassicSerif.java:190-201 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ClassicSerif.java:216-227 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ClassicSerif.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c2ee547019facc3b7f2e23ef96155ca9e00332e88b6ee66c8b7028b24b8bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java:290-297 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java:280-287 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6466aea9b8b6fe5265e10d4b8520f1a8bc3bc6bc9db0e1fe08db9f1cd7d0d41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/src/main/java/com/demcha/compose/document/layout/InlineLayoutToken.java:68-75 | core/src/main/java/com/demcha/compose/document/layout/InlineLayoutToken.java:84-90 \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/src/main/java/com/demcha/compose/document/layout/InlineLayoutToken.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3d38dd8329e0e8c696c4283cf1899693e12275565f7056ca242b9420fe7e10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxClipInk.java:245-252 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxClipInk.java:261-268 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxClipInk.java:270-277 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxClipInk.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"1945a20eddc578bb0742ae8c38f50a00c841060c918adbf839c32a356cadaabf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxFontMapping.java:58-71 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxFontMapping.java:80-93 \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":"render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxFontMapping.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1060a17c8eb4080ee0c0e7cc99ecf1d7238cac35a6cddc688dee543c527d300f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/core/identity/Masthead.java:121-133 | templates/src/main/java/com/demcha/compose/document/templates/core/text/TextOrnaments.java:127-139 \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":"templates/src/main/java/com/demcha/compose/document/templates/core/identity/Masthead.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cef1a8b19790976a2d198482e3181a1ef2b6a67f0b1672df1895f09840c468a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java:322-330 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:590-600 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2ec94fc90024adcfddca1e837215924a9a46d621ed6742b91a742445c8db21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 11\u002B corresponding lines): examples/src/main/java/com/demcha/examples/support/ConsultingInvoiceSampleData.java:47-57 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarIcons.java:73-84 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarIcons.java:69-82 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineIcons.java:100-112 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ConsultingIcons.java:57-69 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlineIcons.java:41-54 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/support/ConsultingInvoiceSampleData.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"973fd3c0af8d51ebb86360b3c5df25f94e61312e31d61fa5fa8a45d0ac286508"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java:353-362 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java:393-401 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java:477-485 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e21e52b8974d6b88e65face2b75c614cec21f84970ddb9180b94b3edd852ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java:183-195 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java:215-226 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7365b351bedd8a95daa5965ed8c14f967211426c35f92d47397405051ab4d592"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java:856-868 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/PptxFixedLayoutBackend.java:845-857 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"5caa475eb266fa4638bba40e7eaa344f9b4ec51d63b733a9894b6e750f0c8e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java:277-287 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java:267-277 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"78105a23b2b09e9d671d7157d8dac2a5b61645205d1694961f24ba3852a2da10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoClosing.java:114-124 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoClosing.java:128-138 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoClosing.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f650fa0ff97e3194fbf62da0bfa927bb3577a5c8879e3795c3cea71120317e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:1183-1193 | core/src/main/java/com/demcha/compose/document/node/InlineRun.java:40-53 \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/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8ee3257e8ba61de0f251b35bde998b3edfbdf11669f30c531385eacd543f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/src/main/java/com/demcha/compose/document/svg/SvgStyles.java:127-133 | core/src/main/java/com/demcha/compose/document/svg/SvgStyles.java:145-157 \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/src/main/java/com/demcha/compose/document/svg/SvgStyles.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"24edb5946e96d81b0503cb2f05ca59686f4bc934fd3c2288cb6f7ae9f05ab144"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java:893-904 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java:913-924 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"950ed52de39996a5e53cf6c033d91be3c601102a3f4025276408cc59975c5fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianCards.java:57-66 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianSettlement.java:58-64 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianCards.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a972fb3505b0b3e7e56a50a651988417876ebdfb3e945072c4cad1ae9b294141"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:5182-5193 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:5271-5281 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":5182}}}],"partialFingerprints":{"codehealthFindingId/v1":"feff5984e4e797bd59521a5423d2e96f612a5d470b3562a9ec0deb4751518efb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java:909-919 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java:1067-1077 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf37cf17eb08f12565292f69ab32617de503d7fdb2442a2d43c994c37f55130"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1111-1120 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1122-1131 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b503724e2bcc54c4038f1f3a37f0ff1960f9182ba8af3071fa6a8c7e44b02420"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1216-1229 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:830-843 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ac6c972b7926296ff054e23be19a1d77e6f8fec900bd9107d260490052135d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:5957-5961 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:5967-5971 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":5957}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be12b49706640ab6995578181d60b3371a95646b1d67812762962b40d7e3849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:16669-16678 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java:71-83 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxParagraphFragmentRenderHandler.java:407-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 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":16669}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af272857e4a01ad29e4a56ef1918f7b65afc301a8988ee1833e27dad17d404b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:22662-22670 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:23069-23078 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":22662}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c65f8dc01a6a57c0c58d3b19f3911fb7cc040a682682f35c7e2f6422c00fcbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/core/theme/Spacing.java:153-169 | templates/src/main/java/com/demcha/compose/document/templates/core/theme/Spacing.java:202-218 \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":"templates/src/main/java/com/demcha/compose/document/templates/core/theme/Spacing.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"47201853f5754e407aea416f8d4841416673e1ead47bb526c1fe9e2a37503f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/src/main/java/com/demcha/compose/document/dsl/LineBuilder.java:449-457 | core/src/main/java/com/demcha/compose/document/dsl/LineBuilder.java:459-467 \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/src/main/java/com/demcha/compose/document/dsl/LineBuilder.java"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a173cbf6b17efd3c678e703dba611a4ec00fc3af06181122ab8b1bb2ec4387"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/src/main/java/com/demcha/compose/document/layout/NodeDefinitionSupport.java:142-150 | core/src/main/java/com/demcha/compose/document/layout/NodeDefinitionSupport.java:183-191 \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/src/main/java/com/demcha/compose/document/layout/NodeDefinitionSupport.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"488818229f09a5191256ea6efd299db242220425802897c048449b861865a886"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredSettlement.java:115-121 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredWidgets.java:75-85 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredSettlement.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9641e14b5b8a3089630113c26680a23a636d63de3fbb80a5085c818543e11476"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfWatermarkOptions.java:45-55 | core/src/main/java/com/demcha/compose/document/output/DocumentWatermark.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":"core/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfWatermarkOptions.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0d5404059f0d77060c837671fea450db89a2ddc1f8fd082385bedc6e74a79b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/src/main/java/com/demcha/compose/document/layout/payloads/ResolvedSvgLayer.java:53-60 | core/src/main/java/com/demcha/compose/document/layout/payloads/PathFragmentPayload.java:57-63 \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/src/main/java/com/demcha/compose/document/layout/payloads/ResolvedSvgLayer.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c888214ee3af855addba2e0d3bb98d603cc9c1f80aabbd269dfab3ac099776"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java:1093-1100 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java:1176-1184 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"918a4acdf2cea536d376da85ea064eed9bce5e0d74d7d981ecd5c8384959e1d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:2203-2211 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java:626-634 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/PptxDeckAssembly.java:143-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 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1961c6bdc2059792c8e630fd26e7cfab4a827cb22185524ead77209c471b108"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianLines.java:116-125 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianLines.java:182-189 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianLines.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4257fe4d05c9c3f3624ab16beea37e373a258d35da74861c352de4fb9a749af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/src/main/java/com/demcha/compose/document/showcase/FontShowcase.java:39-49 | core/src/main/java/com/demcha/compose/document/showcase/FontShowcase.java:57-67 \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/src/main/java/com/demcha/compose/document/showcase/FontShowcase.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"574bade8137c69bc1bb39df512235dffb682a80af13f83bbf2181398bea9aa58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarMain.java:227-236 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarMain.java:291-300 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarMain.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4909e4ab27b113be3825482d8a7832a6a807dc88b127dabfc84bb14b9dee7227"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:401-412 | core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:426-432 \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/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b691eb1fb0c24daa62f45219aeacb3d043d697eeb808c152229f032274639a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java:239-249 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java:251-261 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad3cb324f627cf4c35f5531d870b308010ba6ffef3cedd08109ba09d16b7d35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantInvoice.java:165-175 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformInvoice.java:172-182 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionInvoice.java:168-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 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantInvoice.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe32c51f238fa08ab57d55186c9d388deebf7f8339ce9ab3cedf7bd0ec8cd6b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/src/main/java/com/demcha/compose/document/node/CanvasChild.java:27-35 | core/src/main/java/com/demcha/compose/document/node/InlineShapeRun.java:50-60 \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/src/main/java/com/demcha/compose/document/node/CanvasChild.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"958acb3862a0dcc59118415128da0d57b7e60cf1a16f314d8aa949e8d489756d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxBarcodeFragmentRenderHandler.java:86-90 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfBarcodeFragmentRenderHandler.java:113-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":"render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxBarcodeFragmentRenderHandler.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5445985c1b1087a114c9ff48cc972683c5541fd9a666c5d014fd2eb321b9c2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalFooter.java:28-33 | templates/src/main/java/com/demcha/compose/document/templates/data/schedule/ScheduleAssignment.java:33-39 \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":"templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalFooter.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"708b05ab13fb3df09e01d763bd92de23b2cfb3e38cb3048825100bdfb8bda6bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): core/src/main/java/com/demcha/compose/document/dsl/SectionBuilder.java:83-87 | core/src/main/java/com/demcha/compose/document/dsl/PageFlowBuilder.java:25-27 \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":"core/src/main/java/com/demcha/compose/document/dsl/SectionBuilder.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f066415ac6b4a0e35c7f0c02f1add958c3e24d364ca48af30716c743996dcee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:14338-14348 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxZoneParts.java:132-142 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":14338}}}],"partialFingerprints":{"codehealthFindingId/v1":"4126c06944e2c2e4a9dd8af7cdfd564a5ff53b174a61836d4a1b9cec4feee742"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldWidgets.java:128-135 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailWidgets.java:135-142 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldWidgets.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00b2c1a19286dbab1088d7d6c9ff8fae6dbdd4cb9a52e109ab554cfb4a73d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeWidgets.java:100-108 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridWidgets.java:106-113 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeWidgets.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a6b23467f64177109b3322326226399d9d81225dab4444f1b36e0e59ef160d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/src/main/java/com/demcha/compose/document/svg/SvgIcon.java:289-294 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/data/CoverLetterDocument.java:46-51 \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/src/main/java/com/demcha/compose/document/svg/SvgIcon.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"769eeaa8e8bfb1556b8c2eb09b8a48154592c22ac7c832d0d30bf349127b7736"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLineStartHyphens.java:182-189 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailWidgets.java:98-107 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLineStartHyphens.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3220167bb2e31f2c58e43979e1c86479bd46b892f2d9fb9fdf03c22190bfe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/core/widgets/AccentStrip.java:116-130 | templates/src/main/java/com/demcha/compose/document/templates/core/widgets/Divider.java:138-157 \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":"templates/src/main/java/com/demcha/compose/document/templates/core/widgets/AccentStrip.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"306cd6bb28c6f95e3c20c0a5ea3cd7f7f7022fa66affc00aa953125be323134d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java:126-134 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:142-150 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java:104-112 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"132007733ec747110c9ee3ab6c4fa432272038bd55c32b572c9b99660f877875"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:755-766 | core/src/main/java/com/demcha/compose/document/dsl/RichText.java:544-554 \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/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7813f7e0d8be984d3b1be7e098eb0943c8ae09647bef9d6376545f5d001af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java:75-82 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java:49-56 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58b39dbd950e8678e6bf99d84204de2e640b93767435e046db6921ec9e87770"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): examples/src/main/java/com/demcha/examples/templates/proposal/CinematicProposalFileExample.java:198-207 | templates/src/main/java/com/demcha/compose/document/templates/rota/presets/CobaltStyles.java:473-482 \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":"examples/src/main/java/com/demcha/examples/templates/proposal/CinematicProposalFileExample.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1e410e90e0f8c8b483e8e73a6aee2c0d359d52fb0ae735344b3cad2ceeec92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarMain.java:244-250 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineMain.java:152-159 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarMain.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ca16f5555b966dea7cbb44ba2d0eaf2254e29f02ca4a5caf123393a8b0b288"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:847-855 | core/src/main/java/com/demcha/compose/document/dsl/RichText.java:795-802 \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/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fe2b4998dd6861e00b9cd6988f099c6c176e3f8f81eb6b83f6f8e306225155"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/src/main/java/com/demcha/compose/document/node/ListMarker.java:198-205 | core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:549-555 \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/src/main/java/com/demcha/compose/document/node/ListMarker.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f2265ea9c6d16023d3716bdf243ff444766e49c26fabcd8da5475860c2ad89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/src/main/java/com/demcha/compose/document/layout/HorizontalBandContentNode.java:41-48 | core/src/main/java/com/demcha/compose/document/layout/HorizontalBandsNode.java:45-54 \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/src/main/java/com/demcha/compose/document/layout/HorizontalBandContentNode.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"222132bcb5e917aaadb502274bfe82f2d0b1be71b6b95f502600ece1ffa7de29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/data/EntriesSection.java:27-34 | templates/src/main/java/com/demcha/compose/document/templates/cv/data/RowsSection.java:36-44 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/data/EntriesSection.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0911608243e0bd89146aaa16616796b7987c9c16281cd0e1f0a656922496c266"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:345-351 | core/src/main/java/com/demcha/compose/document/dsl/RichText.java:246-251 \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/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ab16cb9753ed2639c86e2b724cf1d291535343436021fafda42dafc20dc89a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): core/src/main/java/com/demcha/compose/document/node/CanvasLayerNode.java:90-96 | core/src/main/java/com/demcha/compose/document/node/LayerStackNode.java:76-82 | core/src/main/java/com/demcha/compose/document/node/ShapeContainerNode.java:120-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 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":"core/src/main/java/com/demcha/compose/document/node/CanvasLayerNode.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"54117fc5bc132c5432ae627ff3dc18e71379c6ca82356466c330a4612dcf6720"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldAside.java:116-123 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailProjects.java:74-82 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailWidgets.java:112-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 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldAside.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6f1fe29a0e45f1b188026e63b0fc9cc62ffef2c2daf2bbc53b2bf467bce854"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:83-89 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java:93-99 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba831cdd6526aff5b664b993e1430c6206f8e305481b6e1a68bcb989d053dba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java:208-214 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:263-273 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6d6a9a37a584f23ae647c1b4604f78d8367ae0e63b82489b54ee955bcc153e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialWidgets.java:182-189 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlineWidgets.java:168-177 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialWidgets.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdfbddc999bd7b950aa64292eb8e8693ad6d1bb618129743139ec5087064569"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/src/main/java/com/demcha/compose/document/style/DocumentFlowWidth.java:41-49 | templates/src/main/java/com/demcha/compose/document/templates/core/widgets/CardWidget.java:109-116 \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/src/main/java/com/demcha/compose/document/style/DocumentFlowWidth.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5437bd38aaf004a01a751667c635eb681192a6dc9375b053206b72f101d991b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxCellDrawings.java:138-141 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:5868-5870 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxCellDrawings.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1484b90b1aaf9645ac5ccf12e685ba02f44786ae24a349ddf3a2b482d5081c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java:681-686 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/PptxFixedLayoutBackend.java:635-640 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2b2a83449b2c889274a5d6daa6b691fbbbf97573ce11ae10113affc27eb79b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java:632-640 | examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:369-378 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarWidgets.java:145-154 \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":"examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4a9123ce5e65c8ed3888d750f3c270ac10c4406fab4e456bfa579dbe2a6c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1190-1194 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:626-631 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0719821495bb7593e43f2e9b8fbefcebaaa774961bfe8c8f597d72888a007c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailAside.java:229-234 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridMasthead.java:168-171 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailAside.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2d971d266b52401cf00f7bf90c41f01acb5f227a419e8b5e0ed0c17186f358"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ConsultingMasthead.java:189-197 | templates/src/main/java/com/demcha/compose/document/templates/rota/presets/CobaltHeader.java:200-209 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ConsultingMasthead.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49285993e49026bfa259e75e9c07cd66af3ba01debddd45b15313b5eae79b8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:20621-20624 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxWithoutLayout.java:115-117 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":20621}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49806d76e077fb704265225d10644254c69d85fdacde975eb2c56b04fb4fda8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java:225-230 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:790-796 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"079b03da2eac6ad6126de8d8aa3d7254072a7502a972c7991d8c78f9c30804b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CenteredHeadline.java:205-212 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java:341-348 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CenteredHeadline.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"79eff4d96477bb1f8e976326b423253b9b9ac9f719978397e7817408eabcfea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:641-646 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:942-947 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:605-610 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"e302e8630611d01c9aef608df87b2fab71b99fefb5592a3969517112d3193a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarAside.java:231-237 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java:136-143 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarAside.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f55f5c6390a400174e1811dddec5bfa84c8835e290f6d87bc0d45cb012097f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ConsultingMasthead.java:199-208 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/LumaStudioSidebar.java:118-127 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/LumaStudioWidgets.java:97-105 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ConsultingMasthead.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"c572151feb817d5713752107dfa069da3bb0fb65115c6db6018923aba22359ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/src/main/java/com/demcha/compose/document/chart/ChartData.java:111-117 | core/src/main/java/com/demcha/compose/document/layout/TableLayoutSupport.java:799-805 \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/src/main/java/com/demcha/compose/document/chart/ChartData.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a588fec7e340a74de4ec7a19c9ffce54499fcde6843005dd35c094afafca5c5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantStyles.java:140-143 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformStyles.java:331-334 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantStyles.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b53ef17e0f946767de3c4ef88e3766bfe58fe3b15cdfc6a1225c8cea0730ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): core/src/main/java/com/demcha/compose/document/chart/ChartSize.java:73-77 | examples/src/main/java/com/demcha/examples/support/theme/SpacingScale.java:90-95 \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/src/main/java/com/demcha/compose/document/chart/ChartSize.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"723e81280d11f3e477c5f348d645ebed7141423a848fb43ff0da4a6b3ce9de59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:531-541 | core/src/main/java/com/demcha/compose/document/dsl/RichText.java:485-494 \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/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ae0bf9ef1ca6c06e88385464cb569a3e7cf236f7ae8a9e1a7976aabe564dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/src/main/java/com/demcha/compose/document/layout/LayerStackGeometry.java:66-72 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceWidgets.java:151-157 \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/src/main/java/com/demcha/compose/document/layout/LayerStackGeometry.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"852df867020a05b5fd92fdcb7825575270800cd5aecc8a8c8a67bb1a02ef9dd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxCellDrawings.java:66-76 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java:610-620 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:23993-24003 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxCellDrawings.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd946dc3b701d6d9590cab0b1624ceeab084070c3686f9124542134ec6ef08f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java:176-181 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:375-379 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f641f5e9eb0cbb24d9b34b4425e8e9332885ad41c423d1ee20f9ff440970c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianText.java:58-63 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsText.java:35-38 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionText.java:39-44 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceText.java:35-38 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianText.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc42bd9eda6ae01eb3b521e2ca593a47e7e8750626a2bea269f1eb244a6ce3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/src/main/java/com/demcha/compose/document/layout/DocumentLayoutPassContext.java:115-118 | core/src/main/java/com/demcha/compose/document/snapshot/PageIndex.java:71-74 \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/src/main/java/com/demcha/compose/document/layout/DocumentLayoutPassContext.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ff6bc385e0da7af343142b461f2747e33545a3b2ba003080941bd1d64ca061"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 5\u002B corresponding lines): core/src/main/java/com/demcha/compose/document/node/BarcodeNode.java:82-86 | core/src/main/java/com/demcha/compose/document/node/EllipseNode.java:80-84 | core/src/main/java/com/demcha/compose/document/node/ImageNode.java:91-95 | core/src/main/java/com/demcha/compose/document/node/ShapeNode.java:131-135 | core/src/main/java/com/demcha/compose/document/node/TableNode.java:157-161 \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":"core/src/main/java/com/demcha/compose/document/node/BarcodeNode.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"154d55779524d52979e8fb6a77e78323e3dc9cfe0b1efed93e1bc01d8bbc5917"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): core/src/main/java/com/demcha/compose/document/dsl/ListBuilder.java:459-465 | core/src/main/java/com/demcha/compose/document/style/DocumentSpacing.java:20-24 \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/src/main/java/com/demcha/compose/document/dsl/ListBuilder.java"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a9278e66ed76cdd4c82316c9886ca2b51aa67740ce392b37254670c2c02878"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/src/main/java/com/demcha/compose/document/layout/RowSlots.java:168-175 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:22754-22761 \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/src/main/java/com/demcha/compose/document/layout/RowSlots.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f269aca3a73e3ff7e562310e4bf91618c075de4eadf96ea8e89a41b626e592"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): core/src/main/java/com/demcha/compose/document/layout/payloads/MarkerContentItem.java:117-121 | core/src/main/java/com/demcha/compose/document/style/DocumentFlowWidth.java:68-74 | templates/src/main/java/com/demcha/compose/document/templates/core/widgets/Divider.java:131-136 \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":"core/src/main/java/com/demcha/compose/document/layout/payloads/MarkerContentItem.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecbf77b56e54de10d3705c397c2a618e11c2b7780e38b351796e89a36924158"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java:288-295 | render-pdf/src/main/java/com/demcha/compose/engine/render/pdf/GlyphFallbackLogger.java:241-249 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80ae37153736b2d573c9ff4bfb9faf83a543537093ffd79dbcb333b8d9da1cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredText.java:38-41 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformText.java:44-47 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredText.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"023c9fc67648e67a9662b47b468ff972963bc7cd3708cd1561bdc6448ca4f6f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:483-493 | core/src/main/java/com/demcha/compose/document/dsl/RichText.java:438-447 \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/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2ae9d9db83d6e10197f1b193576a0b3f4f19a9df971727d6396dc0dbb92016"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:694-704 | core/src/main/java/com/demcha/compose/document/dsl/RichText.java:748-757 \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/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5ed817fc2068478531357ecbf5abd9fa70aa1a47763c8cbbe1394181b26abf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeStyles.java:305-312 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailStyles.java:160-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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeStyles.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"64188d078089898d013ef10072aac0fe16988ed57c967a5ae3c62e5d699ba976"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailStyles.java:169-176 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantStyles.java:171-175 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailStyles.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1481ee296aa9e54e72188a181396d8fcf738a5686f70cb348fa8885287ca918"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/src/main/java/com/demcha/compose/document/node/ContainerNode.java:87-90 | core/src/main/java/com/demcha/compose/document/node/SectionNode.java:106-109 \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/src/main/java/com/demcha/compose/document/node/ContainerNode.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeaf43d0db7807fd0fb80df7a50e4f0e7a6168cd7320ba079d66cf6afc548e57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): core/src/main/java/com/demcha/compose/document/node/ListNode.java:133-136 | core/src/main/java/com/demcha/compose/document/node/ParagraphNode.java:252-254 \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":"core/src/main/java/com/demcha/compose/document/node/ListNode.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda8bee899658156a52309225da7359acc820b63c9c9bebdf902f3d6b89d196a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): examples/src/main/java/com/demcha/examples/features/title/BookTemplateExample.java:205-207 | templates/src/main/java/com/demcha/compose/document/templates/rota/presets/CobaltStyles.java:360-363 \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":"examples/src/main/java/com/demcha/examples/features/title/BookTemplateExample.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"153185b30da45424243669807d76eecde41e15aece080f49e2f976c6ff97916e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPageMarginSections.java:554-557 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:2188-2191 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPageMarginSections.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8fe494b6a42106dad438a02dc6e393427239c1be1ce6f227424dcfb4f5d479"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CenteredHeadlineLetter.java:124-127 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:232-235 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:591-596 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CenteredHeadlineLetter.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b241dd29cd995f1b118e428e3b23817376145a58b58dbf403fb66ae01d9fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 6\u002B corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ClassicSerif.java:327-333 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java:343-348 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:606-611 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1159-1164 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:509-514 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ClassicSerif.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20dedf86a1060aafbfbc1e33f51de31c8004651484fcb49de9ab9d50225b21c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EditorialBlue.java:302-307 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:612-617 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EditorialBlue.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"36be58ed64e03c08ab926e049526d2df0d8d9a39a69648c3edc221d9bc505482"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:634-639 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:863-868 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6dac195525d5a4cac617c21d259c7f3d137004ccb52f54a10330b38c5d17684"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianWidgets.java:67-74 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoWidgets.java:36-43 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianWidgets.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba36316abea732e60961d6fb69762413732186ff710f9d0b984329bed0caea9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:643-646 | core/src/main/java/com/demcha/compose/document/dsl/RichText.java:700-703 \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/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"381f6d1501ff5b1777545de6ed93b138dd5c02d7d1f0fc994c55f45f60222fc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 3\u002B corresponding lines): core/src/main/java/com/demcha/compose/document/node/LineNode.java:121-124 | core/src/main/java/com/demcha/compose/document/node/ListNode.java:169-172 | core/src/main/java/com/demcha/compose/document/node/SectionNode.java:141-144 | core/src/main/java/com/demcha/compose/document/node/ShapeNode.java:97-100 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawings.java:145-147 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/node/LineNode.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"452d70b3cfa143e9852dd08d13e49b57f30f5b32db4517e7ccc1c0a9c8787475"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): core/src/main/java/com/demcha/compose/document/node/RowNode.java:201-204 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawings.java:150-152 \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":"core/src/main/java/com/demcha/compose/document/node/RowNode.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"18efda9560bd5e94d07598ffe0f13cdc9ff118e34aa7bb324574a7b7313c8c91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): examples/src/main/java/com/demcha/examples/support/WeeklyScheduleRenderer.java:269-275 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseIcons.java:75-81 \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":"examples/src/main/java/com/demcha/examples/support/WeeklyScheduleRenderer.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"6949a44eeb36f23c97b5c7f8ded1eca44b778c023ceb2369f9858095a8ecfcf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): core/src/main/java/com/demcha/compose/document/dsl/DocumentDsl.java:159-164 | core/src/main/java/com/demcha/compose/document/dsl/ListBuilder.java:302-307 | core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:958-963 \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":"core/src/main/java/com/demcha/compose/document/dsl/DocumentDsl.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e815ce255dc2aaf81cc3ac159795a8d500c44f8245a8f30b6f8f1e2cd82e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:361-365 | core/src/main/java/com/demcha/compose/document/dsl/RichText.java:262-265 \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/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e86653e99b930b491ca7b7e36e8f51c4f9bd0b2f10a56e050d16021e32e1bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 3\u002B corresponding lines): core/src/main/java/com/demcha/compose/document/node/ParagraphNode.java:222-225 | core/src/main/java/com/demcha/compose/document/node/PathNode.java:155-158 | core/src/main/java/com/demcha/compose/document/node/SectionNode.java:173-176 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawings.java:139-141 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/StructuredProposalData.java:117-120 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/node/ParagraphNode.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9ce3025dc0f3e5da6b706e72bf7d22aa0afe5e73fa85618f166f6a30da6f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldMain.java:109-112 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailMain.java:227-231 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldMain.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae618b57aca9faea8f565ceea7c200d4476a7facc1ad368e14eb37996c13567"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/SplittableLeafCompiler.java:84-112 | core/src/main/java/com/demcha/compose/document/layout/SplittableLeafCompiler.java:159-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/layout/SplittableLeafCompiler.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8982c8569ed9e532bc50bb9218115136d8a0048fbf217a3f8d039b4d73867d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201329 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java:346-366 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:631-659 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5f308c0077c21fbfe15a2c505e10663c151a9645b8ab1b5c50e435bc221934"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/chart/ChartLayoutSupport.java:140-167 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java:933-960 \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/src/main/java/com/demcha/compose/document/chart/ChartLayoutSupport.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"569a0697408719cb1abe6ab6dced98a946643e82152809cc90b6913cd6b87fac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201326 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java:368-388 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:662-687 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java\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 \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java:368\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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e1a26f7ab949e6455c584c17e1839cda18fdf5bcb2a292bf5949af0a357116"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201335 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:960-991 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1006-1040 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:960\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"588456376a970e53354e93bcd63a8a867dc0e3ccf939c7c2e9d2b43d2858fd5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:898-923 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:1014-1039 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adaa60331425e9f580983992b4086756fcbdceaaab7bd9bcd9bc1dfb212365b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java:172-196 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java:174-198 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Executive.java:198-222 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Panel.java:291-315 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java\u0060 as WHOLE FILES: this scan already matched 4 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java: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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c13eccd4aa20ca5606b69baec8bf0242c597ed7673471a1ad179e1ad8282f71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:158-180 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:372-396 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java\u0060 as WHOLE FILES: this scan already matched 10 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:158\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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7c705b81f6cc01efbe9341fa7916f06aad80515f8fb6929c1fb6a48d9950d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/CompositeDecoration.java:121-143 | core/src/main/java/com/demcha/compose/document/layout/CompositeDecoration.java:171-193 \u2014 both copies are in the same file, so extract the block 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/src/main/java/com/demcha/compose/document/layout/CompositeDecoration.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cc0c77252f1a8572ae6d75ea94a06f2279dad53f3daea86618d8aabdfc8e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:645-667 | core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java:113-135 \u2014 before extracting anything, compare \u0060core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java\u0060 and \u0060core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa488be97df622ed77d6c2fa652282c8ebd56ca5266178fe9e6328e60eb77006"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201323 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java:134-148 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Panel.java:226-248 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Panel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java: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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f016290f2841a1f8b8bbc50b9fac2aed9ab0b6de5dcd71ad39ed17f52d997df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201322 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java:185-206 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java:138-158 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java:139-154 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"68997085efcb5a1d811dc023aa97ee466f67a6c3e3de00c338dad6bb5a7c0895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfEllipseFragmentRenderHandler.java:31-52 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfShapeClipBeginRenderHandler.java:51-72 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfEllipseFragmentRenderHandler.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"30212ffd4af712ae53d432131b005cf53545292fb6512a3c883d2b0bf17f0d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 3): core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:453-472 | core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:664-684 | core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:1166-1186 \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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:453\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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe52ce95aa231a9f454b6b77aa2da1103230aab2db37ad4690ba172ca3c8ab67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:671-691 | core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java:163-183 \u2014 before extracting anything, compare \u0060core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java\u0060 and \u0060core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:671\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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6edbe874f2c99b86fc1a66eca04497157c3ba905b455ff9d81a2053566fd729"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:1073-1093 | core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java:156-176 \u2014 before extracting anything, compare \u0060core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java\u0060 and \u0060core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:1073\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"adadd0b5c9c1efde8322a8a468e91d53c0a57f1f863de08f0df243655d177db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:1080-1100 | core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:1173-1192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:1080\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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"45db25526500ca574713633222848d84957a50486b118eb4caea7cabcbf78499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java:367-386 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java:260-280 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java:367\u0060 it begins part-way through the construct above it, so those exact 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff79b5a6fe3a06a9daa568217268e6e44d967eb4c24d8b5a6bd5f5691148d179"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java:313-329 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java:226-245 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java:313\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae01cb8e5aea238791c9858f4fc8deb62077e9f93a112186ef91ce5ed0e45309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6): core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:458-476 | core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:670-688 | core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:765-783 | core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:1079-1097 | core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:1172-1190 | core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java:162-180 \u2014 before extracting anything, compare \u0060core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java\u0060 and \u0060core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:458\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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"471aae126d6d83f21c71c8bf5e4edf58546bf47b093166d48681e078c98d07fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201319 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java:190-201 | core/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java:256-274 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java:190\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/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4967f53d9cd5693820ea925f5779f445de23dcc1c8a39a1b8f28d8f26ad10120"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java:642-660 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/PptxFixedLayoutBackend.java:612-629 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java:642\u0060 it does not close everything it opens, so those exact 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 \u0060environment\u0060 to \u0060PdfRenderEnvironment\u0060 in one and \u0060PptxRenderEnvironment\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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dc035e2ac30d6fe9fe8276a93b1032bc9f2e6eb76216f6d9341d08ed67d137"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EditorialBlueLetter.java:113-131 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EditorialBlue.java:310-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. 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EditorialBlueLetter.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8585da791701696b9ecf2bd6a25c210a1a0fc0cb2dba5438bb5b847d48ea37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:191-207 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:440-458 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java\u0060 as WHOLE FILES: this scan already matched 10 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:191\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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"de006cf43c7eac3e9cd2a25ec94681199d5e27ed66637f3751e3124156aa2720"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:741-759 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:577-592 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:741\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"905fa93372bc5e2d6eb283cd3dd6836e97482bb16e7f563c86a36ba4bfe352db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java:150-166 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java:442-459 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java:150\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee976a497c0bb195ffa301f7e6718bb7c7764f81a9bdb7fa420b97f0d795a85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java:243-260 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java:276-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 \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java: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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8808b4687af432d122582333967773be0ab815b07468795d05d22914ca712057"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201317 lines \u00D7 3): core/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java:225-233 | core/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java:289-305 | core/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java:316-332 \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/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java: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/src/main/java/com/demcha/compose/document/api/DocumentRenderingFacade.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"3000744b6006f7c4a31b1830e18ff2c90d7eb9ceb86ea3ce745bad20936a82dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java:380-396 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java:277-289 \u2014 before extracting anything, compare \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java\u0060 and \u0060render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"42361ffe09483f23f6754196039fc5aab82929cb21f75bd3199776b2de403fc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/core/theme/Spacing.java:126-141 | templates/src/main/java/com/demcha/compose/document/templates/core/theme/Spacing.java:254-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. 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":"templates/src/main/java/com/demcha/compose/document/templates/core/theme/Spacing.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a67d150962110da7834f5bab50eaa6c2a5a3aac0600b38f2d14482444e873a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/core/theme/Spacing.java:278-293 | templates/src/main/java/com/demcha/compose/document/templates/core/theme/Spacing.java:302-317 \u2014 both copies are in the same file, so extract the block 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":"templates/src/main/java/com/demcha/compose/document/templates/core/theme/Spacing.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d33354d660cfd67791d38a46f9d1d31077c4291db62d0a1365795f3d667f3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java:166-190 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java:158-182 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java: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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d34020b02cf36865dbcf98be29a6b5f23162d06edb5dc6be7dd2494d0d8cab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:77-91 | core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:289-303 | core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:445-459 \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/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:461\u0060 calls \u0060tokenizeMarkdownLine\u0060 and \u0060core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:305\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/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6cb9601a559cf8d4340930427a95a74d44ef6b1a2350b01bc9cdeeb9e92177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java:121-135 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/NordicCleanLetter.java:98-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. 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ad832666972529aaaecb205eb24bd20493c4e27f68d604d99a6ce840e3ae71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java:247-259 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:458-472 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java\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. 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c30267bf5accdb37e7f5821d8d748ae73946a048085965ef72cb28b4ce3cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java:163-177 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:446-460 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java: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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbedf5f2dbe33999d79ae40dddafaf9321fb3f196aba4e5dda24744a7fc739a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java:191-205 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:673-687 \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, \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java:206\u0060 calls \u0060jobTitle\u0060, \u0060isBlank\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:688\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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"416450e1ab7850e16708d3fa583ca5f360ce3723e716e1c709b504c87a83acb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1300-1314 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1321-1335 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1300\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"394757887cf3e37f0fd167a844d39612d789cfca91b91bc7be57294a63bd0c98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java:254-267 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/PptxFixedLayoutBackend.java: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 \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java:254\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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e3c72e90c8c977937c3c41417d1b74b49b8f8c4d8fba20dc172d9dd3da810d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ModernProfessionalLetter.java:118-131 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ModernProfessional.java:156-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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060doc\u0060 to \u0060CoverLetterDocument\u0060 in one and \u0060CvDocument\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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ModernProfessionalLetter.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"043a91ef1d785d993f983d27331f2e7cbbeba90f2ec82417f22fa97badc30503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:248-261 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:730-743 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java\u0060 as WHOLE FILES: this scan already matched 10 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:248\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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"2414ab936023c9072d7656cde68e13b1fb73aad5b5cee0202419d4a2c24f7444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsInvoice.java:125-138 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceInvoice.java:123-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 \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsInvoice.java: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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsInvoice.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1f8db539d90581ad1debdf66764a4ee0aed464a8695bd1202b7c7e44971125"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 18): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldIcons.java:79-88 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyIcons.java:90-98 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1353-1364 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:1075-1087 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeIcons.java:105-113 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseIcons.java:96-104 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailIcons.java:87-96 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridIcons.java:103-111 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/LumaStudioIcons.java:56-64 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantIcons.java:68-76 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredIcons.java:66-74 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianIcons.java:46-54 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsIcons.java:85-93 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformIcons.java:74-82 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionIcons.java:64-73 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceIcons.java:78-86 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoIcons.java:87-95 | templates/src/main/java/com/demcha/compose/document/templates/rota/presets/CobaltIcons.java:70-77 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 18 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 18 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldIcons.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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldIcons.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f57b80519ff6de1900fad1b91abbb982830d1936f99287bf2bd23b820bb781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:247-259 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1299-1311 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1320-1332 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:729-741 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java\u0060 as WHOLE FILES: this scan already matched 10 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. 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a9a73862b859f1a7ecaf241d7f769423e0d4f80547be42413316c7a76a2c5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java:428-440 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java:303-315 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java:362-374 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060party\u0060 to \u0060InvoiceParty\u0060 in one and \u0060ProposalParty\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, \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java:316\u0060 calls \u0060taxId\u0060, \u0060isBlank\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java:441\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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ClassicInvoice.java"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec22d56d9fb1434d8e2a379e75048ef74003058de66ae5b20a1b13acae595248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/chart/LineChartLayout.java:282-295 | core/src/main/java/com/demcha/compose/document/chart/LineChartLayout.java:327-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/chart/LineChartLayout.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e38c1a9db4c80dfc238b3f51fcc89fc3c5c9dee025049379f66ad09fecbe746"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:1020-1033 | core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java:99-111 \u2014 before extracting anything, compare \u0060core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java\u0060 and \u0060core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:1020\u0060 it begins part-way through the construct above it, so those exact 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/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java:114\u0060 calls \u0060height\u0060, \u0060bottom\u0060 and \u0060core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:1035\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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27cf43311188564486e11e3f3659386ca2b77896c210a56c5f037ca8dea6559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/svg/SvgGradients.java:405-417 | core/src/main/java/com/demcha/compose/document/svg/SvgIconReader.java:551-563 \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":"core/src/main/java/com/demcha/compose/document/svg/SvgGradients.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95ea4e86009b1d5e5a39270e8de64051ea17754c7c11c44034d90bd3d294cad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java:179-191 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java:244-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a838b27979dcf26a0b23cf1d4503ed78681b4ac5fcd54b813965c46b17979b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java:288-299 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:527-539 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java\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 \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java:288\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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"5894dd2d756d6d627ced9e1642952fd7702115e55b9f6b846dc21c258e1c109b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/components/EntryCompactRenderer.java:102-114 | templates/src/main/java/com/demcha/compose/document/templates/cv/components/EntryCompactRenderer.java:135-147 \u2014 both copies are in the same file, so extract the block 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/components/EntryCompactRenderer.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d951b9f63895fd8f2e15bcb15311fa6f989d9133225f505ac1f67e1463dedf9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/BoxedSections.java:112-124 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MinimalUnderlined.java:109-120 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/BoxedSections.java: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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/BoxedSections.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1457f91c94cae9c254a13b72b9f22d6b2208f920707df82ede3cbcc6e474d695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java:163-175 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java:163-175 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java: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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"350da1168540146fffb8dbf2fbde19487d0c3620257bfaa1a92599d25165ec10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsInvoice.java:158-170 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceInvoice.java:160-172 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsInvoice.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"581bf126b314b4fa0aa772228c631a85771e2486021849034a12a21b19072ecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java:127-139 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java:118-130 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java\u0060 as WHOLE FILES: this scan already matched 6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1e445b0a153bdf073c9f5896b5b419ec450732343bfbf04b4bfdce7ebb818c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201313 lines \u00D7 4): core/src/main/java/com/demcha/compose/document/layout/BoxConstraints.java:24-30 | core/src/main/java/com/demcha/compose/document/layout/MeasureResult.java:14-20 | core/src/main/java/com/demcha/compose/document/node/ListNode.java:93-105 | core/src/main/java/com/demcha/compose/document/node/SpacerNode.java:33-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/demcha/compose/document/node/ListNode.java: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/src/main/java/com/demcha/compose/document/layout/BoxConstraints.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6f977c9a9456ba1befe065032d2a4e8fa8b9646beabc9b0a7f2dcef15b6de1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java:100-111 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java:116-127 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java:121-132 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java:119-130 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java\u0060 as WHOLE FILES: this scan already matched 4 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java:100\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, \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java:116\u0060 calls \u0060spacing\u0060, \u0060bannerInnerPadding\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java:99\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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2529bf7dcec5f3da44a3424939e9d84bb5807a574546c1bf9696f40e5116486d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGold.java:249-260 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebar.java:227-238 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebar.java:256-267 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadline.java:249-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 all 4 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGold.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f227cea00d7fd3231fb2d996235fcabdb7e6b9a88764270215df55f8293ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrange.java:233-244 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulse.java:207-218 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRail.java:263-274 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGrid.java:216-227 \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. 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrange.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"51735fde2ea2639fc0f871e3e2c1d4eb5e61ce4d0c98b89dc6e4074cc7175116"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java:225-233 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredClosing.java:101-111 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java:165-176 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionClosing.java:272-280 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java: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. 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, \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredClosing.java:99\u0060 calls \u0060addIfPresent\u0060, \u0060contactPhone\u0060, \u0060telLink\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java:223\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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e0e93fc7e9419850394ce5c0d50cee32050ac6e89d089f59b3a1bca20e9a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/definitions/ContainerDefinition.java:54-65 | core/src/main/java/com/demcha/compose/document/layout/definitions/SectionDefinition.java:54-65 \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/src/main/java/com/demcha/compose/document/layout/definitions/ContainerDefinition.java:54\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":"core/src/main/java/com/demcha/compose/document/layout/definitions/ContainerDefinition.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb122e704b23cd909ed50a00616a6c363f910736c08d73718450c089096e03a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java:63-74 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOutputOptionsTranslator.java:96-107 \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 \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java:63\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41eac1ea88849a546bf1c0ae4fbed249b23c820f39e2460c37bb52f3ea15262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/core/identity/ContactLine.java:279-290 | templates/src/main/java/com/demcha/compose/document/templates/core/identity/ContactLine.java:315-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 \u0060templates/src/main/java/com/demcha/compose/document/templates/core/identity/ContactLine.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/core/identity/ContactLine.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e35247565642618d4a6104ed7d76a70aa2350308cbffe1313c23b66068ec4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java:172-183 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:221-232 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java\u0060 as WHOLE FILES: this scan already matched 8 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00893d5de07e27cfb02db1ccf1ba72f25cd60460d38b83f6aaffe3126b5c9ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java:220-230 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:242-253 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java\u0060 as WHOLE FILES: this scan already matched 8 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java:220\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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32c037841e411c8e08d4570cb3d22e5b6e93a8fa20e5e53af838955c45ee1a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:143-154 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:334-345 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java\u0060 as WHOLE FILES: this scan already matched 10 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java: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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bd0a409879596bc446bc0d6598fcfe271ad4b8e26738abae6e5905247c595b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EditorialBlue.java:169-180 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EditorialBlue.java:183-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. 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EditorialBlue.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3477727a11310775f6ac113776cc0a1f096a2d1210e1a78ce2b98459f8d288a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavy.java:202-213 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOps.java:252-263 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavy.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d3e4d533ac071e65e72835ecda9f20fcf881dbddea978b43f4144f2d10f9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:657-667 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:704-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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:657\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f80db8ddc2d0ab1390ad839480e4c92cf4cc23ae65cbc11644b4d24fa8a6a29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java:246-267 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java:239-260 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java:246\u0060 it begins part-way through the construct above it, so those exact 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, \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java:268\u0060 calls \u0060repeatHeader\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java:261\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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed75e011f7b08f25490143051b77d715db27af05546ba138f0ee8f6e1ed88a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201311 lines \u00D7 7): core/src/main/java/com/demcha/compose/document/layout/definitions/BarcodeDefinition.java:48-58 | core/src/main/java/com/demcha/compose/document/layout/definitions/EllipseDefinition.java:48-58 | core/src/main/java/com/demcha/compose/document/layout/definitions/ImageDefinition.java:50-60 | core/src/main/java/com/demcha/compose/document/layout/definitions/LineDefinition.java:61-62 | core/src/main/java/com/demcha/compose/document/layout/definitions/PathDefinition.java:53-54 | core/src/main/java/com/demcha/compose/document/layout/definitions/PolygonDefinition.java:49-50 | core/src/main/java/com/demcha/compose/document/layout/definitions/ShapeDefinition.java:48-49 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/demcha/compose/document/layout/definitions/BarcodeDefinition.java: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. 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/src/main/java/com/demcha/compose/document/layout/definitions/BarcodeDefinition.java:48\u0060 calls \u0060max\u0060, \u0060height\u0060, \u0060padding\u0060 and \u0060core/src/main/java/com/demcha/compose/document/layout/definitions/LineDefinition.java:61\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":"core/src/main/java/com/demcha/compose/document/layout/definitions/BarcodeDefinition.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fd6e5ff4ee7d3d6b199a78f3a08075d35878bb5d0849d688f71601319dd86e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfProtectionOptions.java:46-56 | core/src/main/java/com/demcha/compose/document/output/DocumentProtection.java:48-58 \u2014 before extracting anything, compare \u0060core/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfProtectionOptions.java\u0060 and \u0060core/src/main/java/com/demcha/compose/document/output/DocumentProtection.java\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. 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/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfProtectionOptions.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1863b84a76836ad8a3f8b66b850b4f2b51ba2967e0bdabcdf3d9b6d352239f76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/node/PathNode.java:75-85 | core/src/main/java/com/demcha/compose/document/style/ShapeOutline.java:174-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/node/PathNode.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10ffcbfb4ee762bc57261f97233826bfa3189fc92fe31dbff4b58b0ee61e814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDeterminism.java:59-72 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/PptxDeterminismWriter.java:56-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. 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDeterminism.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b149efb0e4fba3c91736a5bc785132c94a1abd8dbbe7942e10eebc5021965a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPng.java:30-40 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/InlineSvgRasters.java: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. 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPng.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a576e7ead6801a364ee80016bed25ea88cb87375711dd59220b159bbac8afa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java:137-147 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxChromeRenderer.java:475-485 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba733e4c93a79a5f95e17ce1e6100a852110f2cd41aaf0c894d10dd9fda77c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java:138-148 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:187-197 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java\u0060 as WHOLE FILES: this scan already matched 8 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java:138\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"198da325d53034bd848ccda206e7120b6e08e67b00ba3290edf3449c23e7a362"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:947-958 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:1090-1101 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"289b145226808f33ceb645a3882c2fa435e854822638de5b042e8e8ed6a808f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridBody.java:341-351 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridClosing.java:175-185 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridClosing.java:172\u0060 calls \u0060spacing\u0060, \u0060accentLeft\u0060, \u0060padding\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridBody.java:340\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridBody.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"f884ad49f8ffd41a5f2906549edddc9bd5ab94b36778391681c39420808bb89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/IconTextRow.java:81-91 | templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/IconTextRow.java:126-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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/IconTextRow.java: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":"templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/IconTextRow.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8153e80f06d9a98785773bc0573d1b20e986e4d8b1fd3fdb65916babe6e43fc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java:159-169 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformSettlement.java:145-155 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformSettlement.java\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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java: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. 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7bc44d4ae9bd2dff28726fe902562de54f576a03e980ddfd0ce4ef9e316b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:167-178 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java:204-215 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java\u0060 as WHOLE FILES: this scan already matched 7 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:167\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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cf2690fed493b8d4d90a75bacee5f80e0afaf67c34bc66564be935d9ef73a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 8): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java:96-102 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java:112-118 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java:117-123 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java:124-130 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:113-120 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CenteredHeadline.java:126-135 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EditorialBlue.java:104-110 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Executive.java:115-121 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Executive.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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: the declarations holding them bind \u0060doc\u0060 to \u0060CoverLetterDocument\u0060 in one and \u0060CvDocument\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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"020de04b3e7e2e8a00eed7cb582d9762347d39d51a2c6311909f0f7c3801b98c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/NodeDefinitionSupport.java:818-827 | core/src/main/java/com/demcha/compose/document/layout/definitions/ChartDefinition.java:121-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/layout/NodeDefinitionSupport.java"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a9f719f6ed1ba92f782ad3fbc431264d74d4e7a915295ad225a8624f81f517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/TableLayoutSupport.java:340-349 | core/src/main/java/com/demcha/compose/document/layout/TextFlowSupport.java:1052-1061 \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/src/main/java/com/demcha/compose/document/layout/TableLayoutSupport.java"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ff02af48eb90a72dae2d36dab0303eb7c7db40247df489f420882670306fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/TextFlowSupport.java:116-122 | core/src/main/java/com/demcha/compose/document/layout/TextFlowSupport.java: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. 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 \u0060prepared\u0060 to \u0060PreparedNode\u003CParagraphNode\u003E\u0060 in one and \u0060PreparedNode\u003CListNode\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":"core/src/main/java/com/demcha/compose/document/layout/TextFlowSupport.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a00aa5a457dcd82c826a4e050e8963ae427c916880b14938ea45e7b1c1dc996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/node/InlineImageRun.java:41-50 | core/src/main/java/com/demcha/compose/document/node/InlineSvgRun.java:46-55 \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/src/main/java/com/demcha/compose/document/node/InlineImageRun.java:41\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/src/main/java/com/demcha/compose/document/node/InlineImageRun.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5160505d9b35ce0b1da676bd2e3cec75d2d6aae874ab7956b32505e803fd9a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/table/DocumentTableCell.java:206-215 | core/src/main/java/com/demcha/compose/engine/components/content/table/TableCellContent.java:104-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. 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/src/main/java/com/demcha/compose/document/table/DocumentTableCell.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bdabb8df7d890e1cd888f0dc2c28a0023ef2a0a6ea557944c44719646625bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfBarcodeFragmentRenderHandler.java:45-54 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxBarcodeFragmentRenderHandler.java:49-57 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfBarcodeFragmentRenderHandler.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc48f30751c779b44c78ea20bc6a419ffd3e79dfa7cefed8a8713ff74fa19828"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java:90-99 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java:112-119 \u2014 before extracting anything, compare \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java\u0060 and \u0060render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java: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 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 \u0060environment\u0060 to \u0060PdfRenderEnvironment\u0060 in one and \u0060PptxRenderEnvironment\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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"066708b9ae8cf7614b74a937aa31b4a55e446ab2fd59126afedc3b1b4550732f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java:319-329 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java:204-214 \u2014 before extracting anything, compare \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java\u0060 and \u0060render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e6222e429d09585508f1b6d743a8679fa07d75dea116321049ad297188811f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java:141-150 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java: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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java:141\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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"919a9319f2e43879229fad5e227ba9979c6701fe648545eeff289471ef35d089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java:181-190 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:659-668 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fefbe44f55e9e9cb7dc6dadecf43777f319a40a9d2282554098e1751f0fd97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/components/EntryCompactRenderer.java:74-83 | templates/src/main/java/com/demcha/compose/document/templates/cv/components/EntryCompactRenderer.java:194-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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/components/EntryCompactRenderer.java:74\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/components/EntryCompactRenderer.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"139b47fe8564196c62f1c50ea1b03c84ac3ce3a42a2ba0c79c637c1dee3e2a45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1220-1229 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:834-843 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf8ce9928022345ecf694b802916d0cc5710bf5cae11af1a11d5fbcc2cb8f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:696-705 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:758-767 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:696\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b069833010cb456abfe8580826472b86fc52aa59ce8d344a0383018b7ae1a32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:713-722 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:775-784 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:713\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b4b4cf8b802385b9fed19d3a5ea9cd34681c1cda3847617179e88114084631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java:151-160 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailMain.java:305-314 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java:151\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ada539ba665226627533ec825dd93b5b244e94fa7885550a5d58caa598f7cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:476-485 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:523-532 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:476\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3662048bea6c8470ace8836a3cf60bbe20a8fef9335560ca47066dfbc80e25f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java:114-123 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java:92-101 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java: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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf39d084b4675b9f608b2fc139308956b88edaa239504882a992ed12514bc78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java:283-292 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java:330-339 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java:283\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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"150ed639de829d36e1ccc620d6b968a8710661a3b057c63faf9a23e894ac8138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java:175-184 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceLines.java:152-161 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceLines.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java: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 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"59669978a8f4880cabc9b674468ce0d85503e5ecb1dec129180195acabf6f868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java:227-236 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceLines.java:190-199 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceLines.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe63c413b7eaf8ac954db9417f4cc0f4978beed3f810f3fdb25f7ebb2b3a8e5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:256-266 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java:292-302 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java\u0060 as WHOLE FILES: this scan already matched 7 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. 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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff029994654a01fbae0afda7f980a06fb380b648f2d73d19eecdc6b277ec3b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java:204-213 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java:196-205 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java\u0060 as WHOLE FILES: this scan already matched 6 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. 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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8822dc147a887c693fb083fd31b306c56d0065f88ce5a035d4618bb217690d6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldText.java:27-35 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarMain.java:326-334 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarMain.java:319-327 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineText.java:26-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 all 4 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldText.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2e6e6c3ec3473b7583d0631ca58b53d907ed05c63b939cc357c4059022272d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:533-538 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:745-753 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:581-586 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:533\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3573940d3182143c4b1c8b337114b120c1c60a191943037a12b222489379b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:948-956 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:1091-1099 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:1133-1141 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"26431c7cd226291e163c57be9c8ce6d94f90af9d2bf6c338ff476c44ca15be46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java:112-120 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredClosing.java:71-79 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java:90-98 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java\u0060 as WHOLE FILES: this scan already matched 5 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"13def1aa0038f4cb3a6d64c7baeb904261f923a3228afe3d6c4a162d5d267849"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java:81-89 | core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java:283-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 \u0060core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java: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/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"769da1959eaa83dfc66f00ff3552046db14811e3f16abeee567f3a313025dc21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/RowSlots.java:70-78 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:22707-22715 \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/src/main/java/com/demcha/compose/document/layout/RowSlots.java: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/src/main/java/com/demcha/compose/document/layout/RowSlots.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a267984ef36968c0c4ab5edb28ed3da760d745a6fd6aa162c9b2c1730e6b12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/definitions/LayerStackDefinition.java:45-52 | core/src/main/java/com/demcha/compose/document/layout/definitions/ShapeContainerDefinition.java:59-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/demcha/compose/document/layout/definitions/LayerStackDefinition.java:45\u0060 it does not close everything it opens, so those exact 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: the declarations holding them bind \u0060node\u0060 to \u0060LayerStackNode\u0060 in one and \u0060ShapeContainerNode\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/src/main/java/com/demcha/compose/document/layout/definitions/LayerStackDefinition.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3aa494bd11f7f542e9918dcbd18b443ba2e360b7d9d68f6c8a514a3510e632"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java:803-811 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java:836-844 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java:803\u0060 it does not close everything it opens, so those exact 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d418faf7072edc10607fbddf590cec012abf543512ba2fd34450feded5b97e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:10276-10290 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:11887-11901 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:10276\u0060 it begins part-way through the construct above it, so those exact 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, \u0060render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:10291\u0060 calls \u0060put\u0060 and \u0060render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:11902\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":10276}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c0dd39b1f0b386ad1921fae97bddb72e426ab52cfd98eb1ed9d69ed3e8a13d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxWithoutLayout.java:238-246 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxWrittenTree.java:38-46 \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 \u0060render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxWithoutLayout.java:238\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxWithoutLayout.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ebdae85bc96d31d822eedb9fb3c497e8ac578918c58e67ecc5719d933762a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/core/widgets/CardWidget.java:39-47 | templates/src/main/java/com/demcha/compose/document/templates/core/widgets/CardWidget.java:66-74 \u2014 both copies are in the same file, so extract the block 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":"templates/src/main/java/com/demcha/compose/document/templates/core/widgets/CardWidget.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"326c0de99606871fe2b0505b133bbf6c6699a966424fe918e2600d8092cac67f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java:150-158 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Executive.java:176-184 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Executive.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java:150\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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1630a5d1a8f920fa10a7ea1e1d59b8056b450bcc56b703a352aa3abb50582f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java:206-213 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Panel.java:475-483 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Panel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java:206\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1e4ad63a2451c62b0b25fcbf47314b7163349d8516703ec7d4844e81053cff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldWidgets.java:112-120 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailWidgets.java:221-229 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldWidgets.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8634b2eeff486ab05884e8955469d61c3f40572aa5b0f6bfca616ed056cdb53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:556-564 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:605-613 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:556\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd297b39a6106cf902f3ce1a2d155bb415432d5e88ac272216ebf0ed9fb6302a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:398-406 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:434-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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:398\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d07828ec3ae6f093741b4e3dcdfc3577c95f45c42716162709049030cbc8fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:419-426 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:449-457 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:419\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9822abe15a2a0a0e11f65caa3a8369d5b81641a5fd674a0ae6353a6ce6c245"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java:155-163 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailMain.java:383-391 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java: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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cad22803fe9d5ac414ccc459d323fd38181d7c4dc93c1ed5352f5e5dfd49db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailMain.java:299-307 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailMain.java:375-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailMain.java:299\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailMain.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c670057a1a32066ec496f4082da65e9ba452a252ff1f66de233462f8054ff1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java:177-185 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java:177-185 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/ModernProposal.java\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java: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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ModernInvoice.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c34ab645e5aef998b505e949e0bca0bed269e06438aa301735ba463242a849"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsWidgets.java:113-121 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceWidgets.java:140-148 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsWidgets.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff55f3e13bfe259a81164f6195636145b2a3895961aab71af9cfc69ac26ffa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:106-114 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java:143-151 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java\u0060 as WHOLE FILES: this scan already matched 7 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:106\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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95c5b4353e585b99fbf6f2a677b9676812162e9aa2cf875ce2419be42e77b9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:191-204 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java:227-240 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java\u0060 as WHOLE FILES: this scan already matched 7 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:191\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67700d71eb34cbfdfe5dbd6f3ea95e509dc8b64a9e15924c3889933cfe750b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:225-236 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java:263-274 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java\u0060 as WHOLE FILES: this scan already matched 7 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java: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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2dcb41f3bf07d82369732aed4d3db6c54e4b38779a2510c2732be3ca51d7aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyWidgets.java:48-55 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:245-252 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredWidgets.java:49-56 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianWidgets.java:43-50 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsWidgets.java:43-50 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformWidgets.java:51-58 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionWidgets.java:41-48 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceWidgets.java:49-56 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoFlow.java:108-115 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 9 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 9 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsWidgets.java:61\u0060 calls \u0060disc\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformWidgets.java:61\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyWidgets.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebba1a1aa9af009fc638d1c0740941b1809ca45f71badf98d033d458bd3d3da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyWidgets.java:127-134 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsWidgets.java:188-195 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java:412-419 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseBody.java:225-232 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailAside.java:331-338 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailMain.java:422-429 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridWidgets.java:133-140 \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. 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, \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailMain.java:431\u0060 calls \u0060hasBody\u0060, \u0060body\u0060, \u0060isBlank\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java:421\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyWidgets.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"982448069c017b0e54ec71ea60ab3ffb47cc9a38227288e89ee24269f56b8bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java:247-254 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredClosing.java:124-131 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java:189-196 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionClosing.java:293-300 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java\u0060 as WHOLE FILES: this scan already matched 5 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. 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"390cb19631a8f01e3cfc2b239e42e69a1fd84e31c7c423173b570fed87044c42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java:123-130 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:169-175 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:277-283 \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. 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"988673d01316c49935c1d8f9eb3663e02df02c3eab715a6f89988079740e01fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/InlineLayoutToken.java:181-188 | core/src/main/java/com/demcha/compose/document/layout/definitions/PathDefinition.java:61-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 \u0060core/src/main/java/com/demcha/compose/document/layout/InlineLayoutToken.java: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":"core/src/main/java/com/demcha/compose/document/layout/InlineLayoutToken.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"12163669f9969eecaa93bf0e00f24e7576c323c5a76a24918d52bed59a87f7f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:140-147 | core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:957-964 \u2014 both copies are in the same file, so extract the block 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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f6f7ade8cbfafd646154f258b31f09be6d96e3000f5b8b34b9fc68a34eb5ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:1010-1017 | core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java:84-93 \u2014 before extracting anything, compare \u0060core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java\u0060 and \u0060core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2b39dba7a0caacdebf358aa96fff374ec0cd234b95d3742a0708507f0289c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:669-676 | core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:698-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 \u0060core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:669\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95a9208468f203d68c41e94eba2ea928b5193e90dc652a7acb49bc95c0baafd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/TextFlowSupport.java:806-813 | core/src/main/java/com/demcha/compose/document/layout/TextFlowSupport.java:1025-1032 \u2014 both copies are in the same file, so extract the block 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/src/main/java/com/demcha/compose/document/layout/TextFlowSupport.java"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78224a12c5c5dec278a06576e0ad2769c5d78e60d2e97f1606d80312297f719"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/demcha/compose/engine/text/TextControlSanitizer.java:56-63 | core/src/main/java/com/demcha/compose/engine/text/TextControlSanitizer.java:158-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/src/main/java/com/demcha/compose/engine/text/TextControlSanitizer.java: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":"core/src/main/java/com/demcha/compose/engine/text/TextControlSanitizer.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe743b4263e4dec34598e3a5c9c70eb4fa9468d49445a23751abad7ce46c939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java:627-634 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/PptxDeckAssembly.java:144-151 \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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45b5108f47b879feb92e57567dcf9257e5d4278abfbb322d92785553de8166b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java:32-39 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOutputOptionsTranslator.java:32-39 \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 \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"faccf9b792adf9cd1c48bfcdce8d64dfd2f8fe26e4a4d4b6d2387dcb54b87ee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java:132-139 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java:132-138 \u2014 before extracting anything, compare \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java\u0060 and \u0060render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41b245b23e8b87c52b327df830abedcc9ba20d0706d319bdec2bf0c0d640011"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/BlueBannerLetter.java:85-92 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MinimalUnderlined.java:100-107 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/BlueBannerLetter.java: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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060doc\u0060 to \u0060CoverLetterDocument\u0060 in one and \u0060CvDocument\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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/BlueBannerLetter.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfebc941cdb192552bba087f3d0685deb54ca27b70b3d7a548dd70fe97de653e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java:261-268 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:888-895 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79b1fb47770af9d7e8505796fe7bdc89c0f432a6385f23881fe515c3c8b292a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/NordicCleanLetter.java:131-138 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:312-319 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/NordicCleanLetter.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/NordicCleanLetter.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a70de042a2f048c18e1d80e87f466ddebcde1afde47dbcc5214eba763d35872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:183-189 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:431-438 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java\u0060 as WHOLE FILES: this scan already matched 10 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java: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. 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"de75058058b78f9a0293984def24e1c381d3ba7264b2a355a7eb0b795a79df56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/components/SectionDispatcher.java:37-44 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/BlueBanner.java:150-157 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/components/SectionDispatcher.java:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/components/SectionDispatcher.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33326b3702cf350b20cd13018624db14ceab2441ae4310f0cfad4e9d9c34810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:737-744 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:798-805 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:737\u0060 it does not close everything it opens, so those exact 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, \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:745\u0060 calls \u0060lineSpacing\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:806\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"a809d54b6df26c81d5b95edc85fdc0a6427e2efa9c679698eb07248e68f31d1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:763-770 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:813-820 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:763\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f597f6309b2c13c322c2dfbd0fcb56612b959c43f9d4834834d9e626a46866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java:205-212 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridClosing.java:391-398 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java:205\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f679ad9d0a773c4079729502c4e0925096dec5d284d006a5dadd6ead23d622f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java:215-222 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridBody.java:349-356 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java:215\u0060 it does not close everything it opens, so those exact 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f9c59b3f6a187bbd5a58ea706c91b9510d9e906cb36a9fb76e3b875996e249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMasthead.java:272-279 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridMasthead.java:130-137 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMasthead.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMasthead.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8614e1fad20ef1dda5c5dabbad2e11c6e890d026be377c9bca41aaca66bc3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridClosing.java:266-273 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridClosing.java:275-282 \u2014 both copies are in the same file, so extract the block 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridClosing.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd856cbdc1aad57be18d79ebb8c3c3bd4d0886f674de7ec6514ae507184dc607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:128-134 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java:109-116 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java\u0060 as WHOLE FILES: this scan already matched 6 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdf32cafb5d43bd1ef9d4e95f0f08876295e91ce8e46891003044f45fda0fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java:65-72 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceMasthead.java:107-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 \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2deb697f132ec9f2d0dad1482e679b557c7d34e15b29e6f95e4933e76b4a1029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:309-315 | core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java:502-508 | core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java:72-78 \u2014 before extracting anything, compare \u0060core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java\u0060 and \u0060core/src/main/java/com/demcha/compose/document/layout/StackedLayerCompiler.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"794243640ce9769c173c973f5364b62515706c9f64c6b82e78d85c2d90261750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/BoxedSections.java:116-124 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MinimalUnderlined.java:113-120 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ModernProfessional.java: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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/BoxedSections.java:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/BoxedSections.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7b0771497aa88283286f1eb86d5e15df59d7e551269176d7f86384f09d0779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:165-171 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java:144-150 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionMasthead.java:132-138 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java\u0060 as WHOLE FILES: this scan already matched 6 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:165\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b566f731d2c36cf6802b981b034a1006493d361edd61ebe18b6ffea5a1897b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantParties.java:119-125 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredMasthead.java:237-243 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformParties.java:118-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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantParties.java: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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantParties.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d99dad00850c5a83244a01dc8e832bf17a1142e8353dfdb30a4b72ca934065d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/RowSlots.java:91-100 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:22725-22734 \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/src/main/java/com/demcha/compose/document/layout/RowSlots.java:91\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/src/main/java/com/demcha/compose/document/layout/RowSlots.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2febfa1ec5a896405231f1ca6f1ebb775a5074dda38183503eefcd8f76fdade5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/svg/SvgPathParser.java:303-310 | core/src/main/java/com/demcha/compose/document/svg/SvgPathParser.java:324-331 \u2014 both copies are in the same file, so extract the block 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/src/main/java/com/demcha/compose/document/svg/SvgPathParser.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa82da8f3830a2a5c7ae56ffd695f393cfbe765403e997afd230072bd1f7d27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): core/src/main/java/com/demcha/compose/engine/text/bidi/ArabicShaper.java:243-248 | core/src/main/java/com/demcha/compose/engine/text/bidi/BidiMirroring.java:34-40 \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/src/main/java/com/demcha/compose/engine/text/bidi/ArabicShaper.java: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":"core/src/main/java/com/demcha/compose/engine/text/bidi/ArabicShaper.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c1d58c60061a96a85f87cac78d2aa30e90eacd551863ce93b078dff4b975bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java:942-948 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java:994-1000 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java:942\u0060 it begins part-way through the construct above it, so those exact 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee2c9e9115465c04e46bef1fa9c74fe2c4c9a6b0109bea71d5c51384501331d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java:973-979 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java:1049-1055 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java:973\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dba08bba6c7ff16b672d444f754afb48184ff4eeb6a365bc999fb4d5badb8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 5): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPageMarginSections.java:538-544 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:6560-6561 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:6609-6615 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:11592-11595 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:18590-18591 \u2014 there are 5 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 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 \u0060render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPageMarginSections.java:538\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPageMarginSections.java"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fab61ce1354c304b748d4f6ca02c6d0fbadedbca9f02d313dd86e935efb7e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:14960-14966 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:16285-16291 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:14960\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":14960}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccd5895a9d5f73e8b6060e51158c90a35b8bd1f359986c22d7d48b2734bec69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java:381-389 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java:680-688 \u2014 both copies are in the same file, so extract the block 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTimelineRails.java"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abb56f8bbe1d968e11927f89ba464abf57fd487f114e2f878339ce564559538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOutputOptionsTranslator.java:122-130 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxChromeRenderer.java:458-466 \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 \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOutputOptionsTranslator.java: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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOutputOptionsTranslator.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e518c2fab0272028fc0ffe83e551c60246a11a99e3d7f1cf3dfdae256c635e52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfEllipseFragmentRenderHandler.java:63-71 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfPolygonFragmentRenderHandler.java:35-43 \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 \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfEllipseFragmentRenderHandler.java: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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060payload\u0060 to \u0060EllipseFragmentPayload\u0060 in one and \u0060PolygonFragmentPayload\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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfEllipseFragmentRenderHandler.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3aa27b6539df8f6a2682bacfe27d88d8707af0dc15c0b632cd716aa3ca0620"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java:343-349 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java:226-232 \u2014 before extracting anything, compare \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java\u0060 and \u0060render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fc16010e60136ad327d57196c73879680f2c2786edffff20dfce7cb7fe78a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxShapeFragmentRenderHandler.java:123-129 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java:172-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxShapeFragmentRenderHandler.java:120\u0060 calls \u0060drawable\u0060 and \u0060render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java:171\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":"render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxShapeFragmentRenderHandler.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e94a1708fe54d389b4695aace20fdb9384e4c7bec539b3ec9ab1ad8c532e6f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java:155-160 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:206-212 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java\u0060 as WHOLE FILES: this scan already matched 8 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java: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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"764bfd93b49604891d0071bae1bf981f38d93918d5523f9ac9740f5b7eb277f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/components/ProjectRenderer.java:51-57 | templates/src/main/java/com/demcha/compose/document/templates/cv/components/ProjectRenderer.java:127-133 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/components/ProjectRenderer.java:51\u0060 it begins part-way through the construct above it, so those exact 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, \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/components/ProjectRenderer.java:50\u0060 calls \u0060lineSpacing\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/components/ProjectRenderer.java:126\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/components/ProjectRenderer.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"218c63103888c27ca92b90df46fec4fb485750477d78e7b090fda2fb002a2d6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldWidgets.java:44-50 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldWidgets.java:86-92 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldWidgets.java:44\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldWidgets.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6825fc0a27643f6bbc9c5f7b11f9c8f0fd68ea824dc61dabbdda320f11cbd55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:716-722 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:848-854 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:716\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ccbbb031c8cf586f240616454d166094ea9b34df1f5225b9f544d723006343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:757-763 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:913-919 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:757\u0060 it does not close everything it opens, so those exact 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, \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:912\u0060 calls \u0060bodyStyle\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:756\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"1610b5a814c4e4f1efd896defbed7b0d4183eef386731d4c091afa92bb0dd6c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java:217-222 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridClosing.java:401-407 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java:217\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a5c2f5328aad5807266e83d518aabcb3c5e4f5bebba9b1aa260d3515ca70ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java:90-95 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java:69-75 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java: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 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cbcbccd0f08ea615449ff7bf3d85a5d6a8479358f14654f730dd416fcadd29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java:120-127 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformSettlement.java:108-114 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformSettlement.java\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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java: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 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfbec38a49b632cd65763f6166ce2f1427922b92f78d601006ca6425563b78f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java:196-202 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformSettlement.java:178-184 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformSettlement.java\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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a7f6552be959baeabde56dd3e8b63371be8b84fb1d4d4501cb7cd636079682"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java:152-158 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceLines.java:129-135 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceLines.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java:152\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2389d2cc0f9cadd7dffbf67351c8a32e93a279dff7909583cd04886cde4ddd99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:118-124 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java:155-161 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java\u0060 as WHOLE FILES: this scan already matched 7 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:118\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfa5aaf8392db65796ebb0276dc4bb0c821ed20cc817a9029b160b075824d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): core/src/main/java/com/demcha/compose/document/chart/ChartPrimitive.java:36-41 | core/src/main/java/com/demcha/compose/document/layout/SplitRequest.java:22-27 | core/src/main/java/com/demcha/compose/document/node/BarcodeNode.java:53-58 | core/src/main/java/com/demcha/compose/document/node/EllipseNode.java:49-54 | core/src/main/java/com/demcha/compose/document/node/PolygonNode.java:57-62 | core/src/main/java/com/demcha/compose/document/node/ShapeNode.java:178-183 \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 \u0060core/src/main/java/com/demcha/compose/document/chart/ChartPrimitive.java:36\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/src/main/java/com/demcha/compose/document/node/EllipseNode.java:47\u0060 calls \u0060isBlank\u0060, \u0060trim\u0060 and \u0060core/src/main/java/com/demcha/compose/document/node/PolygonNode.java:55\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/src/main/java/com/demcha/compose/document/chart/ChartPrimitive.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e221422a1c24237b63735415738585d07278c2cc084e9b1c2728cf48780097fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:76-83 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java:66-71 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionMasthead.java:80-86 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceMasthead.java:108-113 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java\u0060 as WHOLE FILES: this scan already matched 6 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be7b1756eb1db1453f6a2c008862738d815bbaa5d593ad92a59f7b1621300dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java:85-90 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOutputOptionsTranslator.java:121-126 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxChromeRenderer.java:457-462 \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 \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfOptionsAdapter.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf6231569ec9a411b180d2d97d0de4188fcad7990db7879740146300007cc96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxLineFragmentRenderHandler.java:55-60 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxShapeFragmentRenderHandler.java:124-129 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java:173-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 all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxLineFragmentRenderHandler.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a404954e5ef67b374a0e119c710b73ffef97a5ad3093f21597c080598d6a23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldAside.java:194-199 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarAside.java:268-273 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineMasthead.java:184-189 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldAside.java:194\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldAside.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00fcae29a009d2881b09bfdb06c75d6df1e928524660497fc02671e2b386919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:540-545 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:755-760 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:588-593 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:540\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5577182c954f765c77a3028b0e75c6745c95b19ba92198aadf7b9735eac2d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineAside.java:108-113 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineClosing.java:123-128 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineMain.java:263-268 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineAside.java: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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineAside.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4837c77353d925b220feccb1ac7b7e5acae0c82cc95b92a0561ca6757c437451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java:155-160 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailMain.java:309-314 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailMain.java:383-388 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java: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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea93729e6bf446eff3e3c12df48fc3a6fa57b107161024e284c778137a5c8456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceContactBlock.java:53-58 | templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceServiceLines.java:67-72 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalBrand.java:33-38 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceContactBlock.java:53\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, \u0060templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceServiceLines.java:64\u0060 calls \u0060requireNonNullElse\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalBrand.java:31\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":"templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceContactBlock.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0faf395925d229965a8e6cde8d4db6e5885f133bb164ae6b5c17adaf013eb7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 4): core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java:91-96 | core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java:131-134 | core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java:293-298 | core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java:328-331 \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/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java: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 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, \u0060core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java:96\u0060 calls \u0060ShapeNode\u0060 and \u0060core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java:134\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/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3dd2a1c5ed6f677f3889f9d468c1458da4a52deec7adfa3d0e3d63c740b8059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java:182-187 | core/src/main/java/com/demcha/compose/document/chart/ChartLayoutSupport.java:89-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba87bfb51ba6e344620f3b22b62388cf20ffa8bffd1dfa0a8caa1944fa65482"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:327-332 | core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:393-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c030aa309e31d746e2cbdfef310d78bbfa00957bee92c8e3ba3df2d41fdb9104"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:484-489 | core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:522-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"811dc0badd901cd49d13efcc20cfba4054bb304557c06cfacd9504f05cf03652"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/definitions/AlignDefinition.java:41-46 | core/src/main/java/com/demcha/compose/document/layout/definitions/HorizontalBandContentDefinition.java:52-57 \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/src/main/java/com/demcha/compose/document/layout/definitions/AlignDefinition.java:41\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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: the declarations holding them bind \u0060node\u0060 to \u0060AlignNode\u0060 in one and \u0060HorizontalBandContentNode\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/src/main/java/com/demcha/compose/document/layout/definitions/AlignDefinition.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d99ead3a089a873e8bda70deeb291b9b73512554939b8fcd431ab8188e67fc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/svg/SvgGradients.java:342-347 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxShapePictures.java:204-209 \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/src/main/java/com/demcha/compose/document/svg/SvgGradients.java: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/src/main/java/com/demcha/compose/document/svg/SvgGradients.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b24f4da423b256a3644d9495d25962b4a9e28d053ea18f51e37f7e3c85dbe6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java:118-123 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ClassicSerif.java:139-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e48476729a7509a8f9e74b71f8d53a2ec55fe33b6c3198f78922e788868494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java:131-136 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java:144-150 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java: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. 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6de1179629c849a80738cf62f71845500ab873dfd3fb5a647b8f6f97a9913b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java:324-330 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:594-600 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java\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. 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a0afb163e91258ab3eccacd3811472eb8e73b4ece5ebf3bab70934e636d79f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsAside.java:158-166 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsAside.java: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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsAside.java:158\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsAside.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ccf0cbcab60c21e0d243de52519ffafd7cd5c464549029354a6b1856c44845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java:240-247 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridClosing.java:415-422 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java:240\u0060 it does not close everything it opens, so those exact 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, \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java:239\u0060 calls \u0060style\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridClosing.java:414\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cc9d1ffa2c1987466235d2a2f2c3816db92c0296068781284602cb39d53ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java:354-359 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridClosing.java:329-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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java:354\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"81003381503f457621025b50bdb92817535a85c148cd13eeac85495f145c1f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/SectionHeader.java:140-145 | templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/SectionHeader.java:208-213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/SectionHeader.java:140\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/widgets/SectionHeader.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5887c1b5b90fd059ebb2c666bf0723d1dbff27243e10fcebf7bc08bdfe9896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:86-91 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java:74-79 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java\u0060 as WHOLE FILES: this scan already matched 6 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:86\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79bd926ce0b2173a032a454570d08e1c7299454b7115521291cc2b4c5fccc68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:188-193 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java:163-168 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java\u0060 as WHOLE FILES: this scan already matched 6 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java: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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9eef7b3d90269cc0e338b58cd52a792daa1386efb4a0baf13036217cde48a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java:106-111 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformSettlement.java:93-98 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformSettlement.java\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. If that is what happened, the fix is to keep one copy and have the other 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, \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformSettlement.java:99\u0060 calls \u0060addSection\u0060, \u0060spacing\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java: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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25069fb9160bb41645720fba321f3ac9d742bbec970ba0e8e29966016f654f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java:86-93 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceLines.java:77-84 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceLines.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java: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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsLines.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fd05233d7ebce1efd740c5d32681e8d30a51388ae9cfd4cbb34e9a996507c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsParties.java:97-102 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceMasthead.java:252-257 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsParties.java: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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsParties.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0818aa694d6937bcd506eae09da3d81a46273c49c7651e1e78386adc4e8030cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialProposal.java:152-157 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlineProposal.java:151-159 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialProposal.java:152\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialProposal.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82abec6137a8d8a24ef0e73f67b1d4af765f96d861628546aec18ae5c213c40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10): core/src/main/java/com/demcha/compose/document/chart/ChartPrimitive.java:36-40 | core/src/main/java/com/demcha/compose/document/layout/SplitRequest.java:22-26 | core/src/main/java/com/demcha/compose/document/node/BarcodeNode.java:53-57 | core/src/main/java/com/demcha/compose/document/node/EllipseNode.java:49-53 | core/src/main/java/com/demcha/compose/document/node/InlineImageRun.java:41-45 | core/src/main/java/com/demcha/compose/document/node/InlineSvgRun.java:46-50 | core/src/main/java/com/demcha/compose/document/node/PathNode.java:92-96 | core/src/main/java/com/demcha/compose/document/node/PolygonNode.java:57-61 | core/src/main/java/com/demcha/compose/document/node/ShapeNode.java:178-182 | core/src/main/java/com/demcha/compose/document/style/DocumentTextAutoSize.java:26-30 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 10 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/demcha/compose/document/chart/ChartPrimitive.java: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/src/main/java/com/demcha/compose/document/chart/ChartPrimitive.java:33\u0060 calls \u0060requireFinite\u0060 and \u0060core/src/main/java/com/demcha/compose/document/node/InlineImageRun.java:39\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/src/main/java/com/demcha/compose/document/chart/ChartPrimitive.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"32911d5b97af7982db8514a6bad7ed6df0d4009e8350386b560fbaede4ae1a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/BoxedSections.java:122-127 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CenteredHeadline.java:149-155 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MinimalUnderlined.java:118-122 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ModernProfessional.java:173-177 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/BoxedSections.java:122\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/BoxedSections.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96a65e0af3d5bb3936290bab991e896ba9f4b359804b8f9d076322160abcc0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:165-169 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java:144-148 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionMasthead.java:132-136 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionParties.java:89-93 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformMasthead.java\u0060 as WHOLE FILES: this scan already matched 6 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:165\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"023bcaedc2a563f40a3a146d4484485366f58f8728858a7933c5cfae2b1acbef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsAside.java:161-165 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsAside.java:270-274 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsMain.java:339-343 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsAside.java: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, \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsAside.java:275\u0060 calls \u0060size\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsMain.java:344\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsAside.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b867e0c0d6bf86f8901d634b6b00892c93373a5682a8f0c8d1040ee253f168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java:54-58 | core/src/main/java/com/demcha/compose/document/chart/LineChartLayout.java:40-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeafa80bacfbc13e0023aecdb6ae246ae063b2bd87290719a93a7bf1fb6d4bb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java:60-66 | core/src/main/java/com/demcha/compose/document/chart/LineChartLayout.java:46-52 \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/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java: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/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76723b1d9f4312a3201d463436e3f6ee020cefb0edd17fff72c96410f666764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/InlineLayoutToken.java:199-206 | core/src/main/java/com/demcha/compose/document/svg/SvgIcon.java:230-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/layout/InlineLayoutToken.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cbdc7ef5d359b0ecb94d9580dee9960361615735d5b390e90d7e6e341ea21a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:577-582 | core/src/main/java/com/demcha/compose/engine/text/markdown/MarkDownParser.java:161-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java:577\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/src/main/java/com/demcha/compose/document/layout/ParagraphWrapping.java"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebfd9199935288aea4e018ecf995f1add32183803ac569bfb39a5ea5b004a8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): core/src/main/java/com/demcha/compose/document/node/ContainerNode.java:47-51 | core/src/main/java/com/demcha/compose/document/node/RowNode.java:90-93 | core/src/main/java/com/demcha/compose/document/node/SectionNode.java:59-63 \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. 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, \u0060core/src/main/java/com/demcha/compose/document/node/ContainerNode.java:51\u0060 calls \u0060zero\u0060 and \u0060core/src/main/java/com/demcha/compose/document/node/RowNode.java:93\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/src/main/java/com/demcha/compose/document/node/ContainerNode.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"69afc6fceb2feca11faf2f931501efd90911eec77ec3670c9d38a057801fe3ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:16692-16696 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxZoneParts.java: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 \u0060render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:16692\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":16692}}}],"partialFingerprints":{"codehealthFindingId/v1":"9033eccf1a8625d5b8ce14ac26fb7ed8309293e54676c32c20e74b3306ca284b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfDocumentPostProcessor.java:70-74 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfDocumentPostProcessor.java:120-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfDocumentPostProcessor.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca09dfb0cbd0ef12c242e22d1e3017979c80eb0e724418d1bd1feedbf339ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java:744-748 | render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java:303-307 \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 \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java:744\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/PdfFixedLayoutBackend.java"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b93ec2015e7ea11ac958280e9f1e4f5a307adb220b6ec6f490767f1eab289f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/engine/render/pdf/helpers/PdfWatermarkRenderer.java:190-198 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxChromeRenderer.java:300-308 \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 \u0060render-pdf/src/main/java/com/demcha/compose/engine/render/pdf/helpers/PdfWatermarkRenderer.java:190\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 \u0060position\u0060 to \u0060WatermarkPosition\u0060 in one and \u0060DocumentWatermarkPosition\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":"render-pdf/src/main/java/com/demcha/compose/engine/render/pdf/helpers/PdfWatermarkRenderer.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcc68cf1bad1b5195eabc770bdceded7d41ac0c150ba4292645f3b47b732628"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldMain.java:175-179 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailMain.java:265-269 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldMain.java: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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldMain.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bf4ea7e89659135b1d337a892ed8809f386a1404ad7d1afbc1efc844b24831"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMasthead.java:283-288 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridMasthead.java:142-146 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMasthead.java:283\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMasthead.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8b226958cb5547356383fe09009265705dedd928e0992c9eee4d35b4fe0596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 5): templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceContactBlock.java:48-51 | templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceParty.java:28-32 | templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoicePaymentBlock.java:45-48 | templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceRecipient.java:44-47 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalParty.java:28-32 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceParty.java:28\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceParty.java:28\u0060 calls \u0060copyOf\u0060, \u0060requireNonNullElse\u0060, \u0060of\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceContactBlock.java:48\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":"templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceContactBlock.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2831cc135a6fbf2ab0aafe583e0eb2054335730a4b2044c8bb718d870e8730f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:164-168 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantParties.java:118-122 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java:164\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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantMasthead.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99c63d5c95c20f71fdc77c614a4f7caa9c62ed99c13d39a3e32493aaea92d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java:144-148 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianCards.java:107-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 \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c841f10dfb3d6dd226328d452ae1cc65324feae386aa82e2b92808e5562805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java:284-290 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java:316-322 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageOne.java\u0060 as WHOLE FILES: this scan already matched 7 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java: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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageOne.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d05726604fce4ed3ebb627dec42d8060d3db57c2bd79e318da862516eb5e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfBookmarkOptions.java:1-36 | core/src/main/java/com/demcha/compose/document/node/DocumentBookmarkOptions.java:1-34 \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/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfBookmarkOptions.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfBookmarkOptions.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ff6eee8510013694a23f033fb9567fdaf39f04910be6513f0eca7555554738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfLinkOptions.java:1-35 | core/src/main/java/com/demcha/compose/document/node/DocumentLinkOptions.java:1-36 \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/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfLinkOptions.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfLinkOptions.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f111ffd078f7a9c9621cea8f2134e86e36fc29a31762b7d0b8c0add4f4e35a76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/payloads/ParagraphShapeSpan.java:1-35 | core/src/main/java/com/demcha/compose/document/layout/payloads/ParagraphSvgSpan.java:1-40 \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/src/main/java/com/demcha/compose/document/layout/payloads/ParagraphShapeSpan.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/src/main/java/com/demcha/compose/document/layout/payloads/ParagraphShapeSpan.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d470626391d96c6789c0079fb329394585d5ea9625e9529750294c005cb99c52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/snapshot/LayoutNodeSnapshot.java:1-26 | core/src/main/java/com/demcha/compose/engine/debug/LayoutNodeSnapshot.java:1-31 \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/src/main/java/com/demcha/compose/document/snapshot/LayoutNodeSnapshot.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/src/main/java/com/demcha/compose/document/snapshot/LayoutNodeSnapshot.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c01e826c13cc8274db8c4138e7f020c164f6f62a83741efe5fc97f14009aa8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): examples/src/main/java/com/demcha/examples/support/theme/TablePreset.java:1-36 | templates/src/main/java/com/demcha/compose/document/templates/core/theme/BrandTheme.java:1-497 \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 \u0060examples/src/main/java/com/demcha/examples/support/theme/TablePreset.java:1\u0060 it does not close everything it opens, so those exact 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":"examples/src/main/java/com/demcha/examples/support/theme/TablePreset.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d43d37033e6a49ad7a77845c791cbbe8cd2ad1dd8204148eb72a5445d1c2ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/core/text/TextStyles.java:12-34 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialStyles.java:19-221 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlineStyles.java:28-206 \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":"templates/src/main/java/com/demcha/compose/document/templates/core/text/TextStyles.java"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc47e286ff4db49568b94d292a1374a5ba7a7432f5e318773224164029c9573f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/data/CvRow.java:1-33 | templates/src/main/java/com/demcha/compose/document/templates/cv/data/ParagraphSection.java:1-27 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/data/CvRow.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/data/CvRow.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cd96e9be95f69effdd5241405b5bb9e2881fc6eb734ee1b2715274376e4d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 5): templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceSummaryBlock.java:1-22 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalPricingRow.java:1-100 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalTimelineItem.java:1-86 | templates/src/main/java/com/demcha/compose/document/templates/data/receipt/ReceiptEvent.java:1-37 | templates/src/main/java/com/demcha/compose/document/templates/data/rota/RotaVenue.java:1-32 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceSummaryBlock.java:1\u0060 it does not close everything it opens, so those exact 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":"templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceSummaryBlock.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc8471f0d222c5cf7fbe8750ff7845aa7d5935683de6d55ea7821a9e2cf7e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalAcceptance.java:1-30 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalMetaLine.java:1-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 both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalAcceptance.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalAcceptance.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e9a520ae5090f50f234bd9ffa485ae54d1f42cb44ec228f1163c15c3e00b1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201333 lines \u00D7 5): templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceData.java:48-50 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalData.java:48-50 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalDeliverables.java:1-33 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalPhaseGrid.java:1-68 | templates/src/main/java/com/demcha/compose/document/templates/data/schedule/WeeklyScheduleData.java:43-45 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalDeliverables.java:1\u0060 it does not close everything it opens, so those exact 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":"templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceData.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8708c9ae52b3cd3f0af3a690fcbbc0fadea3a9ab263efd12eef70e122fa3af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalRecipient.java:1-38 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalSummaryBlock.java:1-27 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalTermsBlock.java:1-26 | templates/src/main/java/com/demcha/compose/document/templates/data/rota/RotaGroup.java:1-34 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalRecipient.java:1\u0060 it does not close everything it opens, so those exact 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":"templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalRecipient.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c206f71299d92db8205dd1fe865d25b4a7f5694fc02ed76f1e7ee3ab866958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/src/main/java/com/demcha/compose/document/api/DocumentSession.java:143-151 | core/src/main/java/com/demcha/compose/document/api/DocumentSession.java:159-167 | core/src/main/java/com/demcha/compose/document/api/MultiSectionDocument.java:298-306 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060body\u0060 to \u0060RenderingBody\u003CR\u003E\u0060 in one and \u0060ImageRenderingBody\u003CR\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":"core/src/main/java/com/demcha/compose/document/api/DocumentSession.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5158a7ecee32e100ce35852105e6d451cd7a40e1ba80e5079c034ae52f7f4a76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfMetadataOptions.java:30-37 | core/src/main/java/com/demcha/compose/document/output/DocumentMetadata.java:32-39 \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/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfMetadataOptions.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb12cdea1979bbba0e73f97bbb5b558f30f285205d3af4742b3ec4da785f31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): core/src/main/java/com/demcha/compose/document/chart/ChartPrimitive.java:43-47 | core/src/main/java/com/demcha/compose/document/node/LineNode.java:316-320 | core/src/main/java/com/demcha/compose/document/style/DocumentPaint.java:208-212 | core/src/main/java/com/demcha/compose/document/style/DocumentPathSegment.java:145-149 | core/src/main/java/com/demcha/compose/document/style/DocumentTransform.java:119-123 \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":"core/src/main/java/com/demcha/compose/document/chart/ChartPrimitive.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b983cc4ef969d80d16c3f9a50d22e67a3b7c3300d53a9943a7e5d342587398"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/chart/PointMarker.java:55-59 | core/src/main/java/com/demcha/compose/document/style/ShapeOutline.java:492-496 \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/src/main/java/com/demcha/compose/document/chart/PointMarker.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef746c30b0c6e7159cef643011659c92f5fcbbcce0727906d326baf7c7f6bd78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/debug/snapshot/LayoutGraphSnapshotExtractor.java:298-305 | core/src/main/java/com/demcha/compose/engine/debug/LayoutInsetsSnapshot.java:28-35 \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/src/main/java/com/demcha/compose/document/debug/snapshot/LayoutGraphSnapshotExtractor.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"da39b4a1f48ca1225789f89b94acf18c2d2fd78c71844d0b544834ae67871dfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/debug/snapshot/LayoutGraphSnapshotExtractor.java:307-314 | core/src/main/java/com/demcha/compose/engine/debug/LayoutInsetsSnapshot.java:43-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. 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/src/main/java/com/demcha/compose/document/debug/snapshot/LayoutGraphSnapshotExtractor.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d70dc4af493e4b7493595a1a8b0455def755210cbd4a2f9b13018449638ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/debug/snapshot/LayoutGraphSnapshotExtractor.java:316-323 | core/src/main/java/com/demcha/compose/engine/debug/LayoutInsetsSnapshot.java:52-59 \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/src/main/java/com/demcha/compose/document/debug/snapshot/LayoutGraphSnapshotExtractor.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcba3de8f461bb7b44f9db76ffe9f03bc4ace9eea20c947e670f899193cfad08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/dsl/LayerStackBuilder.java:80-84 | core/src/main/java/com/demcha/compose/document/dsl/ShapeContainerBuilder.java:376-380 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/src/main/java/com/demcha/compose/document/dsl/ShapeContainerBuilder.java:388\u0060 calls \u0060layer\u0060 and \u0060core/src/main/java/com/demcha/compose/document/dsl/LayerStackBuilder.java:97\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/src/main/java/com/demcha/compose/document/dsl/LayerStackBuilder.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd2c60ff123fa26fd2f13ef6d224ba3899259f9ace6418a4c4fbae2e67bd14f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/dsl/LayerStackBuilder.java:100-104 | core/src/main/java/com/demcha/compose/document/dsl/ShapeContainerBuilder.java:405-409 \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/src/main/java/com/demcha/compose/document/dsl/LayerStackBuilder.java: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. 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/src/main/java/com/demcha/compose/document/dsl/LayerStackBuilder.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bff67880ec665e24cc0773902bb18fdfb2e7c4d3e88034b3c38211428ce65aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/dsl/LayerStackBuilder.java:121-125 | core/src/main/java/com/demcha/compose/document/dsl/ShapeContainerBuilder.java:426-430 \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/src/main/java/com/demcha/compose/document/dsl/LayerStackBuilder.java:121\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":"core/src/main/java/com/demcha/compose/document/dsl/LayerStackBuilder.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"da88184a5f67aaf420774dd17741a445ff9868506e9f5a2bc824f95e422c8337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/DocumentNodeAdapters.java:46-51 | core/src/main/java/com/demcha/compose/document/layout/LayoutInsets.java:24-29 \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/src/main/java/com/demcha/compose/document/layout/DocumentNodeAdapters.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3e91620a3fdff4395891695e1da3a1ed999e15f37e9bba01bea92a8fc55422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): core/src/main/java/com/demcha/compose/document/layout/definitions/BarcodeDefinition.java:31-35 | core/src/main/java/com/demcha/compose/document/layout/definitions/EllipseDefinition.java:31-35 | core/src/main/java/com/demcha/compose/document/layout/definitions/PathDefinition.java:37-41 | core/src/main/java/com/demcha/compose/document/layout/definitions/PolygonDefinition.java:33-37 | core/src/main/java/com/demcha/compose/document/layout/definitions/ShapeDefinition.java:32-36 | core/src/main/java/com/demcha/compose/document/layout/definitions/SpacerDefinition.java:30-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 all 6 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060node\u0060 to \u0060BarcodeNode\u0060 in one and \u0060EllipseNode\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/src/main/java/com/demcha/compose/document/layout/definitions/BarcodeDefinition.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d38cb2259e55194a8a5224164ddb195f589978e875b7af334b960a8144ae22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/definitions/ContainerDefinition.java:31-37 | core/src/main/java/com/demcha/compose/document/layout/definitions/SectionDefinition.java:31-37 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060node\u0060 to \u0060ContainerNode\u0060 in one and \u0060SectionNode\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/src/main/java/com/demcha/compose/document/layout/definitions/ContainerDefinition.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f8afcc5d5f4be66d2ed38ce638aecccf58140442d180b52c75c778ca66bf4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/node/LineNode.java:238-242 | core/src/main/java/com/demcha/compose/document/node/ParagraphNode.java:153-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/demcha/compose/document/node/LineNode.java:238\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/src/main/java/com/demcha/compose/document/node/LineNode.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4346d504165bc327730a7147f5ee5eef3212386fbabcf43697749c7d86b2b490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/node/LineNode.java:310-314 | core/src/main/java/com/demcha/compose/document/style/DocumentCornerRadius.java:156-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/node/LineNode.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a7e5e299f915b393607ef0f4401949e1cf658cb37a5a4b3b13706d720e42f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/src/main/java/com/demcha/compose/document/svg/SvgGradients.java:395-402 | core/src/main/java/com/demcha/compose/document/svg/SvgIconReader.java:591-598 | core/src/main/java/com/demcha/compose/document/svg/SvgStyles.java:290-297 \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":"core/src/main/java/com/demcha/compose/document/svg/SvgGradients.java"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c20834ab61cc52a923fbcfb265cd9145f482b5342b751ac3b26c1a1ad62a59e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/svg/SvgGradients.java:419-423 | core/src/main/java/com/demcha/compose/document/svg/SvgIconReader.java:113-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. 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/src/main/java/com/demcha/compose/document/svg/SvgGradients.java"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0da2bad5af695de4ca2e765ecbefb9a517585a34881eacef43771267eaa89e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/table/DocumentTableColumn.java:18-25 | core/src/main/java/com/demcha/compose/engine/components/content/table/TableColumnLayout.java:13-20 \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/src/main/java/com/demcha/compose/document/table/DocumentTableColumn.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"717bff87e66eb5ff523ddbd11bb22c88c38f1c577305b93ecec6bd6b6ee63074"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/java/com/demcha/compose/engine/components/style/Margin.java:48-54 | core/src/main/java/com/demcha/compose/engine/components/style/Padding.java:34-40 \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/src/main/java/com/demcha/compose/engine/components/style/Margin.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"981eb182d3f887bffd485b69977f76c47b92a64708818238741d7e53c6cdc729"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/demcha/compose/engine/text/TextControlSanitizer.java:181-188 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTextControls.java:99-103 \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/src/main/java/com/demcha/compose/engine/text/TextControlSanitizer.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"df426198939fc2703665288b73e5dcd84b61dd3ab9075355258f773015d89be4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDeterminism.java:44-49 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/PptxDeterminismWriter.java:40-45 \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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDeterminism.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f674746820b42acb06ad8e86b0bfe87f28cc26a7c0f9b6e6927914e3830abda6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/InlineSvgRasters.java:172-177 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxShapeStyle.java:50-55 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/InlineSvgRasters.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5a343de583f16114da631703f5bd217bd42d59d89330d6673d749cdc4ead9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java:363-371 | render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java:266-274 \u2014 before extracting anything, compare \u0060render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java\u0060 and \u0060render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d730c43e8cfcfcac8afe8fc64d8eec36bf5877ed6a510a5e5353ce4ded30de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CenteredHeadlineLetter.java:130-136 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CenteredHeadline.java:221-227 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CenteredHeadlineLetter.java:130\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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CenteredHeadlineLetter.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b25eeaf7270a3f46af4c243edb02a10b61b40397b4521a4751d97a79f1c006"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java:130-135 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java:232-236 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/NordicCleanLetter.java:150-154 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ClassicSerif.java:335-340 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1184-1188 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:806-811 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:834-839 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:516-521 \u2014 there are 8 copies across 7 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0f940b85d1ec6f7a0741491b657de536ef17abc797ac3c74fc3023c156428d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java:137-142 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java:238-242 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/NordicCleanLetter.java:156-160 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java:233-237 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ClassicSerif.java:342-347 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Panel.java:506-511 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Panel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"854f2d0f1cd3cd040c00ad95ca36e8ae74ce1f83cf95142aa7ac2b04f3943038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java:144-149 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java:244-248 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ClassicSerif.java:349-354 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ClassicSerifLetter.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fe82d9d6ff8a57161ffeb3c159c59ff029ca873a20973c2a7678724ec21f99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java:152-156 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java:185-189 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:543-548 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java\u0060 as WHOLE FILES: this scan already matched 8 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bc7e77d865b3358319af1bbd13a743a34cd1e2ce2f4b6c0d779cd69e9edd12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java:158-162 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java:322-327 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5729fdacb1dcb906c08c3ee0dacd1454f1362250b4f42423255e9ea38ea734b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java:164-168 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java:329-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. 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa09ddd3e79e4586608d16da26940adba18998c59b54d5ab483a5338869b515f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java:170-174 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CompactMono.java:336-341 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/CompactMonoLetter.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f9510d5c68b7daa8f649d518f07145768a23b1e5c5420743549caac4347bf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java:196-200 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:557-562 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java\u0060 as WHOLE FILES: this scan already matched 8 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a212b4381a4efc224ce9d7fa1972a96768fceff17fffe957df7109656a36cabc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java:202-206 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:564-569 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java\u0060 as WHOLE FILES: this scan already matched 8 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c044bb8c47bd66e66c6c1cff03467cc0a8dc69f8a6cfc4c125e39b1c35b19ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java:233-237 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:257-261 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java\u0060 as WHOLE FILES: this scan already matched 8 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java: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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/EngineeringResumeLetter.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"3626940d6d3ae89e437565aaa4db5894de69da092a8588953feaaf73702df8ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java:205-210 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java:227-231 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/SidebarPortraitLetter.java:154-158 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Executive.java:231-236 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:820-825 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Panel.java:499-504 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:913-918 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java\u0060 as WHOLE FILES: this scan already matched 4 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. If that is what happened, the fix is to keep one copy and have the other 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"737dd32465752144e790f98ba2faf811a6725de7d159de2bc4e535a393e8c3af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java:212-217 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java:221-225 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:648-653 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Executive.java:238-243 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1178-1182 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:849-854 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Panel.java:492-497 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:971-976 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:619-624 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/PanelLetter.java\u0060 as WHOLE FILES: this scan already matched 4 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. If that is what happened, the fix is to keep one copy and have the other 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cca8631e85be2aa1b36ec68b93a02ea1012519cc08cc96310c778a3b341f22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java:219-224 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Executive.java:245-250 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/Executive.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/ExecutiveLetter.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"decce6f5c8c59f4ca30ccb4cbf158e98834b34e085df46a00befe74333efc0b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java:391-396 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1145-1150 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java\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. 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d78c5a283066fb38d2bd2e92e0d8015b243ae8d4d09cad01f7303d8c03b0c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java:399-404 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1152-1157 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java\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. 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad23e71bee39a69f14fcde5e2db99730ff64e4ec1318be195ab9da5cc63daf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java:217-222 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:214-219 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:782-788 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:569-575 \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. 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2009b3796443fd1d85b498c54f6ec3fbedabe5253621e774afd40e0b262605"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java:250-258 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:877-885 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13ccd4f12f082bae1037f0b0fcb7f39e06d9a8bfe793933f051404c4d222403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/NordicCleanLetter.java:144-148 | templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/SidebarPortraitLetter.java:140-144 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NordicClean.java:502-507 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:898-903 \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. 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/NordicCleanLetter.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdefcffb2caa2dda61b4b36606944767d2b269fc419670485d19408537242a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/SidebarPortraitLetter.java:147-152 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:905-911 \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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/SidebarPortraitLetter.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7122a80839ba2a7cc05039c02b818eca50fa3a27c6362064a21e2b6874428bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:226-230 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:584-589 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java\u0060 as WHOLE FILES: this scan already matched 10 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. 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f5040841a10010da91ad870340bd1c2516ff9bf3326196b26de0f346ad2245"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:240-244 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:464-469 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java\u0060 as WHOLE FILES: this scan already matched 10 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 \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:240\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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2905f545b9d2c71dfeb0f1cae163ea2dadd418a8ac7328d74ff56192c3dc2cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java:263-272 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java:745-754 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TimelineMinimal.java\u0060 as WHOLE FILES: this scan already matched 10 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. 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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/TimelineMinimalLetter.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"818ed4fa615e20840ba89cd69b8291cdd38be1a868d40163b8b636cfda258eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldAside.java:284-290 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyAside.java:385-391 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarAside.java:384-390 \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. 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldAside.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9da1a5e47fef533dcabebbd07de5cf2405f97230331bfdc0fe457acb995276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldText.java:46-52 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineText.java:48-54 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldText.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23e737d768b2e4aa8367332b084ae3ffb3c9ea1bd236e609a41c6ba56f92375"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:620-625 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:669-674 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:985-990 \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. 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"de49f07b6115d15fea1821ee2ef2e7ff2a1993539d3cf61c290aaa9d6f798315"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:627-632 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:1172-1176 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:856-861 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:978-983 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:992-997 \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. 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f4b1f01734a4fbd76b3869a136ed4508d0a2d2baf09032bbda497c41ff0ab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java:655-660 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:813-818 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:928-933 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:949-954 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/EngineeringResume.java"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf8fe34637f73d86c0d6fb0209888cc695470bcf85bbe626eabf35a3276df25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyIcons.java:65-74 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsIcons.java:97-106 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SerifHeadlineIcons.java:73-82 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeIcons.java:80-89 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridIcons.java:78-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 all 5 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyIcons.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"08261c1a8fef01145448377fab00d1e057e49f2e214cdf90632eea296ea4b2d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyStyles.java:168-175 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredStyles.java:272-279 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianStyles.java:180-187 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsStyles.java:448-455 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformStyles.java:163-170 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionStyles.java:194-201 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceStyles.java:336-343 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 7 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyStyles.java:168\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyStyles.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c5720aa72f51c8a3a6836d800fae3803c90521c25db467e78f946668aed7e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:798-804 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:920-926 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef04e01f59809d139e28d4197bdde43d33653bce79c408135778abb6a06c950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:841-847 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:963-969 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a55c91ad6d97c64c9c2fc8c6fc592b66bf4b03ca8cb0939acc5deabb18ddac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:927-931 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java:1043-1047 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SidebarPortrait.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java:927\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.java"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"414ca64cdbc1d95948772a3e3b7f98e3896bdf8c4ffa1362a784cc731cfa2595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarIcons.java:54-60 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarIcons.java:49-56 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarIcons.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"94964afe5d07df39c4ea5705ce8af30dda8ecdae225dda26f03a637d2d918f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsStyles.java:336-343 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeStyles.java:296-303 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridStyles.java:396-403 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeStyles.java: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. 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOpsStyles.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"8384b7a46865593e0b9ced532ab9b168fec4bd4cfc9bd301e462277ac404c6ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMasthead.java:181-186 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailAside.java:169-174 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMasthead.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9292b87687adddb0d0fce1e379424282fc61ba731b34ce7afa90f6a5793e63ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMasthead.java:188-192 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailAside.java:176-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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMasthead.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3928e87afffe77062d11a1bc65923b8b53536f8e701438c92e5998ff5f1e3694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeWidgets.java:67-74 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridWidgets.java:116-123 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeWidgets.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0b5a3ba28d048c9cc9f500fb86554936920913354c1acaaa9d0d587e73e05e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceParty.java:73-79 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalParty.java:73-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. 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":"templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceParty.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af34e0eaa7986db2455b32f61045312649e5c55cc849a812e1165ff0f441825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceParty.java:87-93 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalParty.java:87-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. 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":"templates/src/main/java/com/demcha/compose/document/templates/data/invoice/InvoiceParty.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95eb962865b7138fc21ac65686fe24c1c877f634ff2b953dd64f23380ffaead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalGlance.java:52-57 | templates/src/main/java/com/demcha/compose/document/templates/data/schedule/ScheduleDay.java:29-34 \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":"templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalGlance.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d86c8045f9c40e9ac28fa1b2b6c3d8ebf415599411d4caf60bf7482a993269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalGoals.java:24-29 | templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalScope.java:27-32 \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: the declarations holding them bind \u0060items\u0060 to \u0060List\u003CGoal\u003E\u0060 in one and \u0060List\u003CItem\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":"templates/src/main/java/com/demcha/compose/document/templates/data/proposal/ProposalGoals.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53350090a85484e22ec6f101f856181ff93e9951db27f1638c067b104ad0809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ConsultingText.java:102-108 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantText.java:21-27 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianText.java:76-82 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsText.java:26-32 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionText.java:67-73 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceText.java:26-32 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsText.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceText.java\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. If that is what happened, the fix is to keep one copy and have the other 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ConsultingText.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6201c968ad3fe0a1b78bb38bbf753123dea4da5a38348419a1c38c91d9de6b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantText.java:30-34 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformText.java:30-34 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceText.java:66-70 \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. 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantText.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f25f63d7c21a918451efa2c68cee28f895bbb4891f5ed0160b45bb52a653bd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredText.java:68-74 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformText.java:72-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 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredText.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f40cd9412c34ab2279d2ede924284428b80fd4a523afda512315be36136c6a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianText.java:65-74 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsText.java:47-56 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionText.java:56-65 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceText.java:47-56 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsText.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceText.java\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. If that is what happened, the fix is to keep one copy and have the other 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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianText.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8832bbf8264e59a8ee3319df28bf019f39663d11c394843d17d4cfda60be63d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java:79-84 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java:78-83 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java\u0060 as WHOLE FILES: this scan already matched 6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1a2995635ee16829aab79e55e34e66075a4fd541c460c6ccb82ef8a64aad63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java:193-200 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java:185-192 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/NorthlinePageTwo.java\u0060 as WHOLE FILES: this scan already matched 6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/EditorialPageTwo.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa590cf38e0f03f40e12fe1a08e25cceb857dc5674f8abac6ae44324de0596a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:803-809 | core/src/main/java/com/demcha/compose/document/dsl/RichText.java:591-597 \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/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java:803\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":"core/src/main/java/com/demcha/compose/document/dsl/ParagraphBuilder.java"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce3abf91747beb04f42164aa46f79623774f465b5778f4b001f901f13071274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java:314-320 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java:575-581 \u2014 before extracting anything, compare \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java\u0060 and \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MintEditorial.java\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 \u0060templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java:314\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MintEditorialLetter.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1816277a93df265a41fc5d67054f7a0e100fca59003094fad0160fe8e604e197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldAside.java:205-210 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarAside.java:279-284 \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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldAside.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb92748b1bb6736606647e79a44d4e396578818416cc8db4829d4e2aa0aab0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldIcons.java:66-74 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailIcons.java:74-82 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantIcons.java:55-63 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredIcons.java:53-61 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsIcons.java:72-80 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformIcons.java:61-69 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceIcons.java:65-73 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 7 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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/CharcoalGoldIcons.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcae2d28b8bc52092305e189661571a47c27f1dac7f934f6549aaaf2650c572"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsWidgets.java:94-100 | templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceWidgets.java:110-116 \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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsWidgets.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcf391bc007988b9400bd4c8f7c2ee06351c2efb07f42a7938265d85ed1e6d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoClosing.java:61-65 | templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoMasthead.java:127-131 \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":"templates/src/main/java/com/demcha/compose/document/templates/proposal/presets/IndigoClosing.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"303242d518193ff882e543bf7c2c8808b2c79021985de2faa2bc9015881b2e7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/chart/LineChartLayout.java:300-309 | core/src/main/java/com/demcha/compose/document/chart/LineChartLayout.java:345-354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/chart/LineChartLayout.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd05c3234a2a613ec9ae1c0dcc0b0c4724a7dde3c0014471632b895d7fa012da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/layout/definitions/HorizontalBandsDefinition.java:49-53 | core/src/main/java/com/demcha/compose/document/layout/definitions/LayoutAnchorDefinition.java:61-65 \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/src/main/java/com/demcha/compose/document/layout/definitions/HorizontalBandsDefinition.java:49\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: the declarations holding them bind \u0060node\u0060 to \u0060HorizontalBandsNode\u0060 in one and \u0060LayoutAnchorNode\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/src/main/java/com/demcha/compose/document/layout/definitions/HorizontalBandsDefinition.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"690059c65de876b89f340cf30abcea826dab069c667b737d57f4a790bec6242c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/demcha/compose/document/node/ListNode.java:88-92 | core/src/main/java/com/demcha/compose/document/node/PageReferenceNode.java:49-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/node/ListNode.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a945d6a77a2ea895f856129a92b97703a872e0e695c86848901a6eb277acd15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java:470-478 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java:514-522 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java:470\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6fa78fe6d443abc0167da960757aa661c129ce4265864f95d1866bda49ac10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:11869-11873 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:15609-15613 \u2014 both copies are in the same file, so extract the block 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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":11869}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c2e96acc22c7aa495afd1b98f5f5cb847b1b45a2ff8264d81b511dab2aed72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:17191-17196 | render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:17279-17284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java:17191\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":17191}}}],"partialFingerprints":{"codehealthFindingId/v1":"321924bb4b52eb3ff41a1fff643cac403fae056f5eb714bc6d66f0435ab0f8c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyAside.java:222-226 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyAside.java:271-275 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyAside.java:332-336 \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 \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyAside.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavyAside.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"582b1ec3ae3c36d36cb7523ba585f859f0ea675ca87152bbb834015d8452f5b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarAside.java:300-304 | templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarAside.java:341-345 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarAside.java:300\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/ProfessionalSidebarAside.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"abaf10d05fb122e4aa0a89c07a3d42493f64552d48eaf31a38bb92b572374af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (19 shared lines): examples/src/main/java/com/demcha/examples/features/text/EmojiClipPathReportExample.java:51-134 | examples/src/main/java/com/demcha/examples/features/text/EmojiSvgVsPngExample.java:63-127 \u2014 These two members are variants of one another: 19 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":"examples/src/main/java/com/demcha/examples/features/text/EmojiClipPathReportExample.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba0b740c5c864ae4ee7e6500abc341aed0cc3de93bd202261b8a958f63f6cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:60-75 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:83-98 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:106-121 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:132-147 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:158-173 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:184-199 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:210-225 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"71784d449cf8e54d936d7cb344f29cd54ae8542f9b66ba3fb48df9b947cba3f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java:39-127 | examples/src/main/java/com/demcha/examples/features/text/InlineHighlightExample.java:47-123 | examples/src/main/java/com/demcha/examples/features/text/InlineShapesExample.java:43-150 | examples/src/main/java/com/demcha/examples/features/text/InlineSvgIconExample.java:87-155 | examples/src/main/java/com/demcha/examples/features/text/RichTextShowcaseExample.java:39-165 | examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java:34-229 \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":"examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"deeeb496a1fd84a667ca61d1458c3a3ac80397ff9516dc4a564f61c2e49bf94b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): examples/src/main/java/com/demcha/examples/features/canvas/CanvasLayerExample.java:48-194 | examples/src/main/java/com/demcha/examples/features/docx/WordExportExample.java:66-213 | examples/src/main/java/com/demcha/examples/features/lists/NestedListExample.java:34-197 | examples/src/main/java/com/demcha/examples/features/tables/ComposedTableCellExample.java:55-336 | examples/src/main/java/com/demcha/examples/features/tables/InlineCodeColumnWrapExample.java:50-117 \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":"examples/src/main/java/com/demcha/examples/features/canvas/CanvasLayerExample.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de91f954a04c66330bb43ff67290bbbb092a6a7db6d128ee80ebab8d3295751"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:49-162 | examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:54-264 | examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:40-177 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:98-384 \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":"examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb07af027ca9894c6ba18fe660d07b958209404f240c2ab4e31f1107f033328"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:46-311 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckCharts.java:91-105 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckCharts.java:107-121 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:764-778 \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":"examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead2c280dd3b95776832c54ea4ce1e174aff711eeb08c836b7b7249a4d031906"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): examples/src/main/java/com/demcha/examples/features/title/BookTemplateExample.java:152-203 | examples/src/main/java/com/demcha/examples/features/title/PoetryTitlePageExample.java:35-120 \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":"examples/src/main/java/com/demcha/examples/features/title/BookTemplateExample.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98e2f753ec70a526a60446eadddc172c171f92ca376630065941407d8f3872f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): examples/src/main/java/com/demcha/examples/features/shapes/LineCapExample.java:43-83 | examples/src/main/java/com/demcha/examples/features/shapes/LineFillExample.java:45-82 \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":"examples/src/main/java/com/demcha/examples/features/shapes/LineCapExample.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0640d4e3d11fe20a624546e0ae1fa4a4191dc9a70a769bfd78908051b2103a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): examples/src/main/java/com/demcha/examples/features/chrome/PageNumberingExample.java:49-97 | examples/src/main/java/com/demcha/examples/features/navigation/PageReferenceExample.java:46-80 \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":"examples/src/main/java/com/demcha/examples/features/chrome/PageNumberingExample.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"57beca16ec4502bb2873c173431cc1fe6fa6493987711055f08187ee3e8fca0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterTemplateGalleryFileExample.java:68-98 | examples/src/main/java/com/demcha/examples/templates/cv/CvTemplateGalleryFileExample.java:69-97 \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":"examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterTemplateGalleryFileExample.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5f790d9993199f5856061a92c2eefaaa3ca3b73f758352195db92acfcb5d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): examples/src/main/java/com/demcha/examples/features/chrome/ViewerPreferencesExample.java:54-86 | examples/src/main/java/com/demcha/examples/features/layout/RowColumnsExample.java:56-82 | examples/src/main/java/com/demcha/examples/features/navigation/ContainerBookmarkExample.java:50-76 \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":"examples/src/main/java/com/demcha/examples/features/chrome/ViewerPreferencesExample.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7245ca140139f03b796f0686cc2415bbf3b5a1c4606e3c537102195d94b09bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:172-207 | examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java:238-266 \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":"examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f88ce798374ba8fac4018a3b0ea339fe486c97a353ffa357f530530ff38e93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 25\u002B corresponding lines): examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:314-338 | examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:381-412 | examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:416-441 | examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:445-476 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63c009ad7466e1fb06d1524c7306d4f4601fba17865eb76e120ee56128379ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): examples/src/main/java/com/demcha/examples/features/text/HebrewInvoiceExample.java:169-183 | examples/src/main/java/com/demcha/examples/features/text/HebrewInvoiceExample.java:186-202 \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":"examples/src/main/java/com/demcha/examples/features/text/HebrewInvoiceExample.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"041d598025a15fce493fce0f66987c3c910e52820b71e067ff128d209b666d5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): examples/src/main/java/com/demcha/examples/support/MidnightNavySampleData.java:42-52 | examples/src/main/java/com/demcha/examples/support/SlateOrangeSampleData.java:41-53 | examples/src/main/java/com/demcha/examples/support/TealPulseSampleData.java:45-55 | examples/src/main/java/com/demcha/examples/support/VioletGridSampleData.java:41-52 \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":"examples/src/main/java/com/demcha/examples/support/MidnightNavySampleData.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b99f482c1484066251813957f67f53b0ee9a21feed47e8ae84cdae71331672"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java:405-429 | examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java:460-480 \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":"examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"8011e95ffc0af52a0a99da5c49496454760ef3a74f6605a062ed2172715472d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 13\u002B corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java:526-540 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:390-408 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:425-443 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:519-538 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:629-641 | examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:317-340 | examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:342-360 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd7b809757f6f042270bb9c1de8329c9c51d1da46779ffba764d47f97f0196a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java:651-664 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:393-412 \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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6de555c4a9fe4f5b6da02b1c940d0fbe808f741a27b79ed6afdb5fb89b2e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:330-348 | examples/src/main/java/com/demcha/examples/flagships/MavenBannerPptxExample.java:693-711 | examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:274-292 \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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f00640263a53fdb2ab74232a9a843157619c00b2eacfd611351d7106b822272"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): examples/src/main/java/com/demcha/examples/features/text/LetterSpacingExample.java:125-141 | examples/src/main/java/com/demcha/examples/features/text/LetterSpacingExample.java:143-158 \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":"examples/src/main/java/com/demcha/examples/features/text/LetterSpacingExample.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd6732fb4c9eb2c2a1e8f27e7b634f2274356c70e62ee70df8b684910c42314"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): examples/src/main/java/com/demcha/examples/flagships/MavenBannerPptxExample.java:434-448 | examples/src/main/java/com/demcha/examples/flagships/MavenBannerPptxExample.java:457-471 | examples/src/main/java/com/demcha/examples/flagships/MavenBannerPptxExample.java:485-496 | examples/src/main/java/com/demcha/examples/flagships/MavenBannerPptxExample.java:499-511 \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":"examples/src/main/java/com/demcha/examples/flagships/MavenBannerPptxExample.java"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee2c91358332818c23b9f888eee2a4dbc411b2a5a79af941b52de92120b85aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java:507-515 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java:584-594 \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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce4bbe5d59133a7641d3494bd76b5515355f30d428b17a93659c0fe372c1cca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterTemplateGalleryFileExample.java:114-128 | examples/src/main/java/com/demcha/examples/templates/cv/CvTemplateGalleryFileExample.java:112-125 \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":"examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterTemplateGalleryFileExample.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6664ffbb2a469c0197ef520a527ea1ca285f1d0e646d9a8ca82c00dd67608aa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckCharts.java:177-191 | examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java:482-497 \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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckCharts.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfd4c676ceb2a2a3d94c62586bb3f45be1e942b776ac8c8e5ee29c7eedcd8c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:304-318 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:410-423 \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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f552bd269562d0122640f06868d71197affaa0322e477e224952c06cea11908"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java:676-684 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:729-741 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:743-752 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:816-825 \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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b835dd162af16cec94a6e371c97749294146ece24c2f6ed2ca5b02ece82827"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): examples/src/main/java/com/demcha/examples/templates/invoice/InvoiceCinematicFileExample.java:28-43 | examples/src/main/java/com/demcha/examples/templates/invoice/v2/ModernInvoiceV2Example.java:36-53 | examples/src/main/java/com/demcha/examples/templates/proposal/ProposalCinematicFileExample.java:28-43 | examples/src/main/java/com/demcha/examples/templates/proposal/v2/ModernProposalV2Example.java:36-53 \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":"examples/src/main/java/com/demcha/examples/templates/invoice/InvoiceCinematicFileExample.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6105cd4ea0f6cd824776ff758718051b579a179fdd55752aea85e3754a4e3d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java:256-266 | examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java:268-279 \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":"examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eba3599ed6205ec3acc12f25d7cbde46f776cbfc92146b1c7bb7b6534493687"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): examples/src/main/java/com/demcha/examples/templates/cv/v2/CharcoalGoldExample.java:34-48 | examples/src/main/java/com/demcha/examples/templates/cv/v2/TerracottaRailExample.java:34-48 \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":"examples/src/main/java/com/demcha/examples/templates/cv/v2/CharcoalGoldExample.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afd9b6fd92cd7511ffd9fedea8617eb5a388979f87f415f89118cd092f071fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 13\u002B corresponding lines): examples/src/main/java/com/demcha/examples/support/WeeklyScheduleRenderer.java:860-873 | examples/src/main/java/com/demcha/examples/support/WeeklyScheduleRenderer.java:875-888 | examples/src/main/java/com/demcha/examples/support/WeeklyScheduleRenderer.java:908-920 | examples/src/main/java/com/demcha/examples/support/WeeklyScheduleRenderer.java:922-934 | examples/src/main/java/com/demcha/examples/support/WeeklyScheduleRenderer.java:950-963 | examples/src/main/java/com/demcha/examples/support/WeeklyScheduleRenderer.java:965-979 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/support/WeeklyScheduleRenderer.java"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e61e8672134c7147bec61555374f3c08260f82cd194de6a97f08742740d848"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java:447-453 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java:666-672 \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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"874ab758fe1f6e20a363269dd51c2625728f33a8410e65740412660b8b076b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): examples/src/main/java/com/demcha/examples/features/chrome/ViewerPreferencesExample.java:92-98 | examples/src/main/java/com/demcha/examples/features/navigation/ContainerBookmarkExample.java:82-88 \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":"examples/src/main/java/com/demcha/examples/features/chrome/ViewerPreferencesExample.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1feaefb0d4ce78a024e8a43dc93ca04247d2460c7c328612440760ebbc536837"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): examples/src/main/java/com/demcha/examples/features/shapes/ShapeContainerExample.java:198-211 | examples/src/main/java/com/demcha/examples/features/shapes/ShapeContainerExample.java:236-249 \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":"examples/src/main/java/com/demcha/examples/features/shapes/ShapeContainerExample.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d3b87e8b3ead8de20014ad267dbeece79fca9fc7017234b6a8e660bc6bee86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): examples/src/main/java/com/demcha/examples/features/layout/BlockAlignExample.java:95-104 | examples/src/main/java/com/demcha/examples/features/shapes/VectorPathExample.java:192-203 \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":"examples/src/main/java/com/demcha/examples/features/layout/BlockAlignExample.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb12f4e2bb10dd85a124a674ef966e4899060b34b4a36321575dd42ca9745329"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckCharts.java:138-146 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckCharts.java:148-158 \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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckCharts.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a831a5c4c524b65a79b2268f9597fec36174f1fe7564cefaecaa3ad59ed991d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 9\u002B corresponding lines): examples/src/main/java/com/demcha/examples/features/svg/SvgIconGalleryExample.java:182-190 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java:749-757 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:889-897 | examples/src/main/java/com/demcha/examples/flagships/FeatureCatalogExample.java:546-555 | examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java:684-692 | examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:388-396 | examples/src/main/java/com/demcha/examples/support/SiteSocialCoverRenderer.java:258-266 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/features/svg/SvgIconGalleryExample.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4de0314068ac283266b91be449b3a853c31305169f62749414843df3a1d5ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java:146-156 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckPptxExample.java:31-41 \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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f15e0cfbea6e6e9a09cd4131f6a0819840f23450589e1e0a285a1d923159e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java:688-696 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:755-762 \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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"365ec7c7bd1a61740cc6ab6b6df8dc28b64d34a79a8010c0e5178f024364070f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 12\u002B corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:146-157 | examples/src/main/java/com/demcha/examples/flagships/MavenBannerPptxExample.java:131-142 | examples/src/main/java/com/demcha/examples/flagships/MavenBannerPptxExample.java:150-161 | examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java:150-161 | examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java:173-184 | examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:83-96 \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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee62497028f5fce39e0d8cb6c4f62fe2a7a11a2f81b7295742af772aa53641aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:320-328 | examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java:422-430 | examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java:505-517 | examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:181-189 \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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a94b3bc508cc11f78427f2cb8b7ae7fa7739120e65bce81d67ee29705086dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:949-956 | examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:406-413 \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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d95f4468ee7c3c78cd5dfc9ffd387f7eb869c2de1a1c8221c99695defb43546"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 3\u002B corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:899-906 | examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:559-566 | examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java:531-538 | examples/src/main/java/com/demcha/examples/flagships/MavenBannerPptxExample.java:914-916 | examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java:659-666 | examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:398-400 | examples/src/main/java/com/demcha/examples/support/SiteSocialCoverRenderer.java:241-248 | examples/src/main/java/com/demcha/examples/templates/proposal/CinematicProposalFileExample.java:186-193 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b46fb41760d955dbf92b37b857901b14269c4434fa33afa4785c0985569041a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): examples/src/main/java/com/demcha/examples/features/shapes/ShapeContainerExample.java:273-280 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:477-484 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:268-275 \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":"examples/src/main/java/com/demcha/examples/features/shapes/ShapeContainerExample.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"d738cd70430202dbebdc563c08b86adb2f5af2a7c713fb3715cf4f47773d687c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:880-883 | examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java:526-529 \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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0338f949faf816a192be58e6a1660bb4adace1e341dbb945e404ffe3792fd6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 3\u002B corresponding lines): examples/src/main/java/com/demcha/examples/features/navigation/InPdfNavigationExample.java:128-130 | examples/src/main/java/com/demcha/examples/features/text/TextDirectionExample.java:113-115 | examples/src/main/java/com/demcha/examples/features/text/WorldScriptsExample.java:168-170 | examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:567-573 | examples/src/main/java/com/demcha/examples/flagships/EngineShowcase.java:295-301 | examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:551-557 | examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java:268-274 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/features/navigation/InPdfNavigationExample.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb55306ced8b7442d986adaa4d2afccd6e90fb31126b9ad626097548a4029361"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): examples/src/main/java/com/demcha/examples/features/text/ArabicArticleExample.java:206-208 | examples/src/main/java/com/demcha/examples/features/text/TextDirectionExample.java:125-127 \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":"examples/src/main/java/com/demcha/examples/features/text/ArabicArticleExample.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b3b4fe039d7e38a9d4a32b7abfaf5c6d825b4a5b8cab4822db25426493984f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 3\u002B corresponding lines): examples/src/main/java/com/demcha/examples/flagships/MavenBannerPptxExample.java:910-912 | examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java:668-674 | examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:402-404 | examples/src/main/java/com/demcha/examples/support/SiteSocialCoverRenderer.java:250-256 | examples/src/main/java/com/demcha/examples/templates/proposal/CinematicProposalFileExample.java:178-184 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/flagships/MavenBannerPptxExample.java"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8051fed37de2674dda59402faa37e85aa8f2bb4ef2d96eb861d9354891c8e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): examples/src/main/java/com/demcha/examples/flagships/MavenBannerPptxExample.java:918-920 | examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java:676-682 \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":"examples/src/main/java/com/demcha/examples/flagships/MavenBannerPptxExample.java"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"60487426218ca5580aaceaea62baa302effcd8b4678b3a43f54ebe68a021baa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): examples/src/main/java/com/demcha/examples/features/text/TextDirectionExample.java:117-119 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java:629-631 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:466-472 \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":"examples/src/main/java/com/demcha/examples/features/text/TextDirectionExample.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbebd1d1b60f4e412808846ad29c734a22674fd9d7de97370a0b2d8d8a65499b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): examples/src/main/java/com/demcha/examples/support/PaymentsInvoiceSampleData.java:80-85 | examples/src/main/java/com/demcha/examples/support/WorkspaceInvoiceSampleData.java:77-81 \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":"examples/src/main/java/com/demcha/examples/support/PaymentsInvoiceSampleData.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7978a70fc2db56793d9cfcf58983e8a0ad399c7f5127a28dcfff5a855a61f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (106\u2013107 lines \u00D7 2): examples/src/main/java/com/demcha/examples/support/EditorialProposalSampleData.java:41-146 | examples/src/main/java/com/demcha/examples/support/StructuredProposalSampleData.java:40-146 \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":"examples/src/main/java/com/demcha/examples/support/EditorialProposalSampleData.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b857673419e2759913ac67d8d973266c47b92b1104da97bcb09cfd42556fd347"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201327 lines \u00D7 3): examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:148-162 | examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:238-264 | examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:163-177 \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 \u0060examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:148\u0060 it begins part-way through the construct above it, so those exact 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, \u0060examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:234\u0060 calls \u0060plain\u0060, \u0060accent\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:160\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":"examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db74d9b996d1d3b33ed85d2b73d923ab090415f776326f1eb8af676c102d9a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:82-103 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:107-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 \u0060examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java: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":"examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ad7968ad8850020b261d33e0ed3604cf539e486e4cc953e95553dc07a1438e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:202-220 | examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:380-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 \u0060examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java: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":"examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6f8c0056d3f3d1a09479b292bcf83db2bb34f7036fbf04844d49b12e8678df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:226-244 | examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:410-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 \u0060examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java: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":"examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3117c0c24f573caeede5abb92e62d36830257c95a3592e3fa8e6ca36143febd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 6): examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java:110-127 | examples/src/main/java/com/demcha/examples/features/text/InlineHighlightExample.java:106-123 | examples/src/main/java/com/demcha/examples/features/text/InlineShapesExample.java:133-150 | examples/src/main/java/com/demcha/examples/features/text/InlineSvgIconExample.java:138-155 | examples/src/main/java/com/demcha/examples/features/text/RichTextShowcaseExample.java:148-165 | examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java:213-229 \u2014 before extracting anything, compare \u0060examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/text/InlineHighlightExample.java\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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5c941957a07da4695031991f993d0147e90505209c548490b42517ca62fd7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:107-122 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:128-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 \u0060examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"27616255deda1dc4c8da30b0b00977447ea4cb5e2d0f4fec71196eaca8cd147c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): examples/src/main/java/com/demcha/examples/support/WeeklyScheduleRenderer.java:891-906 | examples/src/main/java/com/demcha/examples/support/WeeklyScheduleRenderer.java:982-995 \u2014 both copies are in the same file, so extract the block 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":"examples/src/main/java/com/demcha/examples/support/WeeklyScheduleRenderer.java"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8a1eda9a51a9b5945d1751d2d228a7df5856402123e3478cc5df48b1a2a93a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 3): examples/src/main/java/com/demcha/examples/flagships/EngineShowcase.java:85-96 | examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java:40-54 | examples/src/main/java/com/demcha/examples/templates/proposal/CinematicProposalFileExample.java:53-62 \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 \u0060examples/src/main/java/com/demcha/examples/flagships/EngineShowcase.java: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, \u0060examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java:55\u0060 calls \u0060spacing\u0060 and \u0060examples/src/main/java/com/demcha/examples/flagships/EngineShowcase.java:97\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":"examples/src/main/java/com/demcha/examples/flagships/EngineShowcase.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b0827dacc9865a61986c981187f3c33d8756a2b1e90ca8495ee191df2c4dc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201315 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/tables/ComposedTableCellExample.java:79-93 | examples/src/main/java/com/demcha/examples/features/tables/InlineCodeColumnWrapExample.java:61-67 \u2014 before extracting anything, compare \u0060examples/src/main/java/com/demcha/examples/features/tables/ComposedTableCellExample.java\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/tables/InlineCodeColumnWrapExample.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/features/tables/ComposedTableCellExample.java: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. 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":"examples/src/main/java/com/demcha/examples/features/tables/ComposedTableCellExample.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1f5a61c8d052853f4e10e1c2444390e0a77f488e2c1b91a5075ad0be696db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/tables/TableAdvancedExample.java:53-67 | examples/src/main/java/com/demcha/examples/features/text/EmojiSvgVsPngExample.java:74-85 \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, \u0060examples/src/main/java/com/demcha/examples/features/tables/TableAdvancedExample.java:68\u0060 calls \u0060fillColor\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/text/EmojiSvgVsPngExample.java:86\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":"examples/src/main/java/com/demcha/examples/features/tables/TableAdvancedExample.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"34830713f9cd2285f3872a02464a12c49f418a9b44f084ca4fd0ac609afc235d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): examples/src/main/java/com/demcha/examples/templates/cv/CvFileExample.java:33-46 | examples/src/main/java/com/demcha/examples/templates/cv/v2/CvModernV2Example.java:28-42 \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":"examples/src/main/java/com/demcha/examples/templates/cv/CvFileExample.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e79faedf22f656aea1bd84901eed9ac729903ecb954c023bc7fa51e8488bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 3): examples/src/main/java/com/demcha/examples/features/docx/WordExportExample.java:74-85 | examples/src/main/java/com/demcha/examples/features/lists/NestedListExample.java:37-50 | examples/src/main/java/com/demcha/examples/features/tables/ComposedTableCellExample.java:58-71 \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 \u0060examples/src/main/java/com/demcha/examples/features/docx/WordExportExample.java: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. 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":"examples/src/main/java/com/demcha/examples/features/docx/WordExportExample.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5561a2a9a99fd409669627999c0b9d504cc76d15a588a920ff608ab540728c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/chrome/ViewerPreferencesExample.java:73-86 | examples/src/main/java/com/demcha/examples/features/navigation/ContainerBookmarkExample.java:63-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 \u0060examples/src/main/java/com/demcha/examples/features/chrome/ViewerPreferencesExample.java:73\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":"examples/src/main/java/com/demcha/examples/features/chrome/ViewerPreferencesExample.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c913ad5bf6bba47d0db15294965dc4c990d516e2bbd52ce06eed03b67ed0da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java:143-155 | examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java:198-208 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java: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":"examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"341ff4b3b24c1583e5a354b66d494acdd5471df0bf8d066d8a951a302c9463b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201312 lines \u00D7 4): examples/src/main/java/com/demcha/examples/features/text/EmojiClipPathReportExample.java:106-110 | examples/src/main/java/com/demcha/examples/features/text/EmojiSvgVsPngExample.java:99-102 | examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java:55-66 | examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java:104-115 \u2014 there are 4 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 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 \u0060examples/src/main/java/com/demcha/examples/features/text/EmojiClipPathReportExample.java:106\u0060 it begins part-way through the construct above it, so those exact 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":"examples/src/main/java/com/demcha/examples/features/text/EmojiClipPathReportExample.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6836335d3d3ebbf454701e6f35182e3383ff5544c35ada2c72d3411abc339bb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 10): examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:53-62 | examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:188-197 | examples/src/main/java/com/demcha/examples/features/shapes/ShapeContainerExample.java:44-53 | examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java:43-52 | examples/src/main/java/com/demcha/examples/features/text/InlineHighlightExample.java:51-60 | examples/src/main/java/com/demcha/examples/features/text/InlineShapesExample.java:47-56 | examples/src/main/java/com/demcha/examples/features/text/InlineSvgIconExample.java:91-100 | examples/src/main/java/com/demcha/examples/features/text/RichTextShowcaseExample.java:43-52 | examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:44-54 | examples/src/main/java/com/demcha/examples/features/transforms/TransformsExample.java:46-55 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 10 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:63\u0060 calls \u0060accentLeft\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java: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":"examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ff034f9d0d4ec558cdbd02bbe94764e89f57ae1174a6a58d180550445aaa42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:174-184 | examples/src/main/java/com/demcha/examples/flagships/FeatureCatalogExample.java:509-516 \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 \u0060examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java: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 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":"examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c0f0826b21ce60641a95a9437f328e9c6e16bda44b96750573c43c9588332c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:57-67 | examples/src/main/java/com/demcha/examples/flagships/FeatureCatalogExample.java:95-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec20e212bbe2b728ad02c2e67cbd0d7b51220d6ef6cdee005f46e6a7b309dff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/EngineDeckCharts.java:108-118 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:765-775 \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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckCharts.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b37da0d7cc52824c6333bcffbcba01feb253ea9947220c486b511e76d1a8be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:315-325 | examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:417-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:428\u0060 calls \u0060valueLabels\u0060 and \u0060examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:326\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":"examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e525387f6be46f3d0c687d3bd43b9243b61b085628b2e4d0f9bd9a81f2e4f74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:141-151 | examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:158-168 | examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:181-191 | examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:206-216 \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 \u0060examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:141\u0060 it begins part-way through the construct above it, so those exact 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, \u0060examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:170\u0060 calls \u0060accent\u0060, \u0060plain\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:153\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":"examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b05ab58c58c96a0ab3d0d3ab9766aaf9131c59434fce4253ac683df332e232e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): examples/src/main/java/com/demcha/examples/features/lists/NestedListExample.java:35-44 | examples/src/main/java/com/demcha/examples/features/tables/ComposedTableCellExample.java:56-65 | examples/src/main/java/com/demcha/examples/features/tables/InlineCodeColumnWrapExample.java:51-57 \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":"examples/src/main/java/com/demcha/examples/features/lists/NestedListExample.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f934569db0675b5499564e1ccd2cccd7df0997a116d4c92d0a5703fedcd32447"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:327-336 | examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:362-371 | examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:465-474 \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 \u0060examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:327\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"5708d241fbc99a99651b2e285dfbcfc952a1b5d4d81ee2beba09726312ad1ac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): examples/src/main/java/com/demcha/examples/templates/invoice/v2/ModernInvoiceV2Example.java:44-53 | examples/src/main/java/com/demcha/examples/templates/proposal/v2/ModernProposalV2Example.java:44-53 | examples/src/main/java/com/demcha/examples/templates/receipt/ModernReceiptExample.java:61-70 \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 \u0060examples/src/main/java/com/demcha/examples/templates/invoice/v2/ModernInvoiceV2Example.java:44\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":"examples/src/main/java/com/demcha/examples/templates/invoice/v2/ModernInvoiceV2Example.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ade1ef915c65532aa5d0ebfc3dd714495fe5290a5709cb15afb82202c6794f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 3): examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:176-185 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckExample.java:710-712 | examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java:243-252 \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 \u0060examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java: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, \u0060examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java:242\u0060 calls \u0060accentTop\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:175\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":"examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"4889d084c6006f1c9ae3802b297bcdd876d823f96ba70712889aac4b3f8ad5aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/tables/ComposedTableCellExample.java:99-108 | examples/src/main/java/com/demcha/examples/features/tables/InlineCodeColumnWrapExample.java:70-76 \u2014 before extracting anything, compare \u0060examples/src/main/java/com/demcha/examples/features/tables/ComposedTableCellExample.java\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/tables/InlineCodeColumnWrapExample.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/features/tables/ComposedTableCellExample.java:99\u0060 it does not close everything it opens, so those exact 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, \u0060examples/src/main/java/com/demcha/examples/features/tables/ComposedTableCellExample.java:109\u0060 calls \u0060markdown\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/tables/InlineCodeColumnWrapExample.java:77\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":"examples/src/main/java/com/demcha/examples/features/tables/ComposedTableCellExample.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a80c7f93c008565e3308d773408987102ea2ba3b6f30e37750aca3425cce41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/title/BookTemplateExample.java:196-201 | examples/src/main/java/com/demcha/examples/features/title/PoetryTitlePageExample.java:105-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 \u0060examples/src/main/java/com/demcha/examples/features/title/BookTemplateExample.java:196\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"examples/src/main/java/com/demcha/examples/features/title/BookTemplateExample.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fd4d8c66afb67413ec04b1a1b116ba293e9e9abc9fc0cf4c84b340afed073a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:282-291 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:271-280 \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 \u0060examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:282\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":"examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad604245e3ae550de614d9f9499485c28ab253fd64b2f47088f7320d3aae0ccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:293-302 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:282-289 \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 \u0060examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java: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":"examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22369d9c8f10dafadb2c82067c87db063c4578596653d058936be68e3ad53b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:401-410 | examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:430-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 \u0060examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:401\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"2777d8af4b9a11832b69d3a80df8e85c4c5fa8561ab6630322c653fff6b749ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/src/main/java/com/demcha/examples/support/ReadmeBannerRenderer.java:43-52 | examples/src/main/java/com/demcha/examples/support/ReadmeHeroRenderer.java:37-46 \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":"examples/src/main/java/com/demcha/examples/support/ReadmeBannerRenderer.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"173aaa9e76e0c710429969d70d98e90e62f1f159cb5f6e43d0c4059080eff868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterTemplateGalleryFileExample.java:119-128 | examples/src/main/java/com/demcha/examples/templates/cv/CvTemplateGalleryFileExample.java:116-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 \u0060examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterTemplateGalleryFileExample.java: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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060doc\u0060 to \u0060CoverLetterDocument\u0060 in one and \u0060CvDocument\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":"examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterTemplateGalleryFileExample.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec754a33dfcfe9b47f5bc068c56786f6df81b83f3cdf1ed716a82b3f27a1016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/src/main/java/com/demcha/examples/templates/cv/v2/CvMintEditorialCustomExample.java:47-56 | examples/src/main/java/com/demcha/examples/templates/cv/v2/CvMintEditorialExample.java:72-81 \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 \u0060examples/src/main/java/com/demcha/examples/templates/cv/v2/CvMintEditorialCustomExample.java:47\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":"examples/src/main/java/com/demcha/examples/templates/cv/v2/CvMintEditorialCustomExample.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8402a35fc42eb1ca0e7dd49f457701ce426458d82fe180fe7e0c0cd8028dea61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 12): examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:52-60 | examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:187-195 | examples/src/main/java/com/demcha/examples/features/navigation/InPdfNavigationExample.java:45-53 | examples/src/main/java/com/demcha/examples/features/shapes/ShapeContainerExample.java:43-51 | examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java:42-50 | examples/src/main/java/com/demcha/examples/features/text/InlineHighlightExample.java:50-58 | examples/src/main/java/com/demcha/examples/features/text/InlineShapesExample.java:46-54 | examples/src/main/java/com/demcha/examples/features/text/InlineSvgIconExample.java:90-98 | examples/src/main/java/com/demcha/examples/features/text/RichTextShowcaseExample.java:42-50 | examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:43-51 | examples/src/main/java/com/demcha/examples/features/transforms/TransformsExample.java:45-53 | examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java:37-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 12 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 12 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:52\u0060 it does not close everything it opens, so those exact 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, \u0060examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:63\u0060 calls \u0060accentLeft\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:198\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":"examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e604aa99e79d6943a36773bf97cfc1b52926c725abdb4a58ac77371e2887e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:84-92 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:107-115 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:133-141 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:159-167 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:185-193 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:211-219 \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":"examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faf59ea2975d5e5252601c1a6ace9b6c94f40dfb91ae6690540734d9ce1ced6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20139 lines \u00D7 4): examples/src/main/java/com/demcha/examples/features/canvas/CanvasLayerExample.java:90-98 | examples/src/main/java/com/demcha/examples/features/lists/NestedListExample.java:43-51 | examples/src/main/java/com/demcha/examples/features/tables/ComposedTableCellExample.java:64-72 | examples/src/main/java/com/demcha/examples/features/tables/InlineCodeColumnWrapExample.java: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060examples/src/main/java/com/demcha/examples/features/lists/NestedListExample.java:41\u0060 calls \u0060decoration\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/canvas/CanvasLayerExample.java:88\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":"examples/src/main/java/com/demcha/examples/features/canvas/CanvasLayerExample.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b8bb700eebb3d39d4cc36d4e435b36a6bf88d94e0b08810b3f8e19b76328e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:292-300 | examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:402-410 | examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:431-439 \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":"examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e0ec4856e59568bd8212e8320ce9b3d3f38395ac2ecd0a8721fe330c67a230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:195-203 | examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java:253-261 \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 \u0060examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:195\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ed49e502361571ca7f0184975531af18854797e09b06c25369eef29814e74a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/docx/WordExportExample.java:189-197 | examples/src/main/java/com/demcha/examples/flagships/FeatureCatalogExample.java:420-427 \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 \u0060examples/src/main/java/com/demcha/examples/features/docx/WordExportExample.java: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":"examples/src/main/java/com/demcha/examples/features/docx/WordExportExample.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b277325403b9c275ddb3a6cbfd734467217606860a67c30f434346ce729652d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/layout/RowColumnsExample.java:60-67 | examples/src/main/java/com/demcha/examples/features/shapes/LineFillExample.java:50-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/features/layout/RowColumnsExample.java:60\u0060 it does not close everything it opens, so those exact 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, \u0060examples/src/main/java/com/demcha/examples/features/shapes/LineFillExample.java:49\u0060 calls \u0060of\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/layout/RowColumnsExample.java:59\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":"examples/src/main/java/com/demcha/examples/features/layout/RowColumnsExample.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"675cf1931099234a90ef0faa8d18d3891666d7d2a5a2e2629bdc9b36245bcc4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/shapes/ShapeContainerExample.java:91-99 | examples/src/main/java/com/demcha/examples/features/shapes/ShapeContainerExample.java:110-117 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/features/shapes/ShapeContainerExample.java:91\u0060 it begins part-way through the construct above it, so those exact 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":"examples/src/main/java/com/demcha/examples/features/shapes/ShapeContainerExample.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c30e550beb9694f8210394d8f0f451bb5f1dbca69ba85fc071b219b3323d58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/text/EmojiClipPathReportExample.java:95-103 | examples/src/main/java/com/demcha/examples/features/text/EmojiSvgVsPngExample.java:89-97 \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 \u0060examples/src/main/java/com/demcha/examples/features/text/EmojiClipPathReportExample.java:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/features/text/EmojiClipPathReportExample.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"614220ccc349d4a8870b3d48a5c36493ac565df905dcb480221105f4b3f4ee3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/text/RichTextShowcaseExample.java:177-185 | examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:355-363 \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 \u0060examples/src/main/java/com/demcha/examples/features/text/RichTextShowcaseExample.java: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":"examples/src/main/java/com/demcha/examples/features/text/RichTextShowcaseExample.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"af62380fabc2c2c91f158df553a2bbd3e790ef4b908716a8d4a81f60c87cc787"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:99-107 | examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:145-153 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:99\u0060 it begins part-way through the construct above it, so those exact 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, \u0060examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:154\u0060 calls \u0060accentBottom\u0060, \u0060spacing\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:108\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":"examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"678a77307f5933c70aecf4899598c7416af47acd3fef924884deee56bf69b434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:274-282 | examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:167-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. 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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"88710b27130a5fd4649691be35a5a0955084bb1aa53721a6d1af2f808883eee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java:436-444 | examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java:464-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 \u0060examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java:436\u0060 it begins part-way through the construct above it, so those exact 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, \u0060examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java:445\u0060 calls \u0060align\u0060 and \u0060examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java:473\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":"examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3fd139a7af1192f7c0d01bb7de5627a8ad526358d0a308562b8c027c9336c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterTemplateGalleryFileExample.java:90-98 | examples/src/main/java/com/demcha/examples/templates/cv/CvTemplateGalleryFileExample.java:89-97 \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 \u0060examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterTemplateGalleryFileExample.java:90\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":"examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterTemplateGalleryFileExample.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"73771c0a52a2be4021658b6fb83963efd2cef99a1ded8ebd37670806d525b94e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/src/main/java/com/demcha/examples/templates/cv/v2/CharcoalGoldExample.java:40-48 | examples/src/main/java/com/demcha/examples/templates/cv/v2/TerracottaRailExample.java:40-48 \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 \u0060examples/src/main/java/com/demcha/examples/templates/cv/v2/CharcoalGoldExample.java:40\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":"examples/src/main/java/com/demcha/examples/templates/cv/v2/CharcoalGoldExample.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b025aa30d46cfd712e9a41cf6d5a14a1a8227cece28df6522cca369a173546f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:215-222 | examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:224-231 | examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:233-240 | examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:242-249 | examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:251-258 | examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:260-267 | examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:269-276 | examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:278-285 | examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:287-294 | examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:296-303 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:215\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9435e949411651161f2ff51f87b0f76fe1d90f5a08b17eea136a1c073b584dd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 5): examples/src/main/java/com/demcha/examples/features/layout/BlockAlignExample.java:58-65 | examples/src/main/java/com/demcha/examples/features/layout/RowColumnsExample.java:63-68 | examples/src/main/java/com/demcha/examples/features/shapes/LineCapExample.java:51-57 | examples/src/main/java/com/demcha/examples/features/shapes/LineFillExample.java:53-59 | examples/src/main/java/com/demcha/examples/features/svg/SvgIconGalleryExample.java:106-113 \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 \u0060examples/src/main/java/com/demcha/examples/features/layout/BlockAlignExample.java:58\u0060 it begins part-way through the construct above it, so those exact 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, \u0060examples/src/main/java/com/demcha/examples/features/layout/BlockAlignExample.java:54\u0060 calls \u0060parse\u0060, \u0060withSize\u0060, \u0060withColor\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/svg/SvgIconGalleryExample.java:103\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":"examples/src/main/java/com/demcha/examples/features/layout/BlockAlignExample.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3f557d0200749f61181a9ec8fcd84e9867073e27702ff7777422d99e64051d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 5): examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java:85-92 | examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java:97-104 | examples/src/main/java/com/demcha/examples/features/text/InlineShapesExample.java:90-96 | examples/src/main/java/com/demcha/examples/features/text/InlineShapesExample.java:113-120 | examples/src/main/java/com/demcha/examples/features/text/InlineSvgIconExample.java:125-132 \u2014 before extracting anything, compare \u0060examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/text/InlineShapesExample.java\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java: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. 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":"examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"457390f0552bffe228609d191bd489515ae670d86c2417e42f0edacd52968629"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:99-106 | examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:108-115 | examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:117-124 | examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:126-133 | examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:134-141 | examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:145-152 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:99\u0060 it begins part-way through the construct above it, so those exact 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 after the matched lines, \u0060examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:154\u0060 calls \u0060accentBottom\u0060, \u0060spacing\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:108\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba190009fafef0d8b195d2403b0dd10e2b5c755a14995b174a40f31d6d9e7c65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:148-155 | examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:238-245 | examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:163-170 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:368-375 \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 \u0060examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java:148\u0060 it begins part-way through the construct above it, so those exact 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, \u0060examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:234\u0060 calls \u0060plain\u0060, \u0060accent\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:160\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":"examples/src/main/java/com/demcha/examples/features/barcodes/BarcodeShowcaseExample.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cd46990c9f5b191cee2846080dc7add64bd47d5e339e201e483602dca5df41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 4): examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:57-64 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckCharts.java:99-104 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckCharts.java:115-120 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:772-777 \u2014 there are 4 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 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 \u0060examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:57\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8129af60cdc4cae5f695484ff3df3fa9a2a6ede92dad35215f17c11dbd40d7d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 3): examples/src/main/java/com/demcha/examples/features/tables/TableAdvancedExample.java:56-63 | examples/src/main/java/com/demcha/examples/features/text/EmojiClipPathReportExample.java:88-93 | examples/src/main/java/com/demcha/examples/features/text/EmojiSvgVsPngExample.java:77-82 \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 \u0060examples/src/main/java/com/demcha/examples/features/tables/TableAdvancedExample.java: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. 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, \u0060examples/src/main/java/com/demcha/examples/features/text/EmojiClipPathReportExample.java:87\u0060 calls \u0060textStyle\u0060, \u0060builder\u0060, \u0060fontName\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/tables/TableAdvancedExample.java: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":"examples/src/main/java/com/demcha/examples/features/tables/TableAdvancedExample.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c158c75782a6a0f4fd0414179eef95adadb939608697f9a73254426f920a4d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/text/EmojiClipPathReportExample.java:97-104 | examples/src/main/java/com/demcha/examples/features/text/TextDirectionExample.java:45-52 \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 \u0060examples/src/main/java/com/demcha/examples/features/text/EmojiClipPathReportExample.java: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. 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":"examples/src/main/java/com/demcha/examples/features/text/EmojiClipPathReportExample.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0500a3f34d962ec673b26972d2be795a5bc53e97333dc5b31be797238204a1fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:150-157 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:337-344 \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 \u0060examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java:150\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/features/text/SectionPresetsExample.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06702cc157fd24539229d85c4422bb9dd18fab6c029e4aed25211f72beedcd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/EngineDeckCharts.java:151-158 | examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:791-798 \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 \u0060examples/src/main/java/com/demcha/examples/flagships/EngineDeckCharts.java: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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckCharts.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0368cddd3a7ddf079e8b1f44e19aea7168ea18a1b43762a1d9ef89bfc401300d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:426-433 | examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:343-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 \u0060examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:426\u0060 it does not close everything it opens, so those exact 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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"df35b651df9de0941560d7da658dfb1a7da9a86b3f1ebb52dd40aba6c2f80ccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java:423-430 | examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:182-189 \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":"examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1786d29fa9b6a1f619b21d6b9d9db8a8a21a613593a57120cf68372e91ce06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 6): examples/src/main/java/com/demcha/examples/features/chrome/PageNumberingExample.java:53-59 | examples/src/main/java/com/demcha/examples/features/chrome/PageZoneExample.java:69-75 | examples/src/main/java/com/demcha/examples/features/chrome/ViewerPreferencesExample.java:57-63 | examples/src/main/java/com/demcha/examples/features/navigation/ContainerBookmarkExample.java:53-59 | examples/src/main/java/com/demcha/examples/features/navigation/PageReferenceExample.java:50-56 | examples/src/main/java/com/demcha/examples/features/navigation/TocExample.java:53-56 \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 \u0060examples/src/main/java/com/demcha/examples/features/chrome/PageNumberingExample.java: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. 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, \u0060examples/src/main/java/com/demcha/examples/features/chrome/PageNumberingExample.java:52\u0060 calls \u0060withSize\u0060, \u0060withColor\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/chrome/ViewerPreferencesExample.java: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":"examples/src/main/java/com/demcha/examples/features/chrome/PageNumberingExample.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59ee4043b39a22fb98d35c59f98d60530f8b6eb7134fec4f4062865565fa1e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:297-303 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:284-290 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:306-312 | examples/src/main/java/com/demcha/examples/support/WeeklyScheduleRenderer.java:967-973 \u2014 there are 4 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 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 \u0060examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java: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":"examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91eea6ca09ea55cc58a146e61aff7fea6c9d5005b64017067432441be54a0f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): examples/src/main/java/com/demcha/examples/features/layout/BlockAlignExample.java:55-61 | examples/src/main/java/com/demcha/examples/features/layout/RowFlexExample.java:48-54 | examples/src/main/java/com/demcha/examples/features/navigation/TocExample.java:58-64 \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 \u0060examples/src/main/java/com/demcha/examples/features/layout/BlockAlignExample.java:55\u0060 it does not close everything it opens, so those exact 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, \u0060examples/src/main/java/com/demcha/examples/features/layout/BlockAlignExample.java:54\u0060 calls \u0060parse\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/layout/RowFlexExample.java:46\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":"examples/src/main/java/com/demcha/examples/features/layout/BlockAlignExample.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5705d608fd2bb39d0e4c0042f78fdc120f15abab045f5959a3785aa9c6ef0683"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): examples/src/main/java/com/demcha/examples/features/shapes/VectorPathExample.java:86-92 | examples/src/main/java/com/demcha/examples/features/shapes/VectorPathExample.java:106-112 | examples/src/main/java/com/demcha/examples/features/shapes/VectorPathExample.java:136-142 \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 \u0060examples/src/main/java/com/demcha/examples/features/shapes/VectorPathExample.java:86\u0060 it begins part-way through the construct above it, so those exact 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, \u0060examples/src/main/java/com/demcha/examples/features/shapes/VectorPathExample.java:114\u0060 calls \u0060dashed\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/shapes/VectorPathExample.java: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":"examples/src/main/java/com/demcha/examples/features/shapes/VectorPathExample.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8039d72cbaffe266d81cd44d39cfca36ce2490a7ec97200a9dfd8072754609de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java:47-53 | examples/src/main/java/com/demcha/examples/flagships/FeatureCatalogExample.java:83-89 \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":"examples/src/main/java/com/demcha/examples/features/charts/ChartShowcaseExample.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d635ccc7b3ff72818863bdc0caf9835259fedd9b80e03734fb2b050edbc1fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/layout/BleedExample.java:53-59 | examples/src/main/java/com/demcha/examples/features/navigation/ContainerBookmarkExample.java:54-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 \u0060examples/src/main/java/com/demcha/examples/features/layout/BleedExample.java: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060examples/src/main/java/com/demcha/examples/features/navigation/ContainerBookmarkExample.java:53\u0060 calls \u0060withSize\u0060, \u0060withColor\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/layout/BleedExample.java:51\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":"examples/src/main/java/com/demcha/examples/features/layout/BleedExample.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a0f0dce7f2979d67a7561aada6001e214688bc20aff1bc5014a2d48e2fa368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/layout/RowVerticalAlignExample.java:49-55 | examples/src/main/java/com/demcha/examples/features/navigation/ContainerBookmarkExample.java:57-63 \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 \u0060examples/src/main/java/com/demcha/examples/features/layout/RowVerticalAlignExample.java:49\u0060 it begins part-way through the construct above it, so those exact 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, \u0060examples/src/main/java/com/demcha/examples/features/navigation/ContainerBookmarkExample.java:53\u0060 calls \u0060withSize\u0060, \u0060withColor\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/layout/RowVerticalAlignExample.java:46\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/features/layout/RowVerticalAlignExample.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8594abf827c3517ae2eea1d92b82cace766f6853e838f01195fc06da25e7379f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/shapes/VectorPathExample.java:96-102 | examples/src/main/java/com/demcha/examples/features/shapes/VectorPathExample.java:146-152 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/features/shapes/VectorPathExample.java:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/features/shapes/VectorPathExample.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"381c7fb6386dd17223d26bf5345d65edd715e99921adf12c3454dbbbf969bd62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:394-400 | examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterFileExample.java:239-245 \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 \u0060examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:394\u0060 it does not close everything it opens, so those exact 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 \u0060section\u0060 to \u0060SectionBuilder\u0060 in one and \u0060com.demcha.compose.document.dsl.SectionBuilder\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":"examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c46554eafd7782252d8786135204d8512b16a85dafb59f73b2a22dfabdeec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:324-330 | examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:349-355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:324\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2e27047d6a907a49b69576a1cee70f997859e5a34db5c453f5487031433e1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): examples/src/main/java/com/demcha/examples/features/layout/BlockAlignExample.java:57-63 | examples/src/main/java/com/demcha/examples/features/layout/RowColumnsExample.java:62-67 | examples/src/main/java/com/demcha/examples/features/layout/RowVerticalAlignExample.java:48-53 | examples/src/main/java/com/demcha/examples/features/navigation/ContainerBookmarkExample.java:56-61 | examples/src/main/java/com/demcha/examples/features/shapes/LineCapExample.java:50-56 | examples/src/main/java/com/demcha/examples/features/shapes/LineFillExample.java:52-58 | examples/src/main/java/com/demcha/examples/features/svg/SvgIconGalleryExample.java:105-111 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 7 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/features/layout/BlockAlignExample.java: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. 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, \u0060examples/src/main/java/com/demcha/examples/features/layout/BlockAlignExample.java:54\u0060 calls \u0060parse\u0060, \u0060withSize\u0060, \u0060withColor\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/layout/RowVerticalAlignExample.java:46\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":"examples/src/main/java/com/demcha/examples/features/layout/BlockAlignExample.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"42343f76fdf38b2940e2409477b762c5fa55b6b5bb28c35e82af4940ea877de3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:65-69 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:88-92 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:111-115 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:137-141 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:163-167 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:189-193 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:215-219 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c17242b018b464a0aa59c0d3d0d355d2a6b94eba7d15cdcb6f71b694453bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:139-143 | examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:156-160 | examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:179-183 | examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:204-208 | examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:221-225 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:137\u0060 calls \u0060plain\u0060, \u0060accent\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java:178\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":"examples/src/main/java/com/demcha/examples/features/chrome/PdfChromeExample.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6e3acf4b9414d721ec5172c86e15152b2af688ecea41e9e8543de2912ea47b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): examples/src/main/java/com/demcha/examples/features/docx/WordExportExample.java:193-197 | examples/src/main/java/com/demcha/examples/flagships/FeatureCatalogExample.java:423-427 | examples/src/main/java/com/demcha/examples/flagships/FeatureCatalogExample.java:596-600 \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 \u0060examples/src/main/java/com/demcha/examples/features/docx/WordExportExample.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/features/docx/WordExportExample.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"481b3ceaebe890e6bdc0d59b40f8953fbb9edbcb7794ad9704adf535c7ed8665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/chrome/ViewerPreferencesExample.java:93-98 | examples/src/main/java/com/demcha/examples/features/navigation/ContainerBookmarkExample.java:83-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. 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":"examples/src/main/java/com/demcha/examples/features/chrome/ViewerPreferencesExample.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6103bc8b5fb6a0fb77745c3daf679330ec7a396bb427313c257c6858d13ebd51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:394-398 | examples/src/main/java/com/demcha/examples/flagships/TwinOutputExample.java:321-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 \u0060examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:394\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0765681df2a94fd6ae15f8b0bd767d56a10250cc886a9f9b648d215f96ae4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:94-98 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:195-199 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:94\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":"examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef144223f780cfed46b839d7054768fafb5dadd4841e272fae9bebefd194fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:143-147 | examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:221-225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java:143\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":"examples/src/main/java/com/demcha/examples/support/theme/BusinessTheme.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c234db9297b16ef25be9af46cfec7296888f99ce64e7db0590e002c6d121492d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples/src/main/java/com/demcha/examples/templates/invoice/InvoiceCinematicFileExample.java:33-37 | examples/src/main/java/com/demcha/examples/templates/proposal/ProposalCinematicFileExample.java:33-37 \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 \u0060examples/src/main/java/com/demcha/examples/templates/invoice/InvoiceCinematicFileExample.java:33\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/templates/invoice/InvoiceCinematicFileExample.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3d6edbd33967ef60d8c934e8ad4a3560f1b8333dd12b1d2c83120de21c0520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples/src/main/java/com/demcha/examples/support/OrangeOpsSampleData.java:44-55 | examples/src/main/java/com/demcha/examples/support/TerracottaRailSampleData.java:46-57 \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":"examples/src/main/java/com/demcha/examples/support/OrangeOpsSampleData.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"66aa3ca6289bbe7868d07c181becceb166454060e630e770d94257d229aaead4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): examples/src/main/java/com/demcha/examples/features/shapes/ShapeContainerExample.java:187-194 | examples/src/main/java/com/demcha/examples/features/transforms/TransformsExample.java:183-190 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:414-421 \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":"examples/src/main/java/com/demcha/examples/features/shapes/ShapeContainerExample.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee283de23731de77bb2147b96522a30213a2bb22a0bf87e3db94c7710442b57b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): examples/src/main/java/com/demcha/examples/features/text/ArabicArticleExample.java:107-116 | examples/src/main/java/com/demcha/examples/features/text/HebrewInvoiceExample.java:76-85 | examples/src/main/java/com/demcha/examples/features/text/WorldScriptsExample.java:49-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 all 3 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":"examples/src/main/java/com/demcha/examples/features/text/ArabicArticleExample.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5634d28f27054812d17b8f73cedda4f7675ce39251ae1e5b3739b5e97470f747"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): examples/src/main/java/com/demcha/examples/features/text/ArabicArticleExample.java:127-132 | examples/src/main/java/com/demcha/examples/features/text/HebrewInvoiceExample.java:96-101 | examples/src/main/java/com/demcha/examples/features/text/WorldScriptsExample.java:69-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 all 3 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":"examples/src/main/java/com/demcha/examples/features/text/ArabicArticleExample.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab10279d8d973e2cc0a730e9b7592f61fb828d47c82fcef19f8049fca58ea069"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java:133-142 | examples/src/main/java/com/demcha/examples/features/text/InlineHighlightExample.java:129-138 | examples/src/main/java/com/demcha/examples/features/text/InlineShapesExample.java:156-165 | examples/src/main/java/com/demcha/examples/features/text/InlineSvgIconExample.java:161-170 \u2014 before extracting anything, compare \u0060examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/text/InlineHighlightExample.java\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. If that is what happened, the fix is to keep one copy and have the other 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":"examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f50deed2e30f85b2be9f9e918597aca3ffb5bcd9f17eacc88ffe39cbdd00da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java:144-151 | examples/src/main/java/com/demcha/examples/features/text/InlineHighlightExample.java:149-156 | examples/src/main/java/com/demcha/examples/features/text/InlineShapesExample.java:167-174 | examples/src/main/java/com/demcha/examples/features/text/InlineSvgIconExample.java:172-179 | examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:523-530 | examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:532-539 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java:440-447 \u2014 before extracting anything, compare \u0060examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java\u0060 and \u0060examples/src/main/java/com/demcha/examples/features/text/InlineHighlightExample.java\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. If that is what happened, the fix is to keep one copy and have the other 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":"examples/src/main/java/com/demcha/examples/features/text/EmojiShortcodeExample.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bf1a98c28d3c2b6ef6c918c90de390f395f4301d67245b5b42fb189100957a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:74-82 | examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:101-108 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcaseExample.java: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 3 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":"examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8bc2b9355b537e916d08fb2de2fe4aba69b4bb401aa2a0eecd0eddb012ef6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:92-97 | examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:118-123 \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":"examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4355019079b8a0424b4b2bb85ee5dfb296b6b2ea1d5e9f0896d8ebb573cd001a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:541-548 | examples/src/main/java/com/demcha/examples/flagships/EngineShowcase.java:277-284 \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":"examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe2dfcf7458fe6c1483fb4e926b74c72de5acf0a888721f0689eaa453fb0cef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:835-844 | examples/src/main/java/com/demcha/examples/flagships/MavenBannerPptxExample.java:891-900 \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 \u0060examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java:835\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":"examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ba209b466b97c7f7b2043258a35c0f3f9f626fd1b69484437352f069c4537e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/src/main/java/com/demcha/examples/support/PaymentsInvoiceSampleData.java:37-42 | examples/src/main/java/com/demcha/examples/support/WorkspaceInvoiceSampleData.java:37-42 \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":"examples/src/main/java/com/demcha/examples/support/PaymentsInvoiceSampleData.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0de6cfb4c586861ea082831bbf311dab2ba10b29da9850e782780e7c6e79ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/src/main/java/com/demcha/examples/support/SlateOrangeSampleData.java:108-113 | examples/src/main/java/com/demcha/examples/support/VioletGridSampleData.java:211-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. 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":"examples/src/main/java/com/demcha/examples/support/SlateOrangeSampleData.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67592c199378ba4060cbcb0e3fcc6a5cea63360851a28e0349bd874f9e501b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterTemplateGalleryFileExample.java:107-112 | examples/src/main/java/com/demcha/examples/templates/cv/CvTemplateGalleryFileExample.java:105-110 \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":"examples/src/main/java/com/demcha/examples/templates/coverletter/CoverLetterTemplateGalleryFileExample.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad609d8caf2d349afe7d63f4a69d6638c26fe9dc6c80ec672786cd56a47f3df4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/shapes/PhotoClipExample.java:141-147 | examples/src/main/java/com/demcha/examples/flagships/FinancialReportExample.java:587-593 \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":"examples/src/main/java/com/demcha/examples/features/shapes/PhotoClipExample.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f57342cfeefe416cf75db325530987f63c79a30ac707f74637dd73facd919d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): examples/src/main/java/com/demcha/examples/flagships/BusinessReportPptxExample.java:30-37 | examples/src/main/java/com/demcha/examples/flagships/FinancialReportPptxExample.java:30-37 | examples/src/main/java/com/demcha/examples/flagships/MasterShowcasePptxExample.java:31-38 \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. 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":"examples/src/main/java/com/demcha/examples/flagships/BusinessReportPptxExample.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb19f5de4c14fa7c4c1727f781a5a76b4fe0bff09f99e8a18b1d1e2c7d78954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java:643-652 | examples/src/main/java/com/demcha/examples/support/SiteSocialCoverRenderer.java:225-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 \u0060examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java:643\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":"examples/src/main/java/com/demcha/examples/flagships/SocialCardExample.java"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e21488f7a7a8dee46529145039b66ce37fae5711993dd1b37fe1e546160cb28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/src/main/java/com/demcha/examples/support/CharcoalGoldSampleData.java:177-185 | examples/src/main/java/com/demcha/examples/support/NavySidebarSampleData.java:139-147 \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":"examples/src/main/java/com/demcha/examples/support/CharcoalGoldSampleData.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50994c419eaf64eea239e4bc76b0082397208603e5a56cba47c886b704fb711"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/title/BookTemplateExample.java:177-182 | examples/src/main/java/com/demcha/examples/features/title/BookTemplateExample.java:183-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/features/title/BookTemplateExample.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0c358762677e58fff12e235b2487a8368979cd36a9edd5e519342e6fee5aa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/src/main/java/com/demcha/examples/features/title/PoetryTitlePageExample.java:79-84 | examples/src/main/java/com/demcha/examples/features/title/PoetryTitlePageExample.java:87-92 \u2014 both copies are in the same file, so extract the block 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":"examples/src/main/java/com/demcha/examples/features/title/PoetryTitlePageExample.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa26f94975929fcd87fd445719895ab449f53dbf3acd6366fdf3e6a11b617bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:486-490 | examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:494-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 \u0060examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java:486\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/demcha/examples/flagships/BusinessReportExample.java"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bafdd5335be8daaf68b35a96ac61e4c57646140dd94637dae99d9ddd8712282"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: graph-compose-emoji: graph-compose-emoji: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db25f39df0282673c725128a6150097d009f55c46532cdc50ff3ef9faa63f8bb"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: graph-compose-fonts: graph-compose-fonts: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f4522dbf350b0270d0714d7045b3522ca24e9780fbe48b3060b2985e67895efb"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: graph-compose-core: graph-compose-core: abstractness 0.09, instability 0.00, distance 0.91 \u2014 zone of pain \u2014 concrete and depended on by 10 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"09ba88b9802eb16ff6390e28a9a3124ab67d93d3c704bc469c05a1cc648f2b7a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: graph-compose-render-pdf: graph-compose-render-pdf: abstractness 0.03, instability 0.20, distance 0.77 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62f4c8f76573a69c8c81cd61dcc4dce815a0a0d92433bb3b3298cf8e2a9192c6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DocxFidelityGateTest (LCOM4 28): DocxFidelityGateTest\u0027s methods fall into 28 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 28 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":"qa/src/test/java/com/demcha/compose/document/templates/fidelity/DocxFidelityGateTest.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83523707d212d491a086f792be872e853e0ae000b99da7202cbf441aee3a9ef"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PageMarginTest (LCOM4 13): PageMarginTest\u0027s methods fall into 13 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 13 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":"qa/src/test/java/com/demcha/compose/document/api/PageMarginTest.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af5a5178077954b6c9d4768b4fbb0aba35e06ee01e78515e83f1ad54bae2f5d"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: declaresTestMethod: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022flaky\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/claims/test/claims.test.mjs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb75ab0ae53fedac8de50f7fa11171e9fbdb5eef738a7a22dabc1c8ac4ec6e59"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: org.openjdk.jmh:jmh-core: \u0060org.openjdk.jmh:jmh-core\u0060 1.37 is published on Maven Central under \u0060GPL-2.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"01583a0c194289959e71817aaeaf053fd4437f5c0bc5d638a8da404c8765d84b"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: com.itextpdf:itext-core: \u0060com.itextpdf:itext-core\u0060 9.8.0 is published on Maven Central under \u0060AGPL-3.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b3ec045b0e754ac230e3789b4a087a4a5cd87a6ba0c79dfefb84f4fe4d055503"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java changed 270 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in DocxSemanticBackend.writePanelPiece at line 9294. 239 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":9294}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aebf8550376268ea3b2e241b2b335d18c6dc73766ea04aacb6fa33b807383d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java changed 62 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in DocxLayoutMetrics.lineHeight at line 940. 54 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c0b157954278e7556e7e8a59070062f4885db7d32b89095cd41f6204389a94"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in DocxDrawingAnchors.endSection at line 446. 18 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"441204b54e113f84a152be9854df11e1051f68a9222e555e72a89f759eaab446"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in DocxLayerColumns.flow at line 392. 10 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayerColumns.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"2211f3f2d80c45ecfad56a2d80ec647f50f65fbf978d4f598333366d3e35c45b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java: core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in LayoutCompiler.compileComposite at line 235. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java\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/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7be159e1096c78b1a1ed73f549c611d1a439ccf00016cc56638d500f4a4d5ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java: render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in PdfParagraphFragmentRenderHandler.renderLine at line 326. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java\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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfParagraphFragmentRenderHandler.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"9228edff7461639dd66e17c994de51f160e41f2973e7e950e2daa01f0af5f328"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java: render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in PdfTableRowFragmentRenderHandler.renderCellText at line 186. 2 of those changes were fix/bug commits, and the other 3 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java\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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f54d1f6e8e8c56f1be183cbf987c164d103ea8b17b71140d6ec70059a61114"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/docx-visual/edit-protocol-libreoffice.py: scripts/docx-visual/edit-protocol-libreoffice.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in edit-protocol-libreoffice.main at line 1417. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- scripts/docx-visual/edit-protocol-libreoffice.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/docx-visual/edit-protocol-libreoffice.py"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8e026823ba77483d4cf81de4578dd22a3ff50c0128f1bbc253ec5f07b9b86c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: knowledge/tools/api-surface/extract-api.mjs: knowledge/tools/api-surface/extract-api.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in extract-api.buildSurface at line 351. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- knowledge/tools/api-surface/extract-api.mjs\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":"knowledge/tools/api-surface/extract-api.mjs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"19016fa5d2976e51de83e253c5b89cb2a331b66b293f225024fab16ea6646853"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: knowledge/tools/api-query/api-query.mjs: knowledge/tools/api-query/api-query.mjs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in api-query.renderTask at line 233. 2 of those changes were fix/bug commits, and the other 3 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- knowledge/tools/api-query/api-query.mjs\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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af08142bdcee25f5ef492d159a9b84b2e0ae5c869c7aea6a76df66b3672cba1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPageMarginSections.java: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPageMarginSections.java changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in DocxPageMarginSections.plan at line 188. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPageMarginSections.java\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxPageMarginSections.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2c3b9977b2b37872169cf38fa10e7f1c8e4146a916cf278c92f976b97e16fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxGrownLines.java: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxGrownLines.java changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in DocxGrownLines.reachOf at line 137. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxGrownLines.java\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxGrownLines.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2b0f96fdaa6220141e8f53b7b0b1fc8b9b2f1dcb19977a9651d3006bcf43c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxWithoutLayout.java: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxWithoutLayout.java changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Found.look 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxWithoutLayout.java\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxWithoutLayout.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaedd0c47ce022c0211db85faf8b544f9d7cefce2dc25c1f685b0ad08d53a8b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/examples.js: web/examples.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in examples.renderCard at line 679. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- web/examples.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/examples.js"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb1a7577d8543bb89c36b62b9254a70f5c3c97af69f264c1585e9e87597ae2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawings.java: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawings.java changed 15 times in last 90 days and 14 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is DocxDrawings.drawing at line 458), 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(docx): draw a dashed line or path dashed (#1028)\u201D; \u201Cfix(docx): draw a timeline\u0027s rail as a bar LibreOffice draws upright, held by the entry it starts in (#1002)\u201D; \u201Cfix(docx): stand a badge and its initials where the page draws them (#941)\u201D; \u201Cfix(docx): stack drawings in Word as the page paints them (#922)\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawings.java\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawings.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa268579e0c2baffbc5b68a13657eb0b0e1571da31126bf812e54fb799b56330"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxExportReport.java: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxExportReport.java changed 8 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is Builder.addTo at line 211), 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(docx): write the shaded spaces closing a paragraph as no-break spaces, so Word fills them (#1032)\u201D; \u201Cfix(docx): mark the Word export\u0027s 2.5 API @Beta where it was unmarked (#1018)\u201D; \u201Cfix(docx): name every page a page-margin note is about (#954)\u201D; \u201Cfix(docx): name what a table\u0027s cell is composed of by its cell in the report (#953)\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxExportReport.java\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxExportReport.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a81b8458dde17fc25c2f277c45826c258cf2bdf1041e54aab2096216875e77"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxFontTable.java: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxFontTable.java changed 7 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 12 (its worst body is DocxFontTable.collectFonts at line 491), 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(docx): write the document when a registered family\u0027s classpath face cannot be read (#1049)\u201D; \u201Cfix(docx): ask for embedded fonts in the settings so LibreOffice keeps the shipped faces on save (#1007)\u201D; \u201Cfix(docx): grow a Word list\u0027s item where its face holds its marker (#958)\u201D; \u201Cfix(docx): grow lines with their text where they are as tall as their faces\u0027 own (#955)\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxFontTable.java\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxFontTable.java"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"86834dd7eef4f6866b4c7d45cf9f2e7007d9389db1283ac064389c83b6518b29"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: core/src/main/java/com/demcha/compose/document/layout/NodeDefinitionSupport.java: core/src/main/java/com/demcha/compose/document/layout/NodeDefinitionSupport.java changed 7 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 13 (its worst body is NodeDefinitionSupport.measureRow at line 417), 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(layout): keep the size of a picture or shape composed in a table cell (#928)\u201D; \u201Cfix(layout): honour a margin on composed table-cell content in both passes\u201D; \u201Cfix(engine): cap a fixed-width flow at the column of the page it lands on\u201D; \u201Cfix(layout): read the anchor when placing a composed cell\u0027s child\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- core/src/main/java/com/demcha/compose/document/layout/NodeDefinitionSupport.java\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/src/main/java/com/demcha/compose/document/layout/NodeDefinitionSupport.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"926ab1cc947151341c89b118b0b7e5640c3693171293fa8baa7e7b3c7f618a66"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: core/src/main/java/com/demcha/compose/document/api/DocumentPageZones.java: core/src/main/java/com/demcha/compose/document/api/DocumentPageZones.java changed 5 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 7 (its worst body is DocumentPageZones.placeZone at line 100), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(docx): write top and bottom margins that change from page to page as Word sections (#951)\u201D; \u201Cfix(api): resolve body anchors inside a page zone\u201D; \u201Cfix(api): refuse zone content that splits past the band\u201D; \u201Cfix(api): give the page field a layout definition of its own\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- core/src/main/java/com/demcha/compose/document/api/DocumentPageZones.java\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/src/main/java/com/demcha/compose/document/api/DocumentPageZones.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c75e0c6a5cdfee350fc1df32bd72eeabbecf7379c1d4f1877a54282483c75f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxParagraphFragmentRenderHandler.java: render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxParagraphFragmentRenderHandler.java changed 5 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 12 (its worst body is PptxParagraphFragmentRenderHandler.renderLine at line 67), 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(docx): seat text off its baseline as the page does and hang text below its band (#787)\u201D; \u201Cfix(pptx): let a chip read the same on a slide as it does on the page (#559)\u201D; \u201Cfix(pdf): resolve a chip against its own base, not against having one (#553)\u201D; \u201Cfix(render): let a reordered line\u0027s frames say which way they read \u2014 and a chip keep its meaning (#548)\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxParagraphFragmentRenderHandler.java\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":"render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxParagraphFragmentRenderHandler.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce93dc52aab9735fd42061561980cba6f3c9dfc12b6d2905bbd7f22033aa1b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTextBands.java: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTextBands.java changed 4 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 8 (its worst body is DocxTextBands.segments at line 70), 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(docx): name what a text header or footer shows otherwise in Word (#921)\u201D; \u201Cfix(docx): raise a line Word sets low into the space above it, where both editors keep it (#875)\u201D; \u201Cfix(docx): stand a page zone\u0027s text on the page\u0027s baseline in Word (#867)\u201D; \u201Cfix(docx): stand text on the page\u0027s baseline in Word\u0027s exact lines (#789)\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTextBands.java\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTextBands.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d4ff3ff3525c4375f70f4c335a03d41abbd53b6ce7c9864e801ed4d9fca315"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailAside.java: templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailAside.java 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 5 (its worst body is TerracottaRailAside.blocks at line 95), 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(templates): preserve semantic text when applying letter spacing (#682)\u201D; \u201Cfix(templates): dial the number the sheet printed, not one like it\u201D; \u201Cfix(templates): put the Terracotta Rail contact rows on one axis (#625)\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailAside.java\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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailAside.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f90b103724737690eeea03810a7ab74b033cace8c690adf51ec897b503f9f8a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: knowledge/tools/routing/check-routes.mjs: knowledge/tools/routing/check-routes.mjs 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 check-routes.checkAnchorRef at line 140), 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(knowledge): stop the gate and the CLI failing open on their edges\u201D; \u201Cfix(knowledge): resolve a citation against a real path, inside the repository\u201D; \u201Cfix(knowledge): close three ways the surface could lie without failing\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- knowledge/tools/routing/check-routes.mjs\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":"knowledge/tools/routing/check-routes.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"14167a12a5ced08b93516160023598c8d39f06db88718a7aefade2bc3eb7cb76"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTableSplit.java: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTableSplit.java changed 3 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 8 (its worst body is DocxTableSplit.rowStarting at line 73), 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(docx): bookmark a block of drawings alone where its first drawing is anchored (#968)\u201D; \u201Cfix(docx): end a page-margin section at a panel\u0027s cut (#963)\u201D; \u201Cfix(docx): cut a panel whose table runs over pages into a table a page (#962)\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTableSplit.java\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTableSplit.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f4de27ef860f51737df34202e1d2e8211ce52adff1e841ffe94c4b39643ceb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxShapePictures.java: render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxShapePictures.java changed 3 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 9 (its worst body is DocxShapePictures.unitSegments at line 220), 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(docx): name inline picture losses and write a %N marker as text (#937)\u201D; \u201Cfix(docx): name in the report what the export draws as a picture or draws without (#900)\u201D; \u201Cfix(docx): set a shape container\u0027s stacked lines in from its outline, hold an empty row cell to a hairline, and stand inline shapes where the page puts them (#816)\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:53:30 \u002B00:00\u0027 --until=\u00272026-11-11 10:53:30 \u002B00:00\u0027 --full-history --no-merges -- render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxShapePictures.java\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxShapePictures.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c227f9f15e2868d6be62659e98a11d419407e108780736a500e2433aafb185"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022B1 \u2014 type-level @Beta.\u0022 repeats the code it sits on: 3 of its 3 words (type, level, beta) are already in \u0060check(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/api-surface/test/classifier.test.mjs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"de61a4133e3000bb408e47820b71b8d56dcffcac32d33f7817be1a2a8cc9de95"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060templates\u0060 (63861 LoC, 256 module-visible types across 23 directories) overshoots its size bounds. 3 of 9 build unit(s) (Maven) overshoot their size bounds, lowering Project Cohesion to 3.7/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/pom.xml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a34f556550884600bf754fc73fd3e851d480e960880f287c87a8f2fe62f152"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060core\u0060 (49822 LoC, 411 module-visible types across 42 directories) overshoots its size bounds. 3 of 9 build unit(s) (Maven) overshoot their size bounds, lowering Project Cohesion to 3.7/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pom.xml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62aa0c3c8f65b36c0b268910315d5c6c81f04ab7c4fdeaa2a736012b841fca59"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (8781 LoC, 32 module-visible types across 16 directories) overshoots its size bounds. 3 of 9 build unit(s) (Maven) overshoot their size bounds, lowering Project Cohesion to 3.7/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pom.xml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0e896ac6617ebe45659fd0ee27d0ee74870908fc9b39ce5caf66464cae6c96"}},{"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":"bb1e325ee29543ba647ee030ed522551a18da3d121d337d157b1dfb9b7e456a8"},"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":"b715169444096d93a00fba4b9466d6b428f0cc6a523e9fb2728c4f9a855cad75"},"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":"87502aabffe09fd9546d86d347bf78e45a5084225e60467a7d2544a570d4ad9f"},"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":"0db9ce0ff9bb88ac463a227b0be402e151e947b67eb86d8d8e070fb7f0974945"},"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":"4102441b0b0038a8f67be03831a743b6d7f0a88f06f2754a322519e99b815fcd"},"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":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"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":"04cc6ef8b2713c5ae671a21c5adfc62ed3d32eec231bd27236ea49e066082d50"},"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":"de24fb5b2f9808dee7349e0f8b4bf4e8fc0b77a05b8578184e5f23b813b48863"},"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":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"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":"344d521ea3bf800770999bcc1cfcbc37d31ca53efd5011ddacb4dd10f4813f65"},"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":"6bc3b539f953f180f304780b633bbb65e6d2911ce57503f2f0e4a05dfd504060"},"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":"baa151beff35ac46ee2536907cc918a207da07c42b004fec4c9aab8d58a6df6d"},"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":"4ffcc1b724469248fcd864b1901b4fb0cedf5b911fb5d6075b57cf61232c29e8"},"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":"c8381cdd9539330ccdf5f2819fb2f0ec8e0d20d645b1467a3e5e48700a37b69b"},"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":"28fb95c74cf7e51a3f6e58d6d5d9aaba698bdc10ef21fbd45c72dc90736c26c6"},"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":"77e2e71a4329e551cbe8be7023c7191820e375353d80fbebb52a3572f6943665"},"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":"ebac61d292e4757946ff83f15293e2fa751db1ae0044345ec1ca160a7804b230"},"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":"a5ff6c36cc77c52281fa395ac6b9e1e18754b22fb93caffb8d30a7715d1e22e8"},"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":"417c80d37e40c8c101c97e32ba9af1a95439f85918a11b7f2f630d08f638a53d"},"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":"774e84eaf65696bacc627959839c1af1927b88e5fcbe02a78f7a8b8671c240ba"},"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":"17c766048720a8335fe9cee4b5c94d175d687786ce4fe5ac15a7d88cc7deda62"},"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":"1375048b9ca8ef192c23faf83af425d2e99a11eb2f6e7951f3d837d8c63c990e"},"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":"a618793b2757574d28796da0abb139eb5b5fe27e487d02dc63636e793f0a8158"},"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":"cc4313e08c448232f318be35b7241d4b93cdb38b46607e6d9e1235238dd8f561"},"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":"dba947422e5342f3ec1c8c79cd0d382f193ca875a3cf3b831fb3cd646cf4c808"},"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":"0a5c7a5c8262c14d7ceade84922b20594a601737a67ff26aa6d53e142ee6f117"},"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":"958d4abe0376dbd29ad22deac42da4dd1c7272133d26a369ed188ff72a75e6fb"},"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":"89122daa9eadbee0becf88df1842c3687c4e4ff108e4e21aa3f49bb2edfed292"},"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":"7205317fc4307744fd9abdaec5a93c99047e2b3dc6e771c88b80b57760d42c9f"},"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":"c621f5e3c28afd9d43ea749a9222f14813c396ce51ae0051c7b532c36bd1be6c"},"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":"311f2b1dd969a2ef73985fc36dd91e65e3d6a6cb49a0706cd68e381199f12c7c"},"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":"27caafaf56fda6b53f8eac51f3d304cc10e80b180ee1514289a98fae21e73a43"},"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":"ddc49ef52c93f5d89390c80bf8f0444bb97743496eeea781d1b7fcf904a3ea48"},"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":"b7e67286c3ac9bf8ce0e14b33e97832e7e17f704c68a703429f6a346d2c6115f"},"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":"565cb0a25235d1502010c8d34a025c6ae5aeb826c7d5e305b97bb45399050c67"},"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":"fdd80ff4efa055538dc59aafc5e380459b7d05030fbc7ee936f19fa678b3e896"},"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":"5ffc31ac2a8a5f20c217c8a15989b4597996599a34db883c75310ca5eda2825e"},"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":"44bfef88bbb4c346f098b3c983ca34a2270fb22fef49b5ab5c11a6b863ff8785"},"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":"07d061d20f04a0a1cd7944a48d47cb7f97b228c3b70b99b76e9c87d26bbe7454"},"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":"c0a7addc1cb082b2c24aeacda47e90a0cab393fe245163439054730834b288a1"},"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":"4b1438691fcb2dbe2599d01dfae2f9f461b27c0cdf9b193ec4913e54ab0dd4cc"},"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":"1a1af0d979c7460fcbc7dfe801f44c373db848911317a2fcd7d8accdb4443b62"},"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":"90645a5ebb306f1768d3d97b7efd512b4c1b9cdec64a0ec3f194caa12d389edf"},"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":"6bd8893492bdf4db2206ebdd9425302a6ac881ad39b06edbebe375b791b43151"},"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":"4fbc6df3d72864219648f8a5e2a3fe4857d204776cc76785ab693bf45ade35c2"},"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":"c1f99f999f777c447a19e3c86e180b99e0a480f66660f30178b662d9bef81024"},"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":"d89ff8be40979a750f71a1b1785d33a78ab956aa773c1a40e692751cfa2edca2"},"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":"a160b4f8c24bb67cbf8b479cfab2332ffa071f171254f6898a4f115d0d8fd4b3"},"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":"24e76ca9b01b2f8c421e77a3173322851be938f2d840e4e6588bf67e6ff43b16"},"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":"fe3f82673da16c7ecb4709a77bafef314ef470b2973ec71d3df0511b5b991a7f"},"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":"76cf61078cd29b5a2eed952e504413988b1dc56154645b29e5cb20f15c0ca4d5"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"31e15292ee7781495cff3025f3779e23aded0d07be93120b45c65e1d6518c389"},"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":"0a25692745ad0ed3ca68036746171ef1bfebcc093c4887320630d8afff98acf8"},"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":"a4fa3a3025b7a9052cbd7b0d8a17b7d24287898600c95850a4b97997b4072afa"},"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":"95740b583969c78c7132f35629806263a32606dcd6d14eefa8ad5abaeaae0af3"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0a6a76e357f79280fe1ed2631220f5ab2288335a7c53507bfa9e530ecbece13"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6790f47092b3d0481018c6e93a66886cb82ef8c327b22114f7747d22cd53881"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b5aa69fc9bcfb3ca31ba14ed44b0b0705930f4ca3b11057543463dc1797279e"},"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":"D29","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":"ac9f210bbd2acc3035076e10ef1372fe8ba5aa1aa754562463645e016fb83acd"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1205c312ae6f71333af2de1049003b6b646b934092990008af263ab5a91287bf"},"properties":{"dependency":{"package":"org.apache.logging.log4j:log4j-api","version":"2.24.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.25.5","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ee7effa3215b9a3f3ac2c5dab5eb446eeaa7c4ec8f129eaf718ea7b1fb0b8e3"},"properties":{"dependency":{"package":"org.apache.logging.log4j:log4j-api","version":"2.24.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.25.5","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8763c5c4b5c3197b5a549617c398132c384c32974dabf1dd22e5141d7f693db6"},"properties":{"dependency":{"package":"org.apache.logging.log4j:log4j-api","version":"2.24.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.25.5","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91120e5af22284076250bc63fc69138893ef96bf39f2ed022c7ea5bc34153a76"},"properties":{"dependency":{"package":"org.apache.logging.log4j:log4j-api","version":"2.24.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.25.5","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e804b86b666060b56ff22c10383b770d1057636bfbee38d997f3e56ce19817cf"},"properties":{"dependency":{"package":"org.apache.logging.log4j:log4j-api","version":"2.24.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.25.5","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21bd43bba79abd6d7895171e2a5ea1eec20d7a834717ba027e8d450e685791bf"},"properties":{"dependency":{"package":"org.apache.logging.log4j:log4j-api","version":"2.24.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.25.5","reachability":{"kind":"unknown"}}}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: Palette.java, Spacing.java, Typography.java: 3 files \u2014 \u0060templates/src/main/java/com/demcha/compose/document/templates/core/theme/Palette.java\u0060, \u0060templates/src/main/java/com/demcha/compose/document/templates/core/theme/Spacing.java\u0060, \u0060templates/src/main/java/com/demcha/compose/document/templates/core/theme/Typography.java\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/src/main/java/com/demcha/compose/document/templates/core/theme/Palette.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a37ffb39a8e265a6065c52afa3067965c69e9925eb40225c9b4ddb024d03536"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RowBuilder.java \u2194 LayoutCompiler.java: \u0060core/src/main/java/com/demcha/compose/document/dsl/RowBuilder.java\u0060 and \u0060core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006009315e3e\u0060 feat(api): row flexSpacer / pushRight / arrangement \u2014 main-axis row l\u2026 (at that commit the files were still \u0060src/main/java/com/demcha/compose/document/dsl/RowBuilder.java\u0060 and \u0060src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java\u0060); \u0060cb01014a\u0060 feat(api): RowBuilder.verticalAlign(...) \u2014 cross-axis row child align\u2026 (at that commit the files were still \u0060src/main/java/com/demcha/compose/document/dsl/RowBuilder.java\u0060 and \u0060src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java\u0060); \u0060ad89fc76\u0060 feat(api): RowBuilder.columns() \u2014 fixed / auto / weight row columns (\u2026 (at that commit the files were still \u0060src/main/java/com/demcha/compose/document/dsl/RowBuilder.java\u0060 and \u0060src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/dsl/RowBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b32a25c2435527999cf82db2db3e8edd54a700eadf4f676f903ad6ef859dc5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DocxDrawings.java \u2194 DocxLayoutMetrics.java: \u0060render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawings.java\u0060 and \u0060render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java\u0060 change together 50% of the time (8 of the 16 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 8 shared commits counted here, the most recent 3 are \u0060e0c0bf24\u0060 fix(docx): draw a timeline\u0027s rail as a bar LibreOffice draws upright,\u2026; \u0060579d5258\u0060 fix(docx): stack drawings in Word as the page paints them (#922); \u0060c8e57a3c\u0060 fix(docx): stop reporting drawn tiles as dropped and alike corners as\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawings.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b362b9f205e08d0601515557ea70f0ed1ba2cff44b1c3e00dc68a381d03bd3a"}},{"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":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/examples.js"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"b675bd3dfa395c9595c42966812c9f186d7180864f4b4bee8bb64f5a61d377bc"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch2\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-src/pages/index.html"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f1211073c68875b285426048133234aefe92b42c9d7769bb0e0c1e02c62cd0"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch2\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/index.html"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dad04c7c095addf8bcb4a01c6fa74d73dd486adecb0e8a6f9c2310c95bd8ecd"}},{"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-src/pages/index.html"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f75c745c209cf6827ec0c114ca6164eb737cd733f28949eba635c3e2a03c0fc"}},{"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-src/pages/index.html"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f132292894cee23f9614b335aa1de4e150f688a9e2c048a13b06f38637bc65c"}},{"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-src/pages/index.html"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cc4cea179e77d969cdcee0d9debfff7eb004391977ef6d77419e402505f09e"}},{"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/index.html"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3aa231ceefdc6de1e092b6ef0d00499c917dd43c9c08e07322edbe81b9bb35"}},{"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/index.html"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"a837a93fab37cd7667759621dcb422bdba87f2f5ef34a307261dbbbb481836c7"}},{"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/index.html"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0710d094530db17a2fde891dc53820dd3f22e9b1f5ac285e47b42c2bac59b0e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.9:1): \u0060.example-card[data-id] .example-preview-fallback\u0060 sets color: #52606d on background-color: #0b1220 \u2014 2.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/styles.css"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"5103f56a427cf2d5006ca79cddfcbb6dea055bc6e704dbcd7c602123fdf790a8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.4:1): \u0060.example-action\u0060 sets color: #fff on background-color: #6366f1 \u2014 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/styles.css"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a96c854e34522f80501de2f7c40b4cbe217d994b278aac10ec99bb782c15397"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 2 public types in \u0060com.demcha.compose.document.dsl.internal\u0060 are marked as implementation by their own namespace, folder or name: \u0060BuilderSupport\u0060 (core/src/main/java/com/demcha/compose/document/dsl/internal/BuilderSupport.java:9, \u0060internal\u0060), \u0060SemanticNameNormalizer\u0060 (core/src/main/java/com/demcha/compose/document/dsl/internal/SemanticNameNormalizer.java:6, \u0060internal\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/demcha/compose/document/dsl/internal/BuilderSupport.java"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"314f3d28e33c8108c89d42bdc2a1b4acb38ef3abf18bf8b90286b729b2a7f242"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 31 plain JS \u2014 the untyped files are knowledge/tools/api-query/api-query.mjs, knowledge/tools/api-surface/check-stability-doc.mjs, knowledge/tools/api-surface/extract-api.mjs, knowledge/tools/api-surface/lib/annotations.mjs, knowledge/tools/api-surface/lib/javap.mjs, knowledge/tools/api-surface/lib/provenance.mjs (\u002B25 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 6 sibling directories (10 clone groups): 10 duplicated blocks under knowledge/tools/ have copies in at least two of the sibling directories api-query, api-surface, bundle, changeset, claims, routing \u2014 8 of them are reported below, and 2 are 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 10 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 10 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 10 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34be69e57a6b352956de982534fe1d514188e289eda7c484f6fc1af67a26030"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): knowledge/tools/api-query/api-query.mjs:215 \u00B7 knowledge/tools/routing/lib/pack-version.mjs:30 \u2014 the two spans are one implementation copied and then locally edited \u2014 170 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad20e897200808106e046522606cbc66d89b0abf193570a312c93b9908f45ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): knowledge/tools/bundle/build-bundle.mjs:44 \u00B7 knowledge/tools/routing/check-routes.mjs:69 \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":"knowledge/tools/bundle/build-bundle.mjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea10bb35566462de299c19cd96318557c3ef99acb55bc1a4189d9a0db0e499d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): knowledge/tools/api-query/api-query.mjs:342 \u00B7 knowledge/tools/claims/check-claims.mjs:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65eea8f2fd216a109e3db84f46f0cc6800be59f613e91e64619f92a422b29c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): knowledge/tools/api-surface/lib/provenance.mjs:46 \u00B7 knowledge/tools/api-surface/lib/tree.mjs:34 \u2014 the two spans are one implementation copied and then locally edited \u2014 103 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":"knowledge/tools/api-surface/lib/provenance.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34ad923f40a751fab660570c82f1a19ef02166c01dbf88cd8fc576b5f6e76cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): knowledge/tools/api-query/api-query.mjs:94 \u00B7 knowledge/tools/api-surface/extract-api.mjs:135 \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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"552883401082e6f3556265bf4e045ce14f8067603bed7ee9d7a775be9432a92c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): knowledge/tools/api-surface/lib/javap.mjs:89 \u00B7 knowledge/tools/api-surface/lib/source-names.mjs:27 \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":"knowledge/tools/api-surface/lib/javap.mjs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6a389bf2e94c992665884c726604ed7705f3efc5c22a75f87fa395d4d6af88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): knowledge/tools/api-query/api-query.mjs:349 \u00B7 knowledge/tools/routing/check-routes.mjs:107 \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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"33929b4c2038b735d5063b2262e86d10dadc169a7cf02b2d0aca4740ad5c2cce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): knowledge/tools/claims/check-claims.mjs:73 \u00B7 knowledge/tools/routing/check-routes.mjs:117 \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":"knowledge/tools/claims/check-claims.mjs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8d9ed5ac39786aada9abc3308e9c4727a7df75f168a2238e722b3de468bbb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/examples.js:587 \u00B7 web/examples.js:700 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/examples.js"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72902df9d9069d8deaf9674289a32e9e8a138cad828a8b6d2f9cc461ba30353"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): knowledge/tools/api-query/api-query.mjs:463 \u00B7 knowledge/tools/api-query/api-query.mjs:470 \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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7f3403c8f93f13afe133779892ab069059025c063a1615dbbed7dc5e384cc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): knowledge/tools/api-query/api-query.mjs:361 \u00B7 knowledge/tools/api-surface/lib/render-markdown.mjs:30 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2871025e71639ca4d3c4377b3d86c6b1c4ddea455211bddd5f4c576227a7e8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): knowledge/tools/api-query/api-query.mjs:95 \u00B7 knowledge/tools/api-surface/extract-api.mjs:136 \u00B7 knowledge/tools/changeset/changeset.mjs:62 \u2014 the 3 copies are spread across 3 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be8a93ba8c24301390489f4ab6727a2125afe153b31fef6817d8e0ffd8e29a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): knowledge/tools/claims/lib/claims.mjs:286 \u00B7 knowledge/tools/claims/lib/claims.mjs:318 \u2014 both copies are in the same file, so extract the block 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":"knowledge/tools/claims/lib/claims.mjs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4c5346fc05a52fe7aea1d13d78adf6afd631db632adf61ae7293aee9988ae9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function panelModel (cyclomatic 45, cognitive 40): panelModel has cyclomatic complexity 45 and cognitive complexity 40; 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/gallery-viewer.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"818fdade6cd31cccb5cd16cc0c9e3ac40662cad5fd78519845502bd853e1ddba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function query (cyclomatic 37, cognitive 55): query has cyclomatic complexity 37 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bc6727e72599e6ed1b95e976e7129a47326511ea386d53635dd11fc210f871"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSurface (cyclomatic 35, cognitive 81): buildSurface has cyclomatic complexity 35 and cognitive complexity 81; 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":"knowledge/tools/api-surface/extract-api.mjs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6448137e3a3c0d184bf879304e92ad77dd342c9ba9878a3034cadf9d9886ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSurfaces (cyclomatic 23, cognitive 44): loadSurfaces has cyclomatic complexity 23 and cognitive complexity 44; 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ae90c29e282f06fda4efedcf8667532d9d51eaf4eec3db0fc31ad5eb39a9bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 23, cognitive 32): render has cyclomatic complexity 23 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/examples.js"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e93332737fa52014ece0da51bfaa3f38ca6570aacdc5ff65d608a95d8245a90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMember (cyclomatic 22, cognitive 27): parseMember has cyclomatic complexity 22 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":"knowledge/tools/api-surface/lib/javap.mjs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf03d3a6dfd41154ca51a7dbadb44b49b420ce2f048a6ba7636b7cf679e4c919"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 22, cognitive 23): render has cyclomatic complexity 22 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/gallery-viewer.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc8bb2f1e13b4e6b1d3effd27174ae7ca48806b938f096cf7d69e43fb6a1fa9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderCard (cyclomatic 20, cognitive 17): renderCard has cyclomatic complexity 20 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/examples.js"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb2179dd08a40c58a794ea47ed374f2c7642d79399b3a91e8a6d5758d1402af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 19, cognitive 25): render 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93534e8c3c70cf0e5c1e80342d9beb39457464f95511753ed67d7c5088c1709"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function injectFullItemListJsonLd (cyclomatic 16, cognitive 33): injectFullItemListJsonLd has cyclomatic complexity 16 and cognitive complexity 33; 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/examples.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77c6b71d36361d4395616cc37d7698d933e6e0e5baf5f615c8795b1b75b50f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderTask (cyclomatic 16, cognitive 21): renderTask has cyclomatic complexity 16 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dd91dae1a6f7508c607bf37d77a36ef7c3e5f9654b738b07c0719ba9ddedb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 19): (anonymous) has cyclomatic complexity 15 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/gallery-viewer.js"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"0611a39e2cb99293f9b1139e242bbcd0442fb3f3cdb70d4cea24fc1f1db27bce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 15, cognitive 16): parseArgs 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef55ce7312f6f158cf37a4bdb28530f84c990889b7857b1fb17d9f5849ec760c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 15, cognitive 16): parseArgs 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":"knowledge/tools/api-surface/extract-api.mjs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b49574de42204f3fea11d840bb736f53d9369d56288aa282cdb4e1ccf25fe2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripCommentsAndLiterals (cyclomatic 14, cognitive 29): stripCommentsAndLiterals has cyclomatic complexity 14 and cognitive complexity 29; 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":"knowledge/tools/claims/lib/claims.mjs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"43acab02d46b2e50e348c92dc2244ff18e3b75db990be53fe1ee399749fd3e11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function membersOf (cyclomatic 14, cognitive 18): membersOf 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":"knowledge/tools/changeset/changeset.mjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"808a35d0f304dd985f4dbc62c5d5b75eacf8a1b10529bce31153d2644d6aef19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderHighlight (cyclomatic 14, cognitive 11): renderHighlight has cyclomatic complexity 14 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/examples.js"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bcea5439e30819967bfff9ea192424fd10fa06e375135dd57fc405f574e23d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function originatingBetas (cyclomatic 13, cognitive 27): originatingBetas has cyclomatic complexity 13 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":"knowledge/tools/api-surface/lib/stability-doc.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"43613bb918b7082ebb430f219b84a76a5d266c21be7afb2adbaa3e9bee4fcd88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findJavap (cyclomatic 13, cognitive 22): findJavap 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":"knowledge/tools/api-surface/lib/javap.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e00d31a2cdb6f2082bfef0010f552bafe25943e5914b2044ea3fd695c8c96b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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 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":"knowledge/tools/claims/lib/claims.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d061a789d04ecca9364475d22de1b8c1e644168c42e5a5c759b7fed40200126"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 12, cognitive 14): resolve has cyclomatic complexity 12 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/gallery-viewer.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"422e32cc9e0553dbe702c19275079cfc6caba45f2fcce1459ac1b08a48d6bedf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function indexParameterNames (cyclomatic 11, cognitive 22): indexParameterNames has cyclomatic complexity 11 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":"knowledge/tools/api-surface/lib/source-names.mjs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"183a9b15bac0f64d47fb4c7fe2c79a251f4f4c3de6afca5afe09c642840e2a13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readDeclaration (cyclomatic 11, cognitive 19): readDeclaration has cyclomatic complexity 11 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":"knowledge/tools/claims/lib/claims.mjs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc123499338c50c20f601c52a192850379263e6e334872569c5576741ce8ce61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderThumbnails (cyclomatic 11, cognitive 16): renderThumbnails 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/gallery-viewer.js"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a022c9fc8a22256bbece7a1ec681e9cc1850bb77d0d6fc91b53b7c4165affd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onViewerClosed (cyclomatic 11, cognitive 13): onViewerClosed has cyclomatic complexity 11 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/examples.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0809e1848e4211f6ad9c85a563b012651891aaa1c5e0dafb13ab608dcd86acb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderPanel (cyclomatic 11, cognitive 13): renderPanel has cyclomatic complexity 11 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/gallery-viewer.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d6ff5a673db6eea77401d11abe1f6dbc7ac20a893abd1f4271d3e8a80cfbe3"}},{"ruleId":"R3","level":"warning","message":{"text":"web/gallery-viewer.js: 795 lines of code: web/gallery-viewer.js has 795 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/gallery-viewer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbd2f83620f764a1d3048806bcaf3e62f22bb92dea5ddda26ad25e43c9555d4"}},{"ruleId":"R3","level":"warning","message":{"text":"knowledge/tools/api-surface/extract-api.mjs: 787 lines of code: knowledge/tools/api-surface/extract-api.mjs has 787 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":"knowledge/tools/api-surface/extract-api.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cc9601d670373451f69fb065e21bfdd42d368416982a669b3fa78a2eb31f3d"}},{"ruleId":"R3","level":"warning","message":{"text":"web/examples.js: 724 lines of code: web/examples.js has 724 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/examples.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9d0b2149f8bf6ce1601566e5c635a3f6af7afb85d887597110893dd7121910"}},{"ruleId":"R3","level":"warning","message":{"text":"knowledge/tools/api-query/api-query.mjs: 589 lines of code: knowledge/tools/api-query/api-query.mjs has 589 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89946ffe24ce153dd962f6fec96269c32b4c00f72122901843876879a6d2d7e"}},{"ruleId":"R3","level":"warning","message":{"text":"knowledge/tools/claims/check-claims.mjs: 463 lines of code: knowledge/tools/claims/check-claims.mjs has 463 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":"knowledge/tools/claims/check-claims.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d141333faf7b0cbdfe40d82a008e01bd585a802ff4dbc07a9f192159a78c5c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/api-surface/extract-api.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a2229e3c7d757b7be13714ed8e17880f0ae539aad6978e2c9d73f94b83bca2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/gallery-viewer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb8fd07171f83b3bfcbb38a5f09cf28b94f2b452b0f1472e01fc5feb492d486"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/examples.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b493142f83d8fe5a485d177577fa245b3fb2218dd4f9db94191135706491d8a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/routing/check-routes.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4c8dd27aa2d1806bd41d8340c13e1cfd52821b1e43aac4cbc30dadc9ed8e55"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/changeset/changeset.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b23582bd43ab69b884fb8e477133b52fdaabb1589dcfb20741dee6dd89c78c8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/bundle/build-bundle.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c243fff78d1874ccd900c22179da6a852d07c377cf141d0a3b80cbeef6e763"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/api-surface/lib/source-names.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c33e87b47c5ac73d0f57fe93dea2626c768325bfe071b20701a4999c056095"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/bundle/lib/zip-write.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1b7d2a343b152fe5fb98711a003f46bfba13669ef2bb385e8ca950db00c595"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/api-surface/lib/provenance.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8545c51c205113dc00b5060a038673ae729a5f47bb59f50eac05322fea5d5faa"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/api-surface/lib/render-markdown.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac87443e524f293d59ac8af7fd10764c99b0de92fa1bad1e39690909ffee3a4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/api-surface/lib/zip.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10746d49a1ce5910c9b1a167ceaf7cc3ed8f1044bc19b1196f78a663e6062074"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knowledge/tools/api-surface/check-stability-doc.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe21fbc619347a952b8c901bf6984453adaa81e2ec2bac4eaf55c942b474b34"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/home.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f366284064cdf475b242d2c043b7e08afd9772cbdc1d841a1f189503a86c50a7"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://cdn.jsdelivr.net/npm/prismjs@1.29.0/components/prism-core.min.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. 10 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-src/pages/index.html"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62c680c100684bccb4da746ddf1c6b9a1f491fc2a6b44b1d8799151a957033c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!trimmed.isEmpty() \u0026\u0026 Character.isLetter(trimmed.charAt(0))\u0060 appears character-identically in 2 files \u2014 templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java, templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MonogramSidebar.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":"templates/src/main/java/com/demcha/compose/document/templates/coverletter/presets/MonogramSidebarLetter.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9d0e5d7ce0380cc36cb1efc9ec0295aa6082da955a0c6b96fbb56b20233c07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!type.isInstance(section) || isTaken(section, taken)\u0060 appears character-identically in 2 files \u2014 templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavy.java, templates/src/main/java/com/demcha/compose/document/templates/cv/presets/OrangeOps.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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/MidnightNavy.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1483a0a5308663305f3cb13c1a4d63aa7a3154e7495ecdf92a9f4dbb5c33bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!type.isInstance(section) || section == taken\u0060 appears character-identically in 4 files \u2014 templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrange.java, templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulse.java, templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRail.java, templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGrid.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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrange.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"32949f9f6190adb794c2290ecdf7e2231a9bd91bb6400e28bbdd25b4226ae88d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Double.isInfinite(min) || Double.isInfinite(max)\u0060 appears character-identically in 2 files \u2014 core/src/main/java/com/demcha/compose/document/chart/ChartLayoutSupport.java, render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.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":"core/src/main/java/com/demcha/compose/document/chart/ChartLayoutSupport.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c289dec61369fe8f1f07de6cf3a0564025ee7344230531649a5991d4dbeaadd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Double.isNaN(baselineOffset) || Double.isInfinite(baselineOffset)\u0060 appears character-identically in 3 files \u2014 core/src/main/java/com/demcha/compose/document/node/InlineImageRun.java, core/src/main/java/com/demcha/compose/document/node/InlineShapeRun.java, core/src/main/java/com/demcha/compose/document/node/InlineSvgRun.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":"core/src/main/java/com/demcha/compose/document/node/InlineImageRun.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b571afa7195dce99427bbcab02538a4f215a201dd2fd835058086cc3e7dbc5f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Double.isNaN(value) || Double.isInfinite(value)\u0060 appears character-identically in 5 files \u2014 core/src/main/java/com/demcha/compose/document/node/LineNode.java, core/src/main/java/com/demcha/compose/document/style/DocumentPaint.java, core/src/main/java/com/demcha/compose/document/style/DocumentPathSegment.java, core/src/main/java/com/demcha/compose/document/style/DocumentTransform.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":"core/src/main/java/com/demcha/compose/document/node/LineNode.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"83eee797da25d6dd977d6d7deccf4036ea581101b5ba078a66e2179a43114b6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060axis.baselineAtZero() \u0026\u0026 axis.min() == null\u0060 appears character-identically in 3 files \u2014 core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java, core/src/main/java/com/demcha/compose/document/chart/ChartLayoutSupport.java, render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.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":"core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbba7b3295ac0fcf02f6421b34a2a3fe4f9095692c5561629c25b959b755379"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060axis.showGridLines() \u0026\u0026 gridStroke != null\u0060 appears character-identically in 2 files \u2014 core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java, core/src/main/java/com/demcha/compose/document/chart/ChartLayoutSupport.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":"core/src/main/java/com/demcha/compose/document/chart/BarChartLayout.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee93a9c84831f05e22bb73dba01d4ef5a13f4382db812625f7146047fa74ef14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060background.getAlpha() == 0 \u0026\u0026 foreground.getAlpha() == 0\u0060 appears character-identically in 2 files \u2014 render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfBarcodeFragmentRenderHandler.java, render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxBarcodeFragmentRenderHandler.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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfBarcodeFragmentRenderHandler.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b588dfdca4f9261f55345573a34544fa40e1e252f5de9e7ca28fc7bfc53ac33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cell.style().stroke() == null || cell.style().stroke().width() \u003C= 0\u0060 appears character-identically in 2 files \u2014 render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java, render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxTableRowFragmentRenderHandler.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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfTableRowFragmentRenderHandler.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d47ae6cb80d13612879982170708e1e3c7d3db8e050c326ca6969c55695ecd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060channel.href() == null || channel.href().isBlank()\u0060 appears character-identically in 3 files \u2014 templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMasthead.java, templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseMasthead.java, templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridMasthead.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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMasthead.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec01716ad7ae10efe6053bb94952b6ad9c665cc43627f8d6bf4c8f3e73d075c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060colon \u003E 0 \u0026\u0026 declaration.substring(0, colon).trim().equals(property)\u0060 appears character-identically in 2 files \u2014 core/src/main/java/com/demcha/compose/document/svg/SvgGradients.java, core/src/main/java/com/demcha/compose/document/svg/SvgIconReader.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":"core/src/main/java/com/demcha/compose/document/svg/SvgGradients.java"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10453ab96744657def9454951e65e9a6d2f84d005047a4304b58153471dbfa9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cornerRadius \u003C 0 || Double.isNaN(cornerRadius) || Double.isInfinite(cornerRadius)\u0060 appears character-identically in 2 files \u2014 core/src/main/java/com/demcha/compose/document/layout/payloads/ShapeFragmentPayload.java, core/src/main/java/com/demcha/compose/document/style/ShapeOutline.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":"core/src/main/java/com/demcha/compose/document/layout/payloads/ShapeFragmentPayload.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3052278aed1a0f3f8fe46987ca10494ccd0c7a36df922778783c8e1b2e7f661"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currencyCode == null || currencyCode.isBlank()\u0060 appears character-identically in 8 files \u2014 templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantText.java, templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredText.java, templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/ObsidianText.java, templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PaymentsText.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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantText.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15b7a207520f5245189d4de5450b856a2d4425e443ad01ee973c9a7101dd84d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060decoration == DocumentTextDecoration.BOLD || decoration == DocumentTextDecoration.BOLD_ITALIC\u0060 appears character-identically in 2 files \u2014 render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java, templates/src/main/java/com/demcha/compose/document/templates/cv/presets/NavySidebarStyles.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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxNativeCharts.java"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"1646d091628f96082b338e01025eb83b61899e695dd68e1188a9d5ec8c44556e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060education == null || education.entries().isEmpty()\u0060 appears character-identically in 2 files \u2014 templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseClosing.java, templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridClosing.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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseClosing.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8362ab4e866d4c761de148eae47cea586acbd5e39380fe9b38c92467c6759575"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060experience == null || experience.entries().isEmpty()\u0060 appears character-identically in 2 files \u2014 templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseBody.java, templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridBody.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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseBody.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c080dbe4d64febb19e86d22795d4ad178d81b1eecb8912efc3e2ac31fcaa5751"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fragment.width() \u003C= 0 || fragment.height() \u003C= 0\u0060 appears character-identically in 11 files \u2014 render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfBarcodeFragmentRenderHandler.java, render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfEllipseFragmentRenderHandler.java, render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfImageFragmentRenderHandler.java, render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfPathFragmentRenderHandler.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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfBarcodeFragmentRenderHandler.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"980b5345b696c8f7d82f0c7421be1c21e45c00d73c661a2eaa194346d21c43c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060height \u003C 0 || Double.isNaN(height) || Double.isInfinite(height)\u0060 appears character-identically in 2 files \u2014 core/src/main/java/com/demcha/compose/document/layout/MeasureResult.java, core/src/main/java/com/demcha/compose/document/node/SpacerNode.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":"core/src/main/java/com/demcha/compose/document/layout/MeasureResult.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc4c9602dda56a06634982b6e43b87043bb4f9fecd6ce34f83a0cb214701317"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060height \u003C= 0 || Double.isNaN(height) || Double.isInfinite(height)\u0060 appears character-identically in 9 files \u2014 core/src/main/java/com/demcha/compose/document/chart/ChartPrimitive.java, core/src/main/java/com/demcha/compose/document/node/BarcodeNode.java, core/src/main/java/com/demcha/compose/document/node/CanvasLayerNode.java, core/src/main/java/com/demcha/compose/document/node/EllipseNode.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":"core/src/main/java/com/demcha/compose/document/chart/ChartPrimitive.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cdf761bcc6bd134b26cc4226f502b9dcdfa0e0f1bf204176cb196e195b8c6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060imagePath != null || (imageBytes != null \u0026\u0026 imageBytes.length \u003E 0)\u0060 appears character-identically in 3 files \u2014 core/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfWatermarkOptions.java, core/src/main/java/com/demcha/compose/document/output/DocumentWatermark.java, core/src/main/java/com/demcha/compose/engine/components/content/watermark/WatermarkConfig.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":"core/src/main/java/com/demcha/compose/document/backend/fixed/pdf/options/PdfWatermarkOptions.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa6f366fec011f74cb3036eed5a824f1120cac94c8b7c1fcde1b7f4764af2e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060layer.clip() != null \u0026\u0026 !layer.clip().isEmpty()\u0060 appears character-identically in 2 files \u2014 render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/InlineSvgRasters.java, render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxInlineSvgRasterizer.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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/InlineSvgRasters.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad212d46d4fa704b0c87ffda7aa9b04a1d6cb0360fcf0f154986f80d138ec839"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lineSpacing \u003C 0 || Double.isNaN(lineSpacing) || Double.isInfinite(lineSpacing)\u0060 appears character-identically in 3 files \u2014 core/src/main/java/com/demcha/compose/document/node/ListNode.java, core/src/main/java/com/demcha/compose/document/node/ParagraphNode.java, core/src/main/java/com/demcha/compose/engine/components/content/table/TableCellLayoutStyle.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":"core/src/main/java/com/demcha/compose/document/node/ListNode.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0614a303003329fe161b42f45d582b02188d84a17cc43db5577f6e8aa95f16b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060markerGap \u003C 0 || Double.isNaN(markerGap) || Double.isInfinite(markerGap)\u0060 appears character-identically in 2 files \u2014 core/src/main/java/com/demcha/compose/document/dsl/ListBuilder.java, core/src/main/java/com/demcha/compose/document/node/ListNode.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":"core/src/main/java/com/demcha/compose/document/dsl/ListBuilder.java"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"7faf67d02163051731e0a34768cad7841d5aa0480177dec7711fdc35d65796b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.name() == null || node.name().isBlank()\u0060 appears character-identically in 3 files \u2014 core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java, core/src/main/java/com/demcha/compose/document/layout/TableLayoutSupport.java, render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.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":"core/src/main/java/com/demcha/compose/document/layout/LayoutCompiler.java"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"5914a1757378746be5890c8acaa0f34f6b5b65687da86a005bb52426d5c2e73a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060notes.heading().isBlank() \u0026\u0026 notes.paragraphs().isEmpty()\u0060 appears character-identically in 4 files \u2014 templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java, templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredClosing.java, templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java, templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionSettlement.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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cea93b379da824442e1d3fe5b4fadbb547d69356497b6509357ecc4a99a2f9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060paragraph.inlineRuns() == null || paragraph.inlineRuns().isEmpty()\u0060 appears character-identically in 2 files \u2014 render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java, render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxLayoutMetrics.java"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"02256325b1c24428ad4ab862d50f7f8fed01e093ed8bac8b5882880f87563120"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload.fillColor() != null || payload.fillPaint() != null\u0060 appears character-identically in 2 files \u2014 render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxPathFragmentRenderHandler.java, render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxShapeFragmentRenderHandler.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":"render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxPathFragmentRenderHandler.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c1c73105cae1d33af9c36114df95ac4910f9425323ccc400cde06890916f36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload.fillColor() == null \u0026\u0026 !PptxShapeStyle.drawable(payload.stroke())\u0060 appears character-identically in 2 files \u2014 render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxEllipseFragmentRenderHandler.java, render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxPolygonFragmentRenderHandler.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":"render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxEllipseFragmentRenderHandler.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"517141d75c0d80f24287c049b20c1ca046677994ba6301761d62316e7fb7b222"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload.sideBorders() != null \u0026\u0026 payload.sideBorders().hasAny()\u0060 appears character-identically in 2 files \u2014 render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfShapeFragmentRenderHandler.java, render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxShapeFragmentRenderHandler.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":"render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfShapeFragmentRenderHandler.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b18e572db5f886ea04eb5616db2fcb70b4522d46334b8a27659f1a803076539"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payment.dueNotice().isBlank() \u0026\u0026 payment.dueNoticeEmphasis().isBlank()\u0060 appears character-identically in 4 files \u2014 templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java, templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredSettlement.java, templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformSettlement.java, templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/WorkspaceSettlement.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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantSettlement.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"67902d78d872deb4fd3f4f06ad52bbf7ad2a22b9a4cee7cf714a16a3c04067f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060perPixelTolerance \u003C 0 || perPixelTolerance \u003E 255\u0060 appears character-identically in 2 files \u2014 testing/src/main/java/com/demcha/compose/testing/visual/ImageDiff.java, testing/src/main/java/com/demcha/compose/testing/visual/PdfVisualRegression.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":"testing/src/main/java/com/demcha/compose/testing/visual/ImageDiff.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0672ae9ac1a5ebf63f911b59eb97a05907ff09ae11963491ecb914b56f0f92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060properties != null \u0026\u0026 properties.isSetSpacing()\u0060 appears character-identically in 2 files \u2014 render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxGrownLines.java, render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxGrownLines.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1faac49a761d7060b5fc69af5267584a9059f2a325517e9ac6af87e646e91f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run instanceof InlineImageRun || run instanceof InlineSvgRun || run instanceof InlineShapeRun\u0060 appears character-identically in 2 files \u2014 render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java, render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxWithoutLayout.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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":16727}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d8d3cc30d313e018ae84ad7c230a6f0508f038c7122b1f892bd62b56503223"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.sizeOfDrawingArray() \u003E 0 || run.sizeOfPictArray() \u003E 0\u0060 appears character-identically in 2 files \u2014 render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java, render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxDrawingAnchors.java"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1181a8870037874ef43599604b20bfb77d88e198a1b5ce210cc6278814d6056"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060section != null \u0026\u0026 !section.entries().isEmpty()\u0060 appears character-identically in 4 files \u2014 templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java, templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeMain.java, templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailAside.java, templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TerracottaRailMain.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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/SlateOrangeAside.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc6bb2597d90454bc3b76b7f21459cbed13cba2516d2fa5b08973ec714396c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shape.stroke() != null \u0026\u0026 shape.stroke().width() \u003E 0\u0060 appears character-identically in 2 files \u2014 render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxRules.java, render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxRules.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ef9a8c7a4ee720598609361d3b628800097f04021177bfc28966d557bc8bee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060spacing \u003C 0 || Double.isNaN(spacing) || Double.isInfinite(spacing)\u0060 appears character-identically in 2 files \u2014 core/src/main/java/com/demcha/compose/document/node/ContainerNode.java, core/src/main/java/com/demcha/compose/document/node/SectionNode.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":"core/src/main/java/com/demcha/compose/document/node/ContainerNode.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"56dad067696f6da7a62ec896b821324561b78af38af60ddf5705eeee73ee801b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stroke != null \u0026\u0026 stroke.strokeColor() != null \u0026\u0026 stroke.strokeColor().color() != null \u0026\u0026 stroke.width() \u003E 0\u0060 appears character-identically in 4 files \u2014 core/src/main/java/com/demcha/compose/document/layout/NodeDefinitionSupport.java, render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/InlineSvgRasters.java, render-pdf/src/main/java/com/demcha/compose/document/backend/fixed/pdf/handlers/PdfShapeGeometry.java, render-pptx/src/main/java/com/demcha/compose/document/backend/fixed/pptx/handlers/PptxShapeStyle.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":"core/src/main/java/com/demcha/compose/document/layout/NodeDefinitionSupport.java"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"c631d08f7077a12d7f50857cb3fdc5c4e214fbd0755adbfef845e5d05cec91d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060summary == null || summary.body().isBlank()\u0060 appears character-identically in 2 files \u2014 templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseBody.java, templates/src/main/java/com/demcha/compose/document/templates/cv/presets/VioletGridMasthead.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":"templates/src/main/java/com/demcha/compose/document/templates/cv/presets/TealPulseBody.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae9db972cdb6d2f176aaa79488a183862d9d4a9a8853cf871deaf3dbd656295"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text == null || text.isBlank() || link == null\u0060 appears character-identically in 4 files \u2014 templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java, templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MeteredClosing.java, templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/PlatformClosing.java, templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/SubscriptionClosing.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":"templates/src/main/java/com/demcha/compose/document/templates/invoice/presets/MerchantClosing.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"124c378e17b5f1809eabaa48c671ee2727d032b9ad74b25dcc6805368cb9394f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060top != null || right != null || bottom != null || left != null\u0060 appears character-identically in 2 files \u2014 core/src/main/java/com/demcha/compose/document/layout/payloads/SideBorders.java, core/src/main/java/com/demcha/compose/document/style/DocumentBorders.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":"core/src/main/java/com/demcha/compose/document/layout/payloads/SideBorders.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4ebbdbbc2901f1c6ca7869a071ab94540e1a8b5613ac6f53fdaf5e7a6a2ec3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060transform != null \u0026\u0026 !transform.isIdentity()\u0060 appears character-identically in 2 files \u2014 render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxRules.java, render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxRules.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7b127e58c703c771f80467def3d1c05b3fb75e80691a342b20fb0915801b31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type == Character.CONTROL || type == Character.FORMAT || type == Character.PRIVATE_USE || type == Character.SURROGATE || type == Character.U\u2026\u0060 appears character-identically in 2 files \u2014 core/src/main/java/com/demcha/compose/engine/text/TextControlSanitizer.java, render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxTextControls.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":"core/src/main/java/com/demcha/compose/engine/text/TextControlSanitizer.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"204e2ad37fc6af67f05cb1badffeed05327675836a4533881547a780c75a652d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type == Type.FIXED \u0026\u0026 (fixedWidth == null || fixedWidth \u003C= 0)\u0060 appears character-identically in 2 files \u2014 core/src/main/java/com/demcha/compose/document/table/DocumentTableColumn.java, core/src/main/java/com/demcha/compose/engine/components/content/table/TableColumnLayout.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":"core/src/main/java/com/demcha/compose/document/table/DocumentTableColumn.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6252b35d5644ff2e1aee861a5a8ce08e515e9165568e35e1feb99e478fba90e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u003C 0 || Double.isNaN(value) || Double.isInfinite(value)\u0060 appears character-identically in 3 files \u2014 core/src/main/java/com/demcha/compose/document/node/LineNode.java, core/src/main/java/com/demcha/compose/document/style/DocumentCornerRadius.java, core/src/main/java/com/demcha/compose/document/style/DocumentSpacing.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":"core/src/main/java/com/demcha/compose/document/node/LineNode.java"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"8898c5f1810a812dce070ef7dfd3a0efd9b973a1b0c5dd3cceb6be7342f8f08d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060width != null \u0026\u0026 (width \u003C= 0 || Double.isNaN(width) || Double.isInfinite(width))\u0060 appears character-identically in 2 files \u2014 core/src/main/java/com/demcha/compose/document/node/ImageNode.java, core/src/main/java/com/demcha/compose/document/node/TableNode.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":"core/src/main/java/com/demcha/compose/document/node/ImageNode.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e2b624c7fa261e77ac2120bd2a18ed6b46a2eee1400979b6651e6f8ee86663"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060width \u003C 0 || Double.isNaN(width) || Double.isInfinite(width)\u0060 appears character-identically in 3 files \u2014 core/src/main/java/com/demcha/compose/document/layout/MeasureResult.java, core/src/main/java/com/demcha/compose/document/node/SpacerNode.java, core/src/main/java/com/demcha/compose/document/style/DocumentStroke.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":"core/src/main/java/com/demcha/compose/document/layout/MeasureResult.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f817973cb080d5536f389441993090f77738a1e9d3cef8a7ac0143ac35ff84c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060width \u003C= 0 || Double.isNaN(width) || Double.isInfinite(width)\u0060 appears character-identically in 9 files \u2014 core/src/main/java/com/demcha/compose/document/chart/ChartPrimitive.java, core/src/main/java/com/demcha/compose/document/node/BarcodeNode.java, core/src/main/java/com/demcha/compose/document/node/CanvasLayerNode.java, core/src/main/java/com/demcha/compose/document/node/EllipseNode.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":"core/src/main/java/com/demcha/compose/document/chart/ChartPrimitive.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"22518c4d4ec0fc5fad84c534e20417cebf4650f938385e3bb026281a66387eda"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.endsWith(\u0022.json\u0022) \u0026\u0026 f !== \u0022excluded.json\u0022\u0060 appears character-identically in 4 files \u2014 knowledge/tools/api-query/api-query.mjs, knowledge/tools/api-surface/check-stability-doc.mjs, knowledge/tools/claims/check-claims.mjs, knowledge/tools/routing/check-routes.mjs. 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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"0511ca3cc6c60f414ea3f22d5a9665881f202a0216c6d9f93951e554538c4d17"}},{"ruleId":"X13","level":"warning","message":{"text":"Redirected process stream is never drained (deadlock): The JDK merges \u0060stderr\u0060 into \u0060stdout\u0060 here (\u0060redirectErrorStream(true)\u0060), and that one stream is still a pipe \u2014 and the parent waits on \u0060p.waitFor(\u2026)\u0060 while nothing in this scope ever reads stdout. The JDK\u0027s own \u0060Process\u0060 documentation warns that failing to read a child\u0027s output promptly \u0022may cause the process to block, or even deadlock\u0022: once the child writes more than the pipe holds (measured on OpenJDK 25 / Linux: 60,000 bytes finishes, 70,000 hangs forever), it blocks on the write, never exits, and the bounded wait then times out on a command that was only waiting to be read, and the output is lost. Nothing fails loudly. Read every piped stream before (or while) waiting \u2014 a thread or \u0060CompletableFuture\u0060 per stream \u2014 merge them with \u0060redirectErrorStream(true)\u0060 and read the one stream before \u0060waitFor\u0060, or discard what you do not want with \u0060redirectOutput\u0060/\u0060redirectError(ProcessBuilder.Redirect.DISCARD)\u0060 (or a file)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev-tools/PdfRebuildOpenInAdobe.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"658ec24533a6838ca6bb63830384d8087234c6ebb8f955a76041cbd32d9784d7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escAttr(SOURCE_TREE\u002BencodeURIComponent(ref)\u002BSOURCE_PATH)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/examples.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"56285e637502ac0c47d75223f343fef6d349dd56d3361679ad706b129127f105"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\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/home.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a522c9005d1461bdc5880ad40f4cd7f51a54d72e19f450aedf769c217a704221"}},{"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":"render-pdf/src/main/java/com/demcha/compose/engine/render/pdf/GlyphFallbackLogger.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ed1ee95254144df85cfee04a7f8a3d370d17bbdd5350b282f73b83f3377e1a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (RuntimeException)\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":2844}}}],"partialFingerprints":{"codehealthFindingId/v1":"99166dad0a0e435887fed1fb8223072a9fde71193f27b84159e3523f26866de8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (RuntimeException)\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":4883}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf486f10af377f6c89c82bfadc1c51f875b4caf9307ae9b7e9521018bc31265c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (RuntimeException)\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":10738}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9331cf84e79353f7fd7a1667a21d4f626607d5db6c47b4263bb267be1c1d2ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (RuntimeException)\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":12708}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2631c64f650c3598aadad2545e79aed987b1c42d9235e77d18e03ad1ea8715d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (RuntimeException)\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":13332}}}],"partialFingerprints":{"codehealthFindingId/v1":"be257d002166d953718a0d2fad75289a6876fc43cd05c1d3cb48f15728bf80a9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (RuntimeException)\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":14628}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fa74520ee33c2e1cadc87177a66e92a4ba615c305454a3d0b2198ba133ea8e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (RuntimeException)\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":20057}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cebf62861612b7f7d623a523b00234748f7fae7f2f8572de818c2250a871c49"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (RuntimeException)\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":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":20118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef2d07ce02711ba6320fc7e39af1befba499d9ed3ea770c6bb1e2be4037fb02"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, 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":"knowledge/tools/claims/check-claims.mjs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a4f34f657bd70ca1347fe7093faeca3f6931dd5a2ae89d1532c823c147766e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, 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":"knowledge/tools/api-surface/lib/tree.mjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"104c3d2b308c47bda032866c2304197ce92db213a9a1c0e967f84454dc07184f"}},{"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":"knowledge/tools/api-query/api-query.mjs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac068f7b392facd9a4838adc92467b263819e6b4aea55ecbb8922d13149ddd4a"}},{"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":"dev-tools/PdfRebuildOpenInAdobe.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6ecafc1cb7919a122408b6be27bf22147fc8e6c3d29668ea453efd2ee4e890"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 292 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-pdf/src/main/java/com/demcha/compose/engine/render/pdf/PdfFont.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85ca1f1478a406ab7b5536365343808e141c18db87538284dc686bfb40c9fe4"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/78 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060characterMapOf\u0060 swallows every exception into \u0060return java.util.Optional.empty()\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 Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxFontTable.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b408a7658406ef0e9a65500e93e8aed6352dacad730f1b200506786e145803"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060number\u0060 returns \u0060-1\u0060 when \u0060NumberFormatException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxGrownLines.java"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d170ca05ce2f87a96f86a610436b1641f4ec63956c54a99cd98125f7e1aa99c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060nextWordAtWordsSize\u0060 swallows every exception into \u0060return 0\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 Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":12708}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7fab82388da9f322d108d898122dc3ce6618e7cc585c04bb0cbcbbc6a9b80b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060styleLineHeight\u0060 swallows every exception into \u0060return 0\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 Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":13332}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8e27ac69775e9292e4f90eccfd079a08ef9d8c69fa7014381cfeb61e45ec95"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060styleWidth\u0060 swallows every exception into \u0060return 0\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 Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-docx/src/main/java/com/demcha/compose/document/backend/semantic/docx/DocxSemanticBackend.java"},"region":{"startLine":14628}}}],"partialFingerprints":{"codehealthFindingId/v1":"37763391c0345638de02e1a21cc5027333b12a9bf2fd838878f78e97f8831e84"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060alive\u0060 swallows every exception into \u0060return False\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":"scripts/docx-visual/edit-protocol-libreoffice.py"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e70c5820732ca5f65294d9db4f67e6df9570e6a5f02d16bab738027303ce36b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060clip_honoured\u0060 swallows every exception into \u0060return False\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":"scripts/docx-visual/edit-protocol-libreoffice.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb164aa7082ded78e06e528858f6fefb24fd75ca87b8db33632dda56955ec36"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-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-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"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":69,"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."]}]}