{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"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":"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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility (rendered)","shortDescription":{"text":"Runtime accessibility (rendered)"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"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":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"MarkdownExtension.exportAsMarkdown (cyclomatic 89): MarkdownExtension.exportAsMarkdown has cyclomatic complexity 89 (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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d57b8edae4ec351617d8a26d6959348d7a7aa4968f47bfec2a60431593a1a8"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownExtension.importMarkdown (cyclomatic 68): MarkdownExtension.importMarkdown has cyclomatic complexity 68 (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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"255ce7652120198b561702890b47d00df05b96355d886d436e0f98fc26c88b04"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotatedStringToMarkdownKt.toMarkdown (cyclomatic 64): AnnotatedStringToMarkdownKt.toMarkdown has cyclomatic complexity 64 (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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/annotatedStringToMarkdown.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5019e2456fafc3f36e83258789b9ffbb752d7528f23ea71610eb8e3c33132642"}},{"ruleId":"D1","level":"warning","message":{"text":"CtrlKeyBindings.commandFor (cyclomatic 56): CtrlKeyBindings.commandFor has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/KeyBindings.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9f9a40b19ff04c2b83973eeb4d68431c98266bec87c0bf5bafdea11b26eb82"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlSpanBuilder.visitElement (cyclomatic 49): HtmlSpanBuilder.visitElement has cyclomatic complexity 49 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/htmlToAnnotatedString.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"0918965ef681b89f9fc9adec63a3dca3dcaac68029a970fdfc0e5b0697be49cb"}},{"ruleId":"D1","level":"warning","message":{"text":"MacKeyBindings.commandFor (cyclomatic 47): MacKeyBindings.commandFor has cyclomatic complexity 47 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/KeyBindings.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cef8c0a5cd003bee7498e4ffe7c830422d31dbc737c0c4b73e7b85bb74bf12"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownToAnnotatedStringKt.appendMarkdownNode (cyclomatic 45): MarkdownToAnnotatedStringKt.appendMarkdownNode has cyclomatic complexity 45 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/markdownToAnnotatedString.kt"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a6843d6ce10293b18b1a47fbc4678413182d93bf79eaaebce8ecff1aac0a44"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownEscapingKt.markdownEscapes (cyclomatic 43): MarkdownEscapingKt.markdownEscapes has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownEscaping.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b2d1c29d677d98dd8a48a64828019e0836a564f5d3ce9d739fe2eace48bb7a"}},{"ruleId":"D1","level":"warning","message":{"text":"RichSpanManager.replaced (cyclomatic 42): RichSpanManager.replaced has cyclomatic complexity 42 (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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9f0bb32b400a6c37ab28a1c67d1e469c317ad56d03771caba666ed9cc1a14e"}},{"ruleId":"D1","level":"warning","message":{"text":"SpellCheckingTextEditorKt.SpellCheckingTextEditor (cyclomatic 38): SpellCheckingTextEditorKt.SpellCheckingTextEditor has cyclomatic complexity 38 (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":"ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckingTextEditor.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b98d9c18b87238b61bd2e6dab8cadbbe78b5f5b06b902fc62cf248ea3aa269c"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditorKeyCommandHandler.moveCursor (cyclomatic 34): TextEditorKeyCommandHandler.moveCursor has cyclomatic complexity 34 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/TextEditorKeyCommandHandler.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cda6d83d00ff38b771bb5463b3a2126a2a5f082c0165a4488b5d3595b6872f7"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditorPointerInputHandlingKt.handleTouchInteractions (cyclomatic 34): TextEditorPointerInputHandlingKt.handleTouchInteractions has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/textEditorPointerInputHandling.kt"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"0038da901272ee7fd5d7d313594360bb508e81293d04c68e62dfbcbb6d156916"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutUpdateKt.mergedWith (cyclomatic 30): LayoutUpdateKt.mergedWith has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/LayoutUpdate.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddab21ef0c5216a9476833d55f9d414ae63e869ee3c85a25292ab77b8c288f5"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditManager.applyLanded (cyclomatic 30): TextEditManager.applyLanded has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d53db95a35af3dcf40598203234ef5e062ccec855946af5e8c477091fd489a0"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlSpanBuilder.resolveTags (cyclomatic 28): HtmlSpanBuilder.resolveTags has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/htmlToAnnotatedString.kt"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"87135d66ee5c77625b74bc9029e5c06b778d96fbfc39e539f295b5a6dfaf1be3"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditorPointerInputHandlingKt.handleMouseInput (cyclomatic 27): TextEditorPointerInputHandlingKt.handleMouseInput 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/textEditorPointerInputHandling.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef5377c62a331a1d4b6820c28af29c47b2f819b94cf111a91e0ec2ec162cd0c"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownExtensionKt.withIndentedCode (cyclomatic 27): MarkdownExtensionKt.withIndentedCode 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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"692d62b0cbd7f1f9e1c492c586d908b7e1ff7f3c5d91adafb0dbf3275c744c9e"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditorDemoUiKt.TextEditorDemoUi (cyclomatic 27): TextEditorDemoUiKt.TextEditorDemoUi has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sampleApp/src/commonMain/kotlin/TextEditorDemoUi.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd0a271723134c9ca661126b56cc93ec83d45b17d395538b1609d644883178c"}},{"ruleId":"D1","level":"warning","message":{"text":"RichSpanManager.handleInsert (cyclomatic 26): RichSpanManager.handleInsert has cyclomatic complexity 26 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5f372f2c31b45a4ba6cbb40fef1d59a58e13eb883f7f761038418eea2ffbb0"}},{"ruleId":"D1","level":"warning","message":{"text":"RichSpanManager.linkAfterReplace (cyclomatic 25): RichSpanManager.linkAfterReplace has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"530024a04e78ab13b90db2f9203cd645809febff372b6b8253558da451d3433d"}},{"ruleId":"D1","level":"warning","message":{"text":"FindBarKt.FindBar (cyclomatic 25): FindBarKt.FindBar has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorFind/src/commonMain/kotlin/com/darkrockstudios/texteditor/find/FindBar.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"007dfccea15855860afe0f2b5c56470a7bddfc1ebb24cc9e987c554fb00a6439"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownEscapingKt.escapeLineStart (cyclomatic 24): MarkdownEscapingKt.escapeLineStart has cyclomatic complexity 24 (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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownEscaping.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"499cbaf01595bec0e1d738462232390b316426212091a02626f9016985623baf"}},{"ruleId":"D1","level":"warning","message":{"text":"BasicTextEditorKt.BasicTextEditor (cyclomatic 22): BasicTextEditorKt.BasicTextEditor 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/BasicTextEditor.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7efa0cc4272ba617e8d270b3faffe66c8bc1d75a9ace8f1e6a171da51f89728"}},{"ruleId":"D1","level":"warning","message":{"text":"Typing.substitute (cyclomatic 22): Typing.substitute 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/behaviors/SmartPunctuation.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"388d601173df93c7329306d0cb59173009bdf699fb942f364b1bc401fcf09829"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditManager.handleMultiLineDelete (cyclomatic 22): TextEditManager.handleMultiLineDelete 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba40b949dccb0f0f31989dafabb8e9572fa106c3c43523719c11d1aa273b6b0c"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownExtensionKt.withSetextHeadings (cyclomatic 22): MarkdownExtensionKt.withSetextHeadings 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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b856b466852f260d8138e6def94cf2c3e16380f4075bf35871f66a703c7be9e"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownShortcuts.convertBlockMarker (cyclomatic 21): MarkdownShortcuts.convertBlockMarker has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownShortcuts.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec3fae87d8f8a0bc36f40594e9934957058e5bcb0c558837b1402666d656346"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotatedStringToMarkdownKt.withUnflankedEmphasisAsTags (cyclomatic 21): AnnotatedStringToMarkdownKt.withUnflankedEmphasisAsTags has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/annotatedStringToMarkdown.kt"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d30d9fd8d6818859305d848e9d9a00df06db41785ea37bc262da8953e9c189"}},{"ruleId":"D1","level":"warning","message":{"text":"SyntaxHighlightingKt.chunkStarts (cyclomatic 21): SyntaxHighlightingKt.chunkStarts has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sampleApp/src/commonMain/kotlin/codeeditor/SyntaxHighlighting.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd895d4a69279b2ba07d5ab3f1c23aaae045f473c2c85660251b21320644a8f"}},{"ruleId":"D1","level":"warning","message":{"text":"LineBlockNormalizationKt.repairFenceLanguages (cyclomatic 20): LineBlockNormalizationKt.repairFenceLanguages 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/richstyle/LineBlockNormalization.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"be48d040c2bb04b6daeb2a075a48021f5edce6c1b8add9d4401a1f8d1e539c08"}},{"ruleId":"D1","level":"warning","message":{"text":"TextLayoutResultExtKt.getRunBoxes (cyclomatic 20): TextLayoutResultExtKt.getRunBoxes 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/utils/TextLayoutResultExt.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67e74f3c301b01c44bd5445d6f4548c7af88908b5454e18bdffdd6fa3acded5"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkReferencesKt.withNonLinkBracketsEscaped (cyclomatic 20): LinkReferencesKt.withNonLinkBracketsEscaped 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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/LinkReferences.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6926e0c3f7c8231cf586a0557856aaccac454fa80ad9fdc3c2b27677dd1045c8"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownToAnnotatedStringKt.literalRunEnd (cyclomatic 20): MarkdownToAnnotatedStringKt.literalRunEnd 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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/markdownToAnnotatedString.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0dba7e2722856dbedb8f01a04cbedada7ef13d14bce72d5660add9e4aa51a9"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditManager.resolveInheritedStyle (cyclomatic 19): TextEditManager.resolveInheritedStyle has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"f508e63a8d84335a46dc51fe048a6093df8480a264893c44c74cc8efa5d4442f"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditorState.settleStep (cyclomatic 19): TextEditorState.settleStep has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt"},"region":{"startLine":2322}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed01a085e74a432b2a0fca97b7764df292978e529d4b5212152c8e04d059acb2"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditorState.layoutPartial (cyclomatic 19): TextEditorState.layoutPartial has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt"},"region":{"startLine":2450}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a269e6e1ca880ba3eb24b20cbba1a899c96cb10afa01ecfba91c81a6b956ab"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditorState.addPreservedRichSpans (cyclomatic 19): TextEditorState.addPreservedRichSpans has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt"},"region":{"startLine":2904}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbec3118a704197c8d3b7ace387fa86069e140786acc0f2d93e4df7456e08178"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownAlignmentKt.unwrapAlignment (cyclomatic 19): MarkdownAlignmentKt.unwrapAlignment 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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownAlignment.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"63297594580d77b5c09719e32c103bd544ef37db56459da45bea7e4634fa9e17"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotatedStringToMarkdownKt.delimiterMatches (cyclomatic 19): AnnotatedStringToMarkdownKt.delimiterMatches has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/annotatedStringToMarkdown.kt"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"169b626e54cc536c4d21da9aab4e736faa0fdfa89bf2349378ba9bc3b0d0049f"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditorKeyCommandHandler.handleKeyEvent (cyclomatic 18): TextEditorKeyCommandHandler.handleKeyEvent 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/TextEditorKeyCommandHandler.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"463e0c55d43a48b11d3765d800b038d759c960df47c922a08e2037a4b0ffc05f"}},{"ruleId":"D1","level":"warning","message":{"text":"RichSpanManager.updateSpans (cyclomatic 18): RichSpanManager.updateSpans has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f47218c170a833e0fcbcb1ba9cfd78e905c4c0f0979891576cef4575f91fdf4"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditManager.continueLineBlocks (cyclomatic 18): TextEditManager.continueLineBlocks has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcf547a6f4a0625315f30fac581851caf51e4ee45c99c399b31ca271da4dc9c"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkReferencesKt.readLinkDestination (cyclomatic 18): LinkReferencesKt.readLinkDestination 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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/LinkReferences.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5134e65a73c38e938ec395f62ef8539c8cd18edf56450237f7e5be4891c96feb"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditorStateSaverKt.decodeRichSpanStyle (cyclomatic 17): TextEditorStateSaverKt.decodeRichSpanStyle has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateSaver.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fc79ed850256a3d0bbb2f7e6b9be3bb638354f150986ff683368011bb1e9cf"}},{"ruleId":"D1","level":"warning","message":{"text":"iosKt.needsWordDictionary (cyclomatic 17): iosKt.needsWordDictionary has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/iosMain/kotlin/com/darkrockstudios/texteditor/state/WordBreaks.ios.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e8d3b453e7c89219b7f42ca189c348ab274a899903b475aff85e005954ad33"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownExtensionKt.withoutLinkDefinitions (cyclomatic 17): MarkdownExtensionKt.withoutLinkDefinitions 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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"302c6c34866ac4959d5c85c889f55ff9063411b3a8479b4305bc41a8515ac9c3"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditorToolbarUiKt.TextEditorToolbar (cyclomatic 17): TextEditorToolbarUiKt.TextEditorToolbar 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":"sampleApp/src/commonMain/kotlin/TextEditorToolbarUi.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a9c20385f1f84f132d624f2100089302b2b753aaf89d8bd24baf1c9ad1915b"}},{"ruleId":"D1","level":"warning","message":{"text":"ImeCursorSync.flush (cyclomatic 16): ImeCursorSync.flush 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":"ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/input/ImeCursorSync.android.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f0b61655446a7313993b8e2b98cb713491b7b552f38eff356a11e770f63f19"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawSelectionUiKt.drawSelectedRows (cyclomatic 16): DrawSelectionUiKt.drawSelectedRows 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawSelectionUi.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1136abde36f1fc9e8bc1d591870999d21cda2e20b1255911b3183e7809b26c"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlExtensionKt.lineHtml (cyclomatic 16): HtmlExtensionKt.lineHtml has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/HtmlExtension.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"007a7151fb6fe954d25f1d029590a536e2ed1fffc249a551bfb65d8e5e443611"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditHistory.coalesceDelete (cyclomatic 16): TextEditHistory.coalesceDelete 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditHistory.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"8640da46234dc4b8e28ab9d3599d7fa6a22e3a1cc6b739ca9c25934a91bd4392"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditorState.updateBookKeeping (cyclomatic 16): TextEditorState.updateBookKeeping 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt"},"region":{"startLine":2133}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b3a582465f693f7267fbf50425e4cdbf504cbe10f8e859fc4dcf7cb609dfdc"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkReferencesKt.readLinkDefinition (cyclomatic 16): LinkReferencesKt.readLinkDefinition has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/LinkReferences.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2672beb6ebd7511799a2e0cd509585b310b405516bc30d89a7c1fd20bd2889da"}},{"ruleId":"D1","level":"warning","message":{"text":"ListNesting.peel (cyclomatic 16): ListNesting.peel 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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c11170a8c493af085ff6ae73a5d14945ebe4af0d05d317e6c5d87996311b215"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotatedStringToMarkdownKt.styleMarkers (cyclomatic 16): AnnotatedStringToMarkdownKt.styleMarkers 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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/annotatedStringToMarkdown.kt"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"841025a6deaa96342c7384df13442f64e96987fbe4a43c784858c5f6302742cc"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateMarkdownStylesKt.deepCompareSpanStyles (cyclomatic 16): UpdateMarkdownStylesKt.deepCompareSpanStyles 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":"sampleApp/src/commonMain/kotlin/markdown/updateMarkdownStyles.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2284f6c3aa7c82366aa3a8a341263c2e58e56a6344c0390d2d37b4479d0a2c9"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownExtension.exportAsMarkdown (cognitive 148): MarkdownExtension.exportAsMarkdown has cognitive complexity 148 (threshold 15). Drivers by points: if/else 59 (96 pts), boolean chains 30, loops 7 (14 pts), match/switch 4 (8 pts) (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71bc1cb00b2797e4ace566340fafb9aca55da461a07ebe17a855cd907f44101"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotatedStringToMarkdownKt.toMarkdown (cognitive 100): AnnotatedStringToMarkdownKt.toMarkdown has cognitive complexity 100 (threshold 15). Drivers by points: if/else 41 (65 pts), boolean chains 24, loops 7 (9 pts), match/switch 1 (2 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/annotatedStringToMarkdown.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f476416155f8bf9047a6b7c3c4845dd71cb7ac99778212435b2628b5d3fdf8"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownExtension.importMarkdown (cognitive 92): MarkdownExtension.importMarkdown has cognitive complexity 92 (threshold 15). Drivers by points: if/else 37 (49 pts), boolean chains 32, loops 4 (9 pts), match/switch 2 (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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"417673da68a361c5379d569948f51f3f01c2d921cb577e24bcd028a6986408c7"}},{"ruleId":"D2","level":"warning","message":{"text":"RichSpanManager.replaced (cognitive 69): RichSpanManager.replaced has cognitive complexity 69 (threshold 15). Drivers by points: if/else 25 (47 pts), boolean chains 21, match/switch 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cf072e48b03a997a18bff878af25d7fb6a495e0a40ef3c943c08af59d28efc"}},{"ruleId":"D2","level":"warning","message":{"text":"CtrlKeyBindings.commandFor (cognitive 67): CtrlKeyBindings.commandFor has cognitive complexity 67 (threshold 15). Drivers by points: if/else 34 (48 pts), match/switch 6 (11 pts), boolean chains 8 (nesting depth added 19). 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/KeyBindings.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5cbc15be7a4b6b0c02f20e561951561191b2d1adbd5f3482e18f2f970d87a6"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditorPointerInputHandlingKt.handleTouchInteractions (cognitive 66): TextEditorPointerInputHandlingKt.handleTouchInteractions has cognitive complexity 66 (threshold 15). Drivers by points: if/else 23 (50 pts), boolean chains 10, loops 2 (4 pts), match/switch 1 (2 pts) (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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/textEditorPointerInputHandling.kt"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4674f1c095391976784272cfc246459faf139ab6e48cba5b94d336faef5a64e"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownEscapingKt.markdownEscapes (cognitive 61): MarkdownEscapingKt.markdownEscapes has cognitive complexity 61 (threshold 15). Drivers by points: if/else 15 (34 pts), boolean chains 13, loops 6 (12 pts), match/switch 1 (2 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownEscaping.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42fe47a6cf4b86a4504467103f5c2f698f4f8f6195453378ff4b36f4e37a158"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlSpanBuilder.visitElement (cognitive 56): HtmlSpanBuilder.visitElement has cognitive complexity 56 (threshold 15). Drivers by points: if/else 32 (38 pts), boolean chains 16, match/switch 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/htmlToAnnotatedString.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff387b50715818b9197079bfba8abc2ac6978041ebdac08274504f49bd7a7d68"}},{"ruleId":"D2","level":"warning","message":{"text":"MacKeyBindings.commandFor (cognitive 47): MacKeyBindings.commandFor has cognitive complexity 47 (threshold 15). Drivers by points: if/else 19 (23 pts), match/switch 10 (19 pts), boolean chains 5 (nesting depth added 13). 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/KeyBindings.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d20ddaf7bd70e53e7906352978b8579b656cf933cc40d3fb0c1ca678dc3596d"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownExtensionKt.withIndentedCode (cognitive 46): MarkdownExtensionKt.withIndentedCode has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 11, loops 4 (10 pts), match/switch 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fd646683ae048b0dfc8a8c2afd386749e96e4be8af16e68c24ca4a28b29c8e"}},{"ruleId":"D2","level":"warning","message":{"text":"SpellCheckingTextEditorKt.SpellCheckingTextEditor (cognitive 46): SpellCheckingTextEditorKt.SpellCheckingTextEditor has cognitive complexity 46 (threshold 15). Drivers by points: if/else 26 (32 pts), boolean chains 8, match/switch 4 (6 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckingTextEditor.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14e756e0bcf4c892edb98f232241a1448ff2dbd30b209b973adf190541aafe4"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutUpdateKt.mergedWith (cognitive 45): LayoutUpdateKt.mergedWith has cognitive complexity 45 (threshold 15). Drivers by points: if/else 32 (36 pts), boolean chains 8, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/LayoutUpdate.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9015ade26ab6e667d44d7fe311e1bf1c77c2336ee4c01613726423583bf6f9b"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditorPointerInputHandlingKt.handleMouseInput (cognitive 43): TextEditorPointerInputHandlingKt.handleMouseInput has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (31 pts), boolean chains 11, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/textEditorPointerInputHandling.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f2fa79fe3cb433529d10a66f9b3ae34a8af03d01b655477ba64a354ca99da7"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkReferencesKt.withNonLinkBracketsEscaped (cognitive 40): LinkReferencesKt.withNonLinkBracketsEscaped has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (33 pts), boolean chains 3, loops 1 (3 pts), match/switch 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/LinkReferences.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdabd475ff714d438259409f473059ca215c841b461e312d68c9f15f80efb877"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownEscapingKt.findLinkOpeners (cognitive 37): MarkdownEscapingKt.findLinkOpeners has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (27 pts), loops 3 (4 pts), boolean chains 3, match/switch 1 (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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownEscaping.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1b4987e990177ef87a74e431f5a5694908093e4f0015d16a13432d6591dd56"}},{"ruleId":"D2","level":"warning","message":{"text":"SyntaxHighlightingKt.chunkStarts (cognitive 37): SyntaxHighlightingKt.chunkStarts has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 8, loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sampleApp/src/commonMain/kotlin/codeeditor/SyntaxHighlighting.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c7623a4ddf5f105ffadf25fa39b9c30e1a3e09e7744fb4294a087220b638c1"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownExtensionKt.withSetextHeadings (cognitive 36): MarkdownExtensionKt.withSetextHeadings has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 8, loops 3 (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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8f12ccb02ef72327b6352b57c7cf342c563c30e0aab6ad8322d76d7a9f6b56"}},{"ruleId":"D2","level":"warning","message":{"text":"RichSpanManager.handleInsert (cognitive 35): RichSpanManager.handleInsert has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 14, match/switch 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebcea462e91b411e7b1bf89057198bea765ebc27a6dc09999df500c30a02a09"}},{"ruleId":"D2","level":"warning","message":{"text":"FindBarKt.FindBar (cognitive 34): FindBarKt.FindBar has cognitive complexity 34 (threshold 15). Drivers by points: if/else 26 (28 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorFind/src/commonMain/kotlin/com/darkrockstudios/texteditor/find/FindBar.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3930db320e16eb821ad82e99feacc2cd5622e031567f37d36c44ff218ad12f0"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditManager.handleMultiLineDelete (cognitive 33): TextEditManager.handleMultiLineDelete has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (20 pts), match/switch 4 (8 pts), boolean chains 5 (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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf573b962ba66cad8258901937a05e87c6f556282a3b2650975cc9602958adc"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownAlignmentKt.unwrapAlignment (cognitive 33): MarkdownAlignmentKt.unwrapAlignment has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 5, loops 2 (4 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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownAlignment.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b993577695928c529557946052e5b2e770cf594485dfb762c79d216b9c1afe8"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawSelectionUiKt.drawSelectedRows (cognitive 32): DrawSelectionUiKt.drawSelectedRows has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 4, 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawSelectionUi.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b70144008255cb5cb9e07f204b8fe91d1c7f1ad252803bc3e8af652c2c9a5b"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownToAnnotatedStringKt.appendMarkdownNode (cognitive 31): MarkdownToAnnotatedStringKt.appendMarkdownNode has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 4, match/switch 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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/markdownToAnnotatedString.kt"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"b964a2208abbf9549260b5ad7e522d6441d59e026e433214af67c178f8c6470a"}},{"ruleId":"D2","level":"warning","message":{"text":"TextSearchUtilsKt.expandReplacement (cognitive 29): TextSearchUtilsKt.expandReplacement has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, loops 2 (4 pts), match/switch 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorFind/src/commonMain/kotlin/com/darkrockstudios/texteditor/find/TextSearchUtils.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"edba03c08d9462ee6f1f9967ff7571f54ebae7a61b19840b4fb8b59e145bdde7"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineScanKt.scanInline (cognitive 29): InlineScanKt.scanInline has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (7 pts), match/switch 1 (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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/InlineScan.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cdd2406405a6a469c2fb55fa6f3f4529b513ca3975f6c47ad6cf0dc5195c1b"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyboardTraceFormat.tokenize (cognitive 28): KeyboardTraceFormat.tokenize has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 2 (6 pts), loops 2 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/input/KeyboardTraceFormat.android.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7368aaf6c40255cab94dd947162169b8f62c5eaf534362b0cc7c07ba6f919c11"}},{"ruleId":"D2","level":"warning","message":{"text":"Typing.substitute (cognitive 28): Typing.substitute has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 5, match/switch 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/behaviors/SmartPunctuation.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9df93e1193cd4f57e6e377694b9d6bc4780b84e23f9f8e92b3f528f88a1529f"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditManager.resolveInheritedStyle (cognitive 28): TextEditManager.resolveInheritedStyle has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 5, loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f99672d442f22fabfc8027d3ee9d1e0d27f90757ddcde93d843489e0366671"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditorState.layoutPartial (cognitive 28): TextEditorState.layoutPartial has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt"},"region":{"startLine":2450}}}],"partialFingerprints":{"codehealthFindingId/v1":"73923fec78be91a16ad4a676573c4c7a12b2d3f26362c6f5add97c23b07b6ec3"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkReferencesKt.readLinkDestination (cognitive 27): LinkReferencesKt.readLinkDestination has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 5, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/LinkReferences.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaab98e9ab9f053da224eb25affe9835da43dce2039728a27713e69c01e8bb93"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotatedStringToMarkdownKt.delimiterMatches (cognitive 27): AnnotatedStringToMarkdownKt.delimiterMatches has cognitive complexity 27 (threshold 15). Drivers by points: loops 7 (12 pts), boolean chains 7, if/else 5 (6 pts), match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/annotatedStringToMarkdown.kt"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbdd02ffc843515bd69ec8fc2ae9bb3208861d1e605c7e460b6f7cd213a4703"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditorToolbarUiKt.TextEditorToolbar (cognitive 27): TextEditorToolbarUiKt.TextEditorToolbar has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 8 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sampleApp/src/commonMain/kotlin/TextEditorToolbarUi.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea367c134c678144ee40cc2a19e28fd7ce5fd1dffe2344699c5ecd1f5e1d0e5"}},{"ruleId":"D2","level":"warning","message":{"text":"RichSpanManager.linkAfterReplace (cognitive 26): RichSpanManager.linkAfterReplace has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16, boolean chains 7, loops 1 (2 pts), match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec09ef91518dbc5a5cbc5fbdb4bb6d6955d4442bfc1078356a55cab100237b52"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditManager.applyLanded (cognitive 26): TextEditManager.applyLanded has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16, boolean chains 8, match/switch 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"3873d6c16a0b645441ded9b4c24c2fd3152c5aee45a1bcbe5a963fb5592883e5"}},{"ruleId":"D2","level":"warning","message":{"text":"TextLayoutResultExtKt.getRunBoxes (cognitive 26): TextLayoutResultExtKt.getRunBoxes has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 6, loops 2, match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/utils/TextLayoutResultExt.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"af630fddb55ddcca79223ff564f0a7fddfd114aa916bf1cbfd83b83bad25518f"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotatedStringToMarkdownKt.withUnflankedEmphasisAsTags (cognitive 26): AnnotatedStringToMarkdownKt.withUnflankedEmphasisAsTags has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 11, loops 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/annotatedStringToMarkdown.kt"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ecaa04a4b87e3e637d53f1b151a20341de840527f5295ba2c1e94273487187"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditorDemoUiKt.TextEditorDemoUi (cognitive 26): TextEditorDemoUiKt.TextEditorDemoUi has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18, boolean chains 5, match/switch 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sampleApp/src/commonMain/kotlin/TextEditorDemoUi.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3bf29701137d2156ffc0b3fd55cf9761b6199f2d6bb82807a48edc91dea4a8"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotatedStringToHtmlKt.toHtml (cognitive 24): AnnotatedStringToHtmlKt.toHtml has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/annotatedStringToHtml.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfd18a3720136cf88c8d2451c3834506f7bcf1659034010dbfdb98910963d16"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlSpanBuilder.resolveTags (cognitive 24): HtmlSpanBuilder.resolveTags has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, match/switch 4 (7 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/htmlToAnnotatedString.kt"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b53d946bde88cb7da2f82695394fb8bb7abfd25651820f1e37736e60018888"}},{"ruleId":"D2","level":"warning","message":{"text":"InlinePrecedenceKt.withInlinePrecedence (cognitive 24): InlinePrecedenceKt.withInlinePrecedence has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 1 (3 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/InlinePrecedence.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f29fbb74a429fd9b9130329ed9340a274c859ad407e90c3ba40a50dc1aba654"}},{"ruleId":"D2","level":"warning","message":{"text":"BasicTextEditorKt.BasicTextEditor (cognitive 23): BasicTextEditorKt.BasicTextEditor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15, boolean chains 7, loops 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/BasicTextEditor.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5648a5b9a95f5e80484ddca91917dd2de061e95fdb6ba8de98ba72475f2d5269"}},{"ruleId":"D2","level":"warning","message":{"text":"LineBlockNormalizationKt.repairFenceLanguages (cognitive 23): LineBlockNormalizationKt.repairFenceLanguages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 5 (6 pts), boolean chains 4, match/switch 1 (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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/richstyle/LineBlockNormalization.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cf4fa7f57602d3bb923f126328f004ae70f2708cfa8129d21699b36cce21a7"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditorStateTableExtKt.tablePreservingPieces (cognitive 23): TextEditorStateTableExtKt.tablePreservingPieces has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateTableExt.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6919d24335c32b977f564c37a1ca7997a7af96b9afdc69cf6ae8cdc6d6ee48"}},{"ruleId":"D2","level":"warning","message":{"text":"ListNesting.peel (cognitive 23): ListNesting.peel has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 3, 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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a209443303aa8be9777aa4327de66ced96e7697efe15e3733e01b73d40063e9"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownExtensionKt.withoutLinkDefinitions (cognitive 23): MarkdownExtensionKt.withoutLinkDefinitions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 7, 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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3bc6acb5cadedb8c9441db28da93db6987e4eebf88811a41db16f0d2e12afd"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownToAnnotatedStringKt.literalRunEnd (cognitive 23): MarkdownToAnnotatedStringKt.literalRunEnd has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 7, loops 2 (4 pts), match/switch 2 (4 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/markdownToAnnotatedString.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20779eb7beb80de47998c0521211b3594a5f5f51c4a95e096264c70e7833aec"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditorState.settleStep (cognitive 22): TextEditorState.settleStep has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, loops 5 (8 pts), if/else 5 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt"},"region":{"startLine":2322}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6791ceb448888bd67e296ce9d595cddf11bbefad4976451e161879b25093d1c"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditorState.addPreservedRichSpans (cognitive 22): TextEditorState.addPreservedRichSpans has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt"},"region":{"startLine":2904}}}],"partialFingerprints":{"codehealthFindingId/v1":"331c48db7469f212a622b25d7011393106274a502ff66fecc8b8327d6bb4b30d"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlSpanBuilder.appendText (cognitive 21): HtmlSpanBuilder.appendText has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/htmlToAnnotatedString.kt"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"e106ef138c94801f1ca66b29fb19525951e58d6639d7dda3749cf33ae16ad112"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditorKeyCommandHandler.handleKeyEvent (cognitive 21): TextEditorKeyCommandHandler.handleKeyEvent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 5, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/TextEditorKeyCommandHandler.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba9daa1ef0251847cceaccd0bdf3d94da79ced89fae65274f208005454e37ed"}},{"ruleId":"D2","level":"warning","message":{"text":"RichSpanManager.handleDelete (cognitive 21): RichSpanManager.handleDelete has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8601f780e604a03efb73bd68173568a68d824b58eb4cfaa8f55359724b599e"}},{"ruleId":"D2","level":"warning","message":{"text":"SentenceSegmentationUtilsKt.isSingleLetterAbbreviation (cognitive 21): SentenceSegmentationUtilsKt.isSingleLetterAbbreviation has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (19 pts), boolean chains 2 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/SentenceSegmentationUtils.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc8fcb32105c145a27c1d1ab7453a2021925dd46fb778014de955fd9a436522"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanIndex.plus (cognitive 21): SpanIndex.plus has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/SpanIndex.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d9e7e767584ca14c65792f7324e8cd1f5a1604c66f08e0d3a7d3ce849c39aa"}},{"ruleId":"D2","level":"warning","message":{"text":"androidKt.widenedForWordDeletion (cognitive 20): androidKt.widenedForWordDeletion has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, loops 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":"ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/input/HandwritingGestures.android.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad9c29429c5d796559e988760700a26e28efa9c43c00c8d1bc1b65e4668bdf3"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlContainers.around (cognitive 20): HtmlContainers.around has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 2 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/HtmlExtension.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e472b869970a544547eef47e2501e587cc7ee2c9f774ba2e2ea3b869e034fca8"}},{"ruleId":"D2","level":"warning","message":{"text":"ImeEditLogicKt.codePointsToChars (cognitive 20): ImeEditLogicKt.codePointsToChars has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, loops 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/ImeEditLogic.kt"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfd489ac3166d6f1e3e3b76810704125cca132b04d92489863c8b020ebb5829"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownImagesKt.readImageSyntax (cognitive 20): MarkdownImagesKt.readImageSyntax has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownImages.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6238ed942bd861a096f4a0400c14f3fbfe8454514b47078d70c03d4750f6d6"}},{"ruleId":"D2","level":"warning","message":{"text":"SymSpellEditorSpellChecker.findWordCorrections (cognitive 20): SymSpellEditorSpellChecker.findWordCorrections has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorSpellCheck/src/symSpellMain/kotlin/com/darkrockstudios/texteditor/spellcheck/adapters/SymSpellEditorSpellChecker.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce979c546d9585d5bd1bc8f9b51a681857fb4b60e59a0850a3072125d73ec675"}},{"ruleId":"D2","level":"warning","message":{"text":"ListNestingKt.relevelListFollowers (cognitive 19): ListNestingKt.relevelListFollowers has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/richstyle/ListNesting.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e311ddc9b70c4643e05094e73e3b42a97def68e12f899188881d585f2608d9"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditHistory.coalesceDelete (cognitive 19): TextEditHistory.coalesceDelete has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditHistory.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1999b53dbd385b752ea95a5e6a91b7102d08af68e7702ef109adf5b30acf5e"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditManager.continueLineBlocks (cognitive 19): TextEditManager.continueLineBlocks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, boolean chains 6, match/switch 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b1e209f712b0d191ce45b8474a2bc7ce339376e4ac3c7faee1c8219c7956ac"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditorState.updateBookKeeping (cognitive 19): TextEditorState.updateBookKeeping has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt"},"region":{"startLine":2133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bc69f2f78c07d1855e17b702983205cb50d9d389aea9f079e8fb4724945c7d"}},{"ruleId":"D2","level":"warning","message":{"text":"WordSegmentationUtilsKt.wordSegmentsInRange (cognitive 19): WordSegmentationUtilsKt.wordSegmentsInRange has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/WordSegmentationUtils.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8521deaf6c01ae5a2c8d967db0763e0aa50ad7f6c610f91bb213cd04564d3d1d"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownEscapingKt.escapeLineStart (cognitive 19): MarkdownEscapingKt.escapeLineStart has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 3 (4 pts), loops 2 (3 pts), match/switch 1 (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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownEscaping.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48e3f2d08f36fe8ce1b0e473f18a13ad7aca23ffce29fcd0e0c6435e4d750b6"}},{"ruleId":"D2","level":"warning","message":{"text":"TouchToolbar.show (cognitive 18): TouchToolbar.show has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/TouchToolbar.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bfba9172f81c1708322ae0ec686aefb2735fecddd5c5d92ca27e56ddc28042"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlSpanBuilder.formatsPerLine (cognitive 18): HtmlSpanBuilder.formatsPerLine has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/htmlToAnnotatedString.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"29da43970b3dd79b2bfa6ebe7a17ffc0db48b04654cb7b12bffa0436a19fd39c"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditorKeyCommandHandler.moveCursor (cognitive 18): TextEditorKeyCommandHandler.moveCursor has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 3 (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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/TextEditorKeyCommandHandler.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d765766cfbd80582caf1429f1ea10a3d01e962703b9d145a4e2e55543e845d1"}},{"ruleId":"D2","level":"warning","message":{"text":"TextSearchUtilsKt.findAll (cognitive 18): TextSearchUtilsKt.findAll has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 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":"ComposeTextEditorFind/src/commonMain/kotlin/com/darkrockstudios/texteditor/find/TextSearchUtils.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6d38a33172e18cca6b50600026bc9a3698954a839f81d320058e1fdf8b616e"}},{"ruleId":"D2","level":"warning","message":{"text":"ImeCursorSync.flush (cognitive 17): ImeCursorSync.flush has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 7 (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":"ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/input/ImeCursorSync.android.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"844987fc670f629477b4638f795d8a9f87bbf86aa2c47e5dffbdff1225cd1658"}},{"ruleId":"D2","level":"warning","message":{"text":"TextTints.of (cognitive 17): TextTints.of has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawTextTint.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dce153e25df9e998c457e2d9389ce662a90da60a769b7243b43ff631c54d337"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlSpanBuilder.visitTable (cognitive 17): HtmlSpanBuilder.visitTable has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/htmlToAnnotatedString.kt"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ed805af98bca78fb2a68c038044e87cbdde53b8fddb27755ade3d7b740ad3a"}},{"ruleId":"D2","level":"warning","message":{"text":"ChunkedKt.spliceRegion (cognitive 17): ChunkedKt.spliceRegion has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 3 (7 pts), boolean chains 1 (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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/Chunked.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b49aff9f30e329f88d85cb7768cb3b98fda899ee239567f3ae77b22cff8ef6"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanManager.handleDeletion (cognitive 17): SpanManager.handleDeletion has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/SpanManager.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"11949f4f67c0b7e81634a3ab9ebe56fc887770fbe8d2c0244c2153e4395d623f"}},{"ruleId":"D2","level":"warning","message":{"text":"BasicTextEditorKt.requestFocusOnPress (cognitive 16): BasicTextEditorKt.requestFocusOnPress has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/BasicTextEditor.kt"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde1fbc4262d0bae44a843e25be3cc78578bfc0444097039bad08e22f7532589"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentBlocksKt.applyDocumentBlocks (cognitive 16): DocumentBlocksKt.applyDocumentBlocks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/richstyle/DocumentBlocks.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"673465cfb2bc87e4add57bef69c1aaab1203fde009638eecd2c26ba1d41b221c"}},{"ruleId":"D2","level":"warning","message":{"text":"LineBlockNormalizationKt.repairInlineOnly (cognitive 16): LineBlockNormalizationKt.repairInlineOnly has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/richstyle/LineBlockNormalization.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb28da35172f704c508d0bc8129b6dc205c3cabe2528175756326f68176f389"}},{"ruleId":"D2","level":"warning","message":{"text":"SentenceSegmentationUtilsKt.isTrueSentenceEnd (cognitive 16): SentenceSegmentationUtilsKt.isTrueSentenceEnd has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5 (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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/SentenceSegmentationUtils.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cecf38d2c03e320404dd59b7d3490cbab4aa5139f98a7801807b4925a1ccfd"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanIndex.collect (cognitive 16): SpanIndex.collect 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/SpanIndex.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"260189fc608eaaeaa1b7d53457784c9f00e11db4b9658940463cc59093e45d30"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkReferencesKt.readLinkDefinition (cognitive 16): LinkReferencesKt.readLinkDefinition has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, boolean chains 4, loops 3, match/switch 1 (2 pts) (nesting depth added 1). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/LinkReferences.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6f82562b304abed51e3050475e8898e3d94715a2f352ba55e3c9b6e3c6b07b"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownExtension.asOneLine (cognitive 16): MarkdownExtension.asOneLine has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 4, loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee7d905fe0224fd5ad529af4e9048e20db7054e128b096330ceed5f59aa014e"}},{"ruleId":"D2","level":"warning","message":{"text":"PlatformEditorSpellChecker.translateToDocumentRange (cognitive 16): PlatformEditorSpellChecker.translateToDocumentRange has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorSpellCheck/src/platformSpellMain/kotlin/com/darkrockstudios/texteditor/spellcheck/adapters/PlatformEditorSpellChecker.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d85010526c417e311a16bc68fb91c79e2eaebc044fb8001d6a0e772cbb21e5"}},{"ruleId":"D2","level":"warning","message":{"text":"SymSpellEditorSpellChecker.translateToDocumentRange (cognitive 16): SymSpellEditorSpellChecker.translateToDocumentRange has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorSpellCheck/src/symSpellMain/kotlin/com/darkrockstudios/texteditor/spellcheck/adapters/SymSpellEditorSpellChecker.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffd7c49a96f4ea1b16b8a67603ccbf62a61e2a65883217413ff9e2109438d86"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextEditorState: TooManyMethods \u2014 143 methods. The bar is 30 methods; this is 113 over it, 4.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6d1a9716ff99dff63eaa5e6540e1113844f3dbc7641e15632d58d2fa0835c0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TextEditorState: ClassTooLong \u2014 1318 significant lines (blank, comment-only and punctuation-only lines excluded), 143 methods. The bar is 400 significant lines; this is 918 over it, 3.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4dd9e84bd0f2f5a9a24204f251d2e0f93ca862f6f5c15cc96e705cc89806a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: state/TextEditorState.kt: FileTooLong \u2014 1413 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: TextEditorState (121-3089). The bar is 500 significant lines; this is 913 over it, 2.83\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45541686ca37c46c7ac7c30b1e8bc7738d9375b2b2ab0891461f54d25f92bf47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FindBarKt.FindBar: MethodTooLong \u2014 FindBar runs 254 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 154 over it, 2.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorFind/src/commonMain/kotlin/com/darkrockstudios/texteditor/find/FindBar.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cc54a9eb690a236ed50cd12e973b1d887a9fdd208f2753dca7ff596127451c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TextEditManager: ClassTooLong \u2014 940 significant lines (blank, comment-only and punctuation-only lines excluded), 67 methods. The bar is 400 significant lines; this is 540 over it, 2.35\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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4c2499c2ca9e1f546f4490b466778f2796dfe685d476c991197305c68283a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextEditorToolbarUiKt.TextEditorToolbar: MethodTooLong \u2014 TextEditorToolbar runs 230 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sampleApp/src/commonMain/kotlin/TextEditorToolbarUi.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aabc9e93c01d009d27b395ccea9c1bdb980d6b0f034817fba5ff68050d76338"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextEditManager: TooManyMethods \u2014 67 methods. The bar is 30 methods; this is 37 over it, 2.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaf0c3a907dc3bfb525330e9a51c407174e9aa11eb316d90b9e841506657590"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: state/TextEditManager.kt: FileTooLong \u2014 988 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: TextEditManager (51-1677). The bar is 500 significant lines; this is 488 over it, 1.98\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a81a953ed4a4bd1e4ba357eb22705783ab2baf6ffb4ce6fdb0741be95a2cfbd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: markdown/MarkdownExtension.kt: FileTooLong \u2014 903 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 403 over it, 1.81\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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d871aa2596e6f3ec1844e89134c29ddd1fcd468a33b7bb7cfed83800be677a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnnotatedStringToMarkdownKt.toMarkdown: MethodTooLong \u2014 toMarkdown runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/annotatedStringToMarkdown.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b0c338fd344a929295dd3affab7230f3f92f23c1bba14a339ce8c7767c74f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FindState: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorFind/src/commonMain/kotlin/com/darkrockstudios/texteditor/find/FindState.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5ed9fe2508404d16f9f40b2d4b0ca428eb4f95153f6a03b7d553beac82f0d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: texteditor/textEditorPointerInputHandling.kt: FileTooLong \u2014 673 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 173 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/textEditorPointerInputHandling.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c0116d8f0b8ca40b58d56bf4ceb70d40c678b64c66029711afba2b28378c02"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextEditorInputConnection: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/input/TextEditorTextInputService.android.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50494abf4594a918d558ef22ad8ce896a3c0325a0fd2a2da70abcb1278feb0b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TracingInputConnection: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/input/TracingInputConnection.android.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7b0fa3a5e79dbe49fe8bb43acec813e272673dda5ad89392e86dd29b33131e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: html/htmlToAnnotatedString.kt: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: HtmlSpanBuilder (220-955). The bar is 500 significant lines; this is 89 over it, 1.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/htmlToAnnotatedString.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75261f192edd3de31c0d0db8381731f7522aea5e41a5b9b7d44072651154988d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextEditorPointerInputHandlingKt.handleTouchInteractions: MethodTooLong \u2014 handleTouchInteractions runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/textEditorPointerInputHandling.kt"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b4b5bd1471196254d956d4416c83c315f2b00afb79c6dd2491f8c2ec6f3f4b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HtmlSpanBuilder: ClassTooLong \u2014 461 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 61 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/htmlToAnnotatedString.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"640b403bee84130502ec3ec5ff8456255ae557d17a382a74f80ccba01bb734c3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MarkdownToAnnotatedStringKt.appendMarkdownNode: MethodTooLong \u2014 appendMarkdownNode runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/markdownToAnnotatedString.kt"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e0ac50cbd25db546785e39e46c4f04ca97c591cf351de1e050d9aa495f69fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextEditorDemoUiKt.TextEditorDemoUi: MethodTooLong \u2014 TextEditorDemoUi runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sampleApp/src/commonMain/kotlin/TextEditorDemoUi.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"75395e33d09d2bf2b7ce66afe19c540dcbb37a44bf9adc067f2566158da3fed8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kotlin/TextEditorToolbarUi.kt: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 18 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sampleApp/src/commonMain/kotlin/TextEditorToolbarUi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e861653d4684c6ffc5a2a13bdff2a8e1885154241e0f2641a709b68a81e56577"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HtmlSpanBuilder: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/htmlToAnnotatedString.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae8454f1ef274be90a0307a1f708fcda2508ca9d57fe485486c088df68a52ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/contextmenu/TextEditorContextMenuProvider.android.kt:15-31 | ComposeTextEditor/src/desktopMain/kotlin/com/darkrockstudios/texteditor/contextmenu/TextEditorContextMenuProvider.desktop.kt:15-31 | ComposeTextEditor/src/iosMain/kotlin/com/darkrockstudios/texteditor/contextmenu/TextEditorContextMenuProvider.ios.kt:15-31 | ComposeTextEditor/src/wasmJsMain/kotlin/com/darkrockstudios/texteditor/contextmenu/TextEditorContextMenuProvider.wasmJs.kt:15-31 \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":"ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/contextmenu/TextEditorContextMenuProvider.android.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acf7065e8d682014559882c9f92492f572dbd89e9f0ea76b7dcd17eec906973"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/LineList.kt:81-96 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RowList.kt:462-476 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/SpanIndex.kt:136-148 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/LineList.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad29f2864938132987b30b085a6e2eb75025f6ead5ea9ebd8626c8208f4c88f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/scrollbar/ScrollIndicator.kt:89-115 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/scrollbar/ScrollIndicator.kt:133-161 \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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/scrollbar/ScrollIndicator.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f136e6df080e5e219da37736bc13519c595554aa3005b803d4de1f10e1d6b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckState.kt:263-289 | ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckState.kt:294-318 \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":"ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckState.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9e290bc28809dc39a662b94a2327c4746596e3883322be67524e49ef1e1aae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckState.kt:337-357 | ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckState.kt:367-387 \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":"ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckState.kt"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5bca44ad7eb42227d2d2e08a53cfb1ecb1950d4db9f0ca9c95a7025998f435"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt:2983-3002 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt:3008-3030 \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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt"},"region":{"startLine":2983}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2b74058f53f5829df51a274614a04dce1ea271809219b84d45e38ecf176795"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorCursorState.kt:230-251 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorCursorState.kt:254-276 \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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorCursorState.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2931f5a268f8b185bd74f244dfb85750b76d5299a2a901b3f0dfa602f33bc822"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateCursorExt.kt:35-42 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateCursorExt.kt:45-53 \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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateCursorExt.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b722e46d57f44bfcc8447f630519d0750043e1cf839cc38681c3d19741dcc3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt:1327-1349 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt:1567-1585 \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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ac10fa13d2b252abdea97f4ff05de9b9ca92711cee1a0adbaaf5104e0011b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawSelectionHandles.kt:202-211 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawSelectionHandles.kt:226-235 \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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawSelectionHandles.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dbbcc2ed19a3aee6d1de5cbc393bbca214e41b5700734f3800959a92fc314d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt:192-200 | ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt:203-211 \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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"666b161e01a63606292237fffbebd4b620dfa312a98f3f0fac974f6d89a2cf1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt:1181-1187 | ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt:1348-1354 \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":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a64eff49becd4a5fc097b262d45b478f59d93379673e8c24df527283348daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/Chunked.kt:15-23 | sampleApp/src/commonMain/kotlin/codeeditor/SyntaxHighlighting.kt:103-111 \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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/Chunked.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b1020a16a601ca00a8e7313fee4ad589b0d303bbe9ea53e900daa565041fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/RowSearch.kt:17-25 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RowList.kt:435-443 \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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/RowSearch.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5784c3da03ad479877269028d4223e053f668524f8a38fc7e4dc01bf67a85ee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/LineList.kt:117-120 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RowList.kt:515-518 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/SpanIndex.kt:313-316 \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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/LineList.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90fd90fb596c9d6374466aff260d90f0b90316045314b2ec14c960540a27bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckingTextEditor.kt:437-437 | ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/utils/LineDiff.kt:80-83 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckingTextEditor.kt"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f346f1c4cbd9b6c448f374c1dd386480d4f527d4f9166e4b0fb04e2e41b79e76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/ParagraphFormatCss.kt:91-96 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/richstyle/ParagraphFormatSpanStyle.kt:85-90 \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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/ParagraphFormatCss.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"db29d93840c51aac3d587a669066dc616e92c10affed97326fbe66016a5792cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateTaskExt.kt:72-72 | sampleApp/src/commonMain/kotlin/TextEditorToolbarUi.kt:588-588 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateTaskExt.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8090004985e67c5c4efc28c5b046d377ecc392817a98ef82d87f85b0f7d6eb13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): ComposeTextEditorSpellCheck/src/platformSpellMain/kotlin/com/darkrockstudios/texteditor/spellcheck/adapters/PlatformEditorSpellChecker.kt:98-149 | ComposeTextEditorSpellCheck/src/symSpellMain/kotlin/com/darkrockstudios/texteditor/spellcheck/adapters/SymSpellEditorSpellChecker.kt:226-277 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"ComposeTextEditorSpellCheck/src/platformSpellMain/kotlin/com/darkrockstudios/texteditor/spellcheck/adapters/PlatformEditorSpellChecker.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"07aeebfbaa648b057b8057f39d4bb6fee0d01b8d8d927e990c875d2c4d0283cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/contextmenu/TextEditorContextMenuProvider.android.kt:16-31 | ComposeTextEditor/src/desktopMain/kotlin/com/darkrockstudios/texteditor/contextmenu/TextEditorContextMenuProvider.desktop.kt:16-31 | ComposeTextEditor/src/iosMain/kotlin/com/darkrockstudios/texteditor/contextmenu/TextEditorContextMenuProvider.ios.kt:16-31 | ComposeTextEditor/src/wasmJsMain/kotlin/com/darkrockstudios/texteditor/contextmenu/TextEditorContextMenuProvider.wasmJs.kt:16-31 \u2014 before extracting anything, compare \u0060ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/contextmenu/TextEditorContextMenuProvider.android.kt\u0060 and \u0060ComposeTextEditor/src/desktopMain/kotlin/com/darkrockstudios/texteditor/contextmenu/TextEditorContextMenuProvider.desktop.kt\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/contextmenu/TextEditorContextMenuProvider.android.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58c25bcedb8266c3d51f4d9e7bfcdab1f3ee48cdda0ecc63f1494644751e9e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt:1600-1615 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt:2905-2919 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function 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 \u0060ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt:1600\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3c46561f2bc2a64fb6b004766fd492f436c791d53caa28f53d8f2b1d8198f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawEditorText.kt:141-154 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawRichSpanUi.kt:46-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawEditorText.kt:141\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawEditorText.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"29da3f2b7e03cce69d59f3af7e9805f4653915c43b2ff9bb68d393b216374b2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawEditorText.kt:121-132 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawRichSpanUi.kt:24-36 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function 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 after the matched lines, \u0060ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawEditorText.kt:135\u0060 calls \u0060toCharacterIndex\u0060 and \u0060ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawRichSpanUi.kt:37\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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawEditorText.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5dc57efd3de3f9e474e43bdedb81d10eae016f56809ae9799bdc5212b39da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/KeyBindings.kt:83-92 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/KeyBindings.kt:181-191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/KeyBindings.kt:83\u0060 it does not close everything it opens, so those exact 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, \u0060ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/KeyBindings.kt:178\u0060 calls \u0060emacsCommandFor\u0060 and \u0060ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/KeyBindings.kt:81\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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/KeyBindings.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5175b23cc82a5c663cadcee3c6fa23646d323dd37eb71cd604db6e05b5e54d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt:449-457 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt:485-493 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt:449\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"061673438438890f6c77e1a39d822316550829cc8e942339caad163bebf19638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sampleApp/src/desktopMain/kotlin/rememberSampleSpellChecker.desktop.kt:12-21 | sampleApp/src/iosMain/kotlin/rememberSampleSpellChecker.ios.kt:12-21 \u2014 before extracting anything, compare \u0060sampleApp/src/desktopMain/kotlin/rememberSampleSpellChecker.desktop.kt\u0060 and \u0060sampleApp/src/iosMain/kotlin/rememberSampleSpellChecker.ios.kt\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"sampleApp/src/desktopMain/kotlin/rememberSampleSpellChecker.desktop.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b885175318ffa35ae4c41de9a53d921de19f8c61c3da72098d94937e4d757af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/richstyle/TableStructure.kt:73-79 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RowList.kt:245-251 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/richstyle/TableStructure.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"821f06c843a50e4cfeb30632f000bdd7c2eacfcfbee0b900a5377915c6102661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckState.kt:510-514 | ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/diagnostics/TextDiagnosticsState.kt:150-155 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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":"ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckState.kt"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4de96b2323cdea280add5de1af9ba167dc30aae40b33d9dfa370c817915f3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/LineList.kt:85-89 | ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/SpanIndex.kt:139-143 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/LineList.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0456be9fbf3c02e471257c482e14e6834149e04409ed5dd29272978caef0cddc"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :sampleApp: :sampleApp: 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":"91e926003ac7a79fe1ff3e46aa15e7a0f3d7582c9205f73e8192e46a90e186d8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: a cancelled composition leaves the text as it was: No conventional assertion call was detected, and 12 of 19 tests in \u0060browserTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browserTests/tests/composition.spec.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ca919246d8ae9606c5a18c7af18ab9ec935f24aaa5e449b891a3805573c2b6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: typing after a commit continues after it: No conventional assertion call was detected, and 12 of 19 tests in \u0060browserTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browserTests/tests/composition.spec.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc75133aae7346131a34362d2a536da48b7ba1103421487cc4f24df855416d4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Ctrl\u002BH deletes one character: No conventional assertion call was detected, and 12 of 19 tests in \u0060browserTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browserTests/tests/emacs.spec.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2927dea61d8e08a37f7a586c4e80a242112d377d6bb29f247dcf5e43f018a0c5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Ctrl on the key AZERTY puts z on undoes: No conventional assertion call was detected, and 12 of 19 tests in \u0060browserTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browserTests/tests/layout.spec.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"58841fbf802b07395eda8149256368b55ee1f5699dfbdf7d91358acf33fbc18c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Ctrl on QWERTY Z does not undo where the layout types another character there: No conventional assertion call was detected, and 12 of 19 tests in \u0060browserTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browserTests/tests/layout.spec.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52b9f9e8a2dcf874a2a9f4483745a6985ae73d93ec74dde498f71302141b751"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Ctrl on the key QWERTZ puts y on redoes: No conventional assertion call was detected, and 12 of 19 tests in \u0060browserTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browserTests/tests/layout.spec.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db5be1856f6ece7f7e216c41499b89ed504d525607980ebe64f4172947f99f6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: a Cyrillic layout keeps its shortcuts on the QWERTY letters: No conventional assertion call was detected, and 12 of 19 tests in \u0060browserTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browserTests/tests/layout.spec.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"28428518315d9cb675a33070158c5352e90cf6ed88d318ba3a1c8e7bad0b94ca"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: typed keys insert text: No conventional assertion call was detected, and 12 of 19 tests in \u0060browserTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browserTests/tests/typing.spec.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"30734f0295907100c0d6b66464fdcedec5fedc3ff1642ed76a8160f1ff291323"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Enter splits the line and Backspace deletes: No conventional assertion call was detected, and 12 of 19 tests in \u0060browserTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browserTests/tests/typing.spec.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0f1a8046e29d94b475c54b01919461850f78ac4e3cdc68c96d865ca925b4f8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: typing replaces a Shift\u002BArrow selection: No conventional assertion call was detected, and 12 of 19 tests in \u0060browserTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browserTests/tests/typing.spec.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"321dbacb4de9e7810480d039af8b36e0d4931ba130f258d3898917ff1240b3ce"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: arrow keys move the caret for an insert in the middle: No conventional assertion call was detected, and 12 of 19 tests in \u0060browserTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browserTests/tests/typing.spec.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa12625bdbeb39bd75afbb14da919c85472d1fbc02f86f276692cb8c079c79f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: semicolon and equals type themselves: No conventional assertion call was detected, and 12 of 19 tests in \u0060browserTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browserTests/tests/typing.spec.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cac59d5cb51f39e7eccca0524361a5d879019b361f2b3a8573626253af0cf8d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt: ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 89 in MarkdownExtension.exportAsMarkdown at line 629. 1 of those changes was a fix/bug commit, and the other 12 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownExtension.kt"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b49a0e8d3f81415410e223f951f8c37feb32224bc8d71d2229daa981a9413ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/annotatedStringToMarkdown.kt: ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/annotatedStringToMarkdown.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in AnnotatedStringToMarkdownKt.toMarkdown at line 38. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/annotatedStringToMarkdown.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/annotatedStringToMarkdown.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0eecc2d82f3a96ac4c80709de60e9a4af95ba41b5318306a3832fca784bd1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckingTextEditor.kt: ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckingTextEditor.kt changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in SpellCheckingTextEditorKt.SpellCheckingTextEditor at line 110. 3 of those changes were fix/bug commits, and the other 12 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckingTextEditor.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/SpellCheckingTextEditor.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca68b56900698fca5181c328873a59d2acd5943064533707452c87d1ba9e058"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/markdownToAnnotatedString.kt: ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/markdownToAnnotatedString.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in MarkdownToAnnotatedStringKt.appendMarkdownNode at line 529. 2 of those changes were fix/bug commits, and the other 9 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/markdownToAnnotatedString.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/markdownToAnnotatedString.kt"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"553a153ab82c7c2af3a8b9165062a90e80a1a8d225990968158ed4ab3e9b9174"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/textEditorPointerInputHandling.kt: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/textEditorPointerInputHandling.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in TextEditorPointerInputHandlingKt.handleTouchInteractions at line 898. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/textEditorPointerInputHandling.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/textEditorPointerInputHandling.kt"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"c448b5dede01091333ad32c499f3bae1bf071227b4d10d080086b8e226dba585"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/htmlToAnnotatedString.kt: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/htmlToAnnotatedString.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in HtmlSpanBuilder.visitElement at line 382. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/htmlToAnnotatedString.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/htmlToAnnotatedString.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"642cff3fe81fbdb027eaaf87146d302f56c67b415f10be0f8c8b2bcaedb638f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in TextEditManager.applyLanded at line 227. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditManager.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23aa0faf4bacd115c54f79d5c45e4cba9884367bae3e1f89322bf78c2f16e34"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in TextEditorState.layoutPartial at line 2450. 1 of those changes was a fix/bug commit, and the other 19 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorState.kt"},"region":{"startLine":2450}}}],"partialFingerprints":{"codehealthFindingId/v1":"056ffb5d9393d824cbb889a01cdff9111a86837bbf11d8a0aa08fc4c5fd532c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in RichSpanManager.replaced at line 359. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba2c9bb6630c8be0898307da9078534cf063209f8ac31cdf784cc4c460e96b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/BasicTextEditor.kt: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/BasicTextEditor.kt changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in BasicTextEditorKt.BasicTextEditor at line 149. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/BasicTextEditor.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/BasicTextEditor.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd8c2e0726e986d63fae88c76e6253866457c4e28cf91ac082d7cd188031966"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sampleApp/src/commonMain/kotlin/TextEditorDemoUi.kt: sampleApp/src/commonMain/kotlin/TextEditorDemoUi.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in TextEditorDemoUiKt.TextEditorDemoUi at line 51. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- sampleApp/src/commonMain/kotlin/TextEditorDemoUi.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sampleApp/src/commonMain/kotlin/TextEditorDemoUi.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"353b080d476d8841bd8faccc81c94ab3e67dee6937df470cd14e49e3dc8b9305"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/KeyBindings.kt: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/KeyBindings.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in CtrlKeyBindings.commandFor at line 81. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/KeyBindings.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/KeyBindings.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"47893bc9b2f55339431d02ead5167e0522655e4538860da085b07679ecd05d6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownEscaping.kt: ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownEscaping.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in MarkdownEscapingKt.markdownEscapes at line 126. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownEscaping.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownEscaping.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7435e9aadc77bee73ccd2c80e5c073e8a76d1751986e3038dac3f35a21fd03fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/TextEditorKeyCommandHandler.kt: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/TextEditorKeyCommandHandler.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in TextEditorKeyCommandHandler.moveCursor at line 210. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/TextEditorKeyCommandHandler.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/TextEditorKeyCommandHandler.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4c70b623a74fdafdf6cc511aaf7dc6637a5d0a894e553cecd8576f2381a740"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sampleApp/src/commonMain/kotlin/TextEditorToolbarUi.kt: sampleApp/src/commonMain/kotlin/TextEditorToolbarUi.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in TextEditorToolbarUiKt.TextEditorToolbar at line 67. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- sampleApp/src/commonMain/kotlin/TextEditorToolbarUi.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sampleApp/src/commonMain/kotlin/TextEditorToolbarUi.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1a8cd2a78b773d321f204b191f63eecc63bc8fc2b4f6d51eba57a482fe96f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/HtmlExtension.kt: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/HtmlExtension.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in HtmlExtensionKt.lineHtml at line 288. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/HtmlExtension.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/html/HtmlExtension.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"74952a31ccd4b210ffd37d5b0b650e91174de8df4d248a917d97ade92b714e89"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/richstyle/LineBlockNormalization.kt: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/richstyle/LineBlockNormalization.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in LineBlockNormalizationKt.repairFenceLanguages at line 133. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/richstyle/LineBlockNormalization.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/richstyle/LineBlockNormalization.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b3e88d914abc6d60aac47c9094b2210e54764249c50ac20a684d6b9d880c0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: testUtils/stateFuzz/utils/StateFuzz.kt: testUtils/stateFuzz/utils/StateFuzz.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in StateFuzzInterpreter.apply at line 312. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- testUtils/stateFuzz/utils/StateFuzz.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testUtils/stateFuzz/utils/StateFuzz.kt"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b7c55ff0d49919760afa71163dc42dee2599fae405dc46573840e468c8b3a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawSelectionUi.kt: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawSelectionUi.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in DrawSelectionUiKt.drawSelectedRows at line 31. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawSelectionUi.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/DrawSelectionUi.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86c4e9cb561fe9bf3c96adc7c81161ee1882cd09299657c26d2a622471f46ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/input/ImeCursorSync.android.kt: ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/input/ImeCursorSync.android.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ImeCursorSync.flush at line 165. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/input/ImeCursorSync.android.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/input/ImeCursorSync.android.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bce4af05065869841cc5a85fdc1052a13058c7a8668d8c8c8e5bf1b9d9a067f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: testUtils/uiFuzz/utils/UiFuzz.kt: testUtils/uiFuzz/utils/UiFuzz.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in UiFuzzKt.applyFuzzOpUi at line 41. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- testUtils/uiFuzz/utils/UiFuzz.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testUtils/uiFuzz/utils/UiFuzz.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"935c7ede810f70d2c0737347757f4b10cf58d2b085d7d8b0398be5c679123ec4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateSaver.kt: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateSaver.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in TextEditorStateSaverKt.decodeRichSpanStyle at line 251. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateSaver.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateSaver.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a077d594029ef9d45689b1d0052e99d776c7d173a3f6132a634adcebafc787"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditHistory.kt: ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditHistory.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in TextEditHistory.coalesceDelete at line 303. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditHistory.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditHistory.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff297de6f8095bc1b208c3cc0d7ecc809554c243bc2c3f94a948489338bc1b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditorFind/src/commonMain/kotlin/com/darkrockstudios/texteditor/find/FindBar.kt: ComposeTextEditorFind/src/commonMain/kotlin/com/darkrockstudios/texteditor/find/FindBar.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in FindBarKt.FindBar at line 55. 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 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditorFind/src/commonMain/kotlin/com/darkrockstudios/texteditor/find/FindBar.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorFind/src/commonMain/kotlin/com/darkrockstudios/texteditor/find/FindBar.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b404ee3266b34a226d041b62886a8c438867f5ced765142cc1154cc9a5fb032"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownShortcuts.kt: ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownShortcuts.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in MarkdownShortcuts.convertBlockMarker at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 18:01:44 -08:00\u0027 --until=\u00272026-11-11 18:01:44 -08:00\u0027 --full-history --no-merges -- ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownShortcuts.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditorMarkdown/src/commonMain/kotlin/com/darkrockstudios/texteditor/markdown/MarkdownShortcuts.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fe659e300ef669ff412aede5ff7c5dcc9d8ff31d1dad4622bb6dbfd175f239"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060sampleAppiOS/SampleAppiOS.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sampleAppiOS/SampleAppiOS.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d428b7d9c267f8ba99810a5af84587ba91f30876017d425f302fb80c9f163f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060ComposeTextEditor\u0060 (32427 LoC, 543 module-visible types across 46 directories) overshoots its size bounds. 1 of 8 build unit(s) (Gradle, Xcode) overshoot their size bounds, lowering Project Cohesion to 7.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea22be54f9c0d73d3703f59884125d1ced663e27535b225f0a27fea140e546b"}},{"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":"ae23296b9cf39206549cd6f3230898c31ddcd81c6584837968106aa3f305944b"},"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":"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":"5e391d447adb38a07c2701785ee5f59035f065716971d4e5959f45e4ac201b2a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: LineWrap.kt \u2194 DemoText.kt: \u0060ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/LineWrap.kt\u0060 (context ComposeTextEditor) and \u0060sampleApp/src/commonMain/kotlin/DemoText.kt\u0060 (context sampleApp) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060567df286\u0060 Update docs URLs; \u006081799d1e\u0060 Add fenced code block support with markdown roundtrip; \u0060a99054fd\u0060 Add ordered-list block style with markdown roundtrip \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/LineWrap.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f551a0c20246c117c1cb8c3ecdaa3fd4b33f126815f971489106f468d3c0a24"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 4.1.2 reproducibly failed on a screen of the running app: Accessibility-tree rule(s) android-accessible-name, android-editable-name failed on: /FrameLayout[0]/LinearLayout[0]/FrameLayout[0]/ComposeView[0]/View[0]/View[0]/View[0]/View[0]/View[1]/HorizontalScrollView[0]/View[2], /FrameLayout[0]/LinearLayout[0]/FrameLayout[0]/ComposeView[0]/View[0]/View[0]/View[0]/View[0]/View[1]/HorizontalScrollView[0]/View[3], /FrameLayout[0]/LinearLayout[0]/FrameLayout[0]/ComposeView[0]/View[0]/View[0]/View[0]/View[0]/View[1]/HorizontalScrollView[0]/View[4], /FrameLayout[0]/LinearLayout[0]/FrameLayout[0]/ComposeView[0]/View[0]/View[0]/View[0]/View[0]/View[1]/HorizontalScrollView[0]/View[5], /FrameLayout[0]/LinearLayout[0]/FrameLayout[0]/ComposeView[0]/View[0]/View[0]/View[0]/View[0]/View[1]/HorizontalScrollView[0]/View[6]. Read from the Android accessibility tree on an emulator (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a671bc38900c9e3813f69bb820c3c630ab76873d1cdbfd44d9048da261a482b7"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 331 JVM, JavaScript/TypeScript, Swift production file(s) this check read across 8 module(s). Each was searched for its ecosystem\u0027s logging libraries (JVM: SLF4J, Log4j2, java.util.logging, Logback, kotlin-logging, scala-logging; JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger; Swift: os.Logger/os_log/NSLog, swift-log, CocoaLumberjack, SwiftyBeaver, XCGLogger) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 4 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci-build.yml"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060browserTests/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browserTests/package.json"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69addffea3cf7d77aba6c63bd4d019d7d1179db7a880caf8646d636286d202b"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint or typecheck script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"658a995477a4f3b704a1d0c61d78cffb4c5cc1944c2f896c1bb70ee901a201cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.style === CodeFenceSpanStyle \u0026\u0026 it.range.start.line == line\u0060 appears character-identically in 2 files \u2014 ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/richstyle/LineBlockNormalization.kt, ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/CodeFenceKind.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/richstyle/LineBlockNormalization.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d9aa5f8da0c0357e27de42aadfe28bef24004b989ae3f4a9ef245de126222f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.style is LinkSpanStyle \u0026\u0026 it.containsPosition(position)\u0060 appears character-identically in 2 files \u2014 ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateBlockExt.kt, ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/textEditorPointerInputHandling.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateBlockExt.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e347497d509d61634d4853f71fc3ea7ddb4c9aaf139a6cac9775d8f1fa675cb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060moveFrom != null \u0026\u0026 at \u003E= moveFrom.start \u0026\u0026 at \u003C= moveFrom.end\u0060 appears character-identically in 2 files \u2014 ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/dragdrop/TextDragAndDrop.kt, ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/dragdrop/TextDrop.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/dragdrop/TextDragAndDrop.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d59b0a8d3a1c78c4158f6356ff8ec4d4334ee2dccfaf8a13c79a61773fde80c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prefix \u003E 0 \u0026\u0026 old[prefix - 1].isHighSurrogate()\u0060 appears character-identically in 2 files \u2014 ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/EditorSemantics.kt, ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/EditorSemantics.kt"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7547502dad7b2ab175ab1a8bd384e706426c45a1d4976a8887fde6e8747cde"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060range.start.line !in textLines.indices || range.end.line !in textLines.indices\u0060 appears character-identically in 2 files \u2014 ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/ImeEditLogic.kt, ComposeTextEditorSpellCheck/src/commonMain/kotlin/com/darkrockstudios/texteditor/spellcheck/utils/ReplaceFlagged.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/input/ImeEditLogic.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5e2012993ddb4abec7e0f0c6cc7a1484698d8197ae326803f6661eefaa36c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060range.start.line \u003C 0 || range.end.line \u003E= lines.size\u0060 appears character-identically in 2 files \u2014 ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/WordCount.kt, ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/WordSegmentationUtils.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/WordCount.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63bc7271e7bd34ca648c6af04a11f865882b4e32f36ae07af5d58dd5492c4e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060range.start.line \u003C 0 || range.start.line \u003E= textLines.size || range.end.line \u003C 0 || range.end.line \u003E= textLines.size\u0060 appears character-identically in 2 files \u2014 ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateRichSpanExt.kt, ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateSpanExt.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/TextEditorStateRichSpanExt.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9521fb92080369be58c0fd20f0e1e99d2941496d6a3a9a0871bff1145e3ba48c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060suffix \u003E 0 \u0026\u0026 old[old.length - suffix].isLowSurrogate()\u0060 appears character-identically in 2 files \u2014 ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/EditorSemantics.kt, ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/state/RichSpanManager.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ComposeTextEditor/src/commonMain/kotlin/com/darkrockstudios/texteditor/EditorSemantics.kt"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1571652a9ae25d30dafd1677a8d98ec4059501427cf6dc0c2a58d55c6512c1"}},{"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":"ComposeTextEditorFind/src/commonMain/kotlin/com/darkrockstudios/texteditor/find/TextSearchUtils.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"43271b0c4ed28cd431db30d5513051e4a5c91601b1eb1126c6a608253c58fad6"}},{"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":"ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/input/KeyboardContent.android.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b93917f969c7e3b557a43969de187f86d354479fc4d0a98d5dbb35f98ac46b3"}},{"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":"ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/input/TracingInputConnection.android.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"892230f0afa59a7c3edfcefa4ffa2d8884d60b3381589b73fb800d134151a7bc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060openDemo\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":"browserTests/tests/editor.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"88afd4a36fb060a5dff7ac2a113b1a1e4543ed36d5e6a7174785a6df29afec59"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":5,"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."]}]}