{"$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":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"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":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"RedBlackTree.fixTree (cyclomatic 26): RedBlackTree.fixTree has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/RedBlackTree/RedBlackTree.swift"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"959252c77bf97d05f50657843876e3b54688edf600bfcc4e9663e46161c1b571"}},{"ruleId":"D1","level":"warning","message":{"text":"TextInputView.replaceTextFromSystem (cyclomatic 26): TextInputView.replaceTextFromSystem has cyclomatic complexity 26 (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":"Sources/Runestone/TextView/Core/TextInputView.swift"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9379e28076b69fb14342ab3ab4979320c11148d5386020c391f6226f2509917"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutManager.layoutLinesInViewport (cyclomatic 19): LayoutManager.layoutLinesInViewport has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/LayoutManager.swift"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be036da4f12f0b05e1f3668776d00bf17b6f72f3edaec5ab4eb77e9cbccde6a"}},{"ruleId":"D1","level":"warning","message":{"text":"TextInputView.toggleFold (cyclomatic 19): TextInputView.toggleFold has cyclomatic complexity 19 (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":"Sources/Runestone/TextView/Core/TextInputView.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6679902f0da8eb18b2a7b7ae7244defd34b25fdbe7aafc3fcfbb32c6af56cd1"}},{"ruleId":"D1","level":"warning","message":{"text":"TextInputView.presentSpellingMenu (cyclomatic 18): TextInputView.presentSpellingMenu has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/TextInputView.swift"},"region":{"startLine":2276}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd39a859c00301f0a6c97e16abe814c3d9d96224620c5d417a5a3654307b1d0b"}},{"ruleId":"D1","level":"warning","message":{"text":"UnbrokenLineBreakContext.make (cyclomatic 18): UnbrokenLineBreakContext.make has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/LineController/UnbrokenLineBreakContext.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e7404b0e74b49f12b37d01dccf94550a771e00659a59dc448becf4f79d2afe"}},{"ruleId":"D1","level":"warning","message":{"text":"TextInputView.canPerformAction (cyclomatic 17): TextInputView.canPerformAction has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/TextInputView.swift"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"d200101c4fb0d26fce030fb09be054a41c5a59be902b66b53d349caf00a1a28f"}},{"ruleId":"D1","level":"warning","message":{"text":"LinePrefixReuse.signature (cyclomatic 17): LinePrefixReuse.signature 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":"Sources/Runestone/TextView/LineController/LinePrefixReuse.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b794b4ed7353c67e63ed8b04b249542f9fce7c6fca717b6daebd552eee86d8"}},{"ruleId":"D1","level":"warning","message":{"text":"WritingToolsExclusions.allowsReplacement (cyclomatic 17): WritingToolsExclusions.allowsReplacement 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":"Sources/Runestone/TextView/WritingTools/WritingToolsExclusions.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5ea43668cd1938e930c7cbe6afa35901bf3d84619f24fb4f967d819300c346"}},{"ruleId":"D2","level":"warning","message":{"text":"RedBlackTree.fixTree (cognitive 40): RedBlackTree.fixTree has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 13 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/RedBlackTree/RedBlackTree.swift"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa66a5634db24d849dc034be7a90cf092356868a5781780a2e38db594a3f423"}},{"ruleId":"D2","level":"warning","message":{"text":"TextInputStringTokenizer.position (cognitive 33): TextInputStringTokenizer.position has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 2 (6 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/TextInputStringTokenizer.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"6692acb352da63717b9ba639c3e0fc6c4e96125e665455c330d00067c750a7fd"}},{"ruleId":"D2","level":"warning","message":{"text":"TextInputStringTokenizer.position (cognitive 31): TextInputStringTokenizer.position has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 2 (6 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/TextInputStringTokenizer.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1742ef4245479aadf2e07dde061ae0f6fd29d39c34b5064998007f1550ee8ae"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeSitterFoldingSnapshot.ranges (cognitive 29): TreeSitterFoldingSnapshot.ranges has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 3 (7 pts), boolean chains 2, ternaries 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterFoldingSnapshot.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1012af601bec1c1ad6451c4a25a79c24ea302a04ed549f95ebad77aac1a02c98"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutManager.layoutLinesInViewport (cognitive 26): LayoutManager.layoutLinesInViewport has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 8, loops 4 (7 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/LayoutManager.swift"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"1110b2051464b35ea470b6805f702236523591f616f61bec5df138187def59aa"}},{"ruleId":"D2","level":"warning","message":{"text":"RedBlackTree.fixTree (cognitive 25): RedBlackTree.fixTree has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 7, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/RedBlackTree/RedBlackTree.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"35904de17ddf0241cabd80d50ecd904d13cb37b3767d3fcc70ea811cfa9a04ab"}},{"ruleId":"D2","level":"warning","message":{"text":"TextInputView.replaceTextFromSystem (cognitive 25): TextInputView.replaceTextFromSystem has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 19, if/else 5, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/TextInputView.swift"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b6ec4e790c6d1a34df4e6c0f99134c11028dd18326422323d8d1cb22033761"}},{"ruleId":"D2","level":"warning","message":{"text":"TextInputStringTokenizer.isPosition (cognitive 23): TextInputStringTokenizer.isPosition has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/TextInputStringTokenizer.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7985f5c1aceb7f1f2f773b13e93acadc36508b9d764f0034b885219dcf7972"}},{"ruleId":"D2","level":"warning","message":{"text":"TextInputView.canPerformAction (cognitive 21): TextInputView.canPerformAction has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/TextInputView.swift"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4645cb7bec628a569b13c50e52a8615877e77677f8f09b6eaa09662bb2b6302"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeSitterIndentStrategyDetector.detect (cognitive 21): TreeSitterIndentStrategyDetector.detect has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, 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":"Sources/Runestone/TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterIndentStrategyDetector.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"299b5d0dc7258ea3aab468538c55a454876f51783cc642e7ed6825db236a4e1f"}},{"ruleId":"D2","level":"warning","message":{"text":"RedBlackTree.nodePosition (cognitive 20): RedBlackTree.nodePosition has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, 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":"Sources/Runestone/RedBlackTree/RedBlackTree.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4add42e0c87cacaffa9f13c6974a135866a9ff83c4db83457f5980be84353a07"}},{"ruleId":"D2","level":"warning","message":{"text":"SpellCheckingService.checkNextBatch (cognitive 20): SpellCheckingService.checkNextBatch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 7, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Spelling/SpellCheckingService.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"58eae3cce53a74465f581aba4b9d0e9e9a848efe5bae37b0120936e6755e3c8c"}},{"ruleId":"D2","level":"warning","message":{"text":"WritingToolsExclusions.updateRanges (cognitive 20): WritingToolsExclusions.updateRanges has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 4 (6 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/WritingTools/WritingToolsExclusions.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94b1078f23e2f84aabb0410164073382abdd886a3a94aecff6d12d68ad06cf1"}},{"ruleId":"D2","level":"warning","message":{"text":"RedBlackTree.node (cognitive 19): RedBlackTree.node has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/RedBlackTree/RedBlackTree.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"96817b1e1f23e122569d45446e9b4b7172dd34b2e25283c7369cbb4271206f87"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentSizeService.longestLineWidth (cognitive 19): ContentSizeService.longestLineWidth has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/ContentSizeService.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3ef0010d60a3a3a6ed208dbdec396b1b63c82df38fb81aef338d0198dcb91e"}},{"ruleId":"D2","level":"warning","message":{"text":"TextInputView.toggleFold (cognitive 19): TextInputView.toggleFold has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 6, ternaries 1 (2 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/TextInputView.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"80179099b28efb5d3148bbfa9900a02535552a92b5fc88f952396e6da8b3ddf4"}},{"ruleId":"D2","level":"warning","message":{"text":"TextInputView.presentSpellingMenu (cognitive 19): TextInputView.presentSpellingMenu has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, if/else 3 (5 pts), loops 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/TextInputView.swift"},"region":{"startLine":2276}}}],"partialFingerprints":{"codehealthFindingId/v1":"6703042711add438a6dcad969d2628ba8327a9fb357ca604ccb3dc0c36cd6241"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeSitterSyntaxHighlighter.syntaxHighlight (cognitive 19): TreeSitterSyntaxHighlighter.syntaxHighlight has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterSyntaxHighlighter.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0505d6130606c5481a4d17c19dcc0aea03c692b797254572fe6305e8c7e2996"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeSitterQueryCursor.validCaptures (cognitive 18): TreeSitterQueryCursor.validCaptures has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (5 pts), boolean chains 2, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TreeSitter/TreeSitterQueryCursor.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac8b9de2b921527dcf6e9668e25121f933ac5d5c1d7f87406ad71da3c6b336a"}},{"ruleId":"D2","level":"warning","message":{"text":"LineTypesetter.makeNextLineFragment (cognitive 18): LineTypesetter.makeNextLineFragment has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (6 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/LineController/LineTypesetter.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea06933136c0993650f60fdec28bb3b1051e00d0c438e44869ea4bcaa890263"}},{"ruleId":"D2","level":"warning","message":{"text":"SpellCheckingService.makeChunks (cognitive 18): SpellCheckingService.makeChunks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Spelling/SpellCheckingService.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ae4f4c6ebeca1bf2dac77471fa6465e81d532038bfd95f5d2f6e06f6b36114"}},{"ruleId":"D2","level":"warning","message":{"text":"FoldingText.trim (cognitive 18): FoldingText.trim has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 3 (6 pts), boolean chains 3, ternaries 1 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterFoldingSnapshot.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5884f7352f5c58147c9b96590dcf5305ab1847a78f343a6673418bad50ba9c75"}},{"ruleId":"D2","level":"warning","message":{"text":"LineManager.setLength (cognitive 17): LineManager.setLength has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/LineManager/LineManager.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"578ec612f2a214b11baa861cacfa4c773fc4797b07952877379ea6270ffac2bc"}},{"ruleId":"D2","level":"warning","message":{"text":"LineController.updateSyntaxHighlightingIfNecessary (cognitive 17): LineController.updateSyntaxHighlightingIfNecessary has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/LineController/LineController.swift"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f204c021f259b3cee59ba05883e6bd4512dae68df78311a30542a652befeeb9"}},{"ruleId":"D2","level":"warning","message":{"text":"UnbrokenLineBreakContext.make (cognitive 17): UnbrokenLineBreakContext.make has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 7. 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":"Sources/Runestone/TextView/LineController/UnbrokenLineBreakContext.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"801afc3fed1b1c7440af9961aac61114a01b4f673cb00c7e13955b3d6cd09c90"}},{"ruleId":"D2","level":"warning","message":{"text":"LinePrefixReuse.count (cognitive 16): LinePrefixReuse.count has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (6 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/LineController/LinePrefixReuse.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"970dae3a23674551ff32cf7cf673290af02aaefb77880987315569f2c0d3eceb"}},{"ruleId":"D2","level":"warning","message":{"text":"LinePrefixReuse.signature (cognitive 16): LinePrefixReuse.signature has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, if/else 2, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/LineController/LinePrefixReuse.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a90d744699e79cbe59b1bf6b6c6122658beaff361ffa09791a777c613f373e"}},{"ruleId":"D2","level":"warning","message":{"text":"WritingToolsExclusions.allowsReplacement (cognitive 16): WritingToolsExclusions.allowsReplacement has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 4, loops 4. 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":"Sources/Runestone/TextView/WritingTools/WritingToolsExclusions.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e35c96d01259504f6895b8094d390619fc345aa0e4b3aeba0aba5b8f44ea53e"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeSitterTextPredicatesEvaluator.evaluatePredicates (cognitive 16): TreeSitterTextPredicatesEvaluator.evaluatePredicates has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterTextPredicatesEvaluator.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9054924684506292fcdc0054ac3e484cbd05173fc6eb5734cb68b25df44c19"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextInputView: TooManyMethods \u2014 140 methods. The bar is 30 methods; this is 110 over it, 4.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/TextInputView.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"55753becd71f84d2eba6d7f59825179eb73484f1dfaf5f4e4271565ecd4b7438"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextView: TooManyMethods \u2014 102 methods, declared across 2 files: Core/TextView.swift (99), Library/TextView\u002BHelpers.swift (3). The bar is 30 methods; this is 72 over it, 3.40\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"Sources/Runestone/TextView/Core/TextView.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dabac39cec998dd064a8bb783ca9800c4696290e43d89ba6048be44afb7f71"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/TextInputView.swift: FileTooLong \u2014 1654 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1154 over it, 3.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/TextInputView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c361b5b46a6e4b140676dabd9b00546476766304357c805deec676cdc6359a9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TextInputView: ClassTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded), 140 methods. The bar is 400 significant lines; this is 370 over it, 1.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/TextInputView.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bf800975ef9583f96c909a5b999b3d218bae32a5c4c04bc04a60779d327722"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/TextView.swift: FileTooLong \u2014 885 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 385 over it, 1.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/TextView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cff513cfca0af21df2aff8e83334718625d89ed43ad6c9b345598dd344b6e98"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LayoutManager: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/LayoutManager.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"60668d55d579028f9f90bf310e998dd509cf87bccb68097daf0bfbc4fc421f66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/LayoutManager.swift: FileTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 200 over it, 1.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/LayoutManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5eb4a6e051310f71711687a5a75966a2096259ecd9be7982dee537ec78f2911"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LineController: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/LineController/LineController.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d660d9cc50e41837dc406e779ebcc67f3eb7c845fd23d763050d6ceac798efd4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RedBlackTree: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/RedBlackTree/RedBlackTree.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6330091fdc2e364a3fd893284b02777b95a65de516d33123040845702913e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): Example/Themes/Sources/RunestoneThemeCommon/HighlightName.swift:19-37 | Sources/Runestone/TextView/Appearance/HighlightName.swift:21-40 \u2014 before extracting anything, compare \u0060Example/Themes/Sources/RunestoneThemeCommon/HighlightName.swift\u0060 and \u0060Sources/Runestone/TextView/Appearance/HighlightName.swift\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Themes/Sources/RunestoneThemeCommon/HighlightName.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"042ee9d45a790b34e0c376e3a274838764bee86523e67ed992ad03bbcbbb0104"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Runestone/TreeSitter/TreeSitterPredicateMapper.swift:48-52 | Sources/Runestone/TreeSitter/TreeSitterPredicateMapper.swift:62-66 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Runestone/TreeSitter/TreeSitterPredicateMapper.swift:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TreeSitter/TreeSitterPredicateMapper.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d02950fc5bfeedce44ef6780f56e87fd985f58af9761c616ecb88c39dbe17a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Runestone/Library/TextEditHelper.swift:18-22 | Sources/Runestone/TextView/Core/MoveLinesService.swift:15-19 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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":"Sources/Runestone/Library/TextEditHelper.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea059634c1d3f986eb98910d3da941bdf21e4d67d84b06b9775a387a768b19cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): Example/Themes/Sources/RunestoneOneDarkTheme/OneDarkTheme.swift:32-54 | Example/Themes/Sources/RunestoneTomorrowNightTheme/TomorrowNightTheme.swift:32-54 | Example/Themes/Sources/RunestoneTomorrowTheme/TomorrowTheme.swift:32-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Themes/Sources/RunestoneOneDarkTheme/OneDarkTheme.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2afc914c0c0689185ba50732baea08c7c3a01f1b5c9074f8ceebaa6ad81e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Example/Themes/Sources/RunestoneOneDarkTheme/OneDarkTheme.swift:56-62 | Example/Themes/Sources/RunestonePlainTextTheme/PlainTextTheme.swift:36-42 | Example/Themes/Sources/RunestoneTomorrowNightTheme/TomorrowNightTheme.swift:56-62 | Example/Themes/Sources/RunestoneTomorrowTheme/TomorrowTheme.swift:56-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Themes/Sources/RunestoneOneDarkTheme/OneDarkTheme.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d52a9635e636f973dc20a9e6309882c9bf25724a2a685abdf6e9d0004ef50cd"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Runestone: Runestone: abstractness 0.14, instability 0.00, distance 0.86 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fcf18ff5d7aa6a0b0ed26ad9e70034874137f4ebb38ddf189e6a55606addc391"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TextInputView (LCOM4 10): TextInputView\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/TextInputView.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"850cc43d5afcb4b968875feb5d93f18cee2699a0a84db13b4b6d97b12765321b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testLongLineTypesettingPerformance: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/RunestoneTests/LineBreakingPerformanceTests.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c7ccaa3aea8222a6ca139f4940917407db0d2a7e2172db958b3fa5505c2301"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testLargeDocumentLineIndexUpdates: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/RunestoneTests/LineManagerPerformanceTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b57c851d87ddc0092bddca627419133ed5bf1df36ae48e01f572f5eed0e137"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testPreparationAndFirstViewport: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/RunestoneTests/LongLinePreparationPerformanceTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41bedc44306abb76db82a8c37a6fe080c0ab0b51b37de42035fef1ec85d8a54"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testDictionaryActionsAreIndependentOptInsAndPublicAPIsWorkWhileHidden: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/RunestoneTests/SpellingMenuSettingsTests.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1320dce6c78bd93f41b00a220539a5612d92602f30d6542954bd72c90600e68"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testCorrectionRejectsDirectlyLearnedWordBeforeAndDuringEditApproval: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/RunestoneTests/TextInputSpellingTests.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1504b1d7dc147cfa5bbc3c8d4d11d41cc8669d8e906e29f8b2255fd2e6dfb50e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testLearningAndUnlearningRefreshOtherEditorsWithoutChangingText: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/RunestoneTests/TextInputSpellingTests.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc09854ab53076bc408a30e5d72aac5d2cce8067dae65ecb379656df4c411c3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRelearningThroughPublicAPIsInvalidatesAnOpenUnlearnAction: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/RunestoneTests/TextInputSpellingTests.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"938795cf27decbe82c5806954190a5d8186e5d185a67b26dfdaad826444713d5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRefreshPreservesPartialWrapsAndContinuesWithNewAppearance: 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":"Tests/RunestoneTests/AppearanceHighlightingTests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e32d6ee24fddca43af32ccf5b4ce393f5a9372f2c4de017fcfce9aa06ce0519"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRefreshOfFinishedLineUpdatesDrawingAndPreservesGeometry: 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":"Tests/RunestoneTests/AppearanceHighlightingTests.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3693af68ffb92e2c94ae69224ec5b4fb03efc4bc83030ae0c6076a38139f169"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testShortLinesWrapped: 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":"Tests/RunestoneTests/LargeFileCorrectnessTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ebe61771852e8e0425a1d549c3a7c606258adda9f6b309c5214180e7e6b033"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testShortLinesUnwrapped: 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":"Tests/RunestoneTests/LargeFileCorrectnessTests.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1413cf497dd149b0b6c344abf49e32d69681b623369dc3dfca741dff669461"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLongLinesWrapped: 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":"Tests/RunestoneTests/LargeFileCorrectnessTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"331dd51b214fa0fa9b054531f208f25c889ef2981ca2668b61b70bad167aef36"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLongLinesUnwrapped: 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":"Tests/RunestoneTests/LargeFileCorrectnessTests.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9756efc2f12ad4c146eeabfa1250e63b2103cd7df216df35ca1c047f4bfee6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLongASCIILinesWrapped: 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":"Tests/RunestoneTests/LargeFileCorrectnessTests.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"07686e4bcd3fbcdb3accffbfe80e224c643deb00d60c008ea841f4e43a726533"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLongASCIILinesUnwrapped: 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":"Tests/RunestoneTests/LargeFileCorrectnessTests.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de88908b22cde80e9e47683ea9273539a163b85325c74a345d712351f4ebb08"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLongUnbrokenASCIILinesWrapped: 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":"Tests/RunestoneTests/LargeFileCorrectnessTests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38855a75eaeba8b90bc5b55d641516592c5d1257b2f4e020f8bec5278caad83"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLongUnbrokenASCIILinesUnwrapped: 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":"Tests/RunestoneTests/LargeFileCorrectnessTests.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a75568d0ea8b87193811c6e29155690309dbb3d2ea1d5e59db8b0b7b60f0d5e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testShortLinesWrapped: 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":"Tests/RunestoneTests/LargeFileTraversalTests.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40788d905713424dd27e6bb0fb9a96cdaa7e0928a5db12c5fdd12950a3b322a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testShortLinesUnwrapped: 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":"Tests/RunestoneTests/LargeFileTraversalTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c0efa2b2926b4126d37374f8d2c320050097c90746b0dafaf141ad5bbba131"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLongLinesWrapped: 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":"Tests/RunestoneTests/LargeFileTraversalTests.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcddad53994bb281e08be4538ba9d6165e276774daece0dcf08be953c2ceea2c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLongLinesUnwrapped: 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":"Tests/RunestoneTests/LargeFileTraversalTests.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd31ae93e2a477336ed2f5535cc373a042e37ceea2f1ec85cc57a01b7249c48"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnicodeLineByteRangesSurviveSplitJoinAndDeletion: 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":"Tests/RunestoneTests/LineManagerTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab7c75d67321b4434450eb0867611bbc100d1724b6981456e3c951968a4189c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRangeAcrossWrappedLineBoundaryRevealsBothEndpoints: 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":"Tests/RunestoneTests/ViewportNavigationTests.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0cd90e23b2be7aad2655d682bf43775d4a00865d126ea3dd74b7aa38bd572f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testChangingWrappingNearDocumentEndCanRevealDestinationAndScrollUp: 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":"Tests/RunestoneTests/ViewportNavigationTests.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"01023c57b93d4c4be8e02cd560e842ec0227bd67697b051ce94579286c549518"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDelegateMakingEditorReadOnlyDuringApprovalRejectsSuggestion: 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":"Tests/RunestoneTests/WritingToolsInteractionTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b87f9016613d71b014b8d4fb1b6f654220e3270983c1fe5f4e5718a3ae9a086"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDelegateStoppingWritingToolsDuringApprovalRejectsSuggestion: 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":"Tests/RunestoneTests/WritingToolsInteractionTests.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b192c435611f8be97fba9d333381f85f8b3cfb18228b8fed1563edfecb266407"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSessionEndDocumentReplacementCancelsPendingBatchReplace: 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":"Tests/RunestoneTests/WritingToolsInteractionTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8df3f9000e33853cc658fe3fadb6aab8866230023be31bd433c4ae465865bd9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSessionEndDocumentReplacementCancelsPendingMoveLines: 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":"Tests/RunestoneTests/WritingToolsInteractionTests.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f72c937827afdfa88cf613f14bb93e79aa3e19ec1c8f26ac124cec392ae6dcf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Runestone/TextView/Core/TextInputView.swift: Sources/Runestone/TextView/Core/TextInputView.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in TextInputView.replaceTextFromSystem at line 1594. 1 of those changes was a fix/bug commit, and the other 14 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-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 13:17:22 \u002B01:00\u0027 --until=\u00272026-10-28 13:17:22 \u002B01:00\u0027 --full-history --no-merges -- Sources/Runestone/TextView/Core/TextInputView.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":"Sources/Runestone/TextView/Core/TextInputView.swift"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"638c770e54d2d37f102b7bb387bbb0257f59698615d53c26af53845c4aa34101"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Runestone/TextView/Core/LayoutManager.swift: Sources/Runestone/TextView/Core/LayoutManager.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in LayoutManager.layoutLinesInViewport at line 576. 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-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 13:17:22 \u002B01:00\u0027 --until=\u00272026-10-28 13:17:22 \u002B01:00\u0027 --full-history --no-merges -- Sources/Runestone/TextView/Core/LayoutManager.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":"Sources/Runestone/TextView/Core/LayoutManager.swift"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ffc01800e6d99931d9f3e66bcf1d2954a48f9ee3e4a697e9d9bc8f2199c152"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Example/Example/Main/MainViewController.swift: Example/Example/Main/MainViewController.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in MainViewController.handleSelection at line 220. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 13:17:22 \u002B01:00\u0027 --until=\u00272026-10-28 13:17:22 \u002B01:00\u0027 --full-history --no-merges -- Example/Example/Main/MainViewController.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":"Example/Example/Main/MainViewController.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82824c5cb23800e4710f3233d05a8739b9ab6b04a79a0dfb58392372c1b681a"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (15857 LoC, 269 module-visible types across 27 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6ea792a42fa1104e36703ffd7f19421250b1b761f22c9f059bb7e62c49bd812"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e2407dd21820713d91ce99a051dc62631da99e9b9b3673c25e160cfad564d5db"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e885a039a97b144501d0e0077fddfe73dcac9ac5ca8fb17e15ae90172e926aa0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"599d73fe7e4d09d62d43a1058952839430814ba13bc685986b55d39c7a13ba04"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81cc2d13fd37381459b16314f305bcc25c9de78c48f463aeb0f77a39aec79a91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4472081fae9f98ed569067f87528efd425040bff20d31a812492c7b1a91fa264"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ddc49ef52c93f5d89390c80bf8f0444bb97743496eeea781d1b7fcf904a3ea48"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dbd43b7a501001f852fba57d72da046d5396945cc460246436ceb05fc9c33f25"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"565cb0a25235d1502010c8d34a025c6ae5aeb826c7d5e305b97bb45399050c67"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fdd80ff4efa055538dc59aafc5e380459b7d05030fbc7ee936f19fa678b3e896"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51a8b0f78f207c2b8adffd26f57a7593a58504159e65f79e5fbaf6b4e6858c28"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd2ce202bfdc7208d07b152c3c0dd49ae1eb13f8fae2b28f8bad7c36569229dd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33cd38477e633ee950ce8450dd8ebe698240b69c160afc59acd87a2f0c36cab9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"019dbe79dad6d1ba253faaf68f0cb68a2df040410b955c8659edf5d2dffdee03"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"651bd289d5d1a8da5bcd79fdf43313245d5daec53ec4bc59c162186af0a007c8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26ab1362a50278f9b52762d641655e66ca09ece4f0501b4d61030f38bc3ef9aa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a8eef279d2f4be5f8ad771f6dc15d6f638dd57eb9ee2c30fa876ab4566b8eb16"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"011d7c8858c7d3b247554555fef2f4985990bc18dcf9bc7db03722a00d2107ba"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3b8c09b231f482a016a064a2fe585ed9718f16d869b3a8ff593fa4d0e553cd8"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c0f8e90e0698ae321bd36415660092861afaacdde75b02533b8beb2641f2d855"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be4b13c2e63470f8326c5ea8222668a6a653b6bf0e3f46a062dda84754b39a08"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fbe9444e2eb2992a607ea8e38cad3933a800aac5f67367f10dc703d397d7f89c"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a6c7ccb1fd55f7c5aef6cb4eb520067b828b6d95dfef59fef26267e8028b6f6"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c25341ddc880fec18c9a41ac8ad680664bdab9f95665ea1bb3ef0a2db8d895c"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060compiler(\u003E=6.0.3) \u0026\u0026 (!os(visionOS) || compiler(\u003E=6.1))\u0060 appears character-identically in 3 files \u2014 Sources/Runestone/TextView/Core/TextInputView.swift, Sources/Runestone/TextView/Core/TextView.swift, Sources/Runestone/TextView/WritingTools/WritingToolsInteraction.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Runestone/TextView/Core/TextInputView.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd816c603e87b765abf1ca597e6b1a1c94edf744ba61671f8ec2d72d179bfcc2"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":30,"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."]}]}