{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"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":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF2","name":"Allocation hygiene","shortDescription":{"text":"Allocation hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF2"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"HtmlTreeBuilderState.process (cyclomatic 706): HtmlTreeBuilderState.process has cyclomatic complexity 706 (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/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":"main.swift.runWorkload (cyclomatic 159): main.swift.runWorkload has cyclomatic complexity 159 (threshold 15). 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":"Tools/SwiftSoupProfile/main.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2c100a780e6df6671c226c870b51ea5b591d0c63d8774b7cde900044627bbe"}},{"ruleId":"D1","level":"warning","message":{"text":"CssSelector.fastSimpleQueryPlan (cyclomatic 135): CssSelector.fastSimpleQueryPlan has cyclomatic complexity 135 (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":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e54a0c2cce594246773d600d30f34f7c899cf9e18f8fb10e6cc490057335a03"}},{"ruleId":"D1","level":"warning","message":{"text":"Tokeniser.consumeCharacterReference (cyclomatic 122): Tokeniser.consumeCharacterReference has cyclomatic complexity 122 (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":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"58314820f52f6954a0216e4f5db46a2e4dc49260c535c2173d2ac37627900832"}},{"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":"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). 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":448}}}],"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":"compare_character_classification.main (cyclomatic 33): compare_character_classification.main has cyclomatic complexity 33 (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":"Tools/compare_character_classification.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b226cbb851321d39c24b88718fc4c7a6d141de3d638742efb39135139817fc7"}},{"ruleId":"D1","level":"warning","message":{"text":"compare_blank_text.main (cyclomatic 32): compare_blank_text.main has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0e5b52091b0624e8a4673c9484b890e9b86b66e66c42b6ce050cf317b05644"}},{"ruleId":"D1","level":"warning","message":{"text":"compare_child_reads.main (cyclomatic 32): compare_child_reads.main has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_child_reads.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d16f848c1266f9c7e63d43981d2cad44557fcfcd91f74378de9badbf2605471"}},{"ruleId":"D1","level":"warning","message":{"text":"compare_cursor_moves.main (cyclomatic 32): compare_cursor_moves.main has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_cursor_moves.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ee35f3f3041f7d8f12aced1a9b7ab502e11e62eedae4876b934b7904c08763"}},{"ruleId":"D1","level":"warning","message":{"text":"compare_exclusion.main (cyclomatic 31): compare_exclusion.main 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_exclusion.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4c1c613da1dd03c6a1bccc0717f05a0527967822093a3b404c3a5419529d69"}},{"ruleId":"D1","level":"warning","message":{"text":"compare_independent_hotspots.main (cyclomatic 31): compare_independent_hotspots.main 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_independent_hotspots.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8221d61efc2f212d03d39c83dad8296ac96e9f1c454950d49c401e929be590ea"}},{"ruleId":"D1","level":"warning","message":{"text":"compare_ordered_insertion.main (cyclomatic 31): compare_ordered_insertion.main 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_ordered_insertion.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec350c5981ed252a68d82fd1a706fd19b77249908df3ea795d2653aec17b2088"}},{"ruleId":"D1","level":"warning","message":{"text":"compare_tokenqueue_search.main (cyclomatic 31): compare_tokenqueue_search.main 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_tokenqueue_search.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e718f48979b42d484cc5bbadf90c91460b4d0a7921ebce02e13e51472d5d4a9a"}},{"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":3144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65b302258d632cd20f035976f244a9b69d156222608b315ccc54d2d7486c7ac"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryParser.findElements (cyclomatic 29): QueryParser.findElements has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QueryParser.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b076b198989f67c9a05795842e530059982f45a8b46903838f3ec33878a6ae"}},{"ruleId":"D1","level":"warning","message":{"text":"CharacterReader.consumeToAnyOfTwoSlice (cyclomatic 27): CharacterReader.consumeToAnyOfTwoSlice has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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). 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":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a86bddee81cb8eb4c00103bd90f5cd31b0e5ce58a9eace8a61415507195c6e"}},{"ruleId":"D1","level":"warning","message":{"text":"compare_sibling_endpoints.main (cyclomatic 27): compare_sibling_endpoints.main has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_sibling_endpoints.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1ad4177171db0a864b8dff15f169298312b7d11ed84c0b3cad2656aa8d8ea8"}},{"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":2540}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb564a5b531589315bd3dbd5e80969c72b793a16730640879243b3da2a4b758"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_independent_hotspots.swift.run (cyclomatic 23): benchmark_independent_hotspots.swift.run 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":"Tools/benchmark_independent_hotspots.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"13616214d7c3544eab821e8d0cd1c26ee6bed4854e606c52b5448dd8699ad8cf"}},{"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":"main.swift.parseOptions (cyclomatic 22): main.swift.parseOptions has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/SwiftSoupProfile/main.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"417fbfc58a831196354849da4341d3b1cc74b58e0a6ec8b260667b18d4248d17"}},{"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":"benchmark_blank_text.swift.workload (cyclomatic 21): benchmark_blank_text.swift.workload 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":"Tools/benchmark_blank_text.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd318a721c480da6f8d6348b8e0f422e6cad2817a649f3a4025a3075e8ccaec"}},{"ruleId":"D1","level":"warning","message":{"text":"compare_whitespace_runs.main (cyclomatic 21): compare_whitespace_runs.main 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":"Tools/compare_whitespace_runs.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"913e2ec36966dd6c65448e31bde70c226c33cd3f996760f54aea80493964af49"}},{"ruleId":"D1","level":"warning","message":{"text":"Document.sourcePatches (cyclomatic 20): Document.sourcePatches has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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":170}}}],"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":1041}}}],"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":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"283f64fd40a035546b0086a24a299a0a612c12a2e638c272d22ce63ee9282b91"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_child_reads.swift.operation (cyclomatic 19): benchmark_child_reads.swift.operation 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":"Tools/benchmark_child_reads.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"882e09a2e513761b91cabcce950e23e16e24b952f657671492c1a1442235934e"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_exclusion.swift.main (cyclomatic 19): benchmark_exclusion.swift.main 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":"Tools/benchmark_exclusion.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca337fd8d2a6e2d4fcaed52627bd2ca594978a512c26a16d211c7713a60419e"}},{"ruleId":"D1","level":"warning","message":{"text":"compare_entity_benchmarks.main (cyclomatic 19): compare_entity_benchmarks.main 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":"Tools/compare_entity_benchmarks.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"aece706247fd023640edda5b6aa706d1980680a21e7574a70c16615f68926320"}},{"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). 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":1594}}}],"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":"benchmark_ordered_insertion.swift.main (cyclomatic 17): benchmark_ordered_insertion.swift.main 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":"Tools/benchmark_ordered_insertion.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7c4705993f0116975e403374efe9e35339e4ce78ad60f982f83d6da682a47f"}},{"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). 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":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d5cdbc4f733b7939ca9f2f9c6eb5178cb4256cdeb27570d48b6ea8ed29e75d"}},{"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.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":958}}}],"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":"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":"D1","level":"warning","message":{"text":"benchmark_character_classification.swift.workload (cyclomatic 16): benchmark_character_classification.swift.workload 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":"Tools/benchmark_character_classification.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"919674280574ea9da677282ceba7659943901d5563df4edf3016467e90ef0dc9"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTreeBuilderState.process (cognitive 1857): HtmlTreeBuilderState.process has cognitive complexity 1857 (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."},"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":"main.swift.runWorkload (cognitive 326): main.swift.runWorkload has cognitive complexity 326 (threshold 15). Drivers by points: loops 80 (208 pts), if/else 30 (86 pts), error handling 7 (28 pts), boolean chains 3, match/switch 1 (nesting depth added 205). 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":"Tools/SwiftSoupProfile/main.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d18546b2133c8001cddee89cd16be1f68c054e9023a0896b2b91e1f7f3cf95"}},{"ruleId":"D2","level":"warning","message":{"text":"CssSelector.fastSimpleQueryPlan (cognitive 277): CssSelector.fastSimpleQueryPlan has cognitive complexity 277 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CssSelector.swift"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cb7e70edbdc36303883a90e2c3c1a0616f4f86f755bd09bf249f2f9ae0484f"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokeniser.consumeCharacterReference (cognitive 267): Tokeniser.consumeCharacterReference has cognitive complexity 267 (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."},"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). To reduce it, split the body into named stages: move each independent step or branch into 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":448}}}],"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":"compare_character_classification.main (cognitive 57): compare_character_classification.main has cognitive complexity 57 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 12 (21 pts), ternaries 7 (10 pts), boolean chains 5 (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":"Tools/compare_character_classification.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3ad7c12afe69ea1856fe24af9f7efc2ad926ece0ed796e4d2b3860fb0d4ab0"}},{"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). To reduce it, split the body into named stages: move each independent step or branch into 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":"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":"compare_blank_text.main (cognitive 49): compare_blank_text.main has cognitive complexity 49 (threshold 15). Drivers by points: loops 11 (18 pts), if/else 8 (16 pts), ternaries 7 (10 pts), boolean chains 5 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c323ecb3a13512e7f026b19c36429f71dc22748aeb3ee1d38d371a7b4dc84cf7"}},{"ruleId":"D2","level":"warning","message":{"text":"compare_child_reads.main (cognitive 49): compare_child_reads.main has cognitive complexity 49 (threshold 15). Drivers by points: loops 11 (18 pts), if/else 8 (16 pts), ternaries 7 (10 pts), boolean chains 5 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_child_reads.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7fb4cca999c1ab24a97652cad8fd5c9de338c6e4c3ca73dc8ba47b26d5ec0a"}},{"ruleId":"D2","level":"warning","message":{"text":"compare_cursor_moves.main (cognitive 49): compare_cursor_moves.main has cognitive complexity 49 (threshold 15). Drivers by points: loops 11 (18 pts), if/else 8 (16 pts), ternaries 7 (10 pts), boolean chains 5 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_cursor_moves.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0cba4c21c0b618589fb9bfeeaefc471b81ae13ec910ea05cda63b256accc76"}},{"ruleId":"D2","level":"warning","message":{"text":"compare_exclusion.main (cognitive 48): compare_exclusion.main has cognitive complexity 48 (threshold 15). Drivers by points: loops 11 (18 pts), if/else 8 (16 pts), ternaries 6 (9 pts), boolean chains 5 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_exclusion.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0241650efaffd5fc354b00be3b3cef87c738d2491100587f4d4e582cb45537"}},{"ruleId":"D2","level":"warning","message":{"text":"compare_independent_hotspots.main (cognitive 48): compare_independent_hotspots.main has cognitive complexity 48 (threshold 15). Drivers by points: loops 11 (18 pts), if/else 8 (16 pts), ternaries 6 (9 pts), boolean chains 5 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_independent_hotspots.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda954a53adc7ca6a68af6a2552637afd872078009c7f685e8763633fbd427f3"}},{"ruleId":"D2","level":"warning","message":{"text":"compare_ordered_insertion.main (cognitive 48): compare_ordered_insertion.main has cognitive complexity 48 (threshold 15). Drivers by points: loops 11 (18 pts), if/else 8 (16 pts), ternaries 6 (9 pts), boolean chains 5 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_ordered_insertion.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e63a50826587b721032a7a6b725e97c06853528c32da811ce90a801c799d072"}},{"ruleId":"D2","level":"warning","message":{"text":"compare_tokenqueue_search.main (cognitive 48): compare_tokenqueue_search.main has cognitive complexity 48 (threshold 15). Drivers by points: loops 11 (18 pts), if/else 8 (16 pts), ternaries 6 (9 pts), boolean chains 5 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_tokenqueue_search.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12958bc0f875266961a67abb644d7d9267198199aec708dbca6bab1de1d4d9f"}},{"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":2540}}}],"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":"compare_sibling_endpoints.main (cognitive 43): compare_sibling_endpoints.main has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 10 (17 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_sibling_endpoints.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeeaea171ae8b39f1a7d2dae51e9578b2b375bd681dfe1a49cf61b8c00542589"}},{"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). To reduce it, split the body into named stages: move each independent step or branch into 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":2440}}}],"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":3144}}}],"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":"compare_whitespace_runs.main (cognitive 36): compare_whitespace_runs.main has cognitive complexity 36 (threshold 15). Drivers by points: loops 8 (15 pts), if/else 5 (13 pts), ternaries 4 (5 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_whitespace_runs.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd316549cf805f23edeb6c107d10c9e4212ce5b5131d660321ea1b4e475ba01"}},{"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":"benchmark_blank_text.swift.workload (cognitive 33): benchmark_blank_text.swift.workload has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 12 (25 pts), if/else 3 (5 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 16). 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":"Tools/benchmark_blank_text.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fb3cff7496ac6c5e05823bd8809ed00c4b30aa4b2bbe50525ac920708eb992"}},{"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":958}}}],"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":583}}}],"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":"compare_pattern_reuse.main (cognitive 30): compare_pattern_reuse.main has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 4 (12 pts), loops 5 (11 pts), if/else 3 (7 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":"Tools/compare_pattern_reuse.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca8b32fb991190b8d97816eb3fde723b98d9f3f6c41634441b7ecfcf3b4f877"}},{"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 29): QueryParser.findElements has cognitive complexity 29 (threshold 15). Drivers by points: if/else 28, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QueryParser.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0d0408bc51e79dc759358c43085d3925220fbec045a84e55f4d1ded64e4095"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_child_reads.swift.operation (cognitive 29): benchmark_child_reads.swift.operation has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 4 (7 pts), ternaries 2 (6 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/benchmark_child_reads.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e34468a7a8247e6a1e2ecb1c56808becdbed8327c014f073e93d1525bb77338"}},{"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":2730}}}],"partialFingerprints":{"codehealthFindingId/v1":"6393a268ff2780ae90a66191ce960b6a5bf2a3f30a03dcbd2b3bf767e2bd5db7"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_independent_hotspots.swift.run (cognitive 28): benchmark_independent_hotspots.swift.run has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 5 (8 pts), boolean chains 3, ternaries 1 (2 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/benchmark_independent_hotspots.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"507a43f3e6a459ef8c1fd9b372bd771a9b0df44467366cd4157962fbd6ee1575"}},{"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":170}}}],"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":"benchmark_exclusion.swift.verification (cognitive 27): benchmark_exclusion.swift.verification has cognitive complexity 27 (threshold 15). Drivers by points: if/else 3 (14 pts), loops 3 (6 pts), ternaries 1 (5 pts), boolean chains 2 (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":"Tools/benchmark_exclusion.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc1c353f99131e765215683f6992081284cf1ab70a20057ec9becbed0989106"}},{"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). To reduce it, split the body into named stages: move each independent step or branch into 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":"compare_entity_benchmarks.main (cognitive 26): compare_entity_benchmarks.main has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (7 pts), ternaries 5 (7 pts), boolean chains 3 (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":"Tools/compare_entity_benchmarks.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c02337ed201f2d4cfdcac606f3a08d5a5076f5517bb8875fcdf90fb660b464"}},{"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":269}}}],"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":1884}}}],"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":1091}}}],"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 11 (16 pts), boolean chains 4, 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":410}}}],"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":"main.swift.parseOptions (cognitive 24): main.swift.parseOptions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 8, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/SwiftSoupProfile/main.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3e0942d281e8df1c451dff2b07272b0afd6a840effbf06aeb86a1125bd8849"}},{"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). To reduce it, split the body into named stages: move each independent step or branch into 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/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":1922}}}],"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":2778}}}],"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":"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":"benchmark_character_classification.swift.workload (cognitive 22): benchmark_character_classification.swift.workload has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 6 (14 pts), if/else 4 (5 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 10). 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":"Tools/benchmark_character_classification.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ac69887c00097b23ac8ca6f98e2518d353280b01e0ccd94ecbaee682d4b05a"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_ordered_insertion.swift.main (cognitive 22): benchmark_ordered_insertion.swift.main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, ternaries 2 (4 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/benchmark_ordered_insertion.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"700f006f8a771f9fc9c1b41f258ba078b2e717d19a6e9c8e312166b76f8a92bd"}},{"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). To reduce it, split the body into named stages: move each independent step or branch into 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":1333}}}],"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":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"929728445cf307a0076f353803be005890be63e0cddf31d4e18b0625607462aa"}},{"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.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.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":366}}}],"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":1041}}}],"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":1147}}}],"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":516}}}],"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). To reduce it, split the body into named stages: move each independent step or branch into 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":557}}}],"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":489}}}],"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":631}}}],"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":1274}}}],"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":1300}}}],"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":1328}}}],"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":1965}}}],"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":"HtmlTreeBuilder.parseFragment (cognitive 19): HtmlTreeBuilder.parseFragment has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c3a5ceef044542e00b12560095901615009c21f14b8e91aac9b92189ad0434"}},{"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":1219}}}],"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":"benchmark_child_reads.swift.verification (cognitive 19): benchmark_child_reads.swift.verification has cognitive complexity 19 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 1 (4 pts) (nesting depth added 13). 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":"Tools/benchmark_child_reads.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e2b0184758afabf38d6835875cf8c663d371353085faa5d31b2440e376d557"}},{"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). 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":1594}}}],"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":295}}}],"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":480}}}],"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":1118}}}],"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":"benchmark_independent_hotspots.swift.verification (cognitive 18): benchmark_independent_hotspots.swift.verification has cognitive complexity 18 (threshold 15). Drivers by points: loops 7 (14 pts), ternaries 2 (4 pts) (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":"Tools/benchmark_independent_hotspots.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdabbb102290c0f96c3f3768b8b10fbd341bf0de71e6113bd3229a1820d1ab51"}},{"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":1160}}}],"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":1249}}}],"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":537}}}],"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":1219}}}],"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/String.swift"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e206d74155ea94622317b378eb411351bc13866a991a1cfa7dc43ac5e2e093e"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_exclusion.swift.main (cognitive 17): benchmark_exclusion.swift.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5, boolean chains 4, loops 3 (4 pts), match/switch 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/benchmark_exclusion.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4c1fc8fa82632884b635c42ede7883791f8b860bab57eaf1f2469514672576"}},{"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":117}}}],"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 2497 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 2097 over it, 6.24\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 2593 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: TokeniserState (114-3002). The bar is 500 significant lines; this is 2093 over it, 5.19\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":"FunctionTooLong: main.swift.runWorkload: FunctionTooLong \u2014 runWorkload runs 469 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 369 over it, 4.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":"Tools/SwiftSoupProfile/main.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb31d7920850fbed2dccb1e0f3c5311c096107e5eb77a86534dc8b91c4b546a"}},{"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 1968 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: Element (300-2769). The bar is 500 significant lines; this is 1468 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 104 methods. The bar is 30 methods; this is 74 over it, 3.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/HtmlTreeBuilder.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdc8b42974f503f9c51baf696eaa62757c513c8ce767a247abc00da874e423d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Node: TooManyMethods \u2014 99 methods. The bar is 30 methods; this is 69 over it, 3.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Node.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"adabd81ba6b5db1a4bcdd09e0724e6c0299a6429da7c7e6d9f30838723f2384d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Element: ClassTooLong \u2014 1261 significant lines (blank, comment-only and punctuation-only lines excluded), 176 methods. The bar is 400 significant lines; this is 861 over it, 3.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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: Attribute.observeMutations: MethodTooLong \u2014 observeMutations runs 293 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 193 over it, 2.93\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/Attribute.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"df74f757b876687ce19f4be77f339f6c127eacf71e9af54c06cf3bd5f885dfcb"}},{"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: 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":"ClassTooLong: Token: ClassTooLong \u2014 1052 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 652 over it, 2.63\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":"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 1001 significant lines (blank, comment-only and punctuation-only lines excluded), 104 methods. The bar is 400 significant lines; this is 601 over it, 2.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/HtmlTreeBuilder.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b3ce191b33b6c7ab17f6944f916f48dd6a092db2dd29193f6f0217a2c1a55a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Attributes: TooManyMethods \u2014 74 methods. The bar is 30 methods; this is 44 over it, 2.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attributes.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b36df6115fb6634d2fa6cabe95e71ba9694375fc539063b3b00ebe82933554b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Tokeniser: ClassTooLong \u2014 913 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 513 over it, 2.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/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":"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/Token.swift: FileTooLong \u2014 1059 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Token (10-1425). The bar is 500 significant lines; this is 559 over it, 2.12\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":"FileTooLong: Sources/HtmlTreeBuilder.swift: FileTooLong \u2014 1004 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: HtmlTreeBuilder (13-1522). The bar is 500 significant lines; this is 504 over it, 2.01\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":"FileTooLong: Sources/Tokeniser.swift: FileTooLong \u2014 914 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Tokeniser (10-1241). The bar is 500 significant lines; this is 414 over it, 1.83\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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":"ClassTooLong: Node: ClassTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded), 99 methods. The bar is 400 significant lines; this is 307 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Node.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecda8344c40412e5915bf7aefcd3699345401c6a42e006e4b8d58bfad2620cf"}},{"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-1284). 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: Tokeniser: 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/Tokeniser.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"184b7e8c80a8c764e825b3a0b6c60686e5c5ba1600983d43ff5d8acb932ca4de"}},{"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":"TooManyMethods: Tag: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\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 48 methods. The bar is 30 methods; this is 18 over it, 1.60\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: 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":"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":"FileTooLong: Sources/Node.swift: FileTooLong \u2014 730 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Node (23-1371). The bar is 500 significant lines; this is 230 over it, 1.46\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":"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":"FileTooLong: SwiftSoupProfile/main.swift: FileTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: runWorkload (189-768). The bar is 500 significant lines; this is 159 over it, 1.32\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":"Tools/SwiftSoupProfile/main.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b7437895844f46523f4770df2625e978f5463f5bff48ca0d80abc3cc8b6f01"}},{"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":448}}}],"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 551 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 51 over it, 1.10\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. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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: 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 (8 members, 26 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 26 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":"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":"63b1a30a130df3e31d8d79f926324ecb8aeb49c621104ce5d13d88f3ac6fb7e2"}},{"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:295-339 | Sources/HtmlTreeBuilder.swift:366-404 \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":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"6031f19e80a1f94009b720b6dbd473eed14090c49e041b045dd698a92520ab9b"}},{"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:557-610 | Sources/Token.swift:798-814 \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":"d1af2a3237a96b5f96df0513e37791a5a0e5ef81f6e1c9a89625daef807bc53e"}},{"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":"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 (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 (20 lines \u00D7 2): Sources/Element.swift:1901-1920 | Sources/Element.swift:1978-1997 \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:1901\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":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"687f1afd0edc555aec9164c69e3628fde02b18666d7312c38ed097e12e76da2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/Element.swift:3070-3089 | Sources/Element.swift:3093-3112 \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":3070}}}],"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:315-333 | Sources/HtmlTreeBuilder.swift:376-394 \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":315}}}],"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/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":"9e188267a769183ab6aecc5569b1beff72ee5f03a41f51b5ec7a542f2b9b3a98"}},{"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/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 (17 lines \u00D7 2): Sources/CharacterReader.swift:1279-1295 | Sources/CharacterReader.swift:1379-1395 \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 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/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:2325-2340 | Sources/Element.swift:2360-2375 \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:2325\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":2325}}}],"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/HtmlTreeBuilder.swift:938-953 | Sources/HtmlTreeBuilder.swift:965-980 \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/HtmlTreeBuilder.swift:938\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/HtmlTreeBuilder.swift"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f408ffea269f8f87613b3f46f00939cfcc208b8df0adc6e3a58423470aa9d2c"}},{"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:561-575 | Sources/Token.swift:594-608 | Sources/Token.swift:800-814 \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:594\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:609\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:501-515 | Sources/HtmlTreeBuilder.swift:517-531 \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":501}}}],"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":"bf6acea4e2c9b1b50fb52abb9cbf6c7202d73cae1fb5178773bf3543576b21ba"}},{"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":"35d32a4341f51c4d36c1d6ba1083f31ca963c0fcf9c2d8e52a9f51fafe8047d0"}},{"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/HtmlTreeBuilderState.swift:1659-1672 | Sources/HtmlTreeBuilderState.swift:1673-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/HtmlTreeBuilderState.swift:1659\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":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86be733fe982fe0c178623e715464d40ba0ed34db071c858327372db533e85c"}},{"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":"5137a0c7338d319692dd0d219c816d97e1b93e0b318e1508b05cc93652f9864f"}},{"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 (13 lines \u00D7 2): Sources/Element.swift:1514-1526 | Sources/Element.swift:1596-1608 \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":1514}}}],"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":"2725c14540b0a85751f873934820ad80a53c8c3cb6a08b78dab99e2c0ce0696f"}},{"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/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 (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":"4ff848369f2596a7085b47678158c658e5ba6210779f84f55a0d1e7c6271cdfe"}},{"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":"ea19460e828de35126b06fa5b11fa7d76915cdcbb34d29794d2d8b5ff2c9a84c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/Element.swift:1904-1914 | Sources/Element.swift:1947-1957 | Sources/Element.swift:1981-1991 \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:1904\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":1904}}}],"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\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":"11cd130338fb18a0609238c5330194c15085b6dcd489ef2ff1ea95fead4f3294"}},{"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":"db6a25ca307e9c17eee1a3ae0ffd8de7fec4644adecb22eef1bbde693005769e"}},{"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":"db7a0060dd6abcf3eedd48b92e22bc2bed1a0689d11e20e4f70d596c56bd56d9"}},{"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":"5e2c8a7d3e5aa8cf514a37e4c22b6617cd856525512452a46f0e28036ad6a009"}},{"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 (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 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:1282-1290 | Sources/Element.swift:1336-1344 \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:1282\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":1282}}}],"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/TokeniserState.swift:2298-2306 | Sources/TokeniserState.swift:2493-2501 \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:2298\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":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cc6cc9b31ef2b101476fbbe4bcfdd6aa8c663b01e8f2e9adf1fbc17df53e72"}},{"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 (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":"891b1170a0aac8ac8f05c252feaf6f374c5250b1bb0f8ae559e867f42a43ccf5"}},{"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 (7\u20138 lines \u00D7 3): Sources/TokeniserState.swift:2546-2552 | Sources/TokeniserState.swift:2634-2641 | Sources/TokeniserState.swift:2685-2691 \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:2546\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":2546}}}],"partialFingerprints":{"codehealthFindingId/v1":"88045fc00e94ac235f01b020cb48599bba8a0cf6120a17e37ecc80bd3c721270"}},{"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 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":"137c79b5440455448e6dd40df394d1af991c7e918f62a7bcb4f5d7a531b9f202"}},{"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 (6\u20137 lines \u00D7 2): Sources/Document.swift:592-597 | Sources/Document.swift:600-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:592\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":592}}}],"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 (4\u20137 lines \u00D7 3): Sources/StringUtil.swift:653-659 | Sources/StringUtil.swift:888-894 | Sources/StringUtil.swift:1087-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:653\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":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c9c07e91d10937421a42f5f363d136c95c931e3212eae7ad148046f4c1ee8f"}},{"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":"da4ecd15fb77360d501aaaad73702735c5ff8f8bd92fb1b728f7c5cf1d65e68b"}},{"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 (5 lines \u00D7 3): Sources/DocumentType.swift:147-151 | Sources/DocumentType.swift:158-162 | Sources/DocumentType.swift:169-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/DocumentType.swift:147\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/DocumentType.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0ef13e9ac913f7bc3c2e10bb1938d293afde37a7e9a150d8c4b0648332aa85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/Element.swift:599-603 | Sources/Element.swift:1522-1526 | Sources/Element.swift:1604-1608 \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/Element.swift:3185-3189 | Sources/Element.swift:3341-3345 \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:3185\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":3185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3966fadd87361980bc6ef0824a47352cf0091878f11bac43937b3c1233991d"}},{"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): 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":"8196263d80380b9f023e0ddba132be31f9e2e1842c87bec4ae2aca77a6364601"}},{"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":"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 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. 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 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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 (7 lines \u00D7 8): Tools/compare_blank_text.py:65-71 | Tools/compare_character_classification.py:109-115 | Tools/compare_child_reads.py:70-76 | Tools/compare_cursor_moves.py:69-75 | Tools/compare_exclusion.py:65-71 | Tools/compare_independent_hotspots.py:65-71 | Tools/compare_ordered_insertion.py:65-71 | Tools/compare_tokenqueue_search.py:64-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 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \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":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0c24584574d7c88bd2a66c04906dc4ca549f3e6cf8e20c1a5ea4f4b96c96f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): Tools/compare_blank_text.py:76-82 | Tools/compare_character_classification.py:119-125 | Tools/compare_child_reads.py:81-87 | Tools/compare_cursor_moves.py:80-86 | Tools/compare_exclusion.py:76-82 | Tools/compare_independent_hotspots.py:76-82 | Tools/compare_ordered_insertion.py:76-82 | Tools/compare_tokenqueue_search.py:75-81 \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 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ce9f12a293df1942901e2804ca67707f7461d99e66dc68c37cd8c926ab9f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): Tools/compare_blank_text.py:25-30 | Tools/compare_character_classification.py:60-65 | Tools/compare_child_reads.py:30-35 | Tools/compare_cursor_moves.py:29-34 | Tools/compare_exclusion.py:25-30 | Tools/compare_independent_hotspots.py:25-30 | Tools/compare_ordered_insertion.py:25-30 | Tools/compare_tokenqueue_search.py:22-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 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \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":25}}}],"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 8 separate duplicated blocks between them, totalling at least 53 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 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"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 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \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 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/compare_blank_text.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"646c9a53bf799a418209a9a2a9f0a53aae4c8be07d902a19bc5bf7e6a6e7f2c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Tools/compare_exclusion.py:18-22 | Tools/compare_independent_hotspots.py:18-22 | Tools/compare_ordered_insertion.py:18-22 | Tools/compare_tokenqueue_search.py:15-19 \u2014 before extracting anything, compare \u0060Tools/compare_exclusion.py\u0060 and \u0060Tools/compare_independent_hotspots.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 53 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_exclusion.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea702a222895c24a153f98f13d97bf5d9d6ae797d030ee255bdcec8afa52117"}},{"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 7): Node\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/Node.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8feb4655428410e9a8226d5cea7cecede62d690586879376ebe2e19849c694c0"}},{"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/ParseError.swift: 30.8% line coverage (4/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ParseError.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"279d8916d5a7fd6a0d4588aa334f68a7fb169f259629d9536d0dad7f2ea36d29"}},{"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.0% line coverage (1187/2829)."},"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: 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":"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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/CssSelectorUnicodeRegressionTest.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fcd00c69de4b4418a34232491f80bf73fcaf7ecc35ec5bec6c666300fa59ca"}},{"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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/SingleTextBufferTest.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef5fd3fc051167ad9c6b072ce82fe3ae580c7fef32a03a1cc310968c5ba53e1"}},{"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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftSoupTests/XmlTreeBuilderTest.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"1854f3d6e05422219d7276951e22545a3a49f0410a669e235b0d30fbd20deeaa"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: .::SwiftSoupTests.PerformanceTest.testSelectPerformanceIndexedAnd: Passed 2\u00D7, failed 1\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-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 21:44:28 -04:00\u0027 --until=\u00272026-09-25 21:44:28 -04: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 4 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 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-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 21:44:28 -04:00\u0027 --until=\u00272026-09-25 21:44:28 -04: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 3 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, 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-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 21:44:28 -04:00\u0027 --until=\u00272026-09-25 21:44:28 -04: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-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 21:44:28 -04:00\u0027 --until=\u00272026-09-25 21:44:28 -04: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/Document.swift: Sources/Document.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in Document.patchedOuterHtmlUTF8 at line 729. 6 of those changes were fix/bug commits, and the other 7 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-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 21:44:28 -04:00\u0027 --until=\u00272026-09-25 21:44:28 -04:00\u0027 --full-history --no-merges -- Sources/Document.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/Document.swift"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efdde725c8449d6457c967854c04d5b536ef9252689e26be91c179fb253c65f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/StringUtil.swift: Sources/StringUtil.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in StringUtil.appendNormalisedWhitespaceBytes at line 1004. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 21:44:28 -04:00\u0027 --until=\u00272026-09-25 21:44:28 -04: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/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-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 21:44:28 -04:00\u0027 --until=\u00272026-09-25 21:44:28 -04: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-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 21:44:28 -04:00\u0027 --until=\u00272026-09-25 21:44:28 -04: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, 6 significant file(s) lose their only recent owner: Sources/Document.swift, Tools/SwiftSoupProfile/main.swift, Sources/StringBuilder.swift, Sources/TreeBuilder.swift, Sources/ByteSlice.swift, Sources/CharacterExt.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 (7 single-owned of 72 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo 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."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"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":"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: 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":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b3caebc0c68b3860ca9ca51e7142945c09223f974845928842369125f3a969"}},{"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: check if attribute name exists; if so, drop and error \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/Token.swift"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d268917c7e1a2d8cf7c23121a37de45aa84caceda0464ea32fd58145de2d911"}},{"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: \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: \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":"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":"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/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: 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: 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":1196}}}],"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":1197}}}],"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":1364}}}],"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":1365}}}],"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":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a25387e0fb5bb4a0306d170861070701dca2bac1132015b9611022e798be1e"}},{"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: 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":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"306777df246216f3034d0a69e5be56c0dd8ee5b598385a9e0e5e644b5d369216"}},{"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: 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: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: 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: \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: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: // 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: 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":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent constructor naming and arity for string-based initialization. There are two constructors taking key/value pairs (one for UTF8 bytes, one for Strings), but a third constructor \u0060init(String)\u0060 exists with no clear semantic mapping (is it a key? a serialized attribute?). This breaks the symmetry of the API.: Remove \u0060init(String)\u0060 or rename it to \u0060init(serialized: String)\u0060 if it parses a full attribute string. Ensure key/value constructors are clearly distinguished or unified via a single \u0060init(key: StringOrBytes, value: StringOrBytes)\u0060 if possible, or at least document the single-arg init clearly. (signatures: Attribute.init(key: [UInt8], value: [UInt8]) | Attribute.init(key: String, value: String) | Attribute.init(String))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d40648282208ad9d189971b9fcadc71241ec9e3699a1c96e3086f9dca81b2d44"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent naming convention for UTF-8 vs String accessors. The \u0060Attribute\u0060 type uses \u0060Key\u0060/\u0060Value\u0060 for String and \u0060KeyUTF8\u0060/\u0060ValueUTF8\u0060 for bytes. However, \u0060Element\u0060 uses \u0060tagName()\u0060 for String and \u0060tagNameUTF8()\u0060 for bytes, but \u0060nodeName()\u0060 vs \u0060nodeNameUTF8()\u0060. While consistent within themselves, the mix of \u0060Key\u0060/\u0060Value\u0060 (semantic) vs \u0060Name\u0060 (structural) across types is confusing. More critically, \u0060Attribute\u0060 lacks a \u0060toString()\u0060 equivalent for the whole attribute in a unified way compared to \u0060Element\u0060.: Standardize on \u0060name\u0060/\u0060nameUTF8\u0060 or \u0060key\u0060/\u0060keyUTF8\u0060 across all attribute-related types. \u0060Attribute\u0060 should probably use \u0060name\u0060 to align with \u0060Element.tagName\u0060/\u0060nodeName\u0060 concepts if it represents an HTML attribute name. (signatures: Attribute.getKey(): String | Attribute.getKeyUTF8(): [UInt8] | Attribute.getValue(): String | Attribute.getValueUTF8(): [UInt8])"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"50c5e9f4221a55489dd44d6970fb822dd9f2788af25dfe5a809507d495ea9b32"}},{"ruleId":"D22","level":"warning","message":{"text":"Redundant and confusingly named methods for tag names. \u0060tagName()\u0060 and \u0060tagNameNormal()\u0060 exist, as do their UTF8 counterparts. It is unclear what \u0027Normal\u0027 implies (lowercased? normalized whitespace?) without documentation. This creates 4 methods for essentially the same data point.: Consolidate into \u0060tagName()\u0060 (normalized) and \u0060tagNameRaw()\u0060 (as-is). Or remove \u0060Normal\u0060 variants if the default is always normalized. (signatures: Element.tagName(): String | Element.tagNameNormal(): String | Element.tagNameUTF8(): [UInt8] | Element.tagNameNormalUTF8(): [UInt8])"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"96b1b17df4e6578d1b6d267c276d33453b704031c4ffc9d44224d3298147d6fc"}},{"ruleId":"D22","level":"warning","message":{"text":"Duplicate intent between \u0060nodeName\u0060 and \u0060tagName\u0060. In HTML DOM, these are often synonymous for elements, but the API exposes both with both String and UTF8 variants. This leads to 4 methods doing nearly the same thing.: Remove \u0060nodeName\u0060 and \u0060nodeNameUTF8\u0060 from \u0060Element\u0060 if they are identical to \u0060tagName\u0060/\u0060tagNameUTF8\u0060. Keep only one pair. (signatures: Element.nodeName(): String | Element.tagName(): String | Element.nodeNameUTF8(): [UInt8] | Element.tagNameUTF8(): [UInt8])"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"37a47df681b2908a762e90a0e729bb50cdd68e5f974e17bea86123ff6043c804"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent return types for UTF-8 text. \u0060textUTF8\u0060 returns \u0060[UInt8]\u0060 (Array), while \u0060textUTF8Slice\u0060 returns \u0060ArraySlice\u003CUInt8\u003E\u0060. This forces users to choose between copying data (Array) or managing lifetimes (Slice) without a clear pattern (e.g., \u0060text()\u0060 vs \u0060textSlice()\u0060).: Standardize on \u0060text()\u0060 (String) and \u0060textUTF8()\u0060 ([UInt8]). If slicing is needed for performance, use a consistent suffix like \u0060textSlice()\u0060 for all types, or remove the slice variant if not strictly necessary. (signatures: Element.text(trimAndNormaliseWhitespace: Bool): String | Element.textUTF8(trimAndNormaliseWhitespace: Bool): [UInt8] | Element.textUTF8Slice(trimAndNormaliseWhitespace: Bool): ArraySlice\u003CUInt8\u003E)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4d8a2638418b415f0dfe8467050781217619a2202986dc0d28962840ae19d423"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent copy semantics. \u0060copy(with:)\u0060 returns \u0060Any\u0060 (NSZone style, likely ObjC interop), while \u0060copy(parent:)\u0060 returns \u0060Node\u0060. This suggests two different copying mechanisms (shallow vs deep, or ObjC vs native) mixed in the same API surface.: Unify copying. If \u0060copy(parent:)\u0060 is the primary native method, remove \u0060copy(with:)\u0060 or ensure it returns a strongly typed \u0060Element\u0060/\u0060Node\u0060 and not \u0060Any\u0060. (signatures: Element.copy(with: NSZone?): Any | Element.copy(parent: Node?): Node | Element.copy(clone: Node, parent: Node?): Node)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"72a4551fffedbfe899ce03a9482919a395bf2f05b80ba3b6913b04ac80c31f9e"}},{"ruleId":"D22","level":"warning","message":{"text":"Proliferation of getter variants. There are 4 variants of \u0060get\u0060 based on case sensitivity and encoding. This is repetitive and increases API surface unnecessarily.: Provide a single \u0060get(key: StringOrBytes, ignoreCase: Bool = false)\u0060 method, or rely on the caller to normalize keys before calling a single \u0060get(key: String)\u0060 method. (signatures: Attributes.get(key: String): String | Attributes.get(key: [UInt8]): [UInt8] | Attributes.getIgnoreCase(key: String): String | Attributes.getIgnoreCase(key: [UInt8]): [UInt8])"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1ff8a4c23ae0967217a052025065f443a08df1b3cbd4ccadf863494762c6698c"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (34788 LoC, 127 public types across 3 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 2 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 and example/demo 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: Tests-macOS/ParserBenchmark.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":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"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 2433 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}}],"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-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":"CWE-319","shortDescription":{"text":"CWE-319"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":38,"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."]}]}