{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"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"]}],"properties":{"cwe":["CWE-506"]}},{"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"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":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"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":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"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":"commands.insertNewlineContinueMarkupCommand (cyclomatic 44): commands.insertNewlineContinueMarkupCommand has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 1 of the 44 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 106, 104). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/lang-markdown/commands.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f414bd89dab44623c5796a9b62220ff5cdfecfab24bd5c9c770cd6da7c772d"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorViewController.addLocalMonitorForEvents (cyclomatic 30): EditorViewController.addLocalMonitorForEvents 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":"MarkEditMac/Sources/Editor/Controllers/EditorViewController.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4be2c1b74cbdbdb151c55bf17c555fed9181ac6eb0b19285b64ed4b92d0a49"}},{"ruleId":"D1","level":"warning","message":{"text":"index.observeChanges (cyclomatic 30): index.observeChanges has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 136, 233). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/input/index.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0552962a9a93970f0805efcb9c553511932122c3be8be0538a883ef9c5956b4f"}},{"ruleId":"D1","level":"warning","message":{"text":"complete.htmlCompletionFor (cyclomatic 25): complete.htmlCompletionFor has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/lang-html/complete.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f191bb074b75418595f5f24f84f159224e5c1c935786afb3f37d56d9d17798"}},{"ruleId":"D1","level":"warning","message":{"text":"index.handleKeyDown (cyclomatic 24): index.handleKeyDown has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/tokenizer/index.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4292ccb9c1fd6c9e92fb9accc4079add78612cdff24172ab977acb4f7590e50b"}},{"ruleId":"D1","level":"warning","message":{"text":"html.autoCloseTags (cyclomatic 23): html.autoCloseTags has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 109). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/lang-html/html.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf38d0784acad46bf5031e6f1d59ba0a47b3338bef68299d14b379f18941f63b"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorViewController.updateTextFinderMode (cyclomatic 22): EditorViewController.updateTextFinderMode 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":"MarkEditMac/Sources/Editor/Controllers/EditorViewController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb18ddf0e41a28305ad3332ea9469af14d37bdb74c3ff9cb5235c30ae58ad75d"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorViewController.toolbar (cyclomatic 22): EditorViewController.toolbar has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Editor/Controllers/EditorViewController.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"082c65003010bb6edbcc06b8cc504f8bce05a91d47fc5b8c26a32ea826a81b9d"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorViewController.validateMenuItem (cyclomatic 18): EditorViewController.validateMenuItem 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":"MarkEditMac/Sources/Editor/Controllers/EditorViewController.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf19aecc1ffa79e607447a9a28159eb740ecc533b4611998ef3ff4b5a319b47"}},{"ruleId":"D1","level":"warning","message":{"text":"core.resetEditor (cyclomatic 18): core.resetEditor has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/core.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"238e3e3093fb57f1259e39c76fba948f6008ef92764008bd7314443fdcfba115"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtensionRelease.pageURL (cyclomatic 17): ExtensionRelease.pageURL has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Sources/ExtensionCore/ExtensionRegistry.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39281e12cb58608cd814e05c6082c61dd913ab982dbaf5d8cadc98f6d0eb299"}},{"ruleId":"D1","level":"warning","message":{"text":"toggleBlockWithMarks.toggleBlockWithMarks (cyclomatic 17): toggleBlockWithMarks.toggleBlockWithMarks has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/commands/toggleBlockWithMarks.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"16446bc86676cefa98b8e9ef85e94f1e0f2f839933c18702b607bc58c52ebe8d"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.getContext (cyclomatic 17): commands.getContext 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":"CoreEditor/src/@vendor/lang-markdown/commands.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cafe3990a7e2c2487c94d49531b02401bf6233ab2a95a148ec9a216222ecfc"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.deleteMarkupBackward (cyclomatic 17): commands.deleteMarkupBackward has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 245). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/lang-markdown/commands.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24ddf5576bc37229f529321e5eefdb8240fc47c62aa6c32dd1de93978fb7cc3"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtensionsRowView.body (cyclomatic 16): ExtensionsRowView.body 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":"MarkEditMac/Sources/Extension/ExtensionsRowView.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b03a63c1e71a3977cad46e43d9b87fd5ca28b75fb11a06b145bfc252f26f33f"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtensionRegistry.refresh (cyclomatic 16): ExtensionRegistry.refresh 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":"MarkEditMac/Modules/Sources/ExtensionCore/ExtensionRegistry.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"12638b9ee120ae4b93aa3c25ec68a01f732fa245840bb8e39bf4cdc6dcc7e640"}},{"ruleId":"D2","level":"warning","message":{"text":"index.observeChanges (cognitive 56): index.observeChanges has cognitive complexity 56 (threshold 15). Drivers by points: if/else 22 (47 pts), boolean chains 9 (nesting depth added 25). Most of this is not in the body itself: 0 of the 56 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 136, 233). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/input/index.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6aa760c428cf877f19ff66ce8d20aa7a077a757eb60ac8e12d9d0fb8c11c319"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.insertNewlineContinueMarkupCommand (cognitive 51): commands.insertNewlineContinueMarkupCommand has cognitive complexity 51 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 18, loops 3 (4 pts), ternaries 1 (3 pts) (nesting depth added 12). Most of this is not in the body itself: 0 of the 51 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 106, 104). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/lang-markdown/commands.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e3bba9b9f0c825f8ae6008224ce8b6b83c31f2b78cbdd151f53c058a256d1c"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorViewController.addLocalMonitorForEvents (cognitive 35): EditorViewController.addLocalMonitorForEvents has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 15, match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Editor/Controllers/EditorViewController.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4f19a746f96df6330c1e78a367cfd2f3db4b54cda4c7ed498196cc9ddcfd7a"}},{"ruleId":"D2","level":"warning","message":{"text":"toggleListStyle.toggleListStyle (cognitive 31): toggleListStyle.toggleListStyle has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (22 pts), ternaries 1 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 14). Most of this is not in the body itself: 4 of the 31 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 64, 31, 52). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/commands/toggleListStyle.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce4823af8db71dc682292c285d8a06ea9d0d233a9d99575e84d61dc1c39ec49"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.deleteMarkupBackward (cognitive 29): commands.deleteMarkupBackward has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 6 (nesting depth added 15). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to one function literal inside it that branches (line 245). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/lang-markdown/commands.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4252afad1da97e5dc0e953f28c683c7124015771216d69146a231f4d0a57867"}},{"ruleId":"D2","level":"warning","message":{"text":"toggleBlockWithMarks.toggleBlockWithMarks (cognitive 27): toggleBlockWithMarks.toggleBlockWithMarks has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 9). Of this number, 15 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/commands/toggleBlockWithMarks.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a9c2a7e2dab78ea65f12434b357770b54263290c1df4312bb18966ed1823d6"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorViewController.updateTextFinderMode (cognitive 25): EditorViewController.updateTextFinderMode has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 5, ternaries 3 (4 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Editor/Controllers/EditorViewController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"60de94a3e2a121a35073ad151c202903bdac97b01866d829836d32ef5568cda2"}},{"ruleId":"D2","level":"warning","message":{"text":"complete.htmlCompletionFor (cognitive 25): complete.htmlCompletionFor has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 9, if/else 8 (9 pts), ternaries 3 (6 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/lang-html/complete.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dc77db22afcc1e4034f75efb6a482e1b8169356313ade2e78aa692ac7aed95"}},{"ruleId":"D2","level":"warning","message":{"text":"formatContent.formatContent (cognitive 23): formatContent.formatContent has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/commands/formatContent.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7237c6585b40c4ab37faf7b1248e50bef25b0681f937c44debdb94ad2432f81"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.getContext (cognitive 23): commands.getContext has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/lang-markdown/commands.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a398c58b96a57a97d0c6a38a68c0aeb647e34e60145a50644818a2708c767c23"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionsRowView.body (cognitive 20): ExtensionsRowView.body has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 3 (5 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Extension/ExtensionsRowView.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8b7376abf262d6bfc429fb00a4e49dce700bc33cdbfc177687fbc28877a5a2"}},{"ruleId":"D2","level":"warning","message":{"text":"index.handleKeyDown (cognitive 20): index.handleKeyDown has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, ternaries 2 (4 pts), error handling 1 (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/tokenizer/index.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc612923ca2149755eadfee43f245da63a825e1601962a6fe80cbffb4f6367d"}},{"ruleId":"D2","level":"warning","message":{"text":"core.resetEditor (cognitive 20): core.resetEditor has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"CoreEditor/src/core.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff5e6b08f7835b6e8f137d05749cd83d29fe9e2370d1ec2dea44aab54ece840"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorViewController.validateMenuItem (cognitive 19): EditorViewController.validateMenuItem has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Editor/Controllers/EditorViewController.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c17beb6e94fad0a0ba686d101c59a0ddfcafd2d28dabddd9c6152882383d2e"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorWebView.updateMenuItems (cognitive 19): EditorWebView.updateMenuItems has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 6, 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":"MarkEditMac/Sources/Editor/Views/EditorWebView.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8cb8eea0a003389602707b52a657056377eacb5cbf3330b316db9a0bf052db"}},{"ruleId":"D2","level":"warning","message":{"text":"index.observeEventsForCompletion (cognitive 19): index.observeEventsForCompletion has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 3). Most of this is not in the body itself: 0 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 154). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/events/index.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"330d1d4093a61bc5afa4072f92269e9d62f4d73faecd1693a831d6bbe70d3cfe"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionRelease.pageURL (cognitive 18): ExtensionRelease.pageURL has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 5, ternaries 2 (4 pts) (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":"MarkEditMac/Modules/Sources/ExtensionCore/ExtensionRegistry.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a528f649a28ccf5ea05184b14c4444e8e3c2e2584211f574bb48a5079b72ba9"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorFindPanel.navigateRecentSearches (cognitive 18): EditorFindPanel.navigateRecentSearches has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Panels/Find/EditorFindPanel.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2982bb313ba59aaabe3863f4c4717ac2a88cbda350181b1a1836633ff9a6849"}},{"ruleId":"D2","level":"warning","message":{"text":"index.wrapMath (cognitive 18): index.wrapMath has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/math/index.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"964575aebc41e4e2dd35c968c9afe9472e4057364a0f1e7b522d06f98d845957"}},{"ruleId":"D2","level":"warning","message":{"text":"index.updateQuery (cognitive 18): index.updateQuery has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/search/index.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecc172fd215c804a5b499d54a343941a3fcea477e736a6ab4f4a596c1ec8c4c"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorModuleAPI.deleteLocalFileVersions (cognitive 17): EditorModuleAPI.deleteLocalFileVersions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditKit/Sources/Bridge/Native/Modules/EditorModuleAPI.swift"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c27e0eb8ff7a6a240505d748e1d7ec4e17c27cfdc8325518bf5a3efd3db5574"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionRegistry.refresh (cognitive 17): ExtensionRegistry.refresh has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Sources/ExtensionCore/ExtensionRegistry.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eb61b370b61dc57738c8f3b1617f934f80b7ab55438eaa9936de61505e1902"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorWindow.updateTitleBarAppearance (cognitive 16): EditorWindow.updateTitleBarAppearance has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 3 (5 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":"MarkEditMac/Sources/Editor/EditorWindow.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0942dc552c2e633b3bf6e8e0981d7275666302127b38aa99d528fe5626c5de"}},{"ruleId":"D2","level":"warning","message":{"text":"toggleLineLeadingMark.toggleLineLeadingMark (cognitive 16): toggleLineLeadingMark.toggleLineLeadingMark has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/commands/toggleLineLeadingMark.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"845a76921a0fe7e2167d2c32ed13bd514d86c4e44c5da27596e7958597659b74"}},{"ruleId":"D2","level":"warning","message":{"text":"complete.completeAttrValue (cognitive 16): complete.completeAttrValue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 1 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/lang-html/complete.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba663337968c21f9d4f3bfc02f97355643328a2e5646d8b883da0cd2c4fe7e0a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EditorViewController: TooManyMethods \u2014 224 methods. The bar is 30 methods; this is 194 over it, 7.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Editor/Controllers/EditorViewController.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"348b56397be14d0d863acfcad8b8dc87956978abf4249b7f9f45f4988376778c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EditorViewController.requestCompletions: MethodTooLong \u2014 requestCompletions runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Editor/Controllers/EditorViewController.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"45325ba40afd192a8e27eff346eb3ffd30fd4ee5dc563b110172ceaeef0011b8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppDelegate: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Main/Application/AppDelegate.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ab48aec7ccc9350d9173e4c6761f05ec4c474a141a700f4fe08a53fb650792"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExtensionsViewController: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Extension/ExtensionsViewController.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed30c43e8cd283be6a31c22d9675393b451f7a4df73ebfe3ded5c404491f7fce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EditorDocument: 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":"MarkEditMac/Sources/Editor/Models/EditorDocument.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a2c9f0b8a65cc88e3eedfb1949c733946bec0d8e0504ee410e77c02f8db3cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): MarkEditMac/Modules/Sources/FontPicker/FontPickerConfiguration.swift:25-44 | MarkEditMac/Modules/Sources/Statistics/StatisticsLocalizable.swift:24-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MarkEditMac/Modules/Sources/FontPicker/FontPickerConfiguration.swift:25\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Sources/FontPicker/FontPickerConfiguration.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ebc37aa4933ce4f9fc3a3cda0f46d353eadafd0e7b4ee9cbe5f290c10022ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): MarkEditMac/Modules/Sources/ExtensionCore/ExtensionConfig.swift:230-238 | MarkEditMac/Sources/Main/AppRuntimeConfig.swift:365-373 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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":"MarkEditMac/Modules/Sources/ExtensionCore/ExtensionConfig.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed90f4bcc89ccfc1848d9a6a218dcd6cd794fb6e00930e77c049b2116bf5c02"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: DiffKit: DiffKit: 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":"a88bd2f7b4bee9c58b18381cd96446f1767d0a0222bd2f18ca9bf117802ce9f8"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: TextBundle: TextBundle: 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":"c4fbc44579ff7fbf319bca5412f2659ac9f8065f590c7ad09b9a2f558e4ece28"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EditorViewController (LCOM4 30): EditorViewController\u0027s methods fall into 30 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 30 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Editor/Controllers/EditorViewController.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7961601bd9aa5c43f9b429af2f08aa721634cfd74a3dd7c134134405a4f24ab7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppDelegate (LCOM4 23): AppDelegate\u0027s methods fall into 23 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 23 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Main/Application/AppDelegate.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b8a6f5d78636a9b11a45379d916584d3655d03ac03f2febdb67faafb6ec985"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Data (LCOM4 6): Data\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditKit/Sources/EditorTextEncoding.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"df274aab1364e802d8cf0910b1af59bc2a2a8a72f9ece8d8f17e314430ac421c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EditorDocument (LCOM4 6): EditorDocument\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Editor/Models/EditorDocument.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e50921c38a1a43d9bfadf742c58d9f56181d0f101b79eacb84e8e8dbd7b4047"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NSMenuItem (LCOM4 6): NSMenuItem\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Editor/Views/EditorWebView.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d3ea333869df761b8ff339ef3abd8f490e96769632deb5bc54d1cd4c2f55ab"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NSView (LCOM4 6): NSView\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Sources/AppKitExtensions/UI/NSView\u002BExtension.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d173266d3035c0328f89d49a581ec79ad3635d6be4129912da173b955f5ce88"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NSWindow (LCOM4 6): NSWindow\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Sources/AppKitExtensions/UI/NSWindow\u002BExtension.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"34918f80eb65ce0cbfcb932bbd44139ae0ad46fdc14692e9d31691518d87d1d6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: View (LCOM4 6): View\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Sources/FontPicker/FontPicker.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2c7064e3ab64a9392a4d5920a6d3c9e2b6c0304f9c410292971d157da5f13f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: String (LCOM4 5): String\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditCore/Sources/Extensions/String\u002BExtension.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9da298f9edac264422186da079d65b4c03279d0273a13b8ba8cead57ebe7a58"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EditorWindowController (LCOM4 5): EditorWindowController\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Editor/EditorWindowController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fca3f89a38a5db2bc079081753ce10ad25794c939d98b9aebace2840f918fb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: QuickLookViewController (LCOM4 5): QuickLookViewController\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"QuickLookMac/QuickLookViewController.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c975d5c4480f3535ce3f0f4ce1294bd0ff1c43141756211099075cdd1e9795f2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WKWebView (LCOM4 4): WKWebView\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditCore/Sources/Extensions/WebKit\u002BExtension.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f39475c9f0ede7b3fb20d0d9dc2fdfbe5d9ec424123874f99492819eaddfa99"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EditorModuleAPI (LCOM4 4): EditorModuleAPI\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditKit/Sources/Bridge/Native/Modules/EditorModuleAPI.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e9670e2bb6eb0220e60353354e3426145c7349d742c6dce6f93059de0d6a26"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EditorStatusView (LCOM4 4): EditorStatusView\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Editor/Views/EditorStatusView.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9c49ff9d65cc3d00b0d0c9d0a8002f0babebbeb1723d8c87e49677b700dd33"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExtensionsModel (LCOM4 4): ExtensionsModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Extension/ExtensionsModel.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4042787e9bcc11c8d219dd2543ce40b273f1dab7a32cc2c6213325856658a7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExtensionsViewController (LCOM4 4): ExtensionsViewController\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Extension/ExtensionsViewController.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a101d773577cf1052b3030f7deefeb7df76086e875b663f5ff1e93f90874825"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExtensionsWindowController (LCOM4 4): ExtensionsWindowController\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Extension/ExtensionsWindowController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1a3f9d498131c8f016b6923091d0adfa6cf5efe47e98ce7050b3679f02c585"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NSMenu (LCOM4 4): NSMenu\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Extras/NSMenu\u002BExtras.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77f126961a08da648fa74db8354edaabc80a7e4fc391e76f73494a197a1ce79"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppDocumentController (LCOM4 4): AppDocumentController\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Sources/Main/AppDocumentController.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c7f2acd0f1b06084d55c2ccfd19a25c2b406f39dd18caa157b080e883a83e7"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testCrossVolumeContract: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditKit/Tests/MoveFileTests.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a220b63793d55e6bb226357bbb9dfe652309536a472153008d9560544fe47c5"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testExistenceOfAppKitSearchField: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Tests/RuntimeTests.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0928e5b1cdaa5a874d1556ea181695936b8904c3bc521dcb7ae7ae88eb3a57"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConcurrentOpeningThroughAppKit: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Tests/EditorDocumentTests.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dc48b139895ae37fa2cc83c6425e5529d3f7cb41c97d79b0daea5f86d7f0c4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExistenceOfDrawsBackground: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Tests/RuntimeTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"915fefff4b86611332aa2120d1f3ececfc955d917a3cd30889c598de3fd15a27"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExistenceOfDeveloperPreferences: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Tests/RuntimeTests.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d160d4a35b74b5f673444667b40f1c93ed872fad8ac4b23e6621236d864e6527"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExistenceOfPerformancePreferences: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Tests/RuntimeTests.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"871c529f73aa4c89ced5c578340d49811e5a8984b73cdd567cdeeeffa448cda4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExistenceOfBulkFeatureDisabling: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Tests/RuntimeTests.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0fb2373faa25ea88ffb0e395136666b0a3602ba46b7d6e46b0e937c9e07f71"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExistenceOfAutomaticInlineCompletion: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Tests/RuntimeTests.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3738c2808ffadfea8cc613658bbcbab3aed24088ceacd817f53db4a2601075f8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExistenceOfAutomaticInlinePredictionBeingPresented: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Tests/RuntimeTests.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c0c5c4ef71bc177cbf425dd10a0e8142122349560885d090148eeccd0d4317"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExistenceOfShowCompletionForCandidate: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Tests/RuntimeTests.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b007845ed918dc02ed5e901ad7165a2c47eef42234dd7d888acb50a26a754670"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExistenceOfCancelCorrection: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Tests/RuntimeTests.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc545d8f15bb45bfbc6159752cb7b089a18caf124334d36cb1e1856afe77a2f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExistenceOfImageTintColor: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Tests/RuntimeTests.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8037b3674b84802b075102177c4884d216e670b12e67a2e3f8380fc77f211923"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPrivateAppKitClasses: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Tests/RuntimeTests.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bbc03c20b3386a5d18d469df45de9458be39b0d7a2d861141625bceaf8e4b9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExistenceOfShowWritingTools: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Tests/RuntimeTests.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"56aa4a375f9b93d88ea93730c5ade1a57f02dbfad3c89a3c01779b351fad4c54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MarkEditMac/Sources/Extension/ExtensionsRowView.swift: MarkEditMac/Sources/Extension/ExtensionsRowView.swift changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ExtensionsRowView.body at line 21. 4 of those changes were fix/bug commits, and the other 27 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 10:46:32 \u002B08:00\u0027 --until=\u00272026-09-30 10:46:32 \u002B08:00\u0027 --full-history --no-merges -- MarkEditMac/Sources/Extension/ExtensionsRowView.swift\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":"MarkEditMac/Sources/Extension/ExtensionsRowView.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cb3f33b6a6d6d959066e482b75a80cee9da487a3716728595a92ab134115c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MarkEditMac/Sources/Extension/ExtensionsWindowController.swift: MarkEditMac/Sources/Extension/ExtensionsWindowController.swift changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Identifier.itemLabel at line 138. 1 of those changes was a fix/bug commit, and the other 22 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 10:46:32 \u002B08:00\u0027 --until=\u00272026-09-30 10:46:32 \u002B08:00\u0027 --full-history --no-merges -- MarkEditMac/Sources/Extension/ExtensionsWindowController.swift\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":"MarkEditMac/Sources/Extension/ExtensionsWindowController.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"844c1c9daa7e794c7099ceb0c8a69c11fc57b7f39be4126f7169afda3c6faa42"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MarkEditMac/Sources/Editor/Controllers/EditorViewController.swift: MarkEditMac/Sources/Editor/Controllers/EditorViewController.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in EditorViewController.validateMenuItem at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 10:46:32 \u002B08:00\u0027 --until=\u00272026-09-30 10:46:32 \u002B08:00\u0027 --full-history --no-merges -- MarkEditMac/Sources/Editor/Controllers/EditorViewController.swift\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":"MarkEditMac/Sources/Editor/Controllers/EditorViewController.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2387072caea9bbde9e678c494dddee8e02d579a2dfbf6a8f56ef55df68cfe278"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MarkEditMac/Modules/Sources/ExtensionCore/ExtensionRegistry.swift: MarkEditMac/Modules/Sources/ExtensionCore/ExtensionRegistry.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ExtensionRelease.pageURL at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 10:46:32 \u002B08:00\u0027 --until=\u00272026-09-30 10:46:32 \u002B08:00\u0027 --full-history --no-merges -- MarkEditMac/Modules/Sources/ExtensionCore/ExtensionRegistry.swift\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":"MarkEditMac/Modules/Sources/ExtensionCore/ExtensionRegistry.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d5f3677474ae61da1721ea86395e4a5689b42cfba563a85167e5563c00d278"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: CoreEditor/src/modules/input/index.ts: CoreEditor/src/modules/input/index.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in index.observeChanges at line 135. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 10:46:32 \u002B08:00\u0027 --until=\u00272026-09-30 10:46:32 \u002B08:00\u0027 --full-history --no-merges -- CoreEditor/src/modules/input/index.ts\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":"CoreEditor/src/modules/input/index.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"803c77a71a3320f20d2fcb0354ce99e027472b929180deb65ee59b24f35617c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: CoreEditor/src/core.ts: CoreEditor/src/core.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in core.resetEditor at line 59. 2 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 10:46:32 \u002B08:00\u0027 --until=\u00272026-09-30 10:46:32 \u002B08:00\u0027 --full-history --no-merges -- CoreEditor/src/core.ts\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":"CoreEditor/src/core.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd0a55f243b9b4274a75690f13ad70bb5d9cf01f0aa605994d2213ba4953905"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: CoreEditor/src/@vendor/lang-markdown/commands.ts: CoreEditor/src/@vendor/lang-markdown/commands.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in commands.insertNewlineContinueMarkupCommand at line 98. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 10:46:32 \u002B08:00\u0027 --until=\u00272026-09-30 10:46:32 \u002B08:00\u0027 --full-history --no-merges -- CoreEditor/src/@vendor/lang-markdown/commands.ts\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":"CoreEditor/src/@vendor/lang-markdown/commands.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71b329ee7f5d9f86aa3127a113ed39c0871bd4d5bd29bff08a0b177419e7c7a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: CoreEditor/src/modules/commands/formatContent.ts: CoreEditor/src/modules/commands/formatContent.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in formatContent.formatContent at line 16. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 10:46:32 \u002B08:00\u0027 --until=\u00272026-09-30 10:46:32 \u002B08:00\u0027 --full-history --no-merges -- CoreEditor/src/modules/commands/formatContent.ts\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":"CoreEditor/src/modules/commands/formatContent.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e4eac5ece247704305b5c734c06804c229059e600b66231913369383927284"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D22","level":"warning","message":{"text":"Ambiguous naming for file retrieval operations. \u0060getFileContent\u0060 and \u0060getFileObject\u0060 appear to perform the same domain operation (retrieving file data) but return different types (\u0060String\u0060 vs \u0060String?\u0060 or potentially different semantic meanings like raw bytes vs decoded text). Without distinct documentation, these names are confusingly similar.: Rename \u0060getFileObject\u0060 to \u0060getFileData\u0060 (if returning raw bytes/JSON) or \u0060getFileMetadata\u0060 (if returning info), and ensure \u0060getFileContent\u0060 is explicitly named \u0060getFileText\u0060 if it is strictly text-based, to distinguish between content retrieval and object/metadata retrieval. (signatures: EditorModuleAPI.getFileContent(path: String?): String? | EditorModuleAPI.getFileObject(path: String?): String?)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2ca5a712fb950e2f09c04ee7e356ae61a09b40014bc5cc587f9586c68294d80f"}},{"ruleId":"D26","level":"note","message":{"text":"Split MarkEditMac/Modules: A 6k-LoC module whose namespaces are all UI components (SharedUI) plus unrelated helper namespaces like DiffKit and FileDrop, so it is large and sprawls across many unrelated areas. Suggested: "},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"019e7267c6cc5db356dd3b1c10a093a6cf498df6392c695a5aa3690d54838ef7"}},{"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":"38c5b8d77698f03c9130bed8181e905c9e0bd44bb32c987cf1bcddb6c5e0142b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"147f47fcc127ee45e256e19ce8ab75a990d04e42a10f1163789bb8db909c1707"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"0415dbdaab5d49cf9456a9c85690a5abd7f3b46d1aa256dd235bb48b3c1dbcae"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"c927f2f94ab2f5f5384214f2abb84547c6d5d50c37039b18288f037c057f72b1"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"0794d82aa287616f770f4e26203ee2790f8adbc08bb655562d99abf03ae311b4"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"8d59c216b3a697d5f4345e6332bcfbabb19bdb2e6b90711af5e9daa8124e7782"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"64fe7336140b80ef7bd05e6d9739f2fb5477b5f64592d2efda4e6ba2249a6c89"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"a23078d08221b93bd7147a6d5eb26b0ba239b36b0c6f340a033e3d4f34ed5b1b"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"ef225ec631733f3b4bd9103949d6d5ca722a5b6ea8b9acd9779268ae7bd3b5b3"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"f09031a2dedb954e6696ce5c89c329dcbcca0097cf008dfa31bc99366ec0bef9"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"cb1b8f6764573a40c09eb017889d81e2f6470ae0d612db3725c3a8699f8e1fc4"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccbdef39a9371a1fc268477bb5409ed824af1966c31f6474add8515f1465fb7f"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: WebKit\u002BExtension.swift \u2194 WKWebViewConfiguration\u002BExtension.swift: \u0060MarkEditCore/Sources/Extensions/WebKit\u002BExtension.swift\u0060 (context MarkEditCore) and \u0060MarkEditKit/Sources/Extensions/WKWebViewConfiguration\u002BExtension.swift\u0060 (context MarkEditKit) 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 \u0060134717c2\u0060 Default disableCorsRestrictions on (#1460); \u00605fb3e80d\u0060 Unify WKWebViewConfiguration creation (#1457); \u006020a35e47\u0060 Enable more performance related tricks (#1427) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditCore/Sources/Extensions/WebKit\u002BExtension.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6942fc6a4135691e7cf52d3d7827f10e3f9fb1259e555657886fb5160dacf3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: modules.ts \u2194 api.ts: \u0060CoreEditor/src/api/modules.ts\u0060 and \u0060CoreEditor/src/bridge/native/api.ts\u0060 change together 79% of the time (11 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u006067d42c31\u0060 Implement file version api changes (#1722); \u0060cc5aceb7\u0060 Implement markedit-api v0.32.0 (#1710); \u0060d6335b7c\u0060 Implement markedit-api v0.23.0 (#1439) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/api/modules.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79753577379cbc92f5fb04d891669c7fe2a84507c4c9099a3d5752c5d400d492"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: config.ts \u2194 AppPreferences.swift: \u0060CoreEditor/src/config.ts\u0060 and \u0060MarkEditMac/Sources/Main/AppPreferences.swift\u0060 change together 63% of the time (17 of the 27 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) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 17 shared commits counted here, the most recent 3 are \u006029e5e045\u0060 Implement markedit-api v0.31.0 (#1693); \u0060a5952a1c\u0060 Improve smart quotes handling (#1692); \u0060c34c04ae\u0060 Share index.html between app and extensions (#1629) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9be2cd5e714167759a1f618387772d76de33b5eef0da6860fdaf5cca4722f8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: NSEvent\u002BExtension.swift \u2194 EditorViewController\u002BEvents.swift: \u0060MarkEditMac/Modules/Sources/AppKitExtensions/Foundation/NSEvent\u002BExtension.swift\u0060 and \u0060MarkEditMac/Sources/Editor/Controllers/EditorViewController\u002BEvents.swift\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060fa9e4916\u0060 Browser-style tab navigation shortcuts (#1373); \u00607a881f6b\u0060 Alternative key bindings for find next (#822); \u0060f5a5d458\u0060 Be consistent on header comments (#764) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkEditMac/Modules/Sources/AppKitExtensions/Foundation/NSEvent\u002BExtension.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8256f71ec9be88ca4058fc32f2adfee5b294ac3f56b303446bc771d4930c43"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: config.ts \u2194 QuickLookViewController.swift: \u0060CoreEditor/src/config.ts\u0060 and \u0060QuickLookMac/QuickLookViewController.swift\u0060 change together 52% of the time (14 of the 27 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) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u0060c34c04ae\u0060 Share index.html between app and extensions (#1629) (at that commit the file was still \u0060PreviewExtension/PreviewViewController.swift\u0060); \u0060d6335b7c\u0060 Implement markedit-api v0.23.0 (#1439) (at that commit the file was still \u0060PreviewExtension/PreviewViewController.swift\u0060); \u0060089d3e8e\u0060 Implement MarkEdit.getDirectoryPath (#1191) (at that commit the file was still \u0060PreviewExtension/PreviewViewController.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7498cead7b3ff20f38c659107415012b257893336551bdc828b62bf97d1aa7db"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: core.ts \u2194 EditorViewController.swift: \u0060CoreEditor/src/bridge/web/core.ts\u0060 and \u0060MarkEditMac/Sources/Editor/Controllers/EditorViewController.swift\u0060 change together 50% of the time (9 of the 18 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) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00605d17f4cb\u0060 Protect editor state from external changes (#1429); \u00608fa8d9cc\u0060 Add waitUntilEditorReset to avoid blank flash (#1425); \u00605154c635\u0060 Change \u0022Reuse Pool\u0022 to \u0022Preloader\u0022 (#1407) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/core.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4343b311158fa80854012c415cce7778c54d9412ad5b340e47017083ebd0b8ce"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: methods.ts \u2194 api.ts: \u0060CoreEditor/src/api/methods.ts\u0060 and \u0060CoreEditor/src/bridge/native/api.ts\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060d6335b7c\u0060 Implement markedit-api v0.23.0 (#1439); \u00600df01e42\u0060 Implement saveDocument and closeDocument (#1408); \u0060ee2083ae\u0060 Implement file system APIs (#1117) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/api/methods.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5965e8406038c3aaeba395ecfe34b1fafc3f7f37847b2c1dcff80c366e751f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: selection.ts \u2194 EditorViewController\u002BMenu.swift: \u0060CoreEditor/src/bridge/web/selection.ts\u0060 and \u0060MarkEditMac/Sources/Editor/Controllers/EditorViewController\u002BMenu.swift\u0060 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) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060d6299cc1\u0060 Fix select all only selects the viewport (#842); \u0060fb5c6703\u0060 Keyboard shortcuts to go back (#645); \u0060b27f7b8e\u0060 Refactor WritingTools related code (#610) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/selection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdeda3b1bb8258a1fadd42524b741a05946471062f4b8c809ec807d72f6beab7"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"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"}},{"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":"M3","level":"note","message":{"text":"No src/ separation: Production code isn\u0027t grouped under a src/ folder \u2014 it\u0027s spread across several top-level directories, so there\u0027s no one place that says \u0027this is the product\u0027."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README claims MarkEdit is a macOS app but the repository contains no macOS project \u2014 searched for: \u0060macOS project\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README\u0027s own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read \u2014 a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"343bbbd51ceb8de7a9ff88d79f7c797abf9b5921f8727b67b4d0f4f8a22c5e49"}},{"ruleId":"P10","level":"note","message":{"text":"Large public API surface: 184/247 types (74%) declared in the published library are public. For a library, every public type is a stability contract \u2014 keep implementation types off the surface and expose only the intended API."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ed2ba843444ae377c17142f58f714e281e4bd3f183ab100ee1fbef389875d3e6"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 4/5 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060MarkEditTools\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (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 2278 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): CoreEditor/src/bridge/web/config.ts:29 \u00B7 CoreEditor/src/bridge/web/config.ts:48 \u2014 the two spans are one implementation copied and then locally edited \u2014 226 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/config.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e8fa5e6bbe8de8e98cd2f22c3bf774613b6d9e43d4128193230d42edf9261b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): CoreEditor/src/styling/themes/minimal-dark.ts:16 \u00B7 CoreEditor/src/styling/themes/minimal-light.ts:16 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/styling/themes/minimal-dark.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d7ecbedda58c7ff4c4eb58c64c5c39c97b7c8c5fc40553dfc23269ced8c51a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): CoreEditor/src/styling/helper.ts:5 \u00B7 CoreEditor/src/styling/helper.ts:21 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/styling/helper.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc185b14c2b9fab8bef0b38635a486c47ea468c04e91d399f8bb78eec3a3c42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): CoreEditor/src/modules/completion/index.ts:168 \u00B7 CoreEditor/src/modules/tokenizer/index.ts:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/completion/index.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4881aa653a8ea7824fbef23609e3a902260b80fb8bd9e192b1652eac9841a49f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): CoreEditor/src/modules/smartQuotes/index.ts:78 \u00B7 CoreEditor/src/modules/smartQuotes/index.ts:112 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/smartQuotes/index.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5167d51ae21b2b4282865eb8eebb6997c95e985b0ac4a0528d22cbaf85a954fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): CoreEditor/src/bridge/web/core.ts:24 \u00B7 CoreEditor/src/bridge/web/core.ts:37 \u2014 the two spans are one implementation copied and then locally edited \u2014 138 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/core.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0a41bdbf9b53f5f064c2e4ea41011632a3293e6685d00a2ad965b58f8c1505"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): CoreEditor/src/styling/themes/cobalt.ts:25 \u00B7 CoreEditor/src/styling/themes/github-dark.ts:19 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/styling/themes/cobalt.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2637173799a25dcb166acc7960e248460350ece51d56cb6e7a65ba672cf38354"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): CoreEditor/src/styling/themes/dracula.ts:25 \u00B7 CoreEditor/src/styling/themes/synthwave84.ts:35 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/styling/themes/dracula.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3accc58353ecb345763587c6f93dcdc6642ee6cc9401ce62f9d90e27f60b1e2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): CoreEditor/src/bridge/web/search.ts:25 \u00B7 CoreEditor/src/bridge/web/search.ts:39 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/search.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fff9a6ab238971b932f582d24761fe6e29d29aca5501f01324dbd3efd5bd6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): CoreEditor/src/styling/themes/rose-pine-dawn.ts:28 \u00B7 CoreEditor/src/styling/themes/rose-pine.ts:28 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/styling/themes/rose-pine-dawn.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e557195e1acf02a8be4bfc521a0011e76c0f83e140cd5c7c76937ff9527295"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): CoreEditor/index.ts:99 \u00B7 CoreEditor/index.ts:107 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/index.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0feb90366ab07ab4d0f4f95b7ab13b9749f1d695aacc98e7e6d65d5913b9c083"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): CoreEditor/src/styling/themes/rose-pine-dawn.ts:40 \u00B7 CoreEditor/src/styling/themes/rose-pine.ts:40 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/styling/themes/rose-pine-dawn.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"11182284fe903630dc1ce1d7b8c07c4f057095802cffc3c427d5532999ecf5de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 43, cognitive 62): (anonymous) has cyclomatic complexity 43 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/lang-markdown/commands.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"196ef263617fd4d5765046aa216b564a764a5acd2c5d0fdc8d7c346e130fda25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 51): (anonymous) has cyclomatic complexity 28 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/input/index.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af4ff5215796e3b3855cbde7c61a526d5d58bb83a41a776080bc1a02fbd1f47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function htmlCompletionFor (cyclomatic 25, cognitive 25): htmlCompletionFor has cyclomatic complexity 25 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/lang-html/complete.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"e396a13ef71fe417e43692671341e0719e54e7245656c256a21b6ce511c88115"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 18, cognitive 11): handleKeyDown has cyclomatic complexity 18 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/tokenizer/index.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed09f2ebc1015858c5c712f29412a78533a99e80a378175c1c2b6bfb1f8a7b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getContext (cyclomatic 17, cognitive 23): getContext has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/lang-markdown/commands.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcb97850fad8df09ce12bfd4fcb57542099078ccf8c347ab89cb6a510666fd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 30): (anonymous) has cyclomatic complexity 16 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/lang-markdown/commands.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09d3d33eedbf69ef65645a1f84f8ecabcbc2ea927d4e1e62729a873c4f5469d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 17): (anonymous) has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/lang-html/html.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"084c7a5e428950918a5759640138a76709bfc2097c81f710a841b81169e65693"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 19): (anonymous) has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/events/index.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea68c0bc9e61ca145685cd96bc563d9fe86fd75cad801a1c86bf0fee9629193e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/completion/index.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b59ac077cb09645ae3b19def21ab0954db09875a27cc7ad450cb7c9670978e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterTransaction (cyclomatic 15, cognitive 13): filterTransaction has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/input/index.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"054652e05dd3607f080d4636c03641a7dff4228261f4878d1b4be6a4a89f4c9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatContent (cyclomatic 14, cognitive 22): formatContent has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/commands/formatContent.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"056453965bcfe0f8078133d10cf8954d3192bb7001965c5b8a2903cd35d48d68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 14, cognitive 19): update has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/commands/history.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7335b22753bb0661a2791bcbf71305a439e66c5991e0e2e45236c42380b6cfce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resetEditor (cyclomatic 13, cognitive 14): resetEditor has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/core.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d07be33d9aee86a857b2c15b13eb296e495073aa962b3a34f414048d51ce1b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parse (cyclomatic 12, cognitive 20): parse has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/math/index.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6270a834fa266bc4869b48f392a9bc92707b057a89d6be37719f0aa4af61b26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pop (cyclomatic 12, cognitive 16): pop has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@vendor/commands/history.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdae5ebafadb4291d74484343ed7dfb8d8573e44b7fa6d1b119cdf3684a6eb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/input/index.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"261f413b3996451519a24ca301937c456faf1efe52e63e717a670be85e9a0f82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateQuery (cyclomatic 11, cognitive 21): updateQuery has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/search/index.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0f0ece2cdcd8e6f9c5cf42ccab2e1e2972c8bdef42bb3f183234b4b252f5a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extensions (cyclomatic 11, cognitive 10): extensions has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/extensions.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73483b5caae18f708c291bbffdb6c190e2871856360fc928e5af1b03f9ee6e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function autoClosingQuotePosition (cyclomatic 11, cognitive 8): autoClosingQuotePosition has cyclomatic complexity 11 and cognitive complexity 8; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/smartQuotes/index.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72c616057f2a95383f2c01088d1108adac040a55869eccdcba8a82eef8666e1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/@quicklook/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a108228627dd33bc8a50c55f259d3cda6ab0b673cc7f094a1c7d64dc8638effc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4bcff22b5f2bd5a3ee9689af4e4cf5e9a07d1d58ddc29c0c2bf1ef50e580e4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"934bc74555fce269a0064bd63179a85e5dc123242e0cfe22133c5d3cd9622523"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd04212c034acd51ffdfefcdcb1e164b7e5bf275385c3fa28c1d423207e3873a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/search.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75269ae7e147f74981e1f0b332d5af07fa90be50a81022286e7d6471b6198908"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/core.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1041445274850f6ad2b8f9422ac4e954a425c8f284d65ea10dc6a8a5458b94"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/selection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db261a91a005b09e2ac734d61f1ce09f431a346f655ff3f65e2ff734d5769b5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/history.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3acf8cd4735f1146f257a5979490e3d3eb349342b1da8f165121d2f28470a4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb13b008cac0e81fd313f6f1717de29fa9a1f3a72eaca28c10e8701a33ff805f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/toc.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e5d60fb77965e1ae9ea3e0ae6f156a4b6948ed14c6d64bad0dfe63097e8fb5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/completion.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40c5a6a2db46254341af6df1e45320da4e3195aff22204b3cd997d2356a8025"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/foundationModels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbbac861eb8a596cf435e94794cd62afea45028ab4a4ea3ad2d8e9199f1758d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/dummy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1aeb49ff767829b77cbc3dfd60b80b58016fd15030c09a5ec7fdb65e3a34bf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/lineEndings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f719a742c1eef270f46318b31009aab76382ab6a047c87cf6f9b3e448b549de"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/writingTools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"750f0e8dbf0ce218d5054aa4631f2238124b4105292015a38c45f93be4f5357c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/modules/snippets/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9092fdbf44acef487f2c8999710ba261a1b87c4d24aedba125d56354f23ba1f9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~23 LoC): no import path from any entry point (9 application, 4 tooling, 34 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/bridge/web/dummy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"335e7112bf899084cd82e74508336603475c3736c74a6aa06b75d6232a0feb8a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createMarkDeco\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/styling/matchers/lezer.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25c8026bb4bb6479c8e0788da117fd7d5f521254cd53824851c7d5fb7be6f7f"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in CoreEditor/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d8a3d0faa47fd18b071ac2ea263bb7395790d201b593acc4743b98814298e27d"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): CoreEditor/src/api/methods.ts \u2192 CoreEditor/src/extensions.ts \u2192 CoreEditor/src/api/methods.ts (one verified cycle inside a mutually-dependent group of 29 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreEditor/src/api/methods.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8681057e893ef4441c884ae5b616ab8b85e17d56ea809c008c5bbc7ce93e8d7"}}],"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-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"CWE-345","shortDescription":{"text":"CWE-345"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"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":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":14,"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."]}]}