{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"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":"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":"HtmlTreeBuilderState.process (cyclomatic 607): HtmlTreeBuilderState.process has cyclomatic complexity 607 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (HtmlTreeBuilderState.process::anyOtherEndTag, HtmlTreeBuilderState.process::anyOtherEndTagFast, HtmlTreeBuilderState.process::handleTagIdStart) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef14fcfb70662114be8f46e3c955a075960b2612739573e3cbf66b60d070c2e"}},{"ruleId":"D1","level":"warning","message":{"text":"TokeniserState.read (cyclomatic 411): TokeniserState.read has cyclomatic complexity 411 (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/TokeniserState.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0cc6d5708c500a3adb58294167184f88d09494cac57b898de9c423c04ea6f1"}},{"ruleId":"D1","level":"warning","message":{"text":"CssSelector.fastSimpleQueryPlan (cyclomatic 135): CssSelector.fastSimpleQueryPlan has cyclomatic complexity 135 (threshold 15). Of this number, 109 points are the body\u0027s own statements and 26 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CssSelector.swift"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e54a0c2cce594246773d600d30f34f7c899cf9e18f8fb10e6cc490057335a03"}},{"ruleId":"D1","level":"warning","message":{"text":"Entities.escape (cyclomatic 119): Entities.escape has cyclomatic complexity 119 (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/Entities.swift"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac58539566f2b2fa3c79a7f025772f1840cc7c47ebde0a16188206d296177d7"}},{"ruleId":"D1","level":"warning","message":{"text":"Entities.escape (cyclomatic 118): Entities.escape has cyclomatic complexity 118 (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/Entities.swift"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f9a23ac2f9e6a7728595ba00b59310acfd2f728d16a973aa2bdbb07f692a8d"}},{"ruleId":"D1","level":"warning","message":{"text":"Tokeniser.consumeCharacterReference (cyclomatic 106): Tokeniser.consumeCharacterReference has cyclomatic complexity 106 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Tokeniser.consumeCharacterReference::fastNamedEntity) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"58314820f52f6954a0216e4f5db46a2e4dc49260c535c2173d2ac37627900832"}},{"ruleId":"D1","level":"warning","message":{"text":"Entities.escape (cyclomatic 98): Entities.escape has cyclomatic complexity 98 (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/Entities.swift"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba683e3b5cf09c3448a3a8888100ec7bdcda4044cc74c01b15d8e6b10a52b51e"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlTreeBuilder.insert (cyclomatic 65): HtmlTreeBuilder.insert has cyclomatic complexity 65 (threshold 15). Of this number, 63 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe96c2492a908ef942059d69361c7de3161a92036d477b2e6c1e3eab87730097"}},{"ruleId":"D1","level":"warning","message":{"text":"StringUtil.appendNormalisedWhitespaceBytes (cyclomatic 64): StringUtil.appendNormalisedWhitespaceBytes has cyclomatic complexity 64 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c1149f84e3df05559f03a2686d1b23fc357bc154db4e30b8c1904117a6d6e8"}},{"ruleId":"D1","level":"warning","message":{"text":"FastQueryPlan.apply (cyclomatic 63): FastQueryPlan.apply has cyclomatic complexity 63 (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/CssSelector.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"029df8e1183cbb66ad4736b3ed383814fc7b81344e17578713197cf4d44b12f5"}},{"ruleId":"D1","level":"warning","message":{"text":"StringUtil.appendNormalisedWhitespace (cyclomatic 63): StringUtil.appendNormalisedWhitespace has cyclomatic complexity 63 (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/StringUtil.swift"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e361dac28a403da3f5c074371b3c1235bf8dd87b72355555572b62b9f597c3e"}},{"ruleId":"D1","level":"warning","message":{"text":"Tokeniser.consumeBasicNamedEntityIfPresent (cyclomatic 51): Tokeniser.consumeBasicNamedEntityIfPresent has cyclomatic complexity 51 (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/Tokeniser.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0277bac3927db2ef15f6a21b70e20a5f9a2cbe90c31598184af421137014fc10"}},{"ruleId":"D1","level":"warning","message":{"text":"CharacterReader.consumeToAnyOfFourSlice (cyclomatic 49): CharacterReader.consumeToAnyOfFourSlice has cyclomatic complexity 49 (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/CharacterReader.swift"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf76e1a994ab1e872b57ddde4bea4f2317268cf37110a6ae53b9568e2836157"}},{"ruleId":"D1","level":"warning","message":{"text":"Evaluator.supportsIndexedCandidateFiltering (cyclomatic 44): Evaluator.supportsIndexedCandidateFiltering has cyclomatic complexity 44 (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/Evaluator.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8a217be38ba55e8ed327568b2529d416ee3481b197214d5e9665a4c9646cf2"}},{"ruleId":"D1","level":"warning","message":{"text":"StringUtil.appendNormalisedWhitespace (cyclomatic 44): StringUtil.appendNormalisedWhitespace has cyclomatic complexity 44 (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/StringUtil.swift"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"d011584fdbb3d69c97b05378d451b9cabdcb82816c783b7d4ee6b5fd13903006"}},{"ruleId":"D1","level":"warning","message":{"text":"TokeniserState.readTagNameFromTagOpen (cyclomatic 42): TokeniserState.readTagNameFromTagOpen has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fc22d5d04838fa5bfe74c16d456cdcb671af53349adc87b10356af9c4fac62"}},{"ruleId":"D1","level":"warning","message":{"text":"CharacterReader.consumeToAnyOfThreeSlice (cyclomatic 37): CharacterReader.consumeToAnyOfThreeSlice has cyclomatic complexity 37 (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/CharacterReader.swift"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9dc8918545349fa8b515b6eb6619b006e4cc8cc9a8821375c530c32bfb2a52"}},{"ruleId":"D1","level":"warning","message":{"text":"CharacterReader.consumeDataSlice (cyclomatic 36): CharacterReader.consumeDataSlice has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a869e010c90114a4b3d7a3ecd9e7951e0d23c455e1a93cdee2737dc9309a71"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlTreeBuilderState.process::anyOtherEndTag (cyclomatic 31): HtmlTreeBuilderState.process::anyOtherEndTag has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (HtmlTreeBuilderState.process, HtmlTreeBuilderState.process::anyOtherEndTagFast, HtmlTreeBuilderState.process::handleTagIdStart) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"be35d839532d1708f4adb21857a64dcc6a6c1b3440bcf1badf5108bea090e2c8"}},{"ruleId":"D1","level":"warning","message":{"text":"Element.rebuildQueryIndexesCombined (cyclomatic 29): Element.rebuildQueryIndexesCombined has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":3151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65b302258d632cd20f035976f244a9b69d156222608b315ccc54d2d7486c7ac"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlTreeBuilderState.process::handleTagIdStart (cyclomatic 28): HtmlTreeBuilderState.process::handleTagIdStart has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (HtmlTreeBuilderState.process, HtmlTreeBuilderState.process::anyOtherEndTag, HtmlTreeBuilderState.process::anyOtherEndTagFast) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b666df13d6728028a903f4c56d21cb6f7c566cff1dad73ec6aa2c95814e735e"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryParser.findElements (cyclomatic 28): QueryParser.findElements has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QueryParser.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b076b198989f67c9a05795842e530059982f45a8b46903838f3ec33878a6ae"}},{"ruleId":"D1","level":"warning","message":{"text":"CharacterReader.consumeToAnyOfTwoSlice (cyclomatic 27): CharacterReader.consumeToAnyOfTwoSlice has cyclomatic complexity 27 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa27e99b18bd85e293c46e0d0be11bdf7e10bd7a9e6d59afa06dbb52e4a72940"}},{"ruleId":"D1","level":"warning","message":{"text":"Element.hasClass (cyclomatic 27): Element.hasClass has cyclomatic complexity 27 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a86bddee81cb8eb4c00103bd90f5cd31b0e5ce58a9eace8a61415507195c6e"}},{"ruleId":"D1","level":"warning","message":{"text":"TextNode.outerHtmlHead (cyclomatic 25): TextNode.outerHtmlHead has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TextNode.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a508e24969834949f9ca3ef609367f61b58da351e2767fc5f873a8eccc9810"}},{"ruleId":"D1","level":"warning","message":{"text":"Collector.collect (cyclomatic 24): Collector.collect has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Collector.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"08489aec70ce6b9b09ff3e65d58b54919b8b87cfb8f061a161d53ffa5e133d90"}},{"ruleId":"D1","level":"warning","message":{"text":"CharacterReader.consumeLetterThenDigitSequenceSlice (cyclomatic 23): CharacterReader.consumeLetterThenDigitSequenceSlice has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f90dcfe36a2715c6c258c1f488f4720b750971c4b21b75340fe5e33efe40f02"}},{"ruleId":"D1","level":"warning","message":{"text":"CharacterReader.matches (cyclomatic 23): CharacterReader.matches has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"3226b48b598373678acca4778e7ad007898d4f608997fbbd7300d6112868fa28"}},{"ruleId":"D1","level":"warning","message":{"text":"Collector.seedCandidates (cyclomatic 23): Collector.seedCandidates has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Collector.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2a13628e79c9af40849590d898a3da1022c12c06d61412807a33e933df52aa"}},{"ruleId":"D1","level":"warning","message":{"text":"TokeniserState.consumeAttributesFast (cyclomatic 23): TokeniserState.consumeAttributesFast has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":2545}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb564a5b531589315bd3dbd5e80969c72b793a16730640879243b3da2a4b758"}},{"ruleId":"D1","level":"warning","message":{"text":"Entities.escapeFastAscii (cyclomatic 22): Entities.escapeFastAscii has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"c923f58e98458afaf547ba8a496f85055816dcaac6af2a0134df8d4ca897f92d"}},{"ruleId":"D1","level":"warning","message":{"text":"CharacterReader.containsAsciiTransformed (cyclomatic 21): CharacterReader.containsAsciiTransformed has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9067143eec0c976e4f1b01ced77b4e85a35ca7e6c96aa5cfdba603a0496165"}},{"ruleId":"D1","level":"warning","message":{"text":"Document.sourcePatches (cyclomatic 20): Document.sourcePatches has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to one function item inside it that branches (collect). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Document.swift"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"b413d77f1fcec73866f2a5dc5dfcabf293e179188a30d3ddc5bee50395966252"}},{"ruleId":"D1","level":"warning","message":{"text":"Tokeniser.read (cyclomatic 20): Tokeniser.read has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"91433b4079a6e8b5d1c26c8452ead764dc6110e6e292782d94735f671feaafd3"}},{"ruleId":"D1","level":"warning","message":{"text":"CharacterReader.consumeHexSequenceSlice (cyclomatic 19): CharacterReader.consumeHexSequenceSlice 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/CharacterReader.swift"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ade79264d7483ac8064e31d2b5d42675cdadc9b21da8c7ad046c66aad25e80"}},{"ruleId":"D1","level":"warning","message":{"text":"CharacterReader.containsAsciiTransformed (cyclomatic 19): CharacterReader.containsAsciiTransformed has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b03bdc8233427dc56fc1d4ff28b58f8f0599e6d393e8cd9dd9c59bdf275ee7"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlTreeBuilder.process (cyclomatic 19): HtmlTreeBuilder.process has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4f25c06ffefdc49b5269568d4a4c6cb13afc583d8d9fdb1f6cbffd13dd7ed3"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlTreeBuilder.resetInsertionMode (cyclomatic 19): HtmlTreeBuilder.resetInsertionMode has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a7c3a1e18efd135f0fdd28fe126f01da9d98728aa66c4eaed680f11762807b"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenQueue.consumeCssSelectorList (cyclomatic 19): TokenQueue.consumeCssSelectorList has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokenQueue.swift"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"283f64fd40a035546b0086a24a299a0a612c12a2e638c272d22ce63ee9282b91"}},{"ruleId":"D1","level":"warning","message":{"text":"Attributes.ensureMaterialized (cyclomatic 18): Attributes.ensureMaterialized has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5516eb09efbfedb19434109a555d51134058337167b638fdc423ff9ff6d142"}},{"ruleId":"D1","level":"warning","message":{"text":"CharacterReader.nextIndexOf (cyclomatic 18): CharacterReader.nextIndexOf has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df66873ada9771dc77a8f9c8f8b7c2e3a665febcb1fcf8a2272f837575418d5"}},{"ruleId":"D1","level":"warning","message":{"text":"CssSelector.splitDescendantTokens (cyclomatic 18): CssSelector.splitDescendantTokens has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CssSelector.swift"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1645116c619e2894ba4d0731211371626a664bf76f423e9b7720fc6509427f"}},{"ruleId":"D1","level":"warning","message":{"text":"Element.getElementsByAttributeValue (cyclomatic 18): Element.getElementsByAttributeValue has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1598}}}],"partialFingerprints":{"codehealthFindingId/v1":"905ac2105befa418dec3b29542df595ac29d791a2170f8e5af05fa0a46102e55"}},{"ruleId":"D1","level":"warning","message":{"text":"CharacterReader.consumeToAnyOfOneSlice (cyclomatic 17): CharacterReader.consumeToAnyOfOneSlice has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a23a78cceeaba642e0fddc226e9116f0788da4abd9b74b7c9d5b49aa5d73a3a"}},{"ruleId":"D1","level":"warning","message":{"text":"CssSelector.select (cyclomatic 17): CssSelector.select has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CssSelector.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46cb0e2c3a9f0d691a08221eef69b80224c4d2cbadcc2ccb2ce7a4a753f2c6d"}},{"ruleId":"D1","level":"warning","message":{"text":"Tokeniser.consumeCharacterReference::fastNamedEntity (cyclomatic 17): Tokeniser.consumeCharacterReference::fastNamedEntity has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Tokeniser.consumeCharacterReference) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"2965db94f40c3bceb4dc5ee335610a71852d2399f0ef606c2ff63fbb438e056e"}},{"ruleId":"D1","level":"warning","message":{"text":"Attributes.getIgnoreCaseSlice (cyclomatic 16): Attributes.getIgnoreCaseSlice has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"698b23d2a6c53a3d0c5769f8a955b0ff2009dc5a0b7ba349382c68f719c2e70b"}},{"ruleId":"D1","level":"warning","message":{"text":"Attributes.compactAndMutate (cyclomatic 16): Attributes.compactAndMutate has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"61de5474f69622747680cb2d02270f28c11303602b7a7adfc869040be1bd45b5"}},{"ruleId":"D1","level":"warning","message":{"text":"Attributes.hasKeyIgnoreCase (cyclomatic 16): Attributes.hasKeyIgnoreCase has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"532f5ec47469f51a19f4a2d0511f267203d846e2dec95d710c1df9b950dfae69"}},{"ruleId":"D1","level":"warning","message":{"text":"Attributes.appendPendingHtml (cyclomatic 16): Attributes.appendPendingHtml has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e12514e57d0adb5ce294950bf5dbdff40fe2702b8536322a68495f1c960ed3"}},{"ruleId":"D1","level":"warning","message":{"text":"DocumentType.outerHtmlHead (cyclomatic 16): DocumentType.outerHtmlHead has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/DocumentType.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e594861fd49da658af60a862269af0ffd09f7c9d20f50cde2a509e52b6bbfde"}},{"ruleId":"D1","level":"warning","message":{"text":"Element.cssEscapeIdentifier (cyclomatic 16): Element.cssEscapeIdentifier has cyclomatic complexity 16 (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/Element.swift"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d5cdbc4f733b7939ca9f2f9c6eb5178cb4256cdeb27570d48b6ea8ed29e75d"}},{"ruleId":"D1","level":"warning","message":{"text":"RemovalPreflight.groups (cyclomatic 16): RemovalPreflight.groups has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Elements.swift"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d9531b245bf61936271e6d282095efd7ac36fe116acba4fcf106759602a65d"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlTreeBuilderState.process::anyOtherEndTagFast (cyclomatic 16): HtmlTreeBuilderState.process::anyOtherEndTagFast has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (HtmlTreeBuilderState.process, HtmlTreeBuilderState.process::anyOtherEndTag, HtmlTreeBuilderState.process::handleTagIdStart) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"01510ddfa3fd725d59f207c6b6e5f2d439a4da0e87e7513d402d160b5a30dde1"}},{"ruleId":"D1","level":"warning","message":{"text":"StringUtil.appendNormalisedWhitespace (cyclomatic 16): StringUtil.appendNormalisedWhitespace has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ccfe24a0cd8bc343e8981bb0104f6393df1f740f4dc20d7ddbbec52ee6860d"}},{"ruleId":"D1","level":"warning","message":{"text":"Tag.newAttribute (cyclomatic 16): Tag.newAttribute has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Token.swift"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"354a04bdd7b3da55dad8a34898331b873bc5c4e6bfe060ecce72f4769afc0cac"}},{"ruleId":"D1","level":"warning","message":{"text":"Tag.appendAttributeName (cyclomatic 16): Tag.appendAttributeName has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Token.swift"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2edcca92751c0cc147e5fe9d5b78e3a1b3a349291754bdc053fe49ee3697801"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenQueue.chompBalanced (cyclomatic 16): TokenQueue.chompBalanced has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokenQueue.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dba86161ca250117c7de5a044ef4997746c28fc8f1b43cd5ee674b91353e8f0"}},{"ruleId":"D1","level":"warning","message":{"text":"TokeniserState.handleDataEndTag (cyclomatic 16): TokeniserState.handleDataEndTag has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":2194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63eafac8f9c48bf5808f0469f97e5b1bf676f62efecd89a697d23b5cf5aab21"}},{"ruleId":"D1","level":"warning","message":{"text":"TokeniserState.consumeAttributeNameAndValueFast (cyclomatic 16): TokeniserState.consumeAttributeNameAndValueFast has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":2632}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2926db6f9bcb9165ed991963c0c7654cc0cf14012ea5942ae5e9cca50409f04"}},{"ruleId":"D1","level":"warning","message":{"text":"Whitelist.stripCSSComments (cyclomatic 16): Whitelist.stripCSSComments has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Whitelist.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c4dc47e272569b5e88a6260a4bcca7cdaa05653edcb88d8a212882bd9da834"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilderState.process (cognitive 1553): HtmlTreeBuilderState.process has cognitive complexity 1553 (threshold 15). Drivers by points: if/else 560 (1596 pts), boolean chains 115, match/switch 25 (80 pts), loops 16 (66 pts) (nesting depth added 1141). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: 4 other methods here (HtmlTreeBuilderState.process::anyOtherEndTag, HtmlTreeBuilderState.process::anyOtherEndTagFast, HtmlTreeBuilderState.process::handleLiStart, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Sources/HtmlTreeBuilderState.swift holds 5 of the 119 methods over the threshold \u2014 including the worst \u2014 and 1619 of the 4950 points over it (33%), 2.2\u00D7 the next-largest file (Sources/TokeniserState.swift at 733). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af58a9d378c2d5b7e25d29c3648c24b9bc7fcd46eb6ed490e197ac08d2f09f6"}},{"ruleId":"D2","level":"warning","message":{"text":"TokeniserState.read (cognitive 627): TokeniserState.read has cognitive complexity 627 (threshold 15). Drivers by points: if/else 262 (471 pts), match/switch 50 (127 pts), boolean chains 29 (nesting depth added 286). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6010b06c445f300fb5a994dbaced681f4f80ad33c1d1a6dacdb49428fbed15"}},{"ruleId":"D2","level":"warning","message":{"text":"CssSelector.fastSimpleQueryPlan (cognitive 237): CssSelector.fastSimpleQueryPlan has cognitive complexity 237 (threshold 15). Drivers by points: if/else 74 (167 pts), ternaries 16 (49 pts), boolean chains 36, loops 9 (17 pts), match/switch 3 (8 pts) (nesting depth added 139). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (CssSelector.fastSimpleQueryPlan::asciiClassPartsLowercased) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CssSelector.swift"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cb7e70edbdc36303883a90e2c3c1a0616f4f86f755bd09bf249f2f9ae0484f"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokeniser.consumeCharacterReference (cognitive 237): Tokeniser.consumeCharacterReference has cognitive complexity 237 (threshold 15). Drivers by points: if/else 73 (202 pts), boolean chains 45, loops 5 (13 pts), ternaries 2 (4 pts), match/switch 1 (3 pts) (nesting depth added 141). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (Tokeniser.consumeCharacterReference::fastNamedEntity) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a48539ed5106df44ef1567f62e7de926d1e5a616b5d0c8941f1934560391049"}},{"ruleId":"D2","level":"warning","message":{"text":"Entities.escape (cognitive 208): Entities.escape has cognitive complexity 208 (threshold 15). Drivers by points: if/else 55 (127 pts), boolean chains 61, loops 4 (10 pts), ternaries 2 (7 pts), match/switch 1 (3 pts) (nesting depth added 85). To reduce it, split the body into named stages: move each independent step or branch into 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/Entities.swift"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d02128b7fc1d2497248071268d59402465d0823f1ab0f728ed28e26e3088ca"}},{"ruleId":"D2","level":"warning","message":{"text":"Entities.escape (cognitive 207): Entities.escape has cognitive complexity 207 (threshold 15). Drivers by points: if/else 55 (127 pts), boolean chains 60, loops 4 (10 pts), ternaries 2 (7 pts), match/switch 1 (3 pts) (nesting depth added 85). To reduce it, split the body into named stages: move each independent step or branch into 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/Entities.swift"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ecc8312cac47a36b926e969a1c6d43a12bb9290369ca05265dbd1d6edd9a56b"}},{"ruleId":"D2","level":"warning","message":{"text":"Entities.escape (cognitive 177): Entities.escape has cognitive complexity 177 (threshold 15). Drivers by points: if/else 49 (112 pts), boolean chains 47, loops 3 (8 pts), ternaries 2 (7 pts), match/switch 1 (3 pts) (nesting depth added 75). To reduce it, split the body into named stages: move each independent step or branch into 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/Entities.swift"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de2f8c2120f05ea560c24e59ef2d326fab9a2c899b19f65ab3802ad4a12a95a"}},{"ruleId":"D2","level":"warning","message":{"text":"FastQueryPlan.apply (cognitive 145): FastQueryPlan.apply has cognitive complexity 145 (threshold 15). Drivers by points: if/else 27 (82 pts), loops 19 (60 pts), boolean chains 2, match/switch 1 (nesting depth added 96). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CssSelector.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"329884bc7c3b95adcf2c5ad31175a93e1a0d1b53b7f50c65206efaa2f251a400"}},{"ruleId":"D2","level":"warning","message":{"text":"StringUtil.appendNormalisedWhitespace (cognitive 131): StringUtil.appendNormalisedWhitespace has cognitive complexity 131 (threshold 15). Drivers by points: if/else 37 (98 pts), boolean chains 22, loops 5 (11 pts) (nesting depth added 67). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe93ea7975c779cf6f1ab96ee7564fee3bbebb0afea0fbce38b29b259d37a6d4"}},{"ruleId":"D2","level":"warning","message":{"text":"StringUtil.appendNormalisedWhitespaceBytes (cognitive 112): StringUtil.appendNormalisedWhitespaceBytes has cognitive complexity 112 (threshold 15). Drivers by points: if/else 33 (72 pts), boolean chains 24, loops 6 (10 pts), ternaries 2 (6 pts) (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into 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/StringUtil.swift"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6273ea640884e01f71501204b65bafee48f90fb2e282d5d3d0ba3ac79d9a489"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilder.insert (cognitive 99): HtmlTreeBuilder.insert has cognitive complexity 99 (threshold 15). Drivers by points: if/else 34 (61 pts), boolean chains 38 (nesting depth added 27). Of this number, 97 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cf5a06d2e1c6e3c1cd8c27a664eb6bae56bea71cc463317d583b86a56abdaf"}},{"ruleId":"D2","level":"warning","message":{"text":"StringUtil.appendNormalisedWhitespace (cognitive 85): StringUtil.appendNormalisedWhitespace has cognitive complexity 85 (threshold 15). Drivers by points: if/else 23 (59 pts), boolean chains 17, loops 4 (9 pts) (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into 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/StringUtil.swift"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd3b4eee6a3778c183da4833a40c0cc26fe18dc0a9581797017f35f05e917d2"}},{"ruleId":"D2","level":"warning","message":{"text":"CharacterReader.consumeToAnyOfFourSlice (cognitive 82): CharacterReader.consumeToAnyOfFourSlice has cognitive complexity 82 (threshold 15). Drivers by points: if/else 21 (49 pts), boolean chains 20, loops 4 (7 pts), ternaries 3 (6 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77fe41f7978322546c03c4778cba4958951f30d5bab0ae17d740283f20ed67e"}},{"ruleId":"D2","level":"warning","message":{"text":"TokeniserState.readTagNameFromTagOpen (cognitive 77): TokeniserState.readTagNameFromTagOpen has cognitive complexity 77 (threshold 15). Drivers by points: if/else 24 (54 pts), boolean chains 11, loops 3 (8 pts), match/switch 2 (4 pts) (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd4f77d54a907fe794cad577c0638e845d7080cbd69bbea4d78779eba2f7683"}},{"ruleId":"D2","level":"warning","message":{"text":"CharacterReader.consumeToAnyOfThreeSlice (cognitive 64): CharacterReader.consumeToAnyOfThreeSlice has cognitive complexity 64 (threshold 15). Drivers by points: if/else 18 (41 pts), boolean chains 12, loops 4 (7 pts), ternaries 2 (4 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d148f1ef58cb513639d65a81c36921875df1c165eb3752484b9e72667957414e"}},{"ruleId":"D2","level":"warning","message":{"text":"CharacterReader.consumeDataSlice (cognitive 58): CharacterReader.consumeDataSlice has cognitive complexity 58 (threshold 15). Drivers by points: if/else 18 (38 pts), boolean chains 12, loops 5 (8 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b0bfa152391513b7e6966cea45727ea1ea36b07d183d9b1a05f32b9c131587"}},{"ruleId":"D2","level":"warning","message":{"text":"CharacterReader.consumeToAnyOfTwoSlice (cognitive 55): CharacterReader.consumeToAnyOfTwoSlice has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (37 pts), loops 4 (10 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 29). Of this number, 41 points are the body\u0027s own statements and 14 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d81ed7ed858d31eb738b336cdbccd0702a8113bc0e007c9ef0f5bce831f304"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilderState.process::anyOtherEndTag (cognitive 54): HtmlTreeBuilderState.process::anyOtherEndTag has cognitive complexity 54 (threshold 15). Drivers by points: if/else 19 (41 pts), boolean chains 10, loops 2 (3 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 4 other methods here (HtmlTreeBuilderState.process, HtmlTreeBuilderState.process::anyOtherEndTagFast, HtmlTreeBuilderState.process::handleLiStart, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Sources/HtmlTreeBuilderState.swift holds 5 of the 119 methods over the threshold \u2014 including the worst \u2014 and 1619 of the 4950 points over it (33%), 2.2\u00D7 the next-largest file (Sources/TokeniserState.swift at 733). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade31d1efd78d4c9f7376d5436bcd986027d2d0367a23a70ff43ee7e06dcde26"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokeniser.consumeBasicNamedEntityIfPresent (cognitive 53): Tokeniser.consumeBasicNamedEntityIfPresent has cognitive complexity 53 (threshold 15). Drivers by points: boolean chains 32, if/else 11 (20 pts), match/switch 1 (nesting depth added 9). 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/Tokeniser.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3392cc7c08add2c8148af82e7d12dc1d53f668ff33e855eb6d2840f80ee8ae15"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokeniser.read (cognitive 53): Tokeniser.read has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (34 pts), loops 5 (17 pts), boolean chains 2 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d968e0d2ce2669896fe29438ebbb5bd3a7c100e40ae0fa170da4d2ea4c38d4bc"}},{"ruleId":"D2","level":"warning","message":{"text":"TextNode.outerHtmlHead (cognitive 47): TextNode.outerHtmlHead has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 10, loops 1 (4 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TextNode.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"70408b35204c676e3d01e62090ccd1e2ca0ab1ecf537f4741d07a221697a01e2"}},{"ruleId":"D2","level":"warning","message":{"text":"TokeniserState.consumeAttributesFast (cognitive 47): TokeniserState.consumeAttributesFast has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (39 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":2545}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df4531dec1852b854e86f1a3d1b2c5745d9c56fc605091fe512bc12c140145e"}},{"ruleId":"D2","level":"warning","message":{"text":"CharacterReader.containsAsciiTransformed (cognitive 46): CharacterReader.containsAsciiTransformed has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 6 (19 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"b921e78dc385aa9f96b03e02a10ff3813c0dba138d189653efa420d129a05f18"}},{"ruleId":"D2","level":"warning","message":{"text":"Collector.collect (cognitive 45): Collector.collect has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 6 (13 pts), boolean chains 6 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Collector.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4b8bb1750cf6315d01212f4e29eac4929ca2adbbde095075f958321657c812"}},{"ruleId":"D2","level":"warning","message":{"text":"Entities.escapeFastAscii (cognitive 43): Entities.escapeFastAscii has cognitive complexity 43 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (8 pts), boolean chains 5, ternaries 3 (5 pts), match/switch 1 (3 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"88761348ce96b235732daca2ccd5da7b14693ce7b1991a55e03a608424017e2d"}},{"ruleId":"D2","level":"warning","message":{"text":"Evaluator.supportsIndexedCandidateFiltering (cognitive 43): Evaluator.supportsIndexedCandidateFiltering has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 41, if/else 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/Evaluator.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"266c37dce8e0f52855c037bcc65683eb4cae9616356fd2f55b2c05d1bdc7adbb"}},{"ruleId":"D2","level":"warning","message":{"text":"CharacterReader.containsAsciiTransformed (cognitive 41): CharacterReader.containsAsciiTransformed has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 4 (14 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b4a955f6a946ae30172f14f441119dd856209ddbf5e3b74b6f96afd87ab73b"}},{"ruleId":"D2","level":"warning","message":{"text":"Element.hasClass (cognitive 39): Element.hasClass has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 9, loops 3 (4 pts), ternaries 2 (4 pts) (nesting depth added 13). Of this number, 29 points are the body\u0027s own statements and 10 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad999d497f26dd35fafaf63a832239ac7c24a13f98313cba47a3f3aa6c01aed"}},{"ruleId":"D2","level":"warning","message":{"text":"Element.rebuildQueryIndexesCombined (cognitive 39): Element.rebuildQueryIndexesCombined has cognitive complexity 39 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 7, ternaries 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":3151}}}],"partialFingerprints":{"codehealthFindingId/v1":"703eabe40abdfaf832c6d27a5fdf7b8535cc3b49ddcbae7a7b34b1e6aef7e868"}},{"ruleId":"D2","level":"warning","message":{"text":"CharacterReader.consumeLetterThenDigitSequenceSlice (cognitive 38): CharacterReader.consumeLetterThenDigitSequenceSlice has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 8, loops 4, match/switch 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e67d1af779e808f1232f72740240b4abe8384ca673f6792663a135a58b17ae2"}},{"ruleId":"D2","level":"warning","message":{"text":"CharacterReader.matches (cognitive 38): CharacterReader.matches has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (23 pts), ternaries 2 (6 pts), loops 3 (4 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c4a96632ed2b89701a9bffa1352159948b02b1f399a13c47230c1d5c133af1"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilderState.process::handleTagIdStart (cognitive 38): HtmlTreeBuilderState.process::handleTagIdStart has cognitive complexity 38 (threshold 15). Drivers by points: if/else 24 (35 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 4 other methods here (HtmlTreeBuilderState.process, HtmlTreeBuilderState.process::anyOtherEndTag, HtmlTreeBuilderState.process::anyOtherEndTagFast, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Sources/HtmlTreeBuilderState.swift holds 5 of the 119 methods over the threshold \u2014 including the worst \u2014 and 1619 of the 4950 points over it (33%), 2.2\u00D7 the next-largest file (Sources/TokeniserState.swift at 733). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f68124bdbc20e8330eb1fa5c5aa075cb719166b71ea24d12dc487ce078fde55"}},{"ruleId":"D2","level":"warning","message":{"text":"Collector.seedCandidates (cognitive 35): Collector.seedCandidates has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 7, boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Collector.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b485f1ce9b1c49895fe64d8a6f82eff05c98347e2750b20a1861fb180c42692b"}},{"ruleId":"D2","level":"warning","message":{"text":"Attributes.ensureMaterialized (cognitive 32): Attributes.ensureMaterialized has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (26 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa7a245ca232b8532be8e2e25681afcf8cdad6313e3eba5e25d3e0e95b06758"}},{"ruleId":"D2","level":"warning","message":{"text":"CharacterReader.nextIndexOf (cognitive 32): CharacterReader.nextIndexOf has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"548d633168cd74c10f5b955bfc00739ca8e35362fe4a8eea25bf231f3353d353"}},{"ruleId":"D2","level":"warning","message":{"text":"Tag.appendAttributeName (cognitive 32): Tag.appendAttributeName has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 2 (5 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Token.swift"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffdaec4d5502a49e0a4ca783327680942430077a2d014f88decb8a02a561ae7"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenQueue.consumeCssSelectorList (cognitive 31): TokenQueue.consumeCssSelectorList has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 7, ternaries 2 (6 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokenQueue.swift"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4b6ce16974922dcbbfbd1d892e6f4e557f870c5963a4050c6e450b16d7646d"}},{"ruleId":"D2","level":"warning","message":{"text":"CssSelector.splitDescendantTokens (cognitive 30): CssSelector.splitDescendantTokens has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CssSelector.swift"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb12ef51c99c44c6fca3cc77b0ad7b3e1f39ba9ac67c71cec4b701e79d6455b2"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilderState.process::anyOtherEndTagFast (cognitive 30): HtmlTreeBuilderState.process::anyOtherEndTagFast has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 4, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 4 other methods here (HtmlTreeBuilderState.process, HtmlTreeBuilderState.process::anyOtherEndTag, HtmlTreeBuilderState.process::handleLiStart, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Sources/HtmlTreeBuilderState.swift holds 5 of the 119 methods over the threshold \u2014 including the worst \u2014 and 1619 of the 4950 points over it (33%), 2.2\u00D7 the next-largest file (Sources/TokeniserState.swift at 733). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cea3bd8c2df23475d635b3883b95770750cf3c77fb6b0f37a6ecab98ee0c97"}},{"ruleId":"D2","level":"warning","message":{"text":"Attributes.ensureCanonicalPendingNames (cognitive 29): Attributes.ensureCanonicalPendingNames has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71d49aaef2484ea9da7fee34ac11aa163608283ecf62d27d7236caf0372bc42"}},{"ruleId":"D2","level":"warning","message":{"text":"CharacterReader.consumeToAnyOfOneSlice (cognitive 29): CharacterReader.consumeToAnyOfOneSlice has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 4 (7 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c17ac8adb5bb7976f9242b1cea0f1845e2add27b8aec9e739f3d46884c0e84e"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryParser.findElements (cognitive 28): QueryParser.findElements has cognitive complexity 28 (threshold 15). Drivers by points: if/else 28. 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/QueryParser.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0d0408bc51e79dc759358c43085d3925220fbec045a84e55f4d1ded64e4095"}},{"ruleId":"D2","level":"warning","message":{"text":"StringUtil.appendNormalisedWhitespace (cognitive 28): StringUtil.appendNormalisedWhitespace has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 6, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"417349c73c9d02b8ce3fcd4ada6e0a8aa3509a927dcbf63355fb16a7fab62fbb"}},{"ruleId":"D2","level":"warning","message":{"text":"Has.matches (cognitive 28): Has.matches has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (9 pts), error handling 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StructuralEvaluator.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef13b31e92af8cf9c3a970e0a3a1232fb003a81e1e04d997c74e66af1e063112"}},{"ruleId":"D2","level":"warning","message":{"text":"TokeniserState.consumeQuotedAttributeValueFast (cognitive 28): TokeniserState.consumeQuotedAttributeValueFast has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 2 (5 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":2745}}}],"partialFingerprints":{"codehealthFindingId/v1":"6393a268ff2780ae90a66191ce960b6a5bf2a3f30a03dcbd2b3bf767e2bd5db7"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilder.process (cognitive 27): HtmlTreeBuilder.process has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 8, ternaries 1 (3 pts), 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/HtmlTreeBuilder.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb3c8be5ce74afa83fd5dcaaf0deb3ab6fce4794d4206ee54873ac4486f6625"}},{"ruleId":"D2","level":"warning","message":{"text":"ParsingStrings.init (cognitive 27): ParsingStrings.init has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 5 (7 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ParsingStrings.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f87fd2e91157bf95053aca4feac5d4960333593da8496a98ea58fbc844e3ed6"}},{"ruleId":"D2","level":"warning","message":{"text":"Attributes.compactAndMutate (cognitive 26): Attributes.compactAndMutate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (25 pts), loops 1 (nesting depth added 10). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"93488663d6a56555c0b7f2e7a98ad6ed2449b1b9f17138cdfc830cfa6701416a"}},{"ruleId":"D2","level":"warning","message":{"text":"CssSelector.fastQueryPlan (cognitive 26): CssSelector.fastQueryPlan has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 2 (5 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CssSelector.swift"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd54acad6dcd492c3e8dfcc3b75d1d80933b3c1e1abf73ea6980d9048d042cbf"}},{"ruleId":"D2","level":"warning","message":{"text":"Document.ensureMetaCharsetElement (cognitive 26): Document.ensureMetaCharsetElement has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (26 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Document.swift"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b81f251af56c040424d5d16bd6db498033c8d0291a6061971defa647b03ff24"}},{"ruleId":"D2","level":"warning","message":{"text":"Attributes.removeAll (cognitive 25): Attributes.removeAll has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 3 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e8d6943f5df5ea7e5de7d84616984b895729e94175f8211031e49d09231dc3"}},{"ruleId":"D2","level":"warning","message":{"text":"CssSelector.select (cognitive 25): CssSelector.select has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 6, loops 2 (5 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/CssSelector.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"670f8a9574971a47716238ab2feda7add79892aeea36f4a7502e04c0f5f376b3"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryParser.cssNthChild (cognitive 25): QueryParser.cssNthChild has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (20 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QueryParser.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"6955cafef921fae3f1a716470a7ac01dbc2b0905268bd46743c5770dbfd9555e"}},{"ruleId":"D2","level":"warning","message":{"text":"Whitelist.stripCSSComments (cognitive 25): Whitelist.stripCSSComments has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Whitelist.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"b345d2657b814127898f4f75e88ff4823571c68e7dde38d79f9306d063615ac3"}},{"ruleId":"D2","level":"warning","message":{"text":"Attributes.getIgnoreCaseSlice (cognitive 24): Attributes.getIgnoreCaseSlice has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (19 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b36cc846070cf2f0f2689462344cda4f01f8e82c6313d41d5c922c2f560a770"}},{"ruleId":"D2","level":"warning","message":{"text":"CharacterReader.consumeHexSequenceSlice (cognitive 24): CharacterReader.consumeHexSequenceSlice has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (10 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"1326227dafd50f6acecbb38d12397b2410a5008a80df9907ff21880e3ff0bbda"}},{"ruleId":"D2","level":"warning","message":{"text":"Element.collectTextFast (cognitive 24): Element.collectTextFast has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31a0a590a4984eb5f69d71b56c0b763933759a58b6591645aaa069b0526847d"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilder.inSpecificScope (cognitive 24): HtmlTreeBuilder.inSpecificScope has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 3, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9d05a7d2c8b87b0a0e91055be516dbac76dbfb15a2a37f68040ba69cbab52a"}},{"ruleId":"D2","level":"warning","message":{"text":"StringBuilder.write (cognitive 24): StringBuilder.write has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (StringBuilder.write) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringBuilder.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd49721738e36e964e31bbfddf0dafff34076b28be20993cef6975ab789c41e"}},{"ruleId":"D2","level":"warning","message":{"text":"StringBuilder.write (cognitive 24): StringBuilder.write has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (StringBuilder.write) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringBuilder.swift"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeedd4aa69c5520e301e0ee20aa6a5123792f85082cfb37daa0093a0ff1d23a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Tag.newAttribute (cognitive 24): Tag.newAttribute has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Token.swift"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"0509d0bc41c215f0e3ccf7205cf33b718b5286dcc8e74630497715e8c9daddef"}},{"ruleId":"D2","level":"warning","message":{"text":"String.trimAsciiWhitespaceFast (cognitive 24): String.trimAsciiWhitespaceFast has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/String.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f136d5c866dd330aed62a86b647d59eca2742b20a4e489e864e70b5310f0fad"}},{"ruleId":"D2","level":"warning","message":{"text":"Document.sourcePatches (cognitive 23): Document.sourcePatches has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, if/else 8 (9 pts), loops 2 (4 pts) (nesting depth added 3). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to one function item inside it that branches (collect). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Document.swift"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efb91281f2b90ee224090c51a15a8ee88955a7a91a2aff52a4127c0862a2d4b"}},{"ruleId":"D2","level":"warning","message":{"text":"Element.collectTextFastTrimmed (cognitive 23): Element.collectTextFastTrimmed has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"166f0620e370cecfa9d46e1bdc91df3a50b66a324ddbefa7cfae2f9382345b12"}},{"ruleId":"D2","level":"warning","message":{"text":"TokeniserState.consumeUnquotedAttributeValueFast (cognitive 23): TokeniserState.consumeUnquotedAttributeValueFast has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (20 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":2793}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f070e84493de13f0c7517522714e760e57bebf0ee60f9557e8c85ef9fd0ce0c"}},{"ruleId":"D2","level":"warning","message":{"text":"Attributes.getIgnoreCase (cognitive 22): Attributes.getIgnoreCase has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"a928b6589d7b5af808628ebafd1896f2e4d54de3d181f4534d18b78481b61a71"}},{"ruleId":"D2","level":"warning","message":{"text":"Attributes.hasKeyIgnoreCase (cognitive 22): Attributes.hasKeyIgnoreCase has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2ca8d41a83d9afc2ab31cb2a04a4c782ca16257ec3e1f2d9fefe58c2d1c0dd"}},{"ruleId":"D2","level":"warning","message":{"text":"RemovalPreflight.groups (cognitive 22): RemovalPreflight.groups has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (6 pts), boolean chains 5 (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/Elements.swift"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6aab857ab0e20a2867d7d562c5b245df4797f076d592d200bf9188f7e151d37"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenQueue.chompBalanced (cognitive 22): TokenQueue.chompBalanced has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3, loops 1, ternaries 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/TokenQueue.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1539b048e642091240efc53d5482347db3e8da4fa089a8ac9c7643a2fdfd13"}},{"ruleId":"D2","level":"warning","message":{"text":"CharacterReader.containsAsciiCaseInsensitive (cognitive 21): CharacterReader.containsAsciiCaseInsensitive has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (5 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 11). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc96f06eae9666fee21c34b84272a5a6bc2d445b54f685fe7620d28317488330"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributeStarting.matches (cognitive 21): AttributeStarting.matches has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (5 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Evaluator.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b40cc522140d378869c1a8587db68f8751b899c287f06c12b31aacdacfb8d6"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilder.generateImpliedEndTags (cognitive 21): HtmlTreeBuilder.generateImpliedEndTags has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d976b284990ff9aa24d30d61adaa19cf88d759985d41d6eed1ccadcf4a66e91b"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenQueue.consumeCssIdentifier (cognitive 21): TokenQueue.consumeCssIdentifier has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (8 pts), loops 2 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokenQueue.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"929728445cf307a0076f353803be005890be63e0cddf31d4e18b0625607462aa"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokeniser.consumeCharacterReference::fastNamedEntity (cognitive 21): Tokeniser.consumeCharacterReference::fastNamedEntity has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 7, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Tokeniser.consumeCharacterReference) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"6058f0519a5e2920c650cd488498d734d330dc3bd721bbd0e35819ec7cd71fb1"}},{"ruleId":"D2","level":"warning","message":{"text":"TokeniserState.handleDataEndTag (cognitive 21): TokeniserState.handleDataEndTag has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), match/switch 2 (6 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":2194}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bdb66fabb46ed398907f9f0b5101044796c16b32ef604e96bee1c0f5922be2"}},{"ruleId":"D2","level":"warning","message":{"text":"CharacterReader.consumeLetterSequenceSlice (cognitive 20): CharacterReader.consumeLetterSequenceSlice has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 6, loops 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"f033736ff4ed7d22c78374c066aa082db3b5b6d022c1d83ce7059dc73e1745c0"}},{"ruleId":"D2","level":"warning","message":{"text":"CssSelector.fastSimpleQueryPlan::asciiClassPartsLowercased (cognitive 20): CssSelector.fastSimpleQueryPlan::asciiClassPartsLowercased has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (8 pts), ternaries 1 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CssSelector.fastSimpleQueryPlan) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CssSelector.swift"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"d203859833a3d83346831c30d15eb53d74560025b00b2fbd33390a9c064698a1"}},{"ruleId":"D2","level":"warning","message":{"text":"CssSelector.fastSelectAnd (cognitive 20): CssSelector.fastSelectAnd has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CssSelector.swift"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"df41e96c259e5d0ee936df2c46070f46375c3ce62ed3c6c49d10b8c5a25b6ceb"}},{"ruleId":"D2","level":"warning","message":{"text":"Document.outerHtmlUTF8ReusingSourceOutsideBody (cognitive 20): Document.outerHtmlUTF8ReusingSourceOutsideBody has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 3 (6 pts), match/switch 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Document.swift"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b6ee093f55feb743d948fc5ea699704c3c52a3fbad3b9840c00eb5225d4ac9"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentType.outerHtmlHead (cognitive 20): DocumentType.outerHtmlHead has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 6 (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/DocumentType.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76b56910f018cd106546721212fb1d1b7854801d7f62b616aa0514d2d5b5f2a"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilder.parseFragment (cognitive 20): HtmlTreeBuilder.parseFragment has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c3a5ceef044542e00b12560095901615009c21f14b8e91aac9b92189ad0434"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilder.insertEmpty (cognitive 20): HtmlTreeBuilder.insertEmpty has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"53729f4e59836d885b35866621241142949abef5f4a325e7cd436689c46a4a58"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilder.resetInsertionMode (cognitive 20): HtmlTreeBuilder.resetInsertionMode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 4, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7f985b5dfad764db3d8cb3c2045096380e73bfb5bf73c66bb54e98d62f196c"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilder.inSpecificScope (cognitive 20): HtmlTreeBuilder.inSpecificScope has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into 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/HtmlTreeBuilder.swift"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57b7cc1d1a7d2232d9fe138621e6e068322293aa458e171d8577a1ef807a33a"}},{"ruleId":"D2","level":"warning","message":{"text":"Tag.normalNameSlice (cognitive 20): Tag.normalNameSlice has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 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/Token.swift"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa90a99ea408e60a5a1814d905fcc34906cca392db541f55b421091e59c76080"}},{"ruleId":"D2","level":"warning","message":{"text":"Tag.normalNameEquals (cognitive 20): Tag.normalNameEquals has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Token.swift"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03e9619e5c5f8c910a5ac349d96c50a08ac8618fc2fb00b7bfbb1726ee2a511"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenQueue.trimCssQuery (cognitive 20): TokenQueue.trimCssQuery has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokenQueue.swift"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"07be66bc3b0a48993b88a592533d47daf224770293da42046e81044c8c68e2d2"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenQueue.cssEscape (cognitive 20): TokenQueue.cssEscape has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokenQueue.swift"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb1f97098a794934c170264ec737a2cb313fd8347581df184daf2aa9119a306"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokeniser.emit (cognitive 20): Tokeniser.emit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (20 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"3625ed3323daf32eb0f139bfd76ce47cadb0626b78728fc86fe8fea79d4c9411"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokeniser.handleDataStateDelimiterTracked (cognitive 20): Tokeniser.handleDataStateDelimiterTracked has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 2 (3 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (Tokeniser.handleDataStateDelimiter) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bac6e8fc08242f1d4bcb3c6df69de2b08459434f609d4bef105d149cf703997"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokeniser.handleDataStateDelimiter (cognitive 20): Tokeniser.handleDataStateDelimiter has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 2 (3 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (Tokeniser.handleDataStateDelimiterTracked) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd468ea67cc2c602b24a6daf416233343d680f0f4bac61a2fb0f124acaa2620"}},{"ruleId":"D2","level":"warning","message":{"text":"Collector.collectHas (cognitive 19): Collector.collectHas has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (6 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/Collector.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd32d001fa71e2e7b81c25a9cc7045fa975999d8571dc1797d6c9d201408615"}},{"ruleId":"D2","level":"warning","message":{"text":"Element.firstElementSibling (cognitive 19): Element.firstElementSibling has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 3, loops 1 (3 pts), ternaries 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (Element.lastElementSibling) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab14ac4746e983942466aa7e5e47cbb358223d3a4f5af73e699faaf2fd1b78a"}},{"ruleId":"D2","level":"warning","message":{"text":"Element.elementSiblingIndex (cognitive 19): Element.elementSiblingIndex has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 1 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1304}}}],"partialFingerprints":{"codehealthFindingId/v1":"992e2774f66fbc29ca7dac045137e9305c7d0d02913ad44e3049989994ff9606"}},{"ruleId":"D2","level":"warning","message":{"text":"Element.lastElementSibling (cognitive 19): Element.lastElementSibling has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 3, loops 1 (3 pts), ternaries 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (Element.firstElementSibling) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cabdddbb9684eb5d884c92089d5e7965f4c1355232dfaf2705d877339f60093"}},{"ruleId":"D2","level":"warning","message":{"text":"Element.collectTextFastRaw (cognitive 19): Element.collectTextFastRaw has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"0017f050c0738f966ca161d19b4649d724393a76bd794498edf34c4c407dbbc3"}},{"ruleId":"D2","level":"warning","message":{"text":"IsEmpty.matches (cognitive 19): IsEmpty.matches has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (6 pts), boolean chains 2, 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/Evaluator.swift"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"8411cb2d62d491d661476fba89114cfa091108fe7c35f52a1b12f14f8c1a2562"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilderState.process::handleLiStart (cognitive 19): HtmlTreeBuilderState.process::handleLiStart has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 2, 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. This shape REPEATS in the file: 4 other methods here (HtmlTreeBuilderState.process, HtmlTreeBuilderState.process::anyOtherEndTag, HtmlTreeBuilderState.process::anyOtherEndTagFast, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Sources/HtmlTreeBuilderState.swift holds 5 of the 119 methods over the threshold \u2014 including the worst \u2014 and 1619 of the 4950 points over it (33%), 2.2\u00D7 the next-largest file (Sources/TokeniserState.swift at 733). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"331a5810a81c8f612d271ba0f51bf786df2fd88ed141d6a97dfc9b742fec9a1f"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.removeChildren (cognitive 19): Node.removeChildren has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 4 (5 pts), boolean chains 3 (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/Node.swift"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"31970d2b1ff9d78d9effd7454f72a2cfe1dc8b2dfd767e0b47317970ecc7259f"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.copy (cognitive 19): Node.copy has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Node.swift"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"706286fd8b6349c52cc286ce6ee7e12835aa9297a07610e913e7e8ab8a5fcb1b"}},{"ruleId":"D2","level":"warning","message":{"text":"Whitelist.removeAttributes (cognitive 19): Whitelist.removeAttributes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (9 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Whitelist.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"574f0cd80405a5aa0922f08b772daba95440943f8109aebae3d6afb06c77f309"}},{"ruleId":"D2","level":"warning","message":{"text":"Element.getElementsByAttributeValue (cognitive 18): Element.getElementsByAttributeValue has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (6 pts), ternaries 4 (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. 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/Element.swift"},"region":{"startLine":1598}}}],"partialFingerprints":{"codehealthFindingId/v1":"1884ff80c7d4d675dd021215fb0d0c135ef435d81eb6ca849cbf8279e6a5f376"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilder.insert (cognitive 18): HtmlTreeBuilder.insert has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6c9181a99c9eacdc77f469272596f7dcd7632f3ee8fc5510551e6f53a2cb96"}},{"ruleId":"D2","level":"warning","message":{"text":"Tag.normalName (cognitive 18): Tag.normalName has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Token.swift"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58d896b6824ec1ec4152cd235143dae7f5423a4d773d17ce5d00529af04b334"}},{"ruleId":"D2","level":"warning","message":{"text":"Tag.ensureAttributeName (cognitive 18): Tag.ensureAttributeName has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 1 (5 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Token.swift"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce33e28105a4836ec0b423fa59a86eacf87b2c8fcd97b146a6f119da987cfae"}},{"ruleId":"D2","level":"warning","message":{"text":"Whitelist.removeCSSProperties (cognitive 18): Whitelist.removeCSSProperties has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Whitelist.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"9525d73606db46a7e59968cbdd57b88da7466cf75218fd4c2f5abbf532a3a271"}},{"ruleId":"D2","level":"warning","message":{"text":"Attribute.appendAttributeValue (cognitive 17): Attribute.appendAttributeValue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Attribute.appendAttributeValue) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attribute.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad83d146a065784ecfb2f19fcff61c98bc2201cce8efe4729ce2a56de2a3275"}},{"ruleId":"D2","level":"warning","message":{"text":"Attribute.appendAttributeValue (cognitive 17): Attribute.appendAttributeValue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Attribute.appendAttributeValue) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attribute.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7029dbaa94ddf4a7495e6bbb08d89bc15f0b0a3aa8714e5cb3e2aa1be3c7c3"}},{"ruleId":"D2","level":"warning","message":{"text":"Element.cssEscapeIdentifier (cognitive 17): Element.cssEscapeIdentifier has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (5 pts), loops 1 (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/Element.swift"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60df3e9bb3eea01128d61613022c9f4374651bcf3864b39fde40f113ca14416"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilder.inSelectScope (cognitive 17): HtmlTreeBuilder.inSelectScope has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9aa81b9710f43cc10fcba5c17680827ad9fa6f1321096cd5572bfbdedb8824"}},{"ruleId":"D2","level":"warning","message":{"text":"OrderedSet.moveObject (cognitive 17): OrderedSet.moveObject has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OrderedSet.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d64ef77f8c084f7fca9a7ce8c67f3769465f6c50647bad43b132b193608dcfe"}},{"ruleId":"D2","level":"warning","message":{"text":"StringBuilder.write (cognitive 17): StringBuilder.write has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringBuilder.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddcb88a9e5f2c1a30906c4a6b21761b28d837fb47ab7c1c6207472f1978c67c"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenQueue.consumeCssSubQuery (cognitive 17): TokenQueue.consumeCssSubQuery has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 2 (6 pts), if/else 4 (5 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokenQueue.swift"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d02c6c68bee640d2de09623a9da9f999fe1877670421bfa0c0566c9b2f4123"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokeniser.unescapeEntities (cognitive 17): Tokeniser.unescapeEntities has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"3368d78398476e13c90bbbd5998c719a550b026957998c9ecb79c72d3cb18fd9"}},{"ruleId":"D2","level":"warning","message":{"text":"Whitelist.parseStyleDeclaration (cognitive 17): Whitelist.parseStyleDeclaration has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Whitelist.swift"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5ddf71247c4f2923ed50403cb1cdc8ff4b98c33447b09f46d4f738ba6c1bb6"}},{"ruleId":"D2","level":"warning","message":{"text":"Array.regionMatches (cognitive 17): Array.regionMatches has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/UTF8Arrays.swift"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cdfae04cc8c84d5181ad36e79df306fb134a79537f074634619bf91d42f883"}},{"ruleId":"D2","level":"warning","message":{"text":"Document.patchedOuterHtmlUTF8 (cognitive 16): Document.patchedOuterHtmlUTF8 has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, loops 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Document.swift"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca51056eb8c6c6d2ec543a335920235efd9c054b5a99e0e1c77056e4058afc2"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryParser.combinator (cognitive 16): QueryParser.combinator has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QueryParser.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdc61514d727b91251d15db5746e3600161ef916245529d030a346b6b7ca03e"}},{"ruleId":"D2","level":"warning","message":{"text":"StringBuilder.write (cognitive 16): StringBuilder.write has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringBuilder.swift"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49e6dc27d5ae8340a8e293303daf3478d677b01915218290a4eda0564b4f37e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TokeniserState.read: MethodTooLong \u2014 read runs 1768 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1668 over it, 17.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad70cbf570a43d3d233224047d7132577b3cad5e12dd64523c8b1cf46184de5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TokeniserState: ClassTooLong \u2014 2512 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 2112 over it, 6.28\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"61070475d0fecb7d04855e8e364cf47ab909845645c426a10c14b1ae11f184ed"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Element: TooManyMethods \u2014 176 methods. The bar is 30 methods; this is 146 over it, 5.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e98f51953ddd3e817a4330300816ef4dbbd75dbba334a28b25f360ac3227a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/TokeniserState.swift: FileTooLong \u2014 2608 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: TokeniserState (114-3017). The bar is 500 significant lines; this is 2108 over it, 5.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a5f5c22a50f661eaa8440c339bb2f9bf5609ac7a2211347b993d5adb47b83f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/HtmlTreeBuilderState.swift: FileTooLong \u2014 2109 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1609 over it, 4.22\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/HtmlTreeBuilderState.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f32d066265a0c3fdb432ab4d009c91a7b28aeff17a76801f4c2f6d6d6b7a1c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/Element.swift: FileTooLong \u2014 1971 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: Element (300-2773). The bar is 500 significant lines; this is 1471 over it, 3.94\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64a372bde3a11e0bd2d0a7f3bb8383db74bc836f973b1ae845e937a0daa0511"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HtmlTreeBuilder: TooManyMethods \u2014 107 methods. The bar is 30 methods; this is 77 over it, 3.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdc8b42974f503f9c51baf696eaa62757c513c8ce767a247abc00da874e423d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Node: TooManyMethods \u2014 100 methods. The bar is 30 methods; this is 70 over it, 3.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Node.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"adabd81ba6b5db1a4bcdd09e0724e6c0299a6429da7c7e6d9f30838723f2384d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Element: ClassTooLong \u2014 1264 significant lines (blank, comment-only and punctuation-only lines excluded), 176 methods. The bar is 400 significant lines; this is 864 over it, 3.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cef98f4dc47246f03544c3255d15e0b6aaee15080b7c9b8e7860c6ef6a34af4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CharacterReader: TooManyMethods \u2014 89 methods. The bar is 30 methods; this is 59 over it, 2.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"274e1c2eeb6b6d09297aeef2850a85ddddaf6970078bff1fc467ffc42a657ddb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CssSelector.fastSimpleQueryPlan: MethodTooLong \u2014 fastSimpleQueryPlan runs 279 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 179 over it, 2.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CssSelector.swift"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cb54cc9e643747948af4534424c8c5f94113409c3a11729c9a1a17893fe1ac"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Token: ClassTooLong \u2014 1085 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 685 over it, 2.71\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/Token.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c450c33cff61853d440dc05ef869a93a3e2056c0211a67c63519361868fdcc66"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Entities: ClassTooLong \u2014 1065 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 665 over it, 2.66\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7103cf1da8699084743c62f3e30cd6d9d7f28a1b7855de0b2cbc6ef38db1d9e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/CharacterReader.swift: FileTooLong \u2014 1297 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 797 over it, 2.59\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/CharacterReader.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a124378ab343671df530535a2f8b3bc2d74ef7acb621d9b2bc6495fa7ee45422"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HtmlTreeBuilder: ClassTooLong \u2014 1014 significant lines (blank, comment-only and punctuation-only lines excluded), 107 methods. The bar is 400 significant lines; this is 614 over it, 2.54\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/HtmlTreeBuilder.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b3ce191b33b6c7ab17f6944f916f48dd6a092db2dd29193f6f0217a2c1a55a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Attributes: TooManyMethods \u2014 74 methods, declared across 2 files: Sources/Attributes.swift (69), Sources/AttributeMutationTracking.swift (5). The bar is 30 methods; this is 44 over it, 2.47\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/Attributes.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b36df6115fb6634d2fa6cabe95e71ba9694375fc539063b3b00ebe82933554b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Tokeniser: ClassTooLong \u2014 918 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 518 over it, 2.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d3728151f390f2b369e1032e5d57df51a922a550a738b2569180cbe99dc745"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Attributes: ClassTooLong \u2014 882 significant lines (blank, comment-only and punctuation-only lines excluded), 74 methods. The bar is 400 significant lines; this is 482 over it, 2.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"316a1b99a420c9f073f047a59f0589956c2c09c7c6e07e55fa595c213953bdd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/Token.swift: FileTooLong \u2014 1092 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Token (10-1469). The bar is 500 significant lines; this is 592 over it, 2.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Token.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc8b97c2e23f03f091fd68d991df0fedaa3f9421ba598ee580b845f7fb6e494"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Tokeniser.consumeCharacterReference: MethodTooLong \u2014 consumeCharacterReference runs 217 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 117 over it, 2.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"1499e7394ab27372ee7bd8818e701c65d59e607f51e1f3c5bb4c415dacce7ffd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/Entities.swift: FileTooLong \u2014 1071 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Entities (20-1498). The bar is 500 significant lines; this is 571 over it, 2.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b498dcb11b82fdbed0eed0fc80ad529b3dae06b32b56476f29a5b6f0eb25652d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StringUtil: ClassTooLong \u2014 852 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 452 over it, 2.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d80667cc74a334be117220576937009dcef8d5e697780787657f0f40ac90659"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CssSelector: ClassTooLong \u2014 848 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 448 over it, 2.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CssSelector.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3bef5096202cf269b40365ea9d35a96423c30400b0f8565b16662fa50f0f7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/HtmlTreeBuilder.swift: FileTooLong \u2014 1017 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: HtmlTreeBuilder (13-1558). The bar is 500 significant lines; this is 517 over it, 2.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d685d92a2421ab8127e892643aaf7a8709c772b7cb113dcab6773ae8bd8491"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Entities.escape: MethodTooLong \u2014 escape runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d406111392cc331f2f6d8d2439395ae18446ca26b14c63e65e68cd78e0bb246"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Entities.escape: MethodTooLong \u2014 escape runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"0105018e63f666edd4c9576c32f3652891b71991ed23bb0fbdd309dbf9f0bb5e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Node: ClassTooLong \u2014 758 significant lines (blank, comment-only and punctuation-only lines excluded), 100 methods. The bar is 400 significant lines; this is 358 over it, 1.90\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/Node.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecda8344c40412e5915bf7aefcd3699345401c6a42e006e4b8d58bfad2620cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/Tokeniser.swift: FileTooLong \u2014 919 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Tokeniser (10-1249). The bar is 500 significant lines; this is 419 over it, 1.84\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07af6c507cf141e9a91bbc0c4a3aa2b1d517825eb537b12a2868b0b05037480"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/Attributes.swift: FileTooLong \u2014 895 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Attributes (31-1366). The bar is 500 significant lines; this is 395 over it, 1.79\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc36a2cc423433d94e2f40064b199868d74babfff3557ba0098e556a6887808"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Tokeniser: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\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/Tokeniser.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"184b7e8c80a8c764e825b3a0b6c60686e5c5ba1600983d43ff5d8acb932ca4de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/StringUtil.swift: FileTooLong \u2014 858 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: StringUtil (19-1285). The bar is 500 significant lines; this is 358 over it, 1.72\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e5089dfda083969b161e9cb29c29a4a3c139e7d729b0867c2d6f844550d25d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/CssSelector.swift: FileTooLong \u2014 851 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: CssSelector (76-1245). The bar is 500 significant lines; this is 351 over it, 1.70\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CssSelector.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0135d22ad935463e02c9b93087bfec11738e1bd993f3415f22fbefd50aee0cbb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Elements: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\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/Elements.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1bed4c4124d6a47caebaabd5df3d1121e3219cfe82b9e24d5a8e26234339f4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Tag: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\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/Token.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2bb67fd4efcd368b6064a86278835173cf5e8c1a35aedb2783c276c8e58883"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TokenQueue: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\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/TokenQueue.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7533af70413067f4d5bac2a5bad4a3966770c1c8b9f08b946aa1b5dfe149ffb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Entities.escape: MethodTooLong \u2014 escape runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1bbb67cceccda1ab5ca82a3d592a4c1c5807df191a7936e35eb840f0f7c8ab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FastQueryPlan.apply: MethodTooLong \u2014 apply runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CssSelector.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfb39013b60acd467f0cf5f0f422d321eb6344b21d281b8ab8fdafc0ff61f40"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/Node.swift: FileTooLong \u2014 781 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Node (23-1452). The bar is 500 significant lines; this is 281 over it, 1.56\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Node.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aae7bcdcd0b6a7e83371495fd1c0449826f588a1456ecd7e453048fd654c712"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Document: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Document.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccb3a094d76e4b40ec9e9298f5aa2ea5ba312ffacce0eee7fe8cee0519e23e9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StringUtil: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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/StringUtil.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c89b81f5604195eb991cc3576424548a3ba8f76409a8233128299f5e3193e81"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextNode: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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/TextNode.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22c800c88275f1704f54e406cb8f6f1bcf245b92318bc41955387c64e991b8b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StringUtil.appendNormalisedWhitespaceBytes: MethodTooLong \u2014 appendNormalisedWhitespaceBytes runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f3827f5c1390f117a0d786ae7cf634a7a54ed56cbc583ff739467dbbd4d34e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StringUtil.appendNormalisedWhitespace: MethodTooLong \u2014 appendNormalisedWhitespace runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c92cd40203ebbf863da533754420ef1e5bbcb0b9bd7c58d446260f2950c9705"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Evaluator: ClassTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 125 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Evaluator.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"be42de001719aa76283e2c0ffc4ad5dbe7a9cdec9fe6cbb80acbf53f88ae78e7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Entities: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d7c5e9c01fda7e95d24173ee772eda4b681317c2f8ebcaa389c9e66d9fadc4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Whitelist: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Whitelist.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"31eb5a870dc5d2aa376c35bf42522c147142e5b1034e4459e5e54fc815ae5ae9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TokeniserState.readTagNameFromTagOpen: MethodTooLong \u2014 readTagNameFromTagOpen runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"185a945c23cd3328f75c585abce319952dc711a5377812fcf6820e41878c1811"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Tag: 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/Tag.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f37254d661ca981142b7e0ba6ee80867f901ecef18563b61637f7428bbcbfe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HtmlTreeBuilder.insert: MethodTooLong \u2014 insert runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b9729d03223ad52d6da99913f534fd520ebf9cb90955e01f17d269eb525f80"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/Evaluator.swift: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: Evaluator (51-1018). The bar is 500 significant lines; this is 73 over it, 1.15\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Evaluator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9be846880c4cbd3683c592535a1c0284515d47178c47f8cadf68234e247e0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/Whitelist.swift: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 53 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Whitelist.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d14e44f451efb8927d95035f6f185a853c924eedc57da8c13618348e498be9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Attribute: TooManyMethods \u2014 33 methods, declared across 2 files: Sources/Attribute.swift (31), Sources/AttributeMutationTracking.swift (2). The bar is 30 methods; this is 3 over it, 1.10\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/Attribute.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a22291e2d2e7be4ee953bf960f85c11628ae50626564b57ba9fa528324a6be3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Document: ClassTooLong \u2014 429 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 400 significant lines; this is 29 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Document.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f581739bc381dbbe3b2ed7f046e399502ea51c1b15ccd92a5069b65dffc1d99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/Document.swift: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: Document (29-829). The bar is 500 significant lines; this is 23 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Document.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cad4cde304a113041159d0437e0cc64f6c97f5ae4eb401d1d063390087b1fd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Tag: ClassTooLong \u2014 415 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 15 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tag.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b495cdf5074144126cd21a72a0a94d829c1c6edc659d6a0c72e73234ab6858a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Parser: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Parser.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3732d8d2f7caed7274f4cb10a308285619b5d5111714f24783e14b8239857c19"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StringBuilder: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringBuilder.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb8ee21e0e89a6c195c63bceae52c8048ccb7767825340de636c22f0f291638"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TokenQueue: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 11 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokenQueue.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"def7584c184ee495d5f6a3dcf524d2e0e86ca9e3ce0a4d0f9e5831d8972726c3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StringBuilder: ClassTooLong \u2014 405 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringBuilder.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5aebcd3926f2f8587792e2981f84afe1927515e25fe15b445882c261cbb3cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 24 shared lines): Sources/CharacterReader.swift:1165-1230 | Sources/CharacterReader.swift:1232-1326 | Sources/CharacterReader.swift:1328-1431 | Sources/CharacterReader.swift:1442-1552 \u2014 These 4 members are variants of one another: a block of 24 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc611b87bbfd62427f555c6d4b890a7792eb513726ece3c066e12acda93fc020"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 14 shared lines): Sources/CharacterReader.swift:1076-1163 | Sources/CharacterReader.swift:1232-1326 | Sources/CharacterReader.swift:1328-1431 | Sources/CharacterReader.swift:1442-1552 \u2014 These 4 members are variants of one another: a block of 14 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5519eabcb334488a4c769c83098344ae3c5859d55537edd33d8d05a93958451"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/HtmlTreeBuilder.swift:313-357 | Sources/HtmlTreeBuilder.swift:384-422 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"0390c0eacf28513cd032ba51c945929e455dc1032c1ac3238ef9b952589f30df"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Sources/Entities.swift:586-835 | Sources/Entities.swift:838-1085 | Sources/Entities.swift:1087-1299 | Sources/StringUtil.swift:618-740 | Sources/StringUtil.swift:797-982 | Sources/StringUtil.swift:1004-1186 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaadc052f2972f223b4f661129f7e6f86cadf9dcaf442637a26d712ed296ec86"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/Attributes.swift:1076-1093 | Sources/HtmlTreeBuilderState.swift:78-2467 | Sources/Token.swift:599-652 | Sources/Token.swift:842-858 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a26aa885747974af7cb619cc640ee107125533582c0a21e4dcc7fdbd30d37e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/StringUtil.swift:152-174 | Sources/StringUtil.swift:176-198 | Sources/StringUtil.swift:213-235 | Sources/StringUtil.swift:237-259 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab73b064f749b9cde11e634dceb42f4723b56359d36967463ec8b2a2530809a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): Sources/StringBuilder.swift:480-528 | Sources/StringBuilder.swift:530-578 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringBuilder.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"b000e1254919c37b404960693e4ffa21ba59483a96de0f6093eb2444ccda1d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): Sources/Tokeniser.swift:446-510 | Sources/Tokeniser.swift:537-596 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebd0d4a6642cfc8f9715af2605c8f13d35fcaf3ededcb91ad5a87377a6e7031"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): Sources/Element.swift:1515-1546 | Sources/Element.swift:1598-1635 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f06140e030d0a053df0dbd9e6e006a342055b78662c64f7687614d86b26043"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): Sources/TokeniserState.swift:2486-2543 | Sources/TokeniserState.swift:2632-2692 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":2486}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f889f772a582ab43835da69e5b480ea0217d3beb1f3e94f3c39d58792fddd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): Sources/CharacterReader.swift:894-930 | Sources/CharacterReader.swift:932-973 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9a5ad54644e2294d6a27a59159e2da6b29988387f333f7d8afc3a9ec8daad9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): Sources/Attribute.swift:222-262 | Sources/Attribute.swift:264-304 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attribute.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0841c122e374861484a4bc8867d38144e7207c0d0c319d0f7e36ca92c59a3b1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): Sources/Attributes.swift:453-488 | Sources/Attributes.swift:490-531 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd04cab6e6c96da514d078361a7112041deea848266da0b87e69117520f64eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): Sources/StringBuilder.swift:396-433 | Sources/StringBuilder.swift:435-478 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringBuilder.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f609559eb4437faeb1ae8ece0e6d744a8536106cc9c1192f050d6f7d7ce0c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): Sources/CharacterReader.swift:433-469 | Sources/CharacterReader.swift:544-586 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd05d56cbac63d82fc8d45f2d4801e884b9040d9abc6f84ebc3665edbb274b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Sources/Element.swift:1888-1924 | Sources/Element.swift:1969-2001 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"9343ff59a86ba82ab7175d213376f25c3e78e347aec5743fcffcb72e8ccaf56a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): Sources/Whitelist.swift:280-318 | Sources/Whitelist.swift:373-411 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Whitelist.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2946e792eff5cadd1e599f93afe1c379e91c158c7992e4db964bb33e6bd245"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): Sources/Evaluator.swift:358-380 | Sources/Evaluator.swift:396-418 | Sources/Evaluator.swift:434-456 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Evaluator.swift"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8075fbc64ab5b584fd6cb1c25baa9e7473570385538f970d4942dde62cf32a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Sources/Collector.swift:157-192 | Sources/CssSelector.swift:1119-1149 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Collector.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d3816119a981b3904ab516fe2fe1eb549fe2e321db344f1c312ad3d2d55781"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): Sources/HtmlTreeBuilder.swift:1121-1155 | Sources/HtmlTreeBuilder.swift:1177-1208 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abcde48a14d6f75e10a50890e7a248a5c1136631a65308fb8809e1113fb261a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): Sources/Element.swift:3253-3288 | Sources/Element.swift:3363-3399 | Sources/Element.swift:3401-3437 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":3253}}}],"partialFingerprints":{"codehealthFindingId/v1":"13955688499ae6c35bf0a4a77a99ff06c91c83ef30efc688e187d24e402a61c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/DocumentType.swift:37-50 | Sources/DocumentType.swift:60-71 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/DocumentType.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b5768a5b670c4195e92a6f9c3064f2bfd01bb8edafd28b92aa58cddac70c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/TreeBuilder.swift:54-79 | Sources/TreeBuilder.swift:81-102 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TreeBuilder.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f9d0f47e870e2945a8b4f2b0ea013c1774446e634450e324f29466af3732c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/CssSelector.swift:216-235 | Sources/CssSelector.swift:1090-1115 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CssSelector.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f5a0c430d2a6eac1b57bf13c4fd0e123196f4d4a9450629c0b929c05f1a77a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/Element.swift:1278-1296 | Sources/Element.swift:1332-1350 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16d6ef4faf42e05dad1c130b06f31043e86fbda1fd732f74a71410681915164"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Sources/Element.swift:2323-2351 | Sources/Element.swift:2359-2385 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":2323}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c4d7b311869400f8971f562c1af2610c0211b390377ee98c723b0a687d2573"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/String.swift:48-70 | Sources/String.swift:145-168 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/String.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce4855785fd15505b5dcb949b707f538d488b382cf45a2c18009e78c74856ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/Tokeniser.swift:618-647 | Sources/Tokeniser.swift:649-673 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f958a25675d02ae5867d9751d8b4da2b1f39a91642866f7edbb88504890d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/Whitelist.swift:251-269 | Sources/Whitelist.swift:333-358 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Whitelist.swift"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a0a2d6862b2df0a6ce204f825eae1c911fff5bfbadfc6c3bacf2892a353574"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/ParsingStrings.swift:193-213 | Sources/ParsingStrings.swift:215-235 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ParsingStrings.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1f00facef394ff1e515c8cce880a45496d479d669c4aae04a9a594d139be04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): Sources/HtmlTreeBuilderState.swift:2478-2498 | Sources/HtmlTreeBuilderState.swift:2500-2520 | Sources/HtmlTreeBuilderState.swift:2522-2541 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":2478}}}],"partialFingerprints":{"codehealthFindingId/v1":"7035f5cd025c002c130e2a6865394c6096bd6873dd2e27019bda2d7adc4e102e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): Sources/StringUtil.swift:545-566 | Sources/StringUtil.swift:568-590 | Sources/StringUtil.swift:592-614 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2ec40b1739fc32399c62b0f5c22b780f7f172a4c54ce165ddf5fef2cfd7745"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/Attributes.swift:593-611 | Sources/Attributes.swift:617-635 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc8c2c0772ee612a06c73d66cc09c5941be53c42e56b371d045516b4bc321de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/Element.swift:2036-2051 | Sources/Element.swift:2053-2068 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda14d15ae16d365a2277a517c57a1a7251d1dcc131dbecf9cc5dbcc0fdc2a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/Attributes.swift:1095-1109 | Sources/Attributes.swift:1111-1125 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"273cfa0c8a03c086f6d50a292c89f784262e84bfa1f65931c4dcb3894b9472e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/Cleaner.swift:33-42 | Sources/Cleaner.swift:54-64 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Cleaner.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddcccbd88a2953af7c2e597dd763eac34361393602e049dbebe627c2baf6059"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/TreeBuilder.swift:104-123 | Sources/TreeBuilder.swift:125-141 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TreeBuilder.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"953b27c03714ce36e6852040361e681dcf4743453226301469df76abdd27e1ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): Sources/Attributes.swift:1283-1299 | Sources/Token.swift:973-994 | Sources/Tokeniser.swift:1161-1177 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdcbf60946eb8207b3d9793ce406229fbad0406c984dc8bc8b760665ebb4fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/DataNode.swift:147-164 | Sources/TextNode.swift:163-182 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/DataNode.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"800df709c1c2d642c6f078bf9c0aee24c808a8b5d6c9a4d5eaab60bfe1dba5a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/HtmlTreeBuilder.swift:961-985 | Sources/HtmlTreeBuilder.swift:991-1010 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"43631e972915d7d55072f03ac5b5b7ca3806639cee58050e1d063515bdbf18bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Sources/Tokeniser.swift:421-444 | Sources/Tokeniser.swift:512-535 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42575d1dff27751468d55e37e67f2ad27ab310de76665acb93be3aba0f489b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/Evaluator.swift:906-916 | Sources/Evaluator.swift:941-951 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Evaluator.swift"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"392b95be4664e9fd1e8a26c91c424f8e3a249edd295ecce153039b6f21a0f8b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/Tag.swift:228-244 | Sources/Tag.swift:352-374 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tag.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"23147f56b3c08e86c680fabaf2450718ab78102d66e67826ef1d491e3168236a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/DataNode.swift:166-186 | Sources/TextNode.swift:184-202 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/DataNode.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"769ff58975d632ea11aaa49e71e5adfdb03e3dd7e0a1f3163392171c400f38e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Sources/DocumentType.swift:144-153 | Sources/DocumentType.swift:155-164 | Sources/DocumentType.swift:166-175 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/DocumentType.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfb4bbd7a68ec524db8c88c843201cc1fdd5c474a317048bfe8a5bfcc3a339b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/Element.swift:2156-2174 | Sources/Element.swift:2176-2195 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"62aba1710b424a9667be685c9ac13540624ab4d112c1581431684680dc331c20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/Attributes.swift:964-977 | Sources/Attributes.swift:979-992 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe19aa3135c732e2c03515c61a6b60035e9235dfb648074a97180caef812f04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/Attributes.swift:335-352 | Sources/Attributes.swift:375-391 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f88099873c5ca72bc150466a57f7728b086a937ffb5163ad6b1f1894b2ade47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): Sources/CharacterReader.swift:139-155 | Sources/CharacterReader.swift:219-239 | Sources/CharacterReader.swift:290-309 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c450b0d7aee54785b1333ba0b70822c63feec403252d2e2ab5d96f1b263f0cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/SwiftSoup.swift:401-407 | Sources/SwiftSoup.swift:433-442 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftSoup.swift"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d65cfaee2c358e2591e53616017a99ac666e7988a4fc59416a4d114f9abeca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/Evaluator.swift:733-745 | Sources/Evaluator.swift:758-770 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Evaluator.swift"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda9502c9ea1138ef2a35cb71c8a760c98c815eda5e2b86cba062575f93b9b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/Document.swift:300-309 | Sources/Element.swift:2683-2692 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Document.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"0799e76e0b0753426244a3182041f8acdb846882096b54d180f9c035511f18c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/Element.swift:1385-1396 | Sources/Element.swift:1403-1414 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05f6a5edc01c644943afad8c422d1f03836ff2cdfbc6695424922d114d658f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): Sources/StringUtil.swift:742-760 | Sources/StringUtil.swift:777-795 | Sources/StringUtil.swift:984-1002 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"b117e8fe61a629f4de1d414ee30384517764a6fad680a39283640173c02b9102"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/HtmlTreeBuilder.swift:1043-1055 | Sources/HtmlTreeBuilder.swift:1057-1069 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba33feb5571297e794cbac4d60692e163f422f2b7fae4913c378dec276ad137"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 12\u002B corresponding lines): Sources/StringUtil.swift:44-55 | Sources/StringUtil.swift:57-68 | Sources/StringUtil.swift:70-81 | Sources/StringUtil.swift:83-94 | Sources/StringUtil.swift:96-108 | Sources/StringUtil.swift:110-122 | Sources/StringUtil.swift:124-136 | Sources/StringUtil.swift:138-150 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"006a82e8887ce208c54b22568eef8314933e53539a7d52c614c71d3d1806434e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/ByteSlice.swift:177-192 | Sources/String.swift:79-92 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ByteSlice.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d306e7777f4cf8a30a76bf767b8f350ca442fb92a38d1c3d4cec961a9ab7d5f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): Sources/Entities.swift:142-154 | Sources/Entities.swift:156-168 | Sources/Token.swift:799-812 | Sources/Token.swift:814-827 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f48be4e390af94bbdbe0676f6aeb8fed9d4446e51fbaf7f2d32d458c0751a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/Node.swift:675-682 | Sources/Node.swift:684-691 | Sources/Node.swift:722-730 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Node.swift"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e47d5c83c09668d2d7af8e9a17a9fbdf27a7025cfc572f81b9c4a37b2cced9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/Node.swift:110-122 | Sources/Node.swift:124-136 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Node.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb5c8fb9734ea3c08e067c9ab12251d6dce6b5f08b2000e26161b6150c5e569"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 13\u002B corresponding lines): Sources/Element.swift:2794-2810 | Sources/Element.swift:2812-2824 | Sources/Element.swift:2827-2842 | Sources/Element.swift:2844-2856 | Sources/Element.swift:2858-2870 | Sources/Element.swift:2872-2884 | Sources/Element.swift:2886-2898 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":2794}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa904ce380a2c62fc38f9c3f9bac5a3fa6eb57703b8712d879b267efa1e768aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/Attributes.swift:445-451 | Sources/Element.swift:605-611 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"f977fd33bf1732a6ac447e88773c8025e2e53820e66ccf1076824268c301dd26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Sources/Element.swift:1730-1739 | Sources/Element.swift:1806-1815 | Sources/Element.swift:1833-1842 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc4751eb02bf3843951831b5b20e87361b7876898d232c792f88e086bfc8a64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/Element.swift:633-643 | Sources/Element.swift:674-686 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a24aaa9ac88b14354eab627250bd6f19428e0d0787c795f5c369b6dff59b51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/StringUtil.swift:435-442 | Sources/StringUtil.swift:444-451 | Sources/StringUtil.swift:453-462 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6fdd7aff1fe9bbbe2a01ec7e1ae06ee12f60c2d65ca9955420f71a4dcbb1e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/Document.swift:276-287 | Sources/Element.swift:2668-2674 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Document.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"33774152e637d4a8743ac80a4c2be9abb45a825325cf751a7f2ebdd1aa05a8c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/Entities.swift:170-178 | Sources/Entities.swift:180-188 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3076cb787a2eabb84f8bf39b772efd25293c65754e7b54fbdc3c982987534f11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Sources/Entities.swift:326-335 | Sources/Entities.swift:337-345 | Sources/Entities.swift:347-355 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd6d479f55e44e5e72c9e50673cc6a9692521f6682695bddb2a28bd6c927c38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): Sources/Entities.swift:1422-1438 | Sources/Entities.swift:1440-1456 | Sources/Entities.swift:1475-1491 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"4074ceb92e519d55edc44e93ee16bd902e81fdc4821fb09e0d3babae8f1a14ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/Entities.swift:457-466 | Sources/Entities.swift:468-477 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db5f7d73f8772bdfc2d83ab29e897a53c095640a402c12ace5200266a559e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/HtmlTreeBuilder.swift:100-105 | Sources/HtmlTreeBuilder.swift:107-112 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"005084b9f7a7428d90f5974e4f9be45d32f5155cc2b99fd81a99ec35719fb75d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/QueryParser.swift:379-384 | Sources/QueryParser.swift:400-406 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QueryParser.swift"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1b2ead5f4217429110443abb8ad2440c16dfe5e3a23efc35965ac3cfc79eef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/String.swift:124-133 | Sources/String.swift:211-221 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/String.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a251b14ebe8a3a5eafadb0ad6ca10d4c2b4834266b16725284ddcf3a67595d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/StructuralEvaluator.swift:160-177 | Sources/StructuralEvaluator.swift:189-200 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StructuralEvaluator.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afac92c8decc8f700bfb82bcc48a60a32e32411d7cffdcefb2a31b604fffe3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/Entities.swift:308-314 | Sources/Entities.swift:357-363 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63b0661d1d3d93604143af9969748c8a45f069778d59381ac9fa9824b11132a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/Node.swift:1091-1098 | Sources/Node.swift:1100-1107 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Node.swift"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa655fbf6797ac569efb45a544f57ce8c369564b1b993174ba6513575244312"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/TreeBuilder.swift:166-173 | Sources/TreeBuilder.swift:181-190 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TreeBuilder.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e3fb0b05da88d0ab114125c2de6b1ecb70af47b174645f8b04faa4f657e954"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Sources/Elements.swift:72-83 | Sources/Elements.swift:91-104 | Sources/Elements.swift:111-123 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Elements.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"786f78bbc04d77f0b98257bb3342c5c8fe9b3b7a3377ac68511345de4de64c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/Element.swift:2741-2754 | Sources/FormElement.swift:141-150 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":2741}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de60d6cfba1b598e69ea0f10ec0755c2e06250000d4e187f3c4e8997bf01a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/Parser.swift:154-157 | Sources/SwiftSoup.swift:52-55 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Parser.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c230505b8d9e1921ed624a92a1608ebf2af9629cca00343f41e108d369fd5912"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Sources/Comment.swift:99-103 | Sources/DataNode.swift:248-252 | Sources/TextNode.swift:457-460 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Comment.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1b9b3735d63312fbd21b9b61f73c8e21c8497856498c511309bc47a6926ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/Element.swift:417-420 | Sources/FormElement.swift:25-32 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"95df0e7e6b242934ad754c047e74498c5420261e83ab377ca070e08aa83cdec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/Parser.swift:112-115 | Sources/XmlTreeBuilder.swift:30-32 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Parser.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ee1a0c3fa8d1d81c60ed5486c3a8ac2f8473da96cfac67b3026bf7cc0e200a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/DataNode.swift:40-43 | Sources/TextNode.swift:53-56 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/DataNode.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3782e68f56a1e78b2d9d9ad9fa345a65025259980a3b489831da9f914c0a42da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Sources/Comment.swift:93-97 | Sources/DataNode.swift:242-246 | Sources/Document.swift:796-800 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Comment.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"84104f16600fe593d042f31f9989ec302d72f38cf89399566c9c8c191bbc9eb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/Element.swift:619-625 | Sources/TextNode.swift:407-410 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"8433442b1effcf75dbbdd87e785d4db6337d547b4bb8c18ca8022945b4638b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Sources/Comment.swift:87-91 | Sources/DataNode.swift:236-240 | Sources/Document.swift:790-794 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Comment.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"788d952858af2475ce2c77e0e854561e3f007adab941a29bb567c6ef6f443999"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/Element.swift:434-437 | Sources/FormElement.swift:41-47 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"371ab6c294712f276bb6ea2a5a9eb8ee353230b2fae096a184c1c764a5957cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 3\u002B corresponding lines): Sources/Comment.swift:105-108 | Sources/DataNode.swift:254-257 | Sources/DocumentType.swift:177-179 | Sources/Element.swift:2756-2759 | Sources/TextNode.swift:462-464 | Sources/XmlDeclaration.swift:98-100 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Comment.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"053971151a65b959a2b53be58cff07b67372966b41a2c552d983a185cf1a5162"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/Parser.swift:127-129 | Sources/XmlTreeBuilder.swift:34-36 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Parser.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2397bd6d5f2e43183d9fb85cb05ba8fb1ec54041d91246b4b359ee05581d18c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/Element.swift:548-556 | Sources/Node.swift:31-39 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7957ad9ccff47e9bb99c543f6d749e2e362bb8b1264e9440d6bdf8bae1fed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 3): Sources/Entities.swift:737-815 | Sources/Entities.swift:988-1066 | Sources/Entities.swift:1205-1283 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Entities.swift:737\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2bf7da83113b32136fea25114f5acf20aa28667fadd47cb3d368e3decd28aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201342 lines \u00D7 3): Sources/TokeniserState.swift:1151-1192 | Sources/TokeniserState.swift:1194-1235 | Sources/TokeniserState.swift:1236-1247 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/TokeniserState.swift:1236\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TokeniserState.swift:1151\u0060 calls \u0060isEmpty\u0060 and \u0060Sources/TokeniserState.swift:1236\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a958bea89cc67a041788d38d0020edcc208cd7d534e8f1f8d1f81a56520bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): Sources/StringBuilder.swift:483-523 | Sources/StringBuilder.swift:533-573 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/StringBuilder.swift:483\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/StringBuilder.swift"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9cd30a4528c2ded79371b7cea901e7dcc53e414c3059f49aee2341feb7be90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): Sources/Attribute.swift:233-262 | Sources/Attribute.swift:275-304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/Attribute.swift:233\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attribute.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de2e3311f8bd411cf350957154ca671a5cb1651735f5e957fdc2565691ea83e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): Sources/TokeniserState.swift:939-967 | Sources/TokeniserState.swift:984-1012 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TokeniserState.swift:939\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"74397ae35cc922fc1483ad1c7a4c81ee2369d09011b0d7a6042d31ce15a2f191"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): Sources/TokeniserState.swift:1826-1853 | Sources/TokeniserState.swift:1885-1912 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TokeniserState.swift:1826\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TokeniserState.swift:1825\u0060 calls \u0060transition\u0060 and \u0060Sources/TokeniserState.swift:1884\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1826}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51a41b582ffef2d16f0b6f3507839df3291263f31a3d03a33117756eafb0a53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 6): Sources/Entities.swift:627-653 | Sources/Entities.swift:661-687 | Sources/Entities.swift:878-904 | Sources/Entities.swift:912-938 | Sources/Entities.swift:1128-1154 | Sources/Entities.swift:1162-1188 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Entities.swift:627\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"c737eafc70b52e3f22e77bc0d8d940aa69f188ae54ba22a93f637876f6d7c08a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): Sources/StringUtil.swift:693-719 | Sources/StringUtil.swift:934-960 | Sources/StringUtil.swift:1128-1154 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/StringUtil.swift:693\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/StringUtil.swift"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db250d695ed3d0b19a80bd722a852da54222bd771c39d4e92a0cdabdeeb9f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Sources/HtmlTreeBuilderState.swift:571-594 | Sources/HtmlTreeBuilderState.swift:758-781 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a146f5c4316d9b384f92160f7f8786707b7018134eddbe27b936656903731e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Sources/TokeniserState.swift:1727-1750 | Sources/TokeniserState.swift:1770-1793 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TokeniserState.swift:1727\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"9592dfbbb9886a0fc736ea786099a1630d49a9503d837987341a631d1a29803f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Sources/TokeniserState.swift:2055-2078 | Sources/TokeniserState.swift:2098-2121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TokeniserState.swift:2055\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c88b1678d02bb2c811dc9f568f0b9bc1051b5597ca4c7f519450dce34e09e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): Sources/TokeniserState.swift:1828-1849 | Sources/TokeniserState.swift:1887-1908 | Sources/TokeniserState.swift:1951-1972 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TokeniserState.swift:1825\u0060 calls \u0060transition\u0060 and \u0060Sources/TokeniserState.swift:1884\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1828}}}],"partialFingerprints":{"codehealthFindingId/v1":"8464ba746bfc8fcac373859e86293c7fa9004aabc054ba9bd192b1a727b98026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sources/StringUtil.swift:719-740 | Sources/StringUtil.swift:961-982 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/StringUtil.swift:719\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"397e7b369961b14b1cdf7d52ebb868926c53c2ce1e09d77a34ac43dbac468540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sources/StringUtil.swift:810-831 | Sources/StringUtil.swift:1017-1038 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/StringUtil.swift:810\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca84d40eee8fcdee80b49b5ea4b7174abde29674842e44b8d060583cb97bb7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): Sources/TokeniserState.swift:1629-1648 | Sources/TokeniserState.swift:1688-1707 | Sources/TokeniserState.swift:2016-2035 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/TokeniserState.swift:1629\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TokeniserState.swift:1626\u0060 calls \u0060error\u0060 and \u0060Sources/TokeniserState.swift:1685\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"259e0fef7abdebbcb929cd5c8d7a7bbf49ba4a2040b8b22ae9b08816a27caf7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/Element.swift:1905-1924 | Sources/Element.swift:1982-2001 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/Element.swift:1905\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1905}}}],"partialFingerprints":{"codehealthFindingId/v1":"687f1afd0edc555aec9164c69e3628fde02b18666d7312c38ed097e12e76da2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/Element.swift:3077-3096 | Sources/Element.swift:3100-3119 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":3077}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa74709a1d2035ad79d234e1813e1ecb05f934ab68198a473dba7b3290658d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/StringUtil.swift:155-174 | Sources/StringUtil.swift:179-198 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/StringUtil.swift:155\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2931865136eeeca2bf6238c30b6f784cbde6e78b713890a9580a2a6e8a29333d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/StringUtil.swift:216-235 | Sources/StringUtil.swift:240-259 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/StringUtil.swift:216\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Sources/StringUtil.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea4237733922f34cb4fc1499dc7e15fa616d527f1f80a50ae691236a9f04dfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sources/HtmlTreeBuilder.swift:333-351 | Sources/HtmlTreeBuilder.swift:394-412 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"679da2f509d3c2f70cd6c090ff99e666d87e7347ac4341424568eee31c4c42a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/Entities.swift:1303-1320 | Sources/Entities.swift:1324-1341 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060bytes\u0060 to \u0060ArraySlice\u003CUInt8\u003E\u0060 in one and \u0060ByteSlice\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"a214701fc5dbb8745b002d2b978ff461d70e7be540d7a5ebf84ca8020cc52dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/String.swift:50-67 | Sources/String.swift:148-165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/String.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5075364a35bc26efd294188d07cbdceded83b9c2657ec25649f1e1376ab27962"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/StringUtil.swift:620-637 | Sources/StringUtil.swift:852-869 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/StringUtil.swift:620\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/StringUtil.swift"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbf970d6c8f422ce3dd861d9c654f970d4553184fa1a6fd6d3be0f165833441"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/Tokeniser.swift:460-477 | Sources/Tokeniser.swift:549-566 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/Tokeniser.swift:460\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c0bd546575ea0ba99071938588206e250a191ff50341c991338b772b4264c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/CharacterReader.swift:1279-1296 | Sources/CharacterReader.swift:1379-1396 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/CharacterReader.swift:1279\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CharacterReader.swift:1397\u0060 calls \u0060memchr\u0060, \u0060Int32\u0060 and \u0060Sources/CharacterReader.swift:1297\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9fd76be1621c8a4d7168d1d24fbf43b0c74d49d46f23dead3bc63c433af2d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/CssSelector.swift:849-865 | Sources/CssSelector.swift:1003-1019 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/CssSelector.swift:849\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/CssSelector.swift"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc78b1edfd489df706e5ee6378dd51aea0179cb83a4ba71eac4d7a7ab57f303b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/Tokeniser.swift:494-510 | Sources/Tokeniser.swift:580-596 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/Tokeniser.swift:494\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/Tokeniser.swift:493\u0060 calls \u0060clearTagStart\u0060 and \u0060Sources/Tokeniser.swift:579\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e53f91b9bdf62f8a0bf5cc561fc60769914c8f38e90999e629c6b3a10e66203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/TokeniserState.swift:1807-1823 | Sources/TokeniserState.swift:1867-1883 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TokeniserState.swift:1807\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/TokeniserState.swift:1825\u0060 calls \u0060transition\u0060 and \u0060Sources/TokeniserState.swift:1885\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1807}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d527eca17c39ea35dfa4700489136222fde4ef5904e69bb3c91aeaf6a36cf87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/Element.swift:2329-2344 | Sources/Element.swift:2364-2379 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/Element.swift:2329\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/Element.swift"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11d9f51cfd84b6bb0cfb7d8ced0614be5257f92b8080290fa652158bb66cd54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201316 lines \u00D7 3): Sources/Entities.swift:604-619 | Sources/Entities.swift:855-870 | Sources/Entities.swift:1118-1121 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Entities.swift:604\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/Entities.swift:619\u0060 calls \u0060memchr\u0060, \u0060Int32\u0060 and \u0060Sources/Entities.swift:1121\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48913966eae1c5438435536e59a0776fe9dee5b86d2c6c419529f1b00ce2428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/ParsingStrings.swift:198-213 | Sources/ParsingStrings.swift:220-235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/ParsingStrings.swift:198\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Sources/ParsingStrings.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"825202ce5edd88868f6553de38e17fd662bd870d961d767dd8682665157749e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/StringUtil.swift:551-566 | Sources/StringUtil.swift:599-614 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/StringUtil.swift:551\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"0424095de841e024c8e7324a8e94fcf4f43a154fc09722e81dd5a0cc3e335b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): Sources/Attributes.swift:1079-1093 | Sources/HtmlTreeBuilderState.swift:306-320 | Sources/HtmlTreeBuilderState.swift:323-337 | Sources/Token.swift:603-617 | Sources/Token.swift:636-650 | Sources/Token.swift:844-858 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Token.swift:636\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/HtmlTreeBuilderState.swift:322\u0060 calls \u0060equalsSlice\u0060 and \u0060Sources/Token.swift:651\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebe2c0a0380ec23c34fffcbc89177e0c18f7261f80b0e8848840b388f5dba11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/CharacterReader.swift:1258-1272 | Sources/CharacterReader.swift:1355-1369 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/CharacterReader.swift:1258\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CharacterReader.swift:1371\u0060 calls \u0060hasByte\u0060 and \u0060Sources/CharacterReader.swift:1273\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6d9d10a02f5cf55f481e3cf1bd4d810d6822cb6c9e0bb1b60ccbe35420dd31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/HtmlTreeBuilder.swift:519-533 | Sources/HtmlTreeBuilder.swift:535-549 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bb0f4518773aabf3696bd85e4149a5cae5c677038baa10425c539f01d61d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/HtmlTreeBuilderState.swift:615-629 | Sources/HtmlTreeBuilderState.swift:962-976 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/HtmlTreeBuilderState.swift:615\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/HtmlTreeBuilderState.swift"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"f576fbf6a3eaf70b92c92d4b21a5ac489b76e8a065bed7a081910d13f82421c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/HtmlTreeBuilderState.swift:2484-2498 | Sources/HtmlTreeBuilderState.swift:2506-2520 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/HtmlTreeBuilderState.swift:2484\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2dd8f733689e30e5d4b2b361bb803d8c3291ac2077777bbcf91e6b93437cb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201315 lines \u00D7 6): Sources/Entities.swift:620-621 | Sources/Entities.swift:871-872 | Sources/Entities.swift:1121-1122 | Sources/StringUtil.swift:638-652 | Sources/StringUtil.swift:873-887 | Sources/StringUtil.swift:1085-1086 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/StringUtil.swift:638\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/Entities.swift"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe2b1405b1ff8ada7e0d9bbf82289e92bd954ef0611cbd1ffb5c9dba62e69fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/StringUtil.swift:679-693 | Sources/StringUtil.swift:919-933 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/StringUtil.swift:679\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"669f7b7ef98f6df33baeb99be79faf5cf290de50d8ed76234410af047732924f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/TokeniserState.swift:1711-1725 | Sources/TokeniserState.swift:1754-1768 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TokeniserState.swift:1711\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/TokeniserState.swift"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d996ac91753a8ab653260ccfc19d62c942cd58279a9235a8a59c7f03b7d6464"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/TokeniserState.swift:2039-2053 | Sources/TokeniserState.swift:2082-2096 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TokeniserState.swift:2039\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/TokeniserState.swift"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5f4dff8ed633687ea14224c55239a88fe9c6ad7ceaeb3b72527ebd70060263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): Sources/TokeniserState.swift:1635-1648 | Sources/TokeniserState.swift:1694-1707 | Sources/TokeniserState.swift:1840-1853 | Sources/TokeniserState.swift:1899-1912 | Sources/TokeniserState.swift:2022-2035 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/TokeniserState.swift:1635\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TokeniserState.swift:1633\u0060 calls \u0060emitDoctypePending\u0060 and \u0060Sources/TokeniserState.swift:1837\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4474a66fa63cc7c21654703cc8d55494ded6fd7a6c91447f8a0f7d93aefce0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): Sources/TokeniserState.swift:1733-1746 | Sources/TokeniserState.swift:1776-1789 | Sources/TokeniserState.swift:2061-2074 | Sources/TokeniserState.swift:2104-2117 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/TokeniserState.swift:1733\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/TokeniserState.swift"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a962660085080661cb3ead8e5e0ef4a01ced532a441165acf5252c18325bd74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Sources/CharacterReader.swift:1098-1111 | Sources/CharacterReader.swift:1303-1316 | Sources/CharacterReader.swift:1408-1421 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CharacterReader.swift:1098\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4f8336aba41b5be8e1bb24e42a2e6d9a1aa7f6bd2abb3392e678c1af30c643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Sources/StringBuilder.swift:420-433 | Sources/StringBuilder.swift:515-528 | Sources/StringBuilder.swift:565-578 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/StringBuilder.swift:420\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringBuilder.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"290a58ab6a8845a10e770017d4c8e526e92a73f16bd0975d2afe7fafe448cf86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): Sources/Element.swift:3192-3205 | Sources/Element.swift:3348-3358 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/Element.swift:3192\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/Element.swift"},"region":{"startLine":3192}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e9105d11eaf90525534c429a25b389050b9e6abb9e931d44e70d234e945201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201314 lines \u00D7 3): Sources/Entities.swift:817-830 | Sources/Entities.swift:1067-1080 | Sources/Entities.swift:1284-1287 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Entities.swift:817\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"667c74560613a6d6dfcf7b34532fdecf95104fae86e16b79ddfe80f469ec60da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/TokeniserState.swift:2284-2297 | Sources/TokeniserState.swift:2340-2353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be3f1623237fbdd3a34cfdc6dc6549cafe80e01d0a66805718494e0ff0b6cb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): Sources/CharacterReader.swift:1201-1213 | Sources/CharacterReader.swift:1279-1291 | Sources/CharacterReader.swift:1379-1391 | Sources/CharacterReader.swift:1504-1516 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CharacterReader.swift:1201\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/CharacterReader.swift"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"031744f92e114f46328e5f250ddb8975071cbe25b7c5e0cfec82186bceb83102"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): Sources/HtmlTreeBuilderState.swift:344-355 | Sources/HtmlTreeBuilderState.swift:382-394 | Sources/HtmlTreeBuilderState.swift:431-442 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/HtmlTreeBuilderState.swift:344\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/HtmlTreeBuilderState.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"6101536086c64987d7e40146e6f4a77bee04d7ddc38a7f0fb544b28d0c99994b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Sources/StringBuilder.swift:405-417 | Sources/StringBuilder.swift:492-504 | Sources/StringBuilder.swift:542-554 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/StringBuilder.swift:405\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/StringBuilder.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5332b4256c0f101aa2c6c857bcae7e119bdc8a989c58af9abe9917ce1ab889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Sources/StringUtil.swift:550-562 | Sources/StringUtil.swift:574-586 | Sources/StringUtil.swift:598-610 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"38239d80a42c2830ffb1720bf3233a8e1be5c4712442eb9e5adc5abc4b9a36c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Sources/TokeniserState.swift:941-953 | Sources/TokeniserState.swift:986-998 | Sources/TokeniserState.swift:1029-1041 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"Sources/TokeniserState.swift"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80d62e46f6426b46e8a7d383e2e7844d3aa125a0663905e6cfacddb5ee3cded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Sources/TokeniserState.swift:1604-1616 | Sources/TokeniserState.swift:1666-1678 | Sources/TokeniserState.swift:1994-2006 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/TokeniserState.swift:1604\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/TokeniserState.swift"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadfe038c437147cded86fe015c1e4f717bd7aa73294f5cb05e396f7040392e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/Element.swift:1518-1531 | Sources/Element.swift:1600-1613 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf2a62b88883571f99a06ff8a04f8c09d0e1a30b671ca502c058ecdf3c266f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Entities.swift:595-607 | Sources/Entities.swift:1096-1108 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/Entities.swift:595\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/Entities.swift"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba50384531ef3a2103d38372e4748ccab2599b0408c9b4c6680f10b4986cf0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/HtmlTreeBuilderState.swift:1511-1523 | Sources/HtmlTreeBuilderState.swift:1565-1577 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cfc5c245859e9a2029bf1f2deb83f948ded7d8168aad300ba393d71747ea72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/HtmlTreeBuilderState.swift:1660-1672 | Sources/HtmlTreeBuilderState.swift:1674-1686 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee362236144fba8f9d3329b2927d8bdbf022551ba646fc914a6f09059e441e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/TokeniserState.swift:245-257 | Sources/TokeniserState.swift:376-388 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"Sources/TokeniserState.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"2247b74661bd1f4cd7a485bd52faa8235fd310b849089df0344e3adc306cbaf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/TokeniserState.swift:404-416 | Sources/TokeniserState.swift:418-430 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"80400ff2b0a814f2d2cb68fb43ac739490f8532316c5198794a2529f53a49e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/TokeniserState.swift:664-676 | Sources/TokeniserState.swift:709-721 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TokeniserState.swift:664\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Sources/TokeniserState.swift"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"1900b19397452b43ce7bbbf6d3ecdfdfbd7f472d99f4f4d35059f6e3aab2f06d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/TokeniserState.swift:834-846 | Sources/TokeniserState.swift:878-890 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TokeniserState.swift:834\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"880c4d74bbb70f339d6102da9bbfe783763e2b4ffcf91268ffcd68338336726c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Sources/CharacterReader.swift:1126-1137 | Sources/CharacterReader.swift:1258-1269 | Sources/CharacterReader.swift:1355-1366 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CharacterReader.swift:1126\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CharacterReader.swift:1271\u0060 calls \u0060hasByte\u0060 and \u0060Sources/CharacterReader.swift:1138\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b65fddc274dd01af975a396cb5f9ffd88ec7b89cd05b4a6df529da99153d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Sources/CharacterReader.swift:1167-1178 | Sources/CharacterReader.swift:1234-1245 | Sources/CharacterReader.swift:1330-1341 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CharacterReader.swift:1167\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/CharacterReader.swift"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7ed7fca1fbf732a2e9500ee734eb2506dad12d7eab5dc8ad1e064ac7a1e258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Attributes.swift:1098-1109 | Sources/Attributes.swift:1114-1125 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00efc333209623b9a6f3f3d1a1e98a7f1927e8fcf18816a41a4762fbb818598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CharacterReader.swift:546-557 | Sources/CharacterReader.swift:561-572 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CharacterReader.swift:546\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eed9053b1ba14fd6a672b4206de49c014e55df1cc53dcf33523d76d9a96b55c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Sources/CharacterReader.swift:1246-1256 | Sources/CharacterReader.swift:1342-1353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/CharacterReader.swift:1246\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"6523bdb5a04b15c2ed4ae0dd9adb0acdd99fab2ffd0dfee3229ddfaa26398ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Sources/HtmlTreeBuilderState.swift:775-786 | Sources/HtmlTreeBuilderState.swift:979-989 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/HtmlTreeBuilderState.swift:775\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7b7c0152e641c210edcceb0e668855c6da83a387a2dac8092690238e850bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/HtmlTreeBuilderState.swift:1699-1710 | Sources/HtmlTreeBuilderState.swift:1726-1737 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"6172b51e8ee79215bfa41075aa60976189add54349965e1fe19b94a65dcbaf03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/HtmlTreeBuilderState.swift:2037-2048 | Sources/HtmlTreeBuilderState.swift:2066-2077 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fd14ba249a9b7002e4aa74c64aa1541ffaa5500a6426a78fcf1a1c28052478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/TokeniserState.swift:2356-2367 | Sources/TokeniserState.swift:2378-2389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":2356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92f25edaca617c76e6124d1d1cdade101a9643e23797dd93befc26cc2ca4e39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Sources/CharacterReader.swift:1080-1090 | Sources/CharacterReader.swift:1167-1177 | Sources/CharacterReader.swift:1234-1244 | Sources/CharacterReader.swift:1330-1340 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CharacterReader.swift:1080\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/CharacterReader.swift"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"0450dad01b73d94420f89cba81fa07619ac8668a90d2039f6ef4b7a15fd9db47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Sources/CharacterReader.swift:1172-1182 | Sources/CharacterReader.swift:1239-1249 | Sources/CharacterReader.swift:1335-1345 | Sources/CharacterReader.swift:1467-1477 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CharacterReader.swift:1172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CharacterReader.swift:1251\u0060 calls \u0060UInt64\u0060 and \u0060Sources/CharacterReader.swift:1184\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"571bab50a09faa21b5f55c8ac99e0027a50ffe7324a31830b61ce49c3d7ec153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/Element.swift:1908-1918 | Sources/Element.swift:1951-1961 | Sources/Element.swift:1985-1995 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Element.swift:1908\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/Element.swift"},"region":{"startLine":1908}}}],"partialFingerprints":{"codehealthFindingId/v1":"0117ddf3f57a29cd87e79d5f72c6fc0f1f75a28a6228e5c87c58789a70885d73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/TokeniserState.swift:1808-1818 | Sources/TokeniserState.swift:1868-1878 | Sources/TokeniserState.swift:1929-1939 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TokeniserState.swift:1927\u0060 calls \u0060error\u0060 and \u0060Sources/TokeniserState.swift:1807\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b031aa8c1ec2b60a0f9d76592f3b171c33075b99463b7462c9e88ff06df4e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Entities.swift:144-154 | Sources/Entities.swift:158-168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9169fc4e3b0e5f5ca129f406ccea078938c2a870f5b881069b9d178aab2413a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/StringUtil.swift:98-108 | Sources/StringUtil.swift:112-122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed18298a1f55db01b3feaf1d5fa7f55e7c6cfcb81e1a964bda7cfdb16a215ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/StringUtil.swift:126-136 | Sources/StringUtil.swift:140-150 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebeca7e10cdfa92cbe0870835348efadd015661ab4101ef9e573e7976899b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/TokeniserState.swift:1019-1029 | Sources/TokeniserState.swift:1072-1082 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TokeniserState.swift:1019\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"3269856cc0080dcd593fb23a37fa3786ff8f0b658492490721806c73b3e0ba0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/TokeniserState.swift:1717-1727 | Sources/TokeniserState.swift:2045-2055 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TokeniserState.swift:1717\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/TokeniserState.swift"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"779ca402aa39592688e0a0e0e478c9fe8f77bb9af1efa9bba286e7a7bc20b94d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/TokeniserState.swift:1760-1770 | Sources/TokeniserState.swift:2088-2098 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TokeniserState.swift:1760\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/TokeniserState.swift"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f72a59ecb03044622eb89f86a71b8ae44f95f2aae104063fa4003edbd3b237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/TokeniserState.swift:1859-1869 | Sources/TokeniserState.swift:2127-2137 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TokeniserState.swift:1859\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6f6478f7767c4c687e0d2b3d96d81914e44149817903cb11bd900f0e5109a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/TokeniserState.swift:1879-1889 | Sources/TokeniserState.swift:2140-2150 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TokeniserState.swift:1879\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1879}}}],"partialFingerprints":{"codehealthFindingId/v1":"9debd8f15ff1a2065dea217a09c11fb35493a5b1179c9e7e3fe57e1962a6c0b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): Sources/TokeniserState.swift:1509-1518 | Sources/TokeniserState.swift:1586-1595 | Sources/TokeniserState.swift:1650-1659 | Sources/TokeniserState.swift:1795-1804 | Sources/TokeniserState.swift:1855-1864 | Sources/TokeniserState.swift:1914-1923 | Sources/TokeniserState.swift:1978-1987 | Sources/TokeniserState.swift:2123-2132 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/TokeniserState.swift:1509\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/TokeniserState.swift:1520\u0060 calls \u0060emitDoctypePending\u0060, \u0060transition\u0060 and \u0060Sources/TokeniserState.swift:1596\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"d547c65f0c63e2b71573f51a4e7641482d0ef5a2333ea29ea95218172407253a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Sources/Entities.swift:591-600 | Sources/Entities.swift:843-852 | Sources/Entities.swift:1092-1101 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Entities.swift:591\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f7968cda8380d1855027f092426e6380f56ec6b1edb39ed2998b3cbeecfea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): Sources/HtmlTreeBuilderState.swift:357-365 | Sources/HtmlTreeBuilderState.swift:396-405 | Sources/HtmlTreeBuilderState.swift:445-454 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/HtmlTreeBuilderState.swift:396\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc87c08f293daa607bc999c54f7c06b0bb0f41324a316a4801c59edbac04a981"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Evaluator.swift:895-904 | Sources/Evaluator.swift:930-939 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Evaluator.swift"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c8ba4894585d5151efac6d417e643c2f3080c538ce48054014f62c8161c7b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/HtmlTreeBuilderState.swift:568-577 | Sources/HtmlTreeBuilderState.swift:612-621 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/HtmlTreeBuilderState.swift:568\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/HtmlTreeBuilderState.swift"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"43dacf15d892dbf21e0997473c18fd5baa48e2ce4f890d662e1d0e544d057f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/StringUtil.swift:46-55 | Sources/StringUtil.swift:59-68 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e010d6797d78df4798201f2f34f3d9ab9777a535d23c1fb8469f45ded5b2a1a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/StringUtil.swift:72-81 | Sources/StringUtil.swift:85-94 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7145c77cc46082c7823666f9da00795dbf7c6bf3ad6959a2cbffb7fda4054f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 9): Sources/TokeniserState.swift:1394-1402 | Sources/TokeniserState.swift:1452-1460 | Sources/TokeniserState.swift:1588-1596 | Sources/TokeniserState.swift:1652-1660 | Sources/TokeniserState.swift:1797-1805 | Sources/TokeniserState.swift:1857-1865 | Sources/TokeniserState.swift:1916-1924 | Sources/TokeniserState.swift:1980-1988 | Sources/TokeniserState.swift:2125-2133 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/TokeniserState.swift:1394\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TokeniserState.swift:1392\u0060 calls \u0060error\u0060 and \u0060Sources/TokeniserState.swift:1450\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d430fb9d4252a253f0becf2170bc03e9ac892ea328ed7e7475a3b153075d8516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): Sources/TokeniserState.swift:1609-1617 | Sources/TokeniserState.swift:1671-1679 | Sources/TokeniserState.swift:1816-1824 | Sources/TokeniserState.swift:1876-1884 | Sources/TokeniserState.swift:1999-2007 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/TokeniserState.swift:1609\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TokeniserState.swift:1607\u0060 calls \u0060emitDoctypePending\u0060 and \u0060Sources/TokeniserState.swift:1814\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f64be8fdc80b161dfbc33f55a4c9b6ab72887964e4ec862d04a7760ee1e9a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Sources/StringUtil.swift:154-162 | Sources/StringUtil.swift:178-186 | Sources/StringUtil.swift:215-223 | Sources/StringUtil.swift:239-247 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/StringUtil.swift:154\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a952b43d140545aedcb05f811eeddc5a7362bd4e16129f5b4578eed9004ba8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Sources/Entities.swift:603-611 | Sources/Entities.swift:854-862 | Sources/Entities.swift:1104-1112 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Entities.swift:603\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/Entities.swift"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"419841a3afe675514b6bc4e8b17629ac4c90b4545cbd755aaacbd4a082fe3df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Element.swift:1286-1294 | Sources/Element.swift:1340-1348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/Element.swift:1286\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/Element.swift"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c119311977bf257f9bfed91df68ed05e38eb430ea7acdb6e6fa948cecf71e04b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/HtmlTreeBuilderState.swift:1328-1336 | Sources/HtmlTreeBuilderState.swift:1382-1390 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/HtmlTreeBuilderState.swift:1328\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23081172d771428f10e0ea5775c25618b3fa6fe9fd344e0df628b339efb486e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/TokeniserState.swift:660-668 | Sources/TokeniserState.swift:830-838 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb10ae304d9c0b724e7ae190ca69f127c9de112bf875240659b7fcc666d93f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/TokeniserState.swift:705-713 | Sources/TokeniserState.swift:874-882 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"e514dc1e479fa7b4dfd7591b8efcdacdc9190bf6e860cc5c2e6caede0989f43d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/TreeBuilder.swift:71-79 | Sources/TreeBuilder.swift:94-102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TreeBuilder.swift:71\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TreeBuilder.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d88552d1d3b38532a377396ce1f7b1644c60fc03bf63e6c08de79928ce96221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Sources/CharacterReader.swift:1097-1104 | Sources/CharacterReader.swift:1298-1305 | Sources/CharacterReader.swift:1399-1406 | Sources/CharacterReader.swift:1522-1529 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CharacterReader.swift:1296\u0060 calls \u0060memchr\u0060, \u0060Int32\u0060 and \u0060Sources/CharacterReader.swift:1095\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d70485716aa42bc790ddc1a07291b7d41372060576c5edc55d4393f6bf77ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Sources/TokeniserState.swift:1179-1186 | Sources/TokeniserState.swift:1222-1229 | Sources/TokeniserState.swift:1282-1289 | Sources/TokeniserState.swift:1375-1382 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/TokeniserState.swift:1179\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/TokeniserState.swift"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e060554f0ab9b914354b520eb49055137654512f5dfe546781fa12f3572b5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Attributes.swift:460-467 | Sources/Attributes.swift:503-510 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/Attributes.swift:460\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9a1f9f4c748d1c886ca92c21abfd6d2e3e80e0be77c4eaae7d3253bec70a77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/HtmlTreeBuilderState.swift:2235-2242 | Sources/HtmlTreeBuilderState.swift:2266-2273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":2235}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4dbc35097e85bd3796c0bb618ced2b6a54fad5b6a867d8fd2de19fc0a10166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/HtmlTreeBuilderState.swift:2346-2353 | Sources/HtmlTreeBuilderState.swift:2417-2424 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/HtmlTreeBuilderState.swift:2346\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":2346}}}],"partialFingerprints":{"codehealthFindingId/v1":"990fa7d40823a7e792636efaf837d559c1b2fda0e9b37fafde9c3f1833882b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/Evaluator.swift:358-364 | Sources/Evaluator.swift:396-402 | Sources/Evaluator.swift:434-440 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Evaluator.swift:358\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Evaluator.swift"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36b065b6ba695ce2ff45df1e53eb5fe06afa946d0cf4c4d27b5806d2843583a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CharacterReader.swift:916-922 | Sources/CharacterReader.swift:955-963 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef52d3c01253ab6c6820635d88913861d9873d91ad56ead5ef5164eb525d228f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Sources/Document.swift:590-597 | Sources/Document.swift:598-606 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/Document.swift:590\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Document.swift"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"162f6a1905d15d5327c4bd92d08ce062664f324a8e32c4187de1aa035c2d1bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/Evaluator.swift:906-912 | Sources/Evaluator.swift:941-947 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/Evaluator.swift:906\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/Evaluator.swift"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b47ef1a94d8f19d93f828077e0c01e560c6cbe47161d0f3529f598f8285d74b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/HtmlTreeBuilderState.swift:2373-2379 | Sources/HtmlTreeBuilderState.swift:2415-2421 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/HtmlTreeBuilderState.swift:2373\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":2373}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a47c8221686ce1f10497450cf4f71de91b4e760a4b89cb89a5ad0a9fb635860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20138 lines \u00D7 3): Sources/StringUtil.swift:652-659 | Sources/StringUtil.swift:887-894 | Sources/StringUtil.swift:1086-1090 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/StringUtil.swift:652\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StringUtil.swift"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c9c07e91d10937421a42f5f363d136c95c931e3212eae7ad148046f4c1ee8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/TokeniserState.swift:2551-2557 | Sources/TokeniserState.swift:2700-2706 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/TokeniserState.swift:2551\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted 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/TokeniserState.swift"},"region":{"startLine":2551}}}],"partialFingerprints":{"codehealthFindingId/v1":"88045fc00e94ac235f01b020cb48599bba8a0cf6120a17e37ecc80bd3c721270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): Sources/CharacterReader.swift:1113-1118 | Sources/CharacterReader.swift:1177-1182 | Sources/CharacterReader.swift:1244-1249 | Sources/CharacterReader.swift:1340-1345 | Sources/CharacterReader.swift:1472-1477 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CharacterReader.swift:1251\u0060 calls \u0060UInt64\u0060 and \u0060Sources/CharacterReader.swift:1184\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f80ffcc32ccd0a56056e6ca745aa9ee5dc2f2eceda5af82f226e734135661c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/CharacterReader.swift:1119-1124 | Sources/CharacterReader.swift:1251-1256 | Sources/CharacterReader.swift:1348-1353 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CharacterReader.swift:1119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CharacterReader.swift:1250\u0060 calls \u0060UInt64\u0060 and \u0060Sources/CharacterReader.swift:1118\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterReader.swift"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57149dced9b0ee726f0ffebf82b4c03c454582bbcb6d28f240113366b3d7b5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/HtmlTreeBuilderState.swift:263-268 | Sources/HtmlTreeBuilderState.swift:2373-2378 | Sources/HtmlTreeBuilderState.swift:2415-2420 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/HtmlTreeBuilderState.swift:263\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/HtmlTreeBuilderState.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5fe6430305d6b26b4a8a6efc086f4381d54cdc4e4e6956d7b1fc1cc0164373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/DocumentType.swift:145-151 | Sources/DocumentType.swift:156-162 | Sources/DocumentType.swift:167-173 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/DocumentType.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0ef13e9ac913f7bc3c2e10bb1938d293afde37a7e9a150d8c4b0648332aa85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/Element.swift:599-603 | Sources/Element.swift:1526-1530 | Sources/Element.swift:1608-1612 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Element.swift:599\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d3a688b7101fc1c3e518c4d5a7ad31bd0d4a400ec22e5eca358f63beddf36f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Whitelist.swift:526-530 | Sources/Whitelist.swift:571-575 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Whitelist.swift"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6028cd1eafa9088e1512eb6e62784c2cbe480b4a55fbf1c2d9e1633ab6276f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/DataNode.swift:230-234 | Sources/TextNode.swift:338-342 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/DataNode.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"567870d9ee7682d05a5979bd437d78a9162131c7211a120f1881bc3e5da88d69"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 34 shared lines): Tools/compare_blank_text.py:17-94 | Tools/compare_character_classification.py:52-137 | Tools/compare_child_reads.py:22-99 | Tools/compare_cursor_moves.py:21-98 | Tools/compare_exclusion.py:18-94 | Tools/compare_independent_hotspots.py:18-94 | Tools/compare_ordered_insertion.py:18-94 | Tools/compare_tokenqueue_search.py:15-93 \u2014 These 8 members are variants of one another: a block of 34 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1019a020a15c27847d4ce140e6d5954a78ccd49f3cba400d3c51bf53bc3cb681"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Tools/benchmark_blank_text.swift:83-104 | Tools/benchmark_sibling_endpoints.swift:71-83 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/benchmark_blank_text.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"476cdb83802618dc94b6d2e2f75d7442616d2e9e91190c88a745688e28b2bf4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Tools/benchmark_pattern_reuse.swift:5-8 | Tools/benchmark_whitespace_runs.swift:11-14 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/benchmark_pattern_reuse.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74a42fdcffab45dfd3849015f230dbcc4c6cfd48356d8fe96cd0449c4210d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 3): Tools/SwiftSoupProfile/main.swift:481-500 | Tools/SwiftSoupProfile/main.swift:511-527 | Tools/SwiftSoupProfile/main.swift:534-553 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Tools/SwiftSoupProfile/main.swift:481\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/SwiftSoupProfile/main.swift"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c46d1dec042526e4da80b476dad1d7972ed16ba4aaf3d7faf39cb501984f22f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): Tools/SwiftSoupProfile/main.swift:450-462 | Tools/SwiftSoupProfile/main.swift:469-478 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"Tools/SwiftSoupProfile/main.swift"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f69b8d59a2cc425e681c50a5cbb2512e837afb04d061606e02a54ee4ed27a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Tools/SwiftSoupProfile/main.swift:390-399 | Tools/SwiftSoupProfile/main.swift:606-616 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/SwiftSoupProfile/main.swift"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"863be0072beef42310b7a3e2fd8da89d7a4cc2a78d72f9f3adffc48c8adea610"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Tools/SwiftSoupProfile/main.swift:435-444 | Tools/SwiftSoupProfile/main.swift:618-627 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Tools/SwiftSoupProfile/main.swift:435\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/SwiftSoupProfile/main.swift"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"b631835824dd19c7ebd014a90f4a151eaf101266494fbbfde87cd5d016cdb969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Tools/benchmark_exclusion.swift:85-94 | Tools/benchmark_ordered_insertion.swift:78-87 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Tools/benchmark_exclusion.swift:85\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/benchmark_exclusion.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2ead8d4f43cde7c646653ed0bb083d0c17f5c3d4361761a59c09d13e713872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Tools/SwiftSoupProfile/main.swift:259-267 | Tools/SwiftSoupProfile/main.swift:269-277 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Tools/SwiftSoupProfile/main.swift:280\u0060 calls \u0060Data\u0060 and \u0060Tools/SwiftSoupProfile/main.swift:270\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/SwiftSoupProfile/main.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0e568ddcc78f5b89646fbbeba3f0b0fc5e16532c2307cccb0dca207e354cbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Tools/SwiftSoupProfile/main.swift:391-397 | Tools/SwiftSoupProfile/main.swift:608-614 | Tools/SwiftSoupProfile/main.swift:624-630 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Tools/SwiftSoupProfile/main.swift:391\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/SwiftSoupProfile/main.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53a249ba30ede76884731ff186f97a997dfc3d63aea52ad19d9224f502668e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Tools/benchmark_character_classification.swift:69-75 | Tools/benchmark_cursor_moves.swift:99-105 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/benchmark_character_classification.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e4648f92817dfca49c67d530bed721f415c3e50fd7e52adb11135ec772003e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Tools/SwiftSoupProfile/main.swift:439-444 | Tools/SwiftSoupProfile/main.swift:577-584 | Tools/SwiftSoupProfile/main.swift:622-627 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Tools/SwiftSoupProfile/main.swift:439\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/SwiftSoupProfile/main.swift"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60df3ce212ff92a5185922dc8b7c96df9d8c8e002a41241ed267d2f3a4d5332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Tools/benchmark_child_reads.swift:132-137 | Tools/benchmark_tokenqueue_search.swift:79-84 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/benchmark_child_reads.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31cef443ebd594f7f15c54f2624e3f993b773283048c1ca7ce533760d438052"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Tools/benchmark_exclusion.swift:4-8 | Tools/benchmark_ordered_insertion.swift:4-8 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/benchmark_exclusion.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1581b4731e59fe72efacc7974f0bba3dd4493e7c34d995b8e876b045c69b5b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Tools/benchmark_exclusion.swift:45-51 | Tools/benchmark_independent_hotspots.swift:81-87 | Tools/benchmark_ordered_insertion.swift:34-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/benchmark_exclusion.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"142713dd6db48b27af21b7798183b338f30505441ba6165cb928e03765ac363d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20139 lines \u00D7 7): Tools/compare_blank_text.py:51-52 | Tools/compare_child_reads.py:56-57 | Tools/compare_cursor_moves.py:55-56 | Tools/compare_exclusion.py:52-60 | Tools/compare_independent_hotspots.py:52-60 | Tools/compare_ordered_insertion.py:52-60 | Tools/compare_tokenqueue_search.py:48-49 \u2014 before extracting anything, compare \u0060Tools/compare_blank_text.py\u0060 and \u0060Tools/compare_child_reads.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"254cbf07162a7d3510b4c43900fb3e43c1b2329f403426bb037e36e9a2c94474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20138 lines \u00D7 4): Tools/compare_blank_text.py:53-60 | Tools/compare_character_classification.py:104-105 | Tools/compare_child_reads.py:58-65 | Tools/compare_cursor_moves.py:57-64 \u2014 before extracting anything, compare \u0060Tools/compare_blank_text.py\u0060 and \u0060Tools/compare_character_classification.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"86463409321dc1a0bce72b0deba1225f3f9a86878fe1eec21cb29ddf702c6384"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): Tools/compare_blank_text.py:64-71 | Tools/compare_character_classification.py:108-115 | Tools/compare_child_reads.py:69-76 | Tools/compare_cursor_moves.py:68-75 | Tools/compare_exclusion.py:64-71 | Tools/compare_independent_hotspots.py:64-71 | Tools/compare_ordered_insertion.py:64-71 | Tools/compare_tokenqueue_search.py:63-70 \u2014 before extracting anything, compare \u0060Tools/compare_blank_text.py\u0060 and \u0060Tools/compare_character_classification.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Tools/compare_exclusion.py:63\u0060 calls \u0060max\u0060, \u0060min\u0060, \u0060ceil\u0060 and \u0060Tools/compare_blank_text.py:63\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0c24584574d7c88bd2a66c04906dc4ca549f3e6cf8e20c1a5ea4f4b96c96f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): Tools/compare_blank_text.py:76-83 | Tools/compare_character_classification.py:119-126 | Tools/compare_child_reads.py:81-88 | Tools/compare_cursor_moves.py:80-87 | Tools/compare_exclusion.py:76-83 | Tools/compare_independent_hotspots.py:76-83 | Tools/compare_ordered_insertion.py:76-83 | Tools/compare_tokenqueue_search.py:75-82 \u2014 before extracting anything, compare \u0060Tools/compare_blank_text.py\u0060 and \u0060Tools/compare_character_classification.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ce9f12a293df1942901e2804ca67707f7461d99e66dc68c37cd8c926ab9f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): Tools/compare_blank_text.py:19-30 | Tools/compare_character_classification.py:54-65 | Tools/compare_child_reads.py:24-35 | Tools/compare_cursor_moves.py:23-34 | Tools/compare_exclusion.py:19-30 | Tools/compare_independent_hotspots.py:19-30 | Tools/compare_ordered_insertion.py:19-30 | Tools/compare_tokenqueue_search.py:16-27 \u2014 before extracting anything, compare \u0060Tools/compare_blank_text.py\u0060 and \u0060Tools/compare_character_classification.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Tools/compare_character_classification.py:68\u0060 calls \u0060validate_workloads\u0060 and \u0060Tools/compare_blank_text.py:31\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb8129bdbbd51832d92ef9303d171862a1ed72327e70148a5919a6de486d0ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Tools/compare_exclusion.py:55-60 | Tools/compare_independent_hotspots.py:55-60 | Tools/compare_ordered_insertion.py:55-60 | Tools/compare_tokenqueue_search.py:52-57 \u2014 before extracting anything, compare \u0060Tools/compare_exclusion.py\u0060 and \u0060Tools/compare_independent_hotspots.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Tools/compare_tokenqueue_search.py:58\u0060 calls \u0060max\u0060, \u0060min\u0060, \u0060ceil\u0060 and \u0060Tools/compare_exclusion.py:61\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_exclusion.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b4c60d482e896b2b0c45d76ae493a057bca0b7a1f2ab391f1b769cd54c908b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Tools/compare_blank_text.py:17-22 | Tools/compare_character_classification.py:52-57 | Tools/compare_child_reads.py:22-27 | Tools/compare_cursor_moves.py:21-26 \u2014 before extracting anything, compare \u0060Tools/compare_blank_text.py\u0060 and \u0060Tools/compare_character_classification.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37e15b693481e83cae19b854a99c893722c3c80dc729521306c2ba4b2327400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): Tools/compare_blank_text.py:41-47 | Tools/compare_child_reads.py:46-52 | Tools/compare_cursor_moves.py:45-51 | Tools/compare_exclusion.py:41-47 | Tools/compare_independent_hotspots.py:41-47 | Tools/compare_ordered_insertion.py:41-47 | Tools/compare_tokenqueue_search.py:38-44 \u2014 before extracting anything, compare \u0060Tools/compare_blank_text.py\u0060 and \u0060Tools/compare_child_reads.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Tools/compare_blank_text.py:41\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39bbc46fcc83299196214a49f964e0be826762a15e58b9a22cb4efbaab903ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): Tools/compare_blank_text.py:33-38 | Tools/compare_character_classification.py:71-76 | Tools/compare_child_reads.py:38-43 | Tools/compare_cursor_moves.py:37-42 | Tools/compare_exclusion.py:33-38 | Tools/compare_independent_hotspots.py:33-38 | Tools/compare_ordered_insertion.py:33-38 | Tools/compare_tokenqueue_search.py:30-35 \u2014 before extracting anything, compare \u0060Tools/compare_blank_text.py\u0060 and \u0060Tools/compare_character_classification.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"646c9a53bf799a418209a9a2a9f0a53aae4c8be07d902a19bc5bf7e6a6e7f2c5"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: SwiftSoup: SwiftSoup: abstractness 0.03, instability 0.00, distance 0.97 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c967050c2240ee89233fdb38e77d85a9d5a7767a7fc95019c10735b0611da682"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Element (LCOM4 50): Element\u0027s methods fall into 50 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 50 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/Element.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"495bc8dddf0039fe720cb1de396b90f9cb5281b7c6715bc6ad8b2f95ac6e8c76"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: String (LCOM4 17): String\u0027s methods fall into 17 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 17 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/String.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abb8aede27421011e914c67c99acd7c4d44488f913fe6894fcffb0fee5f8798"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HtmlTreeBuilder (LCOM4 9): HtmlTreeBuilder\u0027s methods fall into 9 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 9 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/HtmlTreeBuilder.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"599311187348e3b534eef387a536f17084a46d7ed68191bedef798db6d719b2e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Node (LCOM4 9): Node\u0027s methods fall into 9 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 9 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/Node.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce43e1b49fad1fe48006e8de6b8ae0630b052b9af2d9ce50bfd121fe15f3771b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Tag (LCOM4 7): Tag\u0027s methods fall into 7 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 7 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/Tag.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"259a30c53c77bc54dd640a8c23fcc337de7e1d0bce3a5e8a4d75d4cbfbd7b975"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Token (LCOM4 7): Token\u0027s methods fall into 7 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 7 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/Token.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8c398274cfcfadbdedb24723d65bea80a675643b3a87bbd0f34e4881b3aeb8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppDelegate (LCOM4 6): AppDelegate\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/AppDelegate.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5206c928a705a3bbe9b74dad5a99fc83cdee3853e66be68e536caee82336f2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Document (LCOM4 5): Document\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Document.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"64966bc08533811fb1a367c3836b8868ec9179137a68805ac5d506129d3fdf7b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ParseSettings (LCOM4 4): ParseSettings\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ParseSettings.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6eb1be8105cdfdfb3f553ddf6ff4897339916029f5e6bf3cb99fc7680654fd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: XmlTreeBuilder (LCOM4 4): XmlTreeBuilder\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/XmlTreeBuilder.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"561fdc97a289d5f01d46f5189e0ab8d3cf8c4ef31b0736c5db8d1ef2299a7b72"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/BinarySearch.swift: 37.1% line coverage (13/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BinarySearch.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07b0cca5c9d69f15b92da8e882b8374af7615103394505bd2341d93b853b266"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Profiler.swift: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Profiler.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"195c03fe8d9cd14974164152b291be7ef52675165a50f00598d4850d558ebb1a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/StreamReader.swift: 0.0% line coverage (0/63)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StreamReader.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de0485657c095c33cf70557368876744849d7b82498f0570d431031e346a7b8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/TokeniserState.swift: 42.7% line coverage (1213/2844)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79536bf0f5a39481e8687947a53aecf6a78e0abc2b09d2d60c8f9462c46ffc6b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/UTF8Arrays.swift: 45.1% line coverage (128/284)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/UTF8Arrays.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccce636fdadd9fb350f62518169621c38be1f5416de423fa0ee8dec112c6c40"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/UnicodeScalar.swift: 0.0% line coverage (0/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/UnicodeScalar.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9526c3db069ad45c4b85fe6b9346c712763c5de5d9ce353bf1098da231c030e0"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testElementsRemoveProfile: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/ElementsRemoveBatchTest.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5674165fe7dfd0458a0a74c6956a3c636b5dd758de83174b01104c5cfa628314"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testForeignSelectorStringsPreserveRemovalOrder: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/FoundationRemovalCompatibilityTest.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"53107b0cc18c6ddc2d978cd21a4ee15df256b44f4950c9d2c7b28b87c814ba13"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testBridgedArrayAccessorsPreserveRemovalOrder: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/FoundationRemovalCompatibilityTest.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f68a2fa0818405006b01c8f6065146e08a5680ee575f28ceadbb1a7a5b5ef7"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testContiguousCocoaSelectorStringsPreserveRemovalOrder: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/FoundationRemovalCompatibilityTest.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e416d825297634ea5aa9aac4d31e21796c43adc7dfb8527af1f6a7fa11d4a8"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testNativeSelectorStringsPreserveAssociatedObjectReleaseOrder: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/FoundationRemovalCompatibilityTest.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"021692bdee76f9f9d7f51624c37b5af1e14b9187d0368942687c55b464cfd3e4"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testBridgedArrayCountPreservesRemovalOrder: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/FoundationRemovalCompatibilityTest.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8c60671e1ef5ee8dd59f99d00decc4de6f7fa00d3579a6262e2ce2eb6e399f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testHasAncestorProfile: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/HasAncestorCollectionTest.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9fc9d878ef9658893570cfc68bbf06f7f1703ec9a98f6912950ae6a08a7c71"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testStackTrackingProfile: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/HtmlStackTrackingTest.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd2caa23fa88a251832ec3492306c58eb40a96727d4a1088863812f93e932c5"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSmallRemovalProfile: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/SmallRemovalProfileTest.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fec575dffb1a8a954a50bc44a3ae104cf8d83aafbe15a3824649936f04625f4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSharedCollectionNotifiesEveryElement: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/AttributeOwnershipTest.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6621d81464e231c499920246076738a8857241caef3e174075caab418d04971b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testManySharedOwnersAndRemovalOrders: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/AttributeOwnershipTest.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"948ba0856b82ad2a7a82fb7c3f76c87117036cdd6ecec3f61963fc0200ed9136"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGenericDispatchAllRangesAndBackings: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/ByteSliceContiguousStorageTest.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf61a9f11b634d38bfb3044351ccfecb043a824f18e41b809afd0df1e5c1238"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNonASCIIScalarsAndComposedGraphemes: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CharacterClassificationFastPathTest.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dc2fa3cf1e6e8ff9700f36be9cef8ef58a00a04ce466841b087c01d0bec003"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testRangeEquals: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/CharacterReaderTest.swift"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9971f08eb823eb3c929e38459ba005c4456bf267d34eb3790c75c713589fc4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testURLCrashRegression: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CharacterReaderTest.swift"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"882e778ae738acc3897b4cd179cec42554b072c869c0af8e41087eee91bcf5dd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLetterAndDigitTransitionsPreserveUTF8: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CharacterReaderUnicodeCursorTest.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"484fae1f2ed08fae3ccb331739e7f8c8b533f44f1540276ab5c94f3351968725"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGeneratedScannersMatchIndependentScalarOracle: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CharacterReaderUnicodeCursorTest.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5647d38a1bc3eac7d5837e41b48370f757ce679171d8ecd73e3355e818b301"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMixedNodeListsAgainstExplicitModel: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/ChildIndexedReadTest.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4876552d00d95aeb01130fd283dc889d02beb18ee27bba7d75fd1de481edff"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStaleSiblingIndexesAreNotUsed: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/ChildIndexedReadTest.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c1e3cda65389efc01ac8a8df75cd83d85b7e2a8e82c70e2a605c2db882871e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSeededMovesRemovalsAndEmpty: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/ChildIndexedReadTest.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e66f6387f177c3a5d702f8f7d3c72b63ec3782fb0ee285e240d4a4ee24255c7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTrimModeTrimsWhitespaceFromHttpURL: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb23b2b4bfe0dd945e66b7a3327430dcf75575125b836d62f67ad71d25839ec"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTrimModeTrimsWhitespaceFromImgSrc: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"a665dd281af031aa1b0702b5e9c47bd985369c62ae73adae012996da3dc7dc01"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTrimModeTrimsWhitespaceFromMailtoURL: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad66724044cf2302077dbdccb55e3415ca9f852dc66de7d9fd7f5a129f2c924"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTrimModeStripsWhitespaceOnlyHref: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08b68c8420f4c80ce35c1a70015b3e14b2ae75d38bc5e8baa87238db4a8f371"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTrimModeTrimsTabsAndNewlines: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"a555981d6f1c4d96ed4a068681648367612c3b4b6b54bcb4190c8ecabfbe635e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTrimModePreservesInternalWhitespace: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"2164a7224dde4a23c178ba5111cc75524ee9f9af960c9927a0d072a7e7903bd8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStrictModeRejectsWhitespaceURLs: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2abdab273826386ca621c91836372f6b1de3c85ade52cc9c700d178dcac8122"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStrictModeAllowsCleanURLs: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ca41651291b11c091d99106274fade91584ae7b63e62a611fe76fc2c59ee93"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAllowModePreservesWhitespaceInOutput: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cb4b80b8c76b9cbdbd0c682c539a11dc55833b53e43c8811bb0107e15eddb9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBaseURIResolvesAbsoluteWhitespaceURLInStrictMode: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec284c7a18fa2bcab917a6c8354ef167d6c607f2234a80f4382b552608199330"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBaseURIResolvesAbsoluteWhitespaceURLInTrimMode: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2f17a4745e0c389cc741c38568b19f3c107e06b1a89f4b21ef944e320415b1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBaseURIResolvesAbsoluteWhitespaceURLInAllowMode: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad205138f72e054b0087db29fb44312274b49ace9f3a400b76c511308e8c6ee"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBaseURIResolvesRelativeWhitespaceURLInStrictMode: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb541d55847b5ea9a2d4c59f638401de87fb1847da8cc4c402ebc4a55148f3d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBaseURIResolvesRelativeWhitespaceURLInTrimMode: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d5df8ab5bad17def3f4483f4d5cd388deb4d02a79003a1adf86c2df78a2536"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBaseURIResolvesRelativeWhitespaceURLInAllowMode: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9895200747996e2378f56bad4fdf4a24ddf672d667b69c67d8a064b0b175e58"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStrictModeRejectsNonWhitelistedProtocol: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"54414faf5b501e7e918fd29b27e842b864858f79d2fc6ed7ca4ba27657318a21"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTrimModeRejectsNonWhitelistedProtocol: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf3a05284cb2a751aa2ccc18ab7be06f0b2d88e1fcd6245c47929d64c3e69a5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAllowModeRejectsNonWhitelistedProtocol: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d74615a4822cc8e71650371047cba46d46edda4bc38b8b94aba8cf6430436d0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTrimModeRejectsWhitespacePaddedNonWhitelistedProtocol: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"138693efffe196d411691fe85350e9f2ea0c2a57aa7baddc1b5644901f720340"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAllowModeRejectsWhitespacePaddedNonWhitelistedProtocol: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CleanerTest.swift"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52cd38d62054f517225e21d5293e3353cb06c58a4192d7e7e3337131176867a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnclosedNumericArgumentsAreRejectedAfterEveryCombinator: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CompoundSelectorSpellingTest.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"93faa336766fa7205f130c7d5b757394f3aaf3f9039eb5191a2df759ae753105"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNestedPartialFunctionsCannotRepairNumericArguments: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CompoundSelectorSpellingTest.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"49041bf4b7fffd46a31403d257cffe61554f5de35e014d10f7584605c65c4ea7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnicodeCaseMappingAndGraphemeBoundaries: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/ContainsTextParityTest.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad93c8e3fd50b0b66330471b83b23be2ba25178513ae0e4fe20c5d3cea851b3f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPreservedWhitespaceUsesTheSameTextAsPublicGetters: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/ContainsTextParityTest.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"625a4558e706b221981ed1aa1b533bbe2da8186e1fdf90f5174bfe619a05f0e2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTrailingWhitespaceCannotCompleteAMatchAfterTrimming: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/ContainsTextParityTest.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cf4302704f8df386675be14f10bc64d4fb333fe95249b52b8da5262ee20aef"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmptySearchAndOrdinaryAsciiAgreeWithStringGetters: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/ContainsTextParityTest.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"abeea063bce2fe668ff47d918abab737d5370049b6986f4c009043a648fcf97a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLongRepeatedPrefixesAndOverlappingMatches: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/ContainsTextParityTest.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0035c21183bc24315bb2631a7f53154dc590c4f0fb59aab74786d3b39fbc23a0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAttributePresenceSeedRetainsValuePredicates: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssCollectorRefinementTest.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9646e223d8f8661e0b4105c884b6d5d750faf9adbfb156186f8f947638b948f2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAttributePresenceSeedRetainsRegexPredicate: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssCollectorRefinementTest.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"086c1ca3f06c06524d62fe0f3494a708694e34e8f6f16703ae0248c9a49e36ad"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAttributeNegationRetainsElementsWithoutTheAttribute: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssCollectorRefinementTest.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"490dbedcd7969b849b1af1bb1ad368bb8fb053d209e01c33227ff75375648edc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGeneratedUnicodeWhitespaceIdentifiers: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssEscapeReviewTest.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"25279f537806880c4560ef7b9a0703ac8c0c6d3490471303f0c649f4919e7d59"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTrailingSimpleEscapedSpace: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssEscapeReviewTest.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9f7dc4dd7d3ad82a5b1c9b6fcbb29a25e802b422d2b2d64d7837cf8b2348d4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBalancedBackslashParity: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssEscapeReviewTest.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ed81268e1e81bea049c1f2801dff068a4f00fcff49ad4872fa84147253d1b3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNestedCombiningDelimiters: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssEscapeReviewTest.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f5014b77fda6e4131898e9d09353a1ac842a8c4e2d84b56b9ca08e7e19e00c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPaddingDoesNotStripUnicodeIdentifierContent: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssEscapeReviewTest.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6526daab42060e3dfe8b0ba6f2386a4e3a449864225097b94c50ceb1155a067"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEveryCssWhitespaceCombinatorBypassesTheBareIdFastPath: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssEscapeReviewTest.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"b919fa8a1cb29e6deb173df91251ebccbd80c6c0a3180c363ae6927bc25ac77d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOneThroughSixHexDigits: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssIdentifierEscapeTest.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42c3d3b3c30b62a3fceb7ae9c1a7ea0986405b88eb916454affca14d24a1404"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSixDigitLimitAndGreedyConsumption: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssIdentifierEscapeTest.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0922dab2ae327babddb98e5ddbd1c24fa5ab0f3e085b384aec941ead24845444"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnicodeCodePointsAndBoundaries: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssIdentifierEscapeTest.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcc2c91083d8cbab240cd0c391efa8565a83707eb55a86b12d45d5fce5a01a7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInvalidHexCodePointsUseReplacementCharacter: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssIdentifierEscapeTest.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"411f9072e1b6f784b8d0700324c55dc2ce3ec8fc8a08c4be8c774ad165ce1eeb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAllCssWhitespaceTerminatorsIncludingCRLF: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssIdentifierEscapeTest.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46b9c674f7ce010ab3b0a6154721f3d74f4604daacc3e71792dcb34242bf65d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOnlyCssWhitespaceTerminatesAnEscape: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssIdentifierEscapeTest.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"51aef2dc1baac6b98c406b84e01e8f1768cf9fd15bdcefe1cb6e76cee5681c49"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDecodedPunctuationStaysInTheIdentifier: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssIdentifierEscapeTest.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a53fd11b4b14dde27a7454f67d280133b7dbc92dabcb31e8529d1625f36f10c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testHexDigitFollowedByCombiningMark: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssIdentifierEscapeTest.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52038af177ad08156f5f8016bcc079f6b32ccaca1862080d6faea1508f429e2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmptyAttributeEqualityRetainsExistingTrimSemantics: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssIndexConsistencyTest.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3616be90766c51b954fc1c05e2cac053ad25fcdff1f5a64441a3ada26587961c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmptyAttributeNegationDistinguishesMissingFromEmpty: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssIndexConsistencyTest.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"975f46fa0efa30db72f4852da77ce1548f727b4f8b34d60689d56363b7a171f7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmptySubstringOperandsNeverMatch: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssIndexConsistencyTest.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1434bec7683ced35b2cff8a444369dd4ee4db4ae49b4f9b271dc98b8e5b0cb2f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmptyVirtualValuesDoNotInventResolvedAttributes: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssIndexConsistencyTest.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c31bc520f6f8929622166d959e960cec8d0f7f7d8dec5792329a50e53ad0657"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnicodeIdsAcrossAllSelectionCaches: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssSelectorUnicodeRegressionTest.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d63d4a01329ae4c393fcb27ddf464192bf6f804d62fa8c093ea5cccaad80f1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnicodeClassesAcrossAllSelectionCaches: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssSelectorUnicodeRegressionTest.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fcd00c69de4b4418a34232491f80bf73fcaf7ecc35ec5bec6c666300fa59ca"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNamespaceSeparatorsDifferFromEscapedLiteralPipes: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssTagEscapeTest.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02739759d72ea262b2de2e79f6fb5d75d274274a72e4476d18a71287853429e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNamespaceMarkerBeforeCombiningMarkUsesCodePointBoundary: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssTagEscapeTest.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49ae92bce4b694ad9f0a4e0bc34b731a5fa6ee7eb34be412079072e1370e5f8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWhitespaceAndCombinatorsBeforeCombiningTagName: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssTagEscapeTest.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec15884ce50d128d9157c0d48cc345310653d2d632a7d7f03726b00c58dbc5b0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNthChild_simple: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssTest.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7768492cb6b5c8bfcf0af92daefd28330279901318bf964da648204a11e5a04d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNthOfType_unknownTag: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssTest.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdf3a3db653402fc9aeabd4ccc7b6119c85fd9f223f3482778ef5cfe00264ba"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNthLastChild_simple: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssTest.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd273b34cd62c83271260dbd9c94be9f4ace948a42e5fcbfa23a0f078c9a37a6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNthOfType_simple: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssTest.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"48eb65df889e24fd7206f3c3fc7d8d40d0711262a9a3395bbb40b7c8d868633e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNthLastOfType_simple: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssTest.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d893552f38abf69c47f2a014f4b013ab277d0b95acaa5de6a37f27b09a23a578"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNthChild_advanced: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssTest.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"5429f3f0a8c8fa07dd16b343f687d73de11e6e51538a24b68a35fb838ce09252"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNthOfType_advanced: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssTest.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb5bbd7ee131b06d27a764bc3715f16a715fdc8f6475811b9f96e480ab85ee4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNthLastChild_advanced: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssTest.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bbab00ebf42d42f6174fbbef0a590b96dacc14c1451afbfb98f644dcc1fafe"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNthLastOfType_advanced: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssTest.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb62e1b585fd2b68dbe68a1e3d95a3b4fac39910d7b75ff87e12aef316b6ad3a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFirstOfType: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssTest.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b5fec82a14f6580da4a71e5df52fad35926aa955cb5df5318bc5ff8b5fa180"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLastOfType: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CssTest.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2824588547a77c3661e6b06eb3268f66e02b85059fbc7a37aacfbaa35ff73e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCustomPredicatesKeepDFSCallOrderAndCount: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CustomEvaluatorOrderTest.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d068cb6724a7d71f89dcc9967571e0985e1351e8e2ba4eb9e7109a215d71c17"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNestedCustomPredicatesCannotBeHiddenByBuiltInWrappers: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/CustomEvaluatorOrderTest.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2283b985a0f6ddd8008d0f1ed8857957dfb26fbacf533c004c32bc301067a2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNormalizedLeafText: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/DOMOperationBenchmarkTest.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f7655b6628dd4d65bf3d9d09aa8f9c5567851a7393a28a2c5743711ff0289e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRawLeafText: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/DOMOperationBenchmarkTest.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b4e419572dcb1001567a4d4b22f3c9edbb3c3776dab452af9dd750eb96c4a5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMixedNodePositionsAcrossWidths: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/ElementSiblingPositionTest.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5318c0144a6fa091c389ad9570ae2471ada4f524f9d7e419285d7016c3133f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDocumentAndFormParents: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/ElementSiblingPositionTest.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8745403e3e96ac14263d04e734f28cd0b0ebca5d2e25235a5bd698075cbec6c"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testDataset: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/ElementTest.swift"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23a8af8322907543a17ae786a39cc53d7ae0557398b13aa8c0113140b21fec7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnicodeRunsAcrossSettingsAndStorage: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/EntityEscapeRunTest.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"217a1967b4792dfed4d5e5318a07266c6846b87b6e275fc334329f9f3f85d53a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMalformedAndTruncatedRuns: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/EntityEscapeRunTest.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"781af39e1814a6da48de2b929868d89e1b350691b816c2d1bb8bcdbfa11d6214"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEveryLeadByteAtBoundaries: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/EntityEscapeRunTest.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b08e57830ceddcc82d3263946e652fdf1b6a976c381c2c2bd7691c2e6d31ae"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBaseAdmissionAcrossStorage: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/EntityLookupStorageTest.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8150f13e4552fceb14c2a0cdf418bb629c3c6e81eeaf973565f8410f71d50f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnknownCaseAndBoundaryNames: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/EntityLookupStorageTest.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"14129063e07df64b455edac3d7a2becd534022d6bcaed6c814264d8d8e211241"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testParsingCoalescedTextWithoutSourceRanges: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/FragmentAppendBenchmarkTest.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"41aa1807a7657a94884f82dddfd6e85fbadb18bc88f3ec98493881ed1e4c130a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testParsingDiscardedTagsWithSourceRanges: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/FragmentAppendBenchmarkTest.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c138e2c92873faa35a9d2a488eb206777aa29a1488a6b8823b8f15d8c1c9fbf1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTextAppend: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/FragmentAppendBenchmarkTest.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"870fd7886032f03d16529fb9930292d2c96a97d5354b6e553d9ebff942578919"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDataAppend: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/FragmentAppendBenchmarkTest.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a780e5e76c4e74f2730d9a4f1937050d63c6eb2d76e5e1b18d9fd034731dbdc1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAttributeAppend: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/FragmentAppendBenchmarkTest.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde20725516bfa1a5f2773dedaeff8be1d42fa6c105d7497b1eaff2b56f066ae"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEntityTextParsing: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/FragmentAppendBenchmarkTest.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5cf7cac6134f4136b1a0837ed6056bd3199aef61899f0b50c74f71c01eaee0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEntityAttributeParsing: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/FragmentAppendBenchmarkTest.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87ec54369d96936730a4dc42e17a576681e1e324351b6e12bd5cc4c933623e5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testScriptParsing: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/FragmentAppendBenchmarkTest.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b4a550d256496370d960e790490c969dcce5142907422c2f10bf54d0f17edd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDocumentConstructionAndSerialization: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/FragmentConstructionBenchmarkTest.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6807a6394d8ddd64d5e2ec239cd6a9171594e095cbbc8c8e78a181069cdb17a2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFragmentConstructionAndSerialization: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/FragmentConstructionBenchmarkTest.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8513e0de075b4e38c844013b783b390cb02d4249798a256e53339f2879390af"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReaderInjectionReplay: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/FragmentConstructionBenchmarkTest.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"73914230ca5601a05494669d9ed001330bf7bb05208fb05bcb320b52796713cc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmptyArrayAppendIsARepresentationPreservingNoOp: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/NoOpTreeMutationTest.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05d7964619208bad62cafb96964b6d9be04047e8dabafb7656e28258278fc0a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmptyVariadicAppendIsARepresentationPreservingNoOp: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/NoOpTreeMutationTest.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ceba1b0f111c9048c0364eb7eda6fdcc3f1f098e9605524bd41b13bf7e5529f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmptyIndexedInsertPreservesAllValidGaps: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/NoOpTreeMutationTest.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b644b2f2228e1d9d8bce0ffa710cc507d923e0fb816935b21a2ed1c30b7745"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testElementEmptyInsertPreservesNegativeIndexSemantics: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/NoOpTreeMutationTest.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ee778b121a02b56a578e76ff615c5b8978c5e581d8902f3cb6da0d7ea436a2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmptyHTMLAppendAndPrependLeaveSourceUntouched: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/NoOpTreeMutationTest.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6eb92822c0393ed030578cd63fd024eae5e8c85174b7d518d0b7fd99e49fc7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmptySiblingHTMLLeavesSourceUntouched: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/NoOpTreeMutationTest.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"961943dca733c18ab3740b76bad71c27d3b33a8338941fa061cfd3937096cdba"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmptyOnAnAlreadyEmptyElementIsANoOp: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/NoOpTreeMutationTest.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"34351badf39d9190cd47cdc803c56525863e845cb97e29a0428d694b6dd29853"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTraverseOrder: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/NodeTraversorTest.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f097369d8ae2e37ed436bf2532373f2e09a7eae3b7df567c1eb60eced181a523"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTrailingAndLeadingGarbageAreRejected: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/NthSelectorBoundaryTest.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9216c97b1c4bbb05eb10ab6a010a4539295ec803b97e92d55f09f835d1dc2776"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWhitespaceCannotBeDeletedIndiscriminately: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/NthSelectorBoundaryTest.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e50363c174981bec6a3410ed22718cb49c03d08a0a304f1fb2ae9c16de26c25"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNonCSSWhitespaceAndUnicodeDigitsAreRejected: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/NthSelectorBoundaryTest.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c99019277e34c2c78799564862c4259b0a5b216bfb44958bc2f8ae57490bee4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOutOfRangeIntegersThrowRatherThanTrapOrClamp: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/NthSelectorBoundaryTest.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"342f84b74f215b5064a4297fc308a6211b6073646b1bb333abaee09e403e37e9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMissingClosingParenthesisIsRejected: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/NthSelectorBoundaryTest.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"687e54fb990e8cd2088c45103492d431b0ccf019729bdc2525f3959a9da9d9a3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInvalidIndexExtensionsFailNormally: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/NthSelectorBoundaryTest.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8cb1e50b79afb0fd01a1ee5141ba18b91d82b7847089bfe27f07ca241504e6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEveryGapAndExistingValueAtSmallWidths: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/OrderedSetInsertionTest.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"29849098fb4630f582ba74413be6e93b0ccb4081e3bc1f981476dfcbb3a8a314"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSeededInsertRemoveMoveAndReplaceAgainstArrayModel: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/OrderedSetInsertionTest.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38b0d6314c800a95a434a1e897aeb7834fccfabd53eeb343b8ec95e735b7756"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSequenceInsertionAndSubscriptUpdatesAfterSingleInsertion: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/OrderedSetInsertionTest.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc5c807b91bd9cfe1c451802e90ea0243e866ed54035e51197a460afff03c7b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEverySourceDestinationAndBothPublicOverloads: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/OrderedSetMoveShiftTest.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1e9f4bc718c43b757e939b1197906d54c83e213099f4e9277f85e940e35183"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAbsentAndSamePositionMovesAreNoOps: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/OrderedSetMoveShiftTest.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6a1e005ef6dce0b76378952d14df72561c1398db9421987266128f7fc59f72"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSeededInterleavedMovesAndCollectionEdits: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/OrderedSetMoveShiftTest.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15ce78e4f651be9f96dcaf19d08dfbea1e183e261e5b61891f7adb5f2109cd5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEveryPairIncludingSelfAndMissingKeysPreservesIndices: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/OrderedSetSwapIdentityTest.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e591548eaa529c93fa8b2f7b4dedce81af1dc115f3eb10a6406a73907f33069d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDuplicateAppendKeepsPositions: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/OrderedSetUpdateTest.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"981c4dcda3b6f08fce7d74bf3504fd08c75a19e84ebf7d434c6b15f67431cbf0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRemovalOnlyShiftsFollowingPositions: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/OrderedSetUpdateTest.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f760fa2ca9673dae5d3f93070891c818985f7c8258cb6ce3743a5a1445383a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMixedUpdatesMatchArrayReference: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/OrderedSetUpdateTest.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1c217f311470c5d948a9e00a6ab4e02aac0904b23ce30d70f20486798e2fb0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEveryClosingTagCasePatternWithBothSourcePolicies: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/RcdataMixedCaseEndTagTest.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e90100d5d1a52b9990361c836e5a35511e5013b3e952fbfdca81bb0227ffc8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStringDataAndBorrowedInputParsersPreserveLiteralMarkup: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/RcdataMixedCaseEndTagTest.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"affa3e57c6e341ded7c7faf2b0f25f6557a6912978e5724e8114abcf7579d504"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSiblingDescendantsAndNestedHas: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/RelativeHasMatchingTest.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d3430766202536e71d9cb7bc73d4aeb3a8f045be735597f49c36c984aa04ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCacheCopiesPreserveSiblingSearchWithMutableInnerGraph: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/RelativeHasMatchingTest.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefed7985bb70c5ea3df1d2c1b0fb91375be8f9cbf750d6a0fbfde03c0531c7e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOrdinaryHasRetainsCurrentCandidateScope: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/RelativeHasMatchingTest.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a84d9f538fb39c008a2f65ae1028675a7439ab04a65f3a1e07b901f176d147"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmptySmallAndThresholdBoundaries: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/SelectorExclusionTest.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2a634c01d35c3ca1a372ba299e08cc37299475b2988bd80cc57a74e1205037"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStructurallyEqualNodesAndClonesAreNotExcluded: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/SelectorExclusionTest.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"09688f6e4e15e48014999e1cc125cb2b9ad40635f0c1bdb84432dd7180f6e6c5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSeededExclusionsMatchIndependentReference: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/SelectorExclusionTest.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab648b63559cbe479a4e92780dbff4e6dfb125f0202cc1027b70a4dbade891c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWarmedSelectionsAfterClassChangesReparentingAndRemoval: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/SelectorExclusionTest.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"138b89edd946e433e0c64111660443caad5138ce062cd7083746c2b5c5f2040f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDocumentAndFormElementParents: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/SiblingEndpointReadTest.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"690f394659a644d7f2deb8cfd6ba291af0873c5b060d8461592515588619efed"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStaleSiblingIndicesDoNotChangeEndpointReads: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/SiblingEndpointReadTest.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd652e22767e6977e69aa747436d3afd847f789e261702cd355c73e842b680c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAllByteValuesAndMalformedUTF8AcrossBackings: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/SingleTextBufferTest.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8de73dce55299f1727a2ce5e20f5b0a6eb35cb65bea95600623cb98e9c9aba1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLongSingleTextSlicesWithLateWhitespace: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/SingleTextBufferTest.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef5fd3fc051167ad9c6b072ce82fe3ae580c7fef32a03a1cc310968c5ba53e1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRemovalWithExplicitAndImpliedTbodyAcrossQueryRoutes: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/SourceReuseTableMutationTest.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dc6a1593137297c161292332cf5b31f87748fb04a855f3082ed203516418f6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNestedImpliedTbodiesDoNotHideRemoval: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/SourceReuseTableMutationTest.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbd5a2f79adb1492410d0fab22a5b63e644b57a9d1d73cb8b80b2a64efca7ee"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMovingParagraphBetweenCellsDoesNotReplayTheOldTree: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/SourceReuseTableMutationTest.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0796c535edf6a5eb3d40434203506c1e50362e401b08e70dd87a886488a07321"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeepOnMainThreadSurvives: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/StackOverflow393Test.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06f1a7ad740df12bc213b5c714c689f50cf661bb4da5a23966811ea4355cc3a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInsertExistingChildAtEndUsesOriginalGap: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/TreeMutationBoundaryTest.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9070ec193bf59ab59f22ebea2affe40fabdfb5aca63de7dec2930cb0f158c3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInsertMultipleExistingChildrenUsesOriginalGap: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/TreeMutationBoundaryTest.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac63b0541972d8ff42dd9855254948c885886529511349f616721401095d8982"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSiblingMovesBeforeAfterAndSelf: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/TreeMutationBoundaryTest.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0d0fbfbeea53f92623b6ad50ea15cc1b71b67c0e759b765e9c40d8f5e1b57b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRepeatedReferenceInsertionDoesNotDuplicateNodes: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/TreeMutationBoundaryTest.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e66e15d40d79677cff7214f94c6061adda694f7b55ff4716bf431c8f7512ce4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnicodeWhitespaceAndCallbackOrderAcrossStorage: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/WhitespaceRunTest.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac72e93ddfa90690212f895ecf4ea86db744f30d320f26a1b4ff3ac57439559c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEveryLeadByteAndTruncationBoundary: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/WhitespaceRunTest.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20b662135e49de4a3390d1a6efb3be3e9a2df9d6ab2c89e2886d7ce85dde063"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSeededMalformedByteCorpus: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/WhitespaceRunTest.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca75486e6343e18c4a8b794c228ac6a03f9bd98f914f64bc60051d32ecfb687f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWildcardIncludesUnprefixedElementsAndRequiresWholeLocalName: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/WildcardNamespaceSelectorTest.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff5ab7e8fefbaef20bd28b339ac77cb986f5f16490f4605422b3719c42eaa55"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPreservedTagCaseMatchesInXmlAndProgrammaticTrees: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/WildcardNamespaceSelectorTest.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d344eb8d9d0c25f65c9769c3479e3e053637caf95c5ec535fa0a897ac999304"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWildcardWorksWithCombinatorsAndFilters: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/WildcardNamespaceSelectorTest.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6197923c8c2fab4203f2d9eccf86338b30846ad571292d675d430fb9e6904b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNamespaceAlternativesStayGroupedAcrossCombinators: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/WildcardNamespaceSelectorTest.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bdaadbeb30eb51f7c1736f0960347771295e9a423f3916d9511bf99eaea60f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnicodeLocalNamesUseTheSameNormalizationAsOrdinaryTags: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/WildcardNamespaceSelectorTest.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0f0285c26084904a8dc4a3528a7d965abf4a3150d4e850a1c7660c6412bbb5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNilReplaceInQueue: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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/SwiftSoupTests/XmlTreeBuilderTest.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"1854f3d6e05422219d7276951e22545a3a49f0410a669e235b0d30fbd20deeaa"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: .::SwiftSoupTests.PerformanceTest.testSelectPerformanceIndexedAnd: Passed 1\u00D7, failed 2\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7389660b4dabae3254b4d570dfbb951db01f125e043dd9db3b856ed03126a290"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/HtmlTreeBuilderState.swift: Sources/HtmlTreeBuilderState.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 706 in HtmlTreeBuilderState.process at line 78. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 13:20:27 -05:00\u0027 --until=\u00272026-11-11 13:20:27 -05:00\u0027 --full-history --no-merges -- Sources/HtmlTreeBuilderState.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/HtmlTreeBuilderState.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"406001376594ba38a2829169a637577ba84de379e975081c0a0a6d7f7e4c2b96"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TokeniserState.swift: Sources/TokeniserState.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 411 in TokeniserState.read at line 185. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 13:20:27 -05:00\u0027 --until=\u00272026-11-11 13:20:27 -05:00\u0027 --full-history --no-merges -- Sources/TokeniserState.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/TokeniserState.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"883faf3e3f4cd85f229bd24d75fd6ff93e21a14934bc8db5391437df9737fe19"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Tokeniser.swift: Sources/Tokeniser.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 122 in Tokeniser.consumeCharacterReference at line 768. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 13:20:27 -05:00\u0027 --until=\u00272026-11-11 13:20:27 -05:00\u0027 --full-history --no-merges -- Sources/Tokeniser.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/Tokeniser.swift"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f8c9de1bdca6e280ab768859387b0584045f3feae0deaf64a681956a58633a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Entities.swift: Sources/Entities.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 119 in Entities.escape at line 838. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 13:20:27 -05:00\u0027 --until=\u00272026-11-11 13:20:27 -05:00\u0027 --full-history --no-merges -- Sources/Entities.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/Entities.swift"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ddc771d8522ff4b33ce1ff27e0be40618b1fb68d51707ce0fa8dbf91db1110"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/StringUtil.swift: Sources/StringUtil.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in StringUtil.appendNormalisedWhitespaceBytes at line 1004. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 13:20:27 -05:00\u0027 --until=\u00272026-11-11 13:20:27 -05:00\u0027 --full-history --no-merges -- Sources/StringUtil.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/StringUtil.swift"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"f116788305f2ec21f812e794300405e850c9122d1e498a4de47c98965f15d6c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QueryParser.swift: Sources/QueryParser.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in QueryParser.findElements at line 167. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 13:20:27 -05:00\u0027 --until=\u00272026-11-11 13:20:27 -05:00\u0027 --full-history --no-merges -- Sources/QueryParser.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/QueryParser.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d42f3fdea6a2e6784d16d7823f3768fe2c176646dbcbc2f23129e8b4ac8412"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TextNode.swift: Sources/TextNode.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in TextNode.outerHtmlHead at line 275. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 13:20:27 -05:00\u0027 --until=\u00272026-11-11 13:20:27 -05:00\u0027 --full-history --no-merges -- Sources/TextNode.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/TextNode.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce9eb9adbed0049036c9d57878c533f43dac2c1ff60fe9d35ab010d6fa14314"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Collector.swift: Sources/Collector.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Collector.seedCandidates at line 194. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 13:20:27 -05:00\u0027 --until=\u00272026-11-11 13:20:27 -05:00\u0027 --full-history --no-merges -- Sources/Collector.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/Collector.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7ca86ef2ef1993fde1e56cf7746ae5102c7e23bb992d2959c928e670b67612"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 7 significant file(s) lose their only recent owner: Sources/Tokeniser.swift, Sources/Document.swift, Tools/SwiftSoupProfile/main.swift, Sources/StringBuilder.swift, Sources/XmlTreeBuilder.swift, Sources/TreeBuilder.swift, Sources/ByteSlice.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a8c267196c02580180e49c655556f2c93bf5c5ad1356459da35808b9146f51e9"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (8 single-owned of 72 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 72 of the 88 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: Sources/ElementQuery.swift."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: se serve \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/AttributesTest.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b307a8f57057a66f64e24db59b0aa5681788ab7d68beb52d83f8e3d5364abbf9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/DocumentTest.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11830cb2361f10870560bc32e6d710070c742c0a7f9820f73effb0e848ad5e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/DocumentTest.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e579297064febdb54228502220fd895ce46631282dcfe1c51220eb21620900"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/DocumentTest.swift"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ed4079bf8cdd74f54e714c86d416d95019d1d9d99c8e11962b2e5c94380a20"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/FormElementTest.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9bb0c09f2627f9fa7aade88c89c418789f7b8d947824f452b115556dfdeca6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/FormElementTest.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcc11e6fae5e15ab5443aba4881e97d75f5f103541d259f4a3308630bd7c7a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/FormElementTest.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"258ef90084671dc6b27d5b90454ba29ca4ebc46701f599d9dc12b029d9cef0cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/FormElementTest.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"51367803e5028e9c5d52953bfeae6f36bca4a59027b3eca23c1cf0338ebfb2ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/FormElementTest.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"579dd33196931a662409666e9db69e3fbd58379b4e88ddb07b4e3fcf2cb29213"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/XmlTreeBuilderTest.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"8047cc81e72fa110a77a4ae00a48f1c84b624ffaa6bc7fc8993ca66bd35ac9b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FormElement.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8899d2a5dacedfa41ea56edbfb18e36e0bd523ee1e26a89c3825741f7314ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FormElement.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6d48b06f45edec63cc75473a10c2dc012caadf975460ee78b227d9b05337bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftSoup.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb01755ee16576668c6349b0b4de7a2b22e68c110c4ba08e8d558ae3798d9e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftSoup.swift"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"73221405246c516414492249aeb8534f6488ec47c0988a31a28b39b7ce2898f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftSoup.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"106e02907ff9a9f67d30522d4cd5b4384bc961000e997e4c87f4167367349052"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: // Ignored since this test can take awhile to run. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/DocumentTest.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d9e265025473e39af7da4a95fde08d2e287ca08969bfe98d0250a7fd86be23"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo:datase is a simple dictionary but in java it\u0027s different \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/ElementTest.swift"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c4fe7f4dac7485dd810c6f4be3f3a07217693c8d04fa1d3f60841f7d24c954"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/FormElementTest.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c2a778054774203fc0a7e83791f83a431821059004943ea41972d2047dc3f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/FormElementTest.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac40c2fc4c3dee3a9d43b47477ab4cc9cba6dfd90bc7edd76ddd9536025c538"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: as this is html namespace, should actually treat as bogus comment, not cdata. keep as cdata for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/HtmlParserTest.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"030a16fcf8ac93668ad8a5452cef262225ae6ed0bdb169c277eed3d55fdaa870"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:Nabil in swift an url with scheme wtf is valid , find a method to validate schemes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/NodeTest.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9aeb5238bf251558f30128ab4622a1fdc12c5061227ba76054495e11baec985"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //XCTAssertTrue(a!.hasAttr(\u0022abs:href\u0022));//TODO:nabil \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/NodeTest.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"abab874b15e7a2f611abaad89b6d4d16959cc043da297cd29375160ae140cf90"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:Nabil \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/NodeTest.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b45e00faa1e361d1b74c0bc00d571f25e5b91effcad1d63ab35f17eb338f24"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: nabil \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/XmlTreeBuilderTest.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b407b1ece2fe05bcb2568268bfed4074e54cdb16ff3d2b711e1c8406e0bb4b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: nabil \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/XmlTreeBuilderTest.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"81af951fa0bc2d1c1eeec5f821595af03de893c8172083cf2cd8cc0f8a0d158d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: quirk mode from publicId and systemId \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/DocumentType.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1c447fecd9c1b31a26ed2b310e9a6e50c86bf19af7a2619f13c485ac56242e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: should firstSibling() exclude this? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"306777df246216f3034d0a69e5be56c0dd8ee5b598385a9e0e5e644b5d369216"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo add more charset tests if impacted by Android\u0027s bad perf in canEncode \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Entities.swift"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1aef70c0eb8cff1a1158c2e97ad86b429d559d5ea4ab7f99c54bad35f95515"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: in mathml namespace: mi, mo, mn, ms, mtext annotation-xml \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"37831556abb17fa3de87558f9a38acca84e7613a38d1b5c4882c3cf4f4d0cb72"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: in svg namespace: forignOjbect, desc, title \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8687c6cd1eccb7164f5090ef188d5e78f447603393bce0c22528689da7c13b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: mathml\u0027s mi, mo, mn \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e2e3c51be852060f4b86d392846e62cc10facd8eab9555e251ad2970377c92"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: svg\u0027s foreigObject, desc, title \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf0bd1c1646e34d087f1e022cf877aaafa888562088824f15b685d5ffe64bda"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: namespaces \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a25387e0fb5bb4a0306d170861070701dca2bac1132015b9611022e798be1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace sets with byte masks for speed (easier done via single byte ASCII assumption, too) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8069d08de138dd9aef00f61cb45ee2fd8add36a59ff178efefabf0e61e98c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: parse error check on expected doctypes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"50105c8c07da466afaab844fcb1f8084b0493e54f8c13137610dc388a51eed9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: quirk state check on doctype ids \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c7c3d6d2abb047d7686165e668db9d49a7962f1e6cbda07487b869c64fe787"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: check not iframe srcdoc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e70c8e5c89b93261b266240e8b7d7aefaadff7126abafa99ff0fb68507ef95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: charset switches \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0e591930db3fa5af3f09647975a9c50bfaddbb0e4b5ce579385b83002f4028"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo confirm that check \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe613920a73c514438782a91c04889f55a71a53770bdf7cda290256c097e9d87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: ignore LF if next token \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7575c648b4b9b8c5a06883e7cb648cdf7290147a18ea906aeccea5f99815940"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: ignore LF if next token \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a22ebb9c42a1a47d75618316e041d139de4b9d123918a07ed8d9df183f4952"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: ignore LF if next token \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef00b77bee8fcdf3e5742a96cacb67047077cb2b2ff85ccde4aa8b2cb05f0ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Let a bookmark note the position of the formatting element in the list of active formatting elements relative to the elements on either side of it in the list. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aac910f10f28319307b9c9923df91055e66f3231b67818718260559fa451e26"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: move the aforementioned bookmark to be immediately after the node in the list of active formatting elements. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec239564cb937639b8623fff8632a9a068a0dac6acbdb97ddbc8e75640e509d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: insert the element into the list of active formatting elements at the position of the aforementioned bookmark. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc356302e15ed100f82323bee3cc2f5ca1578dfc86f363c4eaba4bf1d9de445"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: error if stack contains something not dd, dt, li, optgroup, option, p, rp, rt, tbody, td, tfoot, th, thead, tr, body, html \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7e9e2cf757d8f40433457fa793f26f6ca5d1597d0f3664830048284c7d2d17"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: error if stack contains something not dd, dt, li, optgroup, option, p, rp, rt, tbody, td, tfoot, th, thead, tr, body, html \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b170bcb459b80c09180b58d84628721f9a4380813bc4a5477267b025ca568d67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: error if stack contains something not dd, dt, li, p, tbody, td, tfoot, th, thead, tr, body, html \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe890f84c3a179386ddea7ca96f4b7a3214c63543afc5d82a0a30043ae08973"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: check if should return processed http://www.whatwg.org/specs/web-apps/current-work/multipage/tree-construction.html#parsing-main-intable"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"6288de5bd67bec5455b5f8da8d51efc74c6a56f9b07e79acf4bcad69aa7361f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: as above todo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce3185632ee54266838b14ed9493fbb80ade7cdd6880d925d5c20da9cc017bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo - don\u0027t really like the way these table character data lists are built \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"679f458109e836d789d4a206e29d27625071dd0d41c8da7d6d1fd6f3c5ba8c8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: implement. Also how do we get here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilderState.swift"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9165f329d03598fb0435a6034949eb4a1fc0f1bfd56586cd8a2bc73897df64d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: I think we just need submit tags, and can scrub listed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tag.swift"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0cb41692450067f752e592f3698d39aa34601e7cc3120612e51550011f9473"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: method name. not good that consumeToSlice cares for case, and consume to any doesn\u0027t. And the only use for this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokenQueue.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5a253210ebb2b87b9d84cc5b2bf7f78b14d1491313a826ae67c382fa2f7ff9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: implement namespaces correctly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Tokeniser.swift"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b3caebc0c68b3860ca9ca51e7142945c09223f974845928842369125f3a969"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: handle bogus comment starting from eof. when does that trigger? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"37169928819f576c0f50048c030176f06a16ae4189000b82f8d2b28e6522087f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: replace nullChar with replaceChar \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad4ebdf83b0568daaebe73b5b4b5397adfff23dce03b26f46207eb506c2b69a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: should actually check current namepspace, and only non-html allows cdata. until namespace \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TokeniserState.swift"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"766a8051e2759f1a481886e4cb32a5e9973fcdf3718ecf23ed8ed2a1422beea9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: wonder if for xml parsing, should treat all tags as unknown? because it\u0027s not html. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/XmlTreeBuilder.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c458133f86eddbb8e995e115ab95d3e0214bfc957776870f31e6c12a349d6154"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060Package.swift\u0060 makes this repository a deployable product (line 11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Package.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cb68a1ee6c4cb93e1c9ac7b48b28011c2bc672548de5c6ade44fdf2c34c979"}},{"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":"4a376d8887d7e2811028edc2e81fb5316b1b60ee943dd54a851083e482e6fdc6"},"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":"c1d1d7dbc95c237f2f1a72149aa67dae755563c644611afa39453d41a3423664"},"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":"8458f11f7e9b954c780d7e1d5255e05d633df30f60fad995d32ab761729fc810"},"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":"ed5266fe194bf3b9efd8f3843cad1cc8a87c238b27b43a8fabaf1b43149c7e92"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f2cb46a3e1b226d788907895aafaf81fe1841444c08cbf43cbe68f77bceb497"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84dc980e00341d298165b856da819e904ca7b30cbdae886daa34a404793541e0"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9fd9702ae64e717befed1f7f3fe5e7ba58a4fa14b5cb62b0392b0197056578f3"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"533c3f5f134730ea0c41088932f2bcf61532663cf0667d7356db970636d2406e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6d694637d29f0a482d1f6e27cdf4e59acb2a65f4766ff1a2e2759576986d217"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36b116eed1d79c2884f41f54f17c6806ad3e462defdb7964205e8ad177246768"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82d9acb2bc80fdd6d69b21e0847dfbd608f49b098a3de0cc9172998f5c8f6885"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"150f97bc54d0059a731313a09725627aba2ab30bdf9b42b43bcbc4f730885cef"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"95a82dc58003c8b8a41d45e204ac52380f206aff862b5ab10622450b3bfc8a8d"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"e947a7fc1cc11116d07f49b29a6791584d549a7c28a8c78c64d5cd71b8cf5ee2"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"938ae650b9c3aeadce8b67571997a33aa9e9f5ecd4958e30e329b8fecb9e9c4e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"2226f9f83e50fc01de2c145d5fe97ac87c71004daaf277d87cac4adc58720cb0"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"3b2efe8a679b1c41451af0746e2f8e6ae97780a66c7794bb283de07b0a2ac87f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"9b5b4f6a88b95172d7c38ab516b577a68d4a7b84c86d8462c9fccd03bfcb4ce7"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"c524826082aa91949f4475836df472e4b121e8a2ac04fb6e67ff6876106cb9eb"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f7d582a84621eb922b51d2e36ad17e7162dfda68ef1568cf69d9da8d3ec6c3dc"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"3f435ed349fdd23d224312bb0e4f2b997274bbf3f7adc597d29fa3ee17fd2ba8"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"8b0c408de0d548e723162305caf973a160529a5fb98e15804eff030a0027bb29"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"a851de8ffb06686ac8f3e070c6112ddd46def5ce2539ddf90676e84e165f5a08"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"8cf26872e25bf1cec772380be5012ceb40e7f18e2d91fe5ab0b2493a700df37e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"03018e1883b584e6c273865a7c2f1e736c64a6220fd0b456e6d618f55d72bbf7"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"bd43444f32c3c8cfeb89cc765edf8d0cc83eeda1771e2654afc3d0cab274d452"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"34805b168aa06a41c63efd0a2444f213f40fcca161634d94b57c944148bbc73f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"2a3c8ec261dce8b8b551aea72089e48207b54784271ee8336b08bc842cd5b955"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"652caab4e228e6c39affd36fc8e5b063d3b738d4f4c7d82db30a41005d6c891f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"51d553265a15d0797dfe0c4ba7184b3e7f6a76d19868336ab42da8e0312f1bee"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"48801df7e38f1598c2544c77cf4426ccad381db01ba28798c6d8fe6d1ca38d26"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"05c5f406c1f3e53ad0f8125fad21ef04500cdfd2720852bb684079255386b987"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"fdb2cbf1b61ac159575da3882bb86456f8bf89ac2b8609c9fe17bfd181eb34a8"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"61e7a5cc7b46c435bc428729059d6a90f8e03064bba8cd3bd906012fc18249bf"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"81a70d5b089857009c6d6fef5f782d09dd3228840538761a86444fc75379a70e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"e57c4d74670383de6a449cacddd1ce0e494477308f0d73489ec4d8a85b8cac63"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"a5564bb2f2d4b5683b398ffa721d7c7714800b424cfd7506a4472a4de50a0154"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"0b0c915987e0ecd953bc78593d8275ca699f1e978600d6f8591aabad03eafb49"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"939cee78cedee7c4bb6293bb875196351ece105f03ed7c179a690f079c29678d"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"d14ff9d6a7819c29ac3bce53b83d1af2b90d61efbf558191aa331699d8823e38"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"5bcf8a9669db1c5269dd962bdeee0008ef00ad16c4e5bb838b9aefc3102c6535"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"2b2a2fdc5e9108999af0c07c69ae08ffa946f0743c51f8c19e794ff94d9a9f33"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"9c17036cf57641c9fc24db33d7136f4a01662dbc0c906634a1bac6feb841a5a7"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"8cd64bd55c8bf42229f7e471160c65fc49f91ce4c4062b7b1dd7440cc0b9f398"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 4 of 72 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 72 of the 88 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: Sources/Validate.swift, Tests-macOS/ParserBenchmark.swift, Sources/CharacterExt.swift, Sources/StreamReader.swift. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Validate.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2e6308456a28ac72b9ce7eb6cbc43b03d26e3df1b40c816c934f0d00485fc0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests-macOS/ParserBenchmark.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4c7202fdb358cde0612d04f664e84c39fcc80dcc8848baaf93e192dc7c24f4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CharacterExt.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea47e1baae6c2812495183120e8c120b1107bb3aafa94823fe15933521d3d56a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StreamReader.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6394bd9447f12c50041e46762a2a324ddd08fd678698b83c8d4f80681776f176"}},{"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":"59366ac0e20cee6212ec1b63e77a8e56229ed8e83b8f840c42379e5fb0045481"},"taxa":[{"id":"CICD-SEC-5","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":"0d23b8cc4c95b41a90065f600a82e7b4e2a5eac4fdf78c7a0cf101d6a4b3f434"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 3 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/macos.yml"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data[\u0027expected\u0027] != expected[w] or data[\u0027checksum\u0027] != expected[w]*iterations[w]\u0060 appears character-identically in 3 files \u2014 Tools/compare_exclusion.py, Tools/compare_independent_hotspots.py, Tools/compare_ordered_insertion.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_exclusion.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b868348352b1afaedf17e37918a2eb045edbc92f8ef9c9c3f4032b4a70116d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data[\u0027expected\u0027] != expected[w] or data[\u0027checksum\u0027] != expected[w]*iterations[w][k]\u0060 appears character-identically in 3 files \u2014 Tools/compare_blank_text.py, Tools/compare_child_reads.py, Tools/compare_cursor_moves.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52074b133a9809c49b3104a65eedec2eb3d232997d80c9e5d67656a766c8a7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060w in expected and sample[\u0027expected\u0027] != expected[w]\u0060 appears character-identically in 8 files \u2014 Tools/compare_blank_text.py, Tools/compare_character_classification.py, Tools/compare_child_reads.py, Tools/compare_cursor_moves.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fc4ddb20f9035cf8d395eb26015dac12e7f4794b8fdac08da73d2a6f956955"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x[\u0027workload\u0027]==w and x[\u0027block\u0027]==block and x[\u0027revision\u0027]==k\u0060 appears character-identically in 8 files \u2014 Tools/compare_blank_text.py, Tools/compare_character_classification.py, Tools/compare_child_reads.py, Tools/compare_cursor_moves.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b656c9b581b272566b70923611fffa76d36b9e6c73af886e027c1f7343c2dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.count == 2 \u0026\u0026 args[1] == \u0022--verify\u0022\u0060 appears character-identically in 5 files \u2014 Tools/benchmark_blank_text.swift, Tools/benchmark_child_reads.swift, Tools/benchmark_exclusion.swift, Tools/benchmark_independent_hotspots.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":"Tools/benchmark_blank_text.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f2524a5bd29ddc67b111d9fc9fde4eb0d96e5ebe60a972b14c89ef6f7c6d52"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060byte == TokeniserStateVars.spaceByte || (byte \u003E= TokeniserStateVars.tabByte \u0026\u0026 byte \u003C= TokeniserStateVars.carriageReturnByte)\u0060 appears character-identically in 2 files \u2014 Sources/ByteSlice.swift, Sources/String.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/ByteSlice.swift"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"459b9489bbeb9afc7ee432fcbc2c8887cd8765911885c501d97c99075ce4e0b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060elementType == Element.self || elementType == Document.self || elementType == FormElement.self\u0060 appears character-identically in 2 files \u2014 Sources/Element.swift, Sources/Evaluator.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/Element.swift"},"region":{"startLine":1945}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e59ebac5322d2e65d5b050d787457f5ed5ea79222e9e6a773528e9cf51532d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Collector.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"561c45f986c0d0f6b4088efcf18bb485f1467f666129d918f863ac8f0cb76b4c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CombiningEvaluator.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7964b2bd1149f536fab6d7e35622f5ac3184058a8f8e3c8e8ee46f41e3a74f8f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CombiningEvaluator.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6336e8b03e595b11fc0352423e2846db4fe3105c110d902cc33085636f085c26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Comment.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6b2aaa47a02727d2cd845a5b323037adb64ed170f7bbda05a7c71103a519ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Comment.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f645cf5663c1b3ec7fbf65270e8d1cdbbc4e797179af8f117a3cdc65e889f563"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/DataNode.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bb515d1aea13adc41b2d98360f27900eea65eaaceac591b42df35dae3d2081"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/DataNode.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"9482fbf790bc16c2af7f99588e37c2c38e78d1309327a542cf98588e6ebd414d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/DocumentType.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e100488613c3626fcb4b1787353873c77048db9935116af7d29fab3ad4750522"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/DocumentType.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"28084d9272911a8bc86c306a1a0c526f15abcfce454b433d0ab51bbadcc303bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/DocumentType.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d56f7dcba490ef328b57bb3624d0fca3518be1d8ff264f5c8397761fa4e050"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/DocumentType.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3c9c3c6708a11344ed1c008b2ae9bfe73a34f66e6944e79f885ca5240e4c4a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af5f76a13ee983f46ba1da2d84eef40f93c0c059dc7e9e150ac8f897c646b13"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Element.swift"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fecb36b1f7c2ef6cecd68877a2cc9be0fdfe615eee21a79ea03c40fd32249e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Node.swift"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da93ace9eab1fb783a8e2f11670ac7fa8b93edbbeaccc3acc8bcc664ab525d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Node.swift"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd54155d7190f3e649f443373b731294bcb1bde10809bdacbea8029b4e91de38"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/String.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9007112196381efc2ad400738ea001ac855dac7e7f34d46e490044d09c31054"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StructuralEvaluator.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5d84afe49414606bdb0ee5db3fcb6ece1c151683208b8d559f0b4d24cf6bfa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StructuralEvaluator.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12c9b9a7e744007fd1b5aa7c0a596d043b00ba47d01d2fcb96952fbc9367d5f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StructuralEvaluator.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a0f30a05634f419b11871c343a56f483d2c9333755d704adcfd78b768ae3ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StructuralEvaluator.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"542a117b1a6188aed262f8987f0170bf231e74b23e06cb4728693e717e231571"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StructuralEvaluator.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c01ba8ee7c8e49774cc8ab4db9834812549f1ebd45dd1122a833ce9f0decd9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/StructuralEvaluator.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1006d15c9987361addd4e049bac85f74fdde1e7beaea1ea206e44f4418e3d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TextNode.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e66ef963e53a03e88dba5004eb59f9a69f59628920b828dc05a1679d82c557"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Token.swift"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd6db8cb6eb1e515106ca6515c439bee572ac4cad03b7d4982103fea58a598d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/XmlDeclaration.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b011eb408a922bc573066261a85d382b2831f51c61e4b72a99116c411f492da7"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"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":47,"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."]}]}