{"$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":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ConsoleFilters\u002BPredicates.swift.makeStandalonePredicates (cyclomatic 28): ConsoleFilters\u002BPredicates.swift.makeStandalonePredicates has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/Predicates/ConsoleFilters\u002BPredicates.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4155518af8592c42d808d0bee0da0e3297401b961683a8536fbc244d2cf1a0e6"}},{"ruleId":"D1","level":"warning","message":{"text":"TextRenderer.render (cyclomatic 26): TextRenderer.render has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/PulseUI/Helpers/TextRenderer.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1490bd1862a2170d3e53a95d1caf1111474f754cbeb10cce93d5c53d61018431"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsoleSearchFilterMatcher.parseStatusCodeDescription (cyclomatic 23): ConsoleSearchFilterMatcher.parseStatusCodeDescription has cyclomatic complexity 23 (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/PulseUI/Features/Search/Services/ConsoleSearchToken\u002BParsers.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cf9cefa91e0ad59d8054ca9e6d2df25ead44e6b8723e54686df40d44e97a38"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsoleSearchMatcher.search (cyclomatic 22): ConsoleSearchMatcher.search 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/PulseUI/Features/Search/Services/ConsoleSearchMatcher.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1eeb898f3bee182c036bd1e31b5cfed30710eb6ecabb4171acd48f19b893f8"}},{"ruleId":"D1","level":"warning","message":{"text":"LoggerStore.process (cyclomatic 19): LoggerStore.process 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/Pulse/LoggerStore/LoggerStore.swift"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd39a4847d81814a4e473f35e4955ca2504a0cf1f9bd794b7585dd2d6a718b9"}},{"ruleId":"D1","level":"warning","message":{"text":"TimingViewModel\u002BMetrics.swift.makeTimingRows (cyclomatic 19): TimingViewModel\u002BMetrics.swift.makeTimingRows 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/PulseUI/Views/Metrics/TimingViewModel\u002BMetrics.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd17ee10af2f6419cf19b1d334629d4e4962b8b9d477df0ed46593928df47157"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkTaskEntity.formattedURL (cyclomatic 16): NetworkTaskEntity.formattedURL 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/PulseUI/Extensions/Pulse\u002BExtensions.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed038c4f621552704eb16f441938c4d38e1d130c21540ed48fea6e6510a7a9b0"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsoleFilters\u002BPredicates.swift.makeStandalonePredicates (cognitive 39): ConsoleFilters\u002BPredicates.swift.makeStandalonePredicates has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (29 pts), match/switch 4 (9 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/Predicates/ConsoleFilters\u002BPredicates.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ff0de3b5925bcab95f9e311fd3ef65bf304028b4ef399c44583e1155361afc"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsoleSearchMatcher.search (cognitive 33): ConsoleSearchMatcher.search has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (26 pts), boolean chains 3, match/switch 1 (2 pts), loops 1, ternaries 1 (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/PulseUI/Features/Search/Services/ConsoleSearchMatcher.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bce77e83e1a216a64a681f1739f0d3044abb90e1cfed6c7fa6431997a30f28"}},{"ruleId":"D2","level":"warning","message":{"text":"TimingViewModel\u002BMetrics.swift.makeTimingRows (cognitive 29): TimingViewModel\u002BMetrics.swift.makeTimingRows has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 5, match/switch 1 (nesting depth added 11). 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/PulseUI/Views/Metrics/TimingViewModel\u002BMetrics.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d7cf6ce90007f22cc80d8ef4a40e72eeaea0dbd736eb23b5b73332ca9aaa3e"}},{"ruleId":"D2","level":"warning","message":{"text":"TextRenderer.render (cognitive 25): TextRenderer.render has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14, boolean chains 10, ternaries 1. Of this number, 22 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/PulseUI/Helpers/TextRenderer.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a8c525547a519bcdd38d768355176c877b268cbdf5f4562482f9460e8fbb2e"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsoleSearchFilterMatcher.parseStatusCodeDescription (cognitive 22): ConsoleSearchFilterMatcher.parseStatusCodeDescription has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 5 (6 pts), match/switch 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 3). 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/PulseUI/Features/Search/Services/ConsoleSearchToken\u002BParsers.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"750db49a8791f0ec2a928fdcc9129f2d45826766efd8a384a4c890e459c3559c"}},{"ruleId":"D2","level":"warning","message":{"text":"LoggerStore.process (cognitive 19): LoggerStore.process has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 5, match/switch 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/LoggerStore/LoggerStore.swift"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"db45aaa0d0de40e855b5778aa6b6bd5a335ecd69a5b123fd5ac14f50a380c98d"}},{"ruleId":"D2","level":"warning","message":{"text":"TextUtilities.html (cognitive 19): TextUtilities.html has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 2 (4 pts), ternaries 1 (nesting depth added 7). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Helpers/TextUtilities.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d185e1798200f1c4b12cfeddced975c24b414eae8738b32b73a077477a6d05de"}},{"ruleId":"D2","level":"warning","message":{"text":"LoggerStore.init (cognitive 18): LoggerStore.init has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 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":"Sources/Pulse/LoggerStore/LoggerStore.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c01a5eed7555900bddcf6b0b4eb4297dd278c2f4a0ceb475e3faf4a7163d28"}},{"ruleId":"D2","level":"warning","message":{"text":"LoggerStoreIndex.handle (cognitive 18): LoggerStoreIndex.handle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (17 pts), match/switch 1 (nesting depth added 11). 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/PulseUI/Helpers/LoggerStoreIndex.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dff406302bc71cd91c11c0da7484a883a402ae76eedee1e0ebdaa807c9f414e"}},{"ruleId":"D2","level":"warning","message":{"text":"NSString.ranges (cognitive 18): NSString.ranges has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (6 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Helpers/StringSearchOptions.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4303a6c5f4649dd0536328ba1f5f5b5a92e80a6230edbc2efb95db57c8ea56a7"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareStoreTask.renderAsAttributedString (cognitive 17): ShareStoreTask.renderAsAttributedString has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Helpers/ShareStoreTask.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d473175e667cdb9f429b23b48738cf2c6b9be65ad759ca81e4f5dc5f9513732"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareStoreTask.prerenderResponseBodies (cognitive 17): ShareStoreTask.prerenderResponseBodies has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, loops 2, ternaries 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Helpers/ShareStoreTask.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffc70004e832c5873a9c35aaabf32b61a12f3cc970565c861d5f3ce2cd02920"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsoleSearchCustomFiltersSection.body (cognitive 16): ConsoleSearchCustomFiltersSection.body has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 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/PulseUI/Features/Filters/Views/ConsoleSearchCustomFiltersSection.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a740f1a765da6712c700cecaba05e31652b2ba647290975e817b9e4da60cce7e"}},{"ruleId":"D2","level":"warning","message":{"text":"String.ranges (cognitive 16): String.ranges has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (6 pts), boolean chains 5, ternaries 2 (3 pts), if/else 2 (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/PulseUI/Helpers/StringSearchOptions.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"eece2f4c5d236c7a4575420644df9231bbf04841e0f188ae50cde2960f439839"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LoggerStore: TooManyMethods \u2014 77 methods, declared across 3 files: LoggerStore/LoggerStore.swift (73), Mocks/MockStore.swift (3), LoggerStore/LoggerStoreProtocol.swift (1). The bar is 30 methods; this is 47 over it, 2.57\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/LoggerStore/LoggerStore.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa325c169368094988b92e13bf853dcdc456b636998e44262cf3edae42e6358"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: LoggerStore/LoggerStore.swift: FileTooLong \u2014 790 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 290 over it, 1.58\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/Pulse/LoggerStore/LoggerStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2320ac73da3f6cedd5b145776dc363cda045ee936cb7e88493d4780293cb3ef"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RemoteLogger: TooManyMethods \u2014 43 methods, declared across 2 files: RemoteLogger/RemoteLogger.swift (41), RemoteLogger/RemoteLogger-Connection.swift (2). The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/RemoteLogger/RemoteLogger.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8d2d80dd8496a2965536f53623031c3bd8a32284a323cd7b4cae48d085b5c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: URLSessionProxy: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.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/Pulse/URLSessionProxy/URLSessionProxy.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"018fddf8b82c541c16c70af525d1e69eb05a332928a43f42c678d9b7bb00281a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RemoteLogger: ClassTooLong \u2014 415 significant lines (blank, comment-only and punctuation-only lines excluded), 43 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/Pulse/RemoteLogger/RemoteLogger.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3dd6cac38041933eab8b4703c2526fb30a57e0e3e14d21c666915f459fbc95a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:113-126 | Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:132-145 | Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:147-160 | Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:162-176 \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/Pulse/URLSessionProxy/URLSessionProxy.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f8ade5ec2f6b928cfb4c7d14d5c2e3fa76b89069cac86a7784e610490552b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Sources/PulseUI/Helpers/StringSearchOptions.swift:146-176 | Sources/PulseUI/Helpers/StringSearchOptions.swift:182-214 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Helpers/StringSearchOptions.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ccfe49732230c3a2b0295aacf30de559d350f0804d8fc93276cb1cd4476c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Sources/PulseUI/Features/Filters/ConsoleRecentFiltersView.swift:38-70 | Sources/PulseUI/Features/Search/Views/ConsoleSearchDynamicSuggestionsListView.swift:93-126 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/ConsoleRecentFiltersView.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c96a92dd47f3c71debda9b4ea8f305671f459340e245387e5d75099fd39652"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/PulseUI/Features/Filters/Predicates/ConsoleFilters\u002BPredicates.swift:58-76 | Sources/PulseUI/Features/Filters/Predicates/ConsoleFilters\u002BPredicates.swift:78-98 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/Predicates/ConsoleFilters\u002BPredicates.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0119f7106880330f670863109b92c3e7e7d8026cbaaf87607749ae3640f89c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/PulseUI/Features/Filters/Views/ConsoleDomainsSelectionView.swift:27-44 | Sources/PulseUI/Features/Filters/Views/ConsoleLabelsSelectionView.swift:27-44 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/Views/ConsoleDomainsSelectionView.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f262cabbb3fc012f112bb395b81bbb14665d31ae889bf9d2c83d0c68ed1a5a39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/Pulse/NetworkLogger/NetworkLogger\u002BRedacting.swift:10-30 | Sources/Pulse/NetworkLogger/NetworkLogger\u002BRedacting.swift:32-51 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/NetworkLogger/NetworkLogger\u002BRedacting.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d66437c63ee2aca5714e2b19c27cac9492e74ff56eaefae9ccde095ae8ba12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/PulseUI/Helpers/TextRenderer.swift:244-255 | Sources/PulseUI/Helpers/TextRenderer.swift:257-268 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Helpers/TextRenderer.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a358385108c71384d01d9b6701580a5f6dce639e7ed0543e4ef1aba7cbe469e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:218-233 | Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:239-254 | Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:256-271 | Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:273-287 | Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:293-307 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/URLSessionProxy/URLSessionProxy.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4248677611cc78d558eae0dbf0ccdc05e9cfb1c30412495640f31c9ea405d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/PulseUI/Features/Filters/ConsoleFiltersView.swift:139-154 | Sources/PulseUI/Features/Filters/ConsoleFiltersView.swift:156-171 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/ConsoleFiltersView.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15f4fc42274d639d2234c32507989581dbbae0a071b26160c46a870d14fe7ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/PulseUI/Features/Filters/ConsoleRecentFiltersView.swift:72-90 | Sources/PulseUI/Features/Search/Views/ConsoleSearchDynamicSuggestionsListView.swift:128-145 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/ConsoleRecentFiltersView.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b4d2f086f43cb81bd0e6368cd0a5150dae839ce9600c0283d7b2b31bd785af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:178-188 | Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:194-204 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/URLSessionProxy/URLSessionProxy.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1b8ffdd1269265ffe8d1857065f4877b8825b0a63e76628a72329d8dbbc352"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/Pulse/Helpers/Regex.swift:19-26 | Sources/PulseUI/Helpers/Regex.swift:18-25 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/Helpers/Regex.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8429602a3a3f7b48474e1331c745121a7ab54a39b024498c0a0d6a7294f9d666"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/PulseUI/Features/FileViewer/RichTextView/RichTextViewSearchToobar-ios.swift:90-108 | Sources/PulseUI/Features/FileViewer/RichTextView/RichTextViewSearchToobar-ios.swift:123-140 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/FileViewer/RichTextView/RichTextViewSearchToobar-ios.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff39e642151358d539e1006205cc0a29d175e45c980c29f03d40d3b75314704"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/PulseUI/Features/Filters/Predicates/ConsoleFilters\u002BPredicates.swift:10-22 | Sources/PulseUI/Features/Filters/Predicates/ConsoleFilters\u002BPredicates.swift:24-36 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/Predicates/ConsoleFilters\u002BPredicates.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e89beb56652776d8ff38545a9ebc892b661b6738b253e18f40e1bb793c5c66f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/PulseUI/Features/Filters/ConsoleFiltersView.swift:173-184 | Sources/PulseUI/Features/Filters/ConsoleFiltersView.swift:197-206 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/ConsoleFiltersView.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"00015dee9cc44c7cf803e43a887b6d5d83f1b5c89cbac7970b79f6e1d7d9aab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/Pulse/NetworkDebugger/MockingURLProtocol.swift:75-81 | Sources/Pulse/URLSessionProxy/URLSessionProxyDelegate\u002BAutomaticRegistration.swift:69-76 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/NetworkDebugger/MockingURLProtocol.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa59ddc89d0ac703c4041d278a81640fe5d311c659ae44381b1aa56631d43b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/PulseUI/Features/Filters/Views/ConsoleSearchSectionHeader.swift:15-27 | Sources/PulseUI/Features/Filters/Views/ConsoleSearchSectionHeader.swift:29-42 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/Views/ConsoleSearchSectionHeader.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb5aa01ef748f6b24e8216e926d0eb1e6e236e4126f9ce5a097dfeb4e9ec80e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/Pulse/LoggerStore/LoggerStore.swift:779-788 | Sources/Pulse/LoggerStore/LoggerStore.swift:795-804 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/LoggerStore/LoggerStore.swift"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"23400bf33c6c845d026069a686d5390a278b8b60f6ce644ea2fced05ef000a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/PulseUI/Features/Filters/ConsoleRecentFiltersView.swift:17-35 | Sources/PulseUI/Features/Search/Views/ConsoleSearchDynamicSuggestionsListView.swift:72-90 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/ConsoleRecentFiltersView.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c02e505a6070677bd9e773aaaa60405845399fcb17f08e9b1273ae20517b271"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/PulseUI/Views/SpinnerView.swift:68-80 | Sources/PulseUI/Views/SpinnerView.swift:89-98 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Views/SpinnerView.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"424e2abf7bc9ab84bf7e6cc7f30cc612daa7243a64f1265df3b4bd28b0781948"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/Pulse/NetworkDebugger/MockingURLProtocol.swift:65-71 | Sources/Pulse/URLSessionProxy/URLSessionProxyDelegate\u002BAutomaticRegistration.swift:30-39 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/NetworkDebugger/MockingURLProtocol.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4989db5f1e505a3d209a22554a7b5effc8f44e61e727f9bd59fdba5b79bed31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/PulseUI/Helpers/TextHelper.swift:15-23 | Sources/PulseUI/Helpers/TextRenderer.swift:400-410 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Helpers/TextHelper.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"da68ed76cd62a4fa828a3ddc91662b161332832071972c0f9ac8f8da0fe81a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/Pulse/RemoteLogger/RemoteLogger.swift:539-551 | Sources/Pulse/RemoteLogger/RemoteLogger.swift:569-584 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/RemoteLogger/RemoteLogger.swift"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"248d889e543a31525329940179c33ceac26636e73c700166adf21b2e97f12ca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/PulseUI/Features/Filters/Views/ConsoleSearchSectionHeader.swift:46-58 | Sources/PulseUI/Features/Filters/Views/ConsoleSearchSectionHeader.swift:61-74 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/Views/ConsoleSearchSectionHeader.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c009a56b50ebc34c87ec9ac7db9c6e7d6dec074982304f5e29c3a2d3086010"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/PulseUI/Features/Inspector/Cells/NetworkRequestBodyCell.swift:12-23 | Sources/PulseUI/Features/Inspector/Cells/NetworkResponseBodyCell.swift:14-25 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Inspector/Cells/NetworkRequestBodyCell.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"273535c16ab59bca0a512e54a648518cd0d8bc06ab14294a89d21ed09f0c463b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/PulseUI/Features/Filters/Views/ConsoleDomainsSelectionView.swift:14-23 | Sources/PulseUI/Features/Filters/Views/ConsoleLabelsSelectionView.swift:14-23 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/Views/ConsoleDomainsSelectionView.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ae3c7b3698a0ad26b6c458f3efd60fa95d7966154a02b9ff55fd641fd9fbd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/PulseUI/Features/Inspector/Cells/NetworkCookiesCell.swift:44-50 | Sources/PulseUI/Features/Inspector/Cells/NetworkHeadersCell.swift:41-47 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Inspector/Cells/NetworkCookiesCell.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"030a49c360486c03ee1c6c92a085e02885452c7afbb280bbf135d7155cc399e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/Pulse/Helpers/Regex.swift:28-31 | Sources/PulseUI/Helpers/Regex.swift:27-30 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/Helpers/Regex.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34ce79089fb9c8a7d77ea54dc72aed0942663df350c8c7d1de802769317564d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/PulseUI/Features/Filters/Cells/ConsoleSearchRequestStateCell.swift:11-17 | Sources/PulseUI/Features/Filters/Cells/ConsoleSearchResponseSourceCell.swift:11-17 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/Cells/ConsoleSearchRequestStateCell.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"22df7a2fbb4bd806d9db4d8c54ab1b6fd6abd8bad2628998e9f6746659d57ee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/PulseUI/Extensions/Pulse\u002BExtensions.swift:43-49 | Sources/PulseUI/Features/Console/Views/ConsoleHelperViews.swift:51-60 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Extensions/Pulse\u002BExtensions.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"153106a0013aa0258767250c44caa31da143bab4808cf61e60267bd016e6b7b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/PulseUI/Features/Filters/Cells/ConsoleSearchRequestSizeCell.swift:11-26 | Sources/PulseUI/Features/Filters/Cells/ConsoleSearchResponseSizeCell.swift:11-26 \u2014 before extracting anything, compare \u0060Sources/PulseUI/Features/Filters/Cells/ConsoleSearchRequestSizeCell.swift\u0060 and \u0060Sources/PulseUI/Features/Filters/Cells/ConsoleSearchResponseSizeCell.swift\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"Sources/PulseUI/Features/Filters/Cells/ConsoleSearchRequestSizeCell.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"493b4f7e68fb19b9fcbe004a1fad74db2e5162b80b2125e54bbf311f581a0518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Sources/PulseUI/Features/Filters/Views/ConsoleSearchCustomFiltersSection.swift:38-52 | Sources/PulseUI/Features/Filters/Views/ConsoleSearchCustomFiltersSection.swift:54-67 \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/PulseUI/Features/Filters/Views/ConsoleSearchCustomFiltersSection.swift:38\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/PulseUI/Features/Filters/Views/ConsoleSearchCustomFiltersSection.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3654d83fa4702925c9e901bab9345cc32843dd9e635d73cbb2ec838c536299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Sources/PulseUI/Features/Console/List/ConsoleListContentView.swift:36-47 | Sources/PulseUI/Features/Search/ConsoleSearchListContentView.swift:127-139 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PulseUI/Features/Console/List/ConsoleListContentView.swift:36\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/PulseUI/Features/Console/List/ConsoleListContentView.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea175900a3fb9d7fca176ff3a6efcee14931ee9a24d5cf168c407ca57aba48e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:243-254 | Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:260-271 \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/Pulse/URLSessionProxy/URLSessionProxy.swift:243\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/Pulse/URLSessionProxy/URLSessionProxy.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5253e34f2e2102222ec4e81f50cb66d91723974b7a3c7faedb772c06ae38d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:116-126 | Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:135-145 | Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:150-160 | Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:166-176 \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/Pulse/URLSessionProxy/URLSessionProxy.swift:116\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/URLSessionProxy/URLSessionProxy.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"796fed45891a4e04bb4c01c00ee306938e399b834a5861edaf2f9cfa93e619ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:277-287 | Sources/Pulse/URLSessionProxy/URLSessionProxy.swift:297-307 \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/Pulse/URLSessionProxy/URLSessionProxy.swift:277\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/Pulse/URLSessionProxy/URLSessionProxy.swift"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ec77963e9d4b1fee3f54d3151b8cc38964b06894064b15afcd8a8e21e00082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Sources/PulseUI/Helpers/TextRenderer.swift:103-113 | Sources/PulseUI/Helpers/TextRenderer.swift:219-228 \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/PulseUI/Helpers/TextRenderer.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9eb62e40a8e7d709b3e30cba215c7657b0d2ac5499c6f2a36b308c24669d232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Sources/PulseUI/Features/Inspector/NetworkInspectorView.swift:91-98 | Sources/PulseUI/Views/ContextMenus.swift:168-176 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Inspector/NetworkInspectorView.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"62292ba54387287d2614c2f80798ddcd193986513a0dc4b5b25f2d57a163ec2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/PulseUI/Helpers/TextUtilities.swift:62-70 | Sources/PulseUI/Helpers/TextUtilities.swift:71-79 \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/PulseUI/Helpers/TextUtilities.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"11db23bdd00718fd42bb1b9fdf368a6348f9cf92b943e9c514cda2ede6019171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/Pulse/Helpers/Regex.swift:20-26 | Sources/PulseUI/Helpers/Regex.swift:19-25 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/Helpers/Regex.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0c5f952e9d39d925ad7789336853b1c12307677e790ad9167f95e6ac4970ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/PulseUI/Features/Console/ConsoleView-ios.swift:24-30 | Sources/PulseUI/Features/Console/ConsoleView-tvos.swift:21-27 | Sources/PulseUI/Features/Console/ConsoleView-watchos.swift:20-26 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PulseUI/Features/Console/ConsoleView-ios.swift:24\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/PulseUI/Features/Console/ConsoleView-tvos.swift:18\u0060 calls \u0060StateObject\u0060, \u0060init\u0060 and \u0060Sources/PulseUI/Features/Console/ConsoleView-ios.swift:21\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/PulseUI/Features/Console/ConsoleView-ios.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"724de3d67d316e8218c7d7388b39ae8304a1406f0d60f7b47c021bcb965c7e8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/PulseUI/Features/Filters/ConsoleRecentFiltersStore.swift:84-88 | Sources/PulseUI/Features/Search/Services/ConsoleSearchRecentSearchesStore.swift:49-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/ConsoleRecentFiltersStore.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81ff5a0e8f356f7a21d61582f763e42a4322e7e2ea1be3e46b0ab9c3537c872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/PulseUI/Features/Filters/ConsoleRecentFiltersStore.swift:90-94 | Sources/PulseUI/Features/Search/Services/ConsoleSearchRecentSearchesStore.swift:55-59 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/ConsoleRecentFiltersStore.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c65fbe2268ea730636d3eb860cf10968ffb1615af221cb07a1185efc390303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/PulseUI/Features/Inspector/Cells/NetworkCookiesCell.swift:12-23 | Sources/PulseUI/Features/Inspector/Cells/NetworkHeadersCell.swift:12-23 \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/PulseUI/Features/Inspector/Cells/NetworkCookiesCell.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c088113c1e6f8a8918fe8423c99511c69417b4b8fee35f4d1877cce1713dafe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/PulseUI/Features/Sessions/SessionsView-watchos.swift:26-32 | Sources/PulseUI/Features/Sessions/SessionsView.swift:28-34 \u2014 before extracting anything, compare \u0060Sources/PulseUI/Features/Sessions/SessionsView-watchos.swift\u0060 and \u0060Sources/PulseUI/Features/Sessions/SessionsView.swift\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"Sources/PulseUI/Features/Sessions/SessionsView-watchos.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e640d6e25d035b995198fa131d499d70c32e85bbdf34bed235b9419963ed6cb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/PulseUI/Features/Inspector/Cells/NetworkRequestBodyCell.swift:35-40 | Sources/PulseUI/Features/Inspector/Cells/NetworkResponseBodyCell.swift:38-43 \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/PulseUI/Features/Inspector/Cells/NetworkRequestBodyCell.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"050592bd4fe915786a53a5f94c68f4127431f2c1fbe6e7c2775d737af4e7b68d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/PulseUI/Features/Filters/Predicates/ConsoleFilters.swift:423-430 | Sources/PulseUI/Features/Filters/Predicates/ConsoleFilters.swift:435-442 \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/PulseUI/Features/Filters/Predicates/ConsoleFilters.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"c106a987df26a1d476d18533efde2165e954f4d6d300f88c0b478c60deddc17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift:38-49 | Demo/Sources/Integrations/IntegrationsExamples/URLSessionManualIntegration.swift:39-51 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7787660633f1f2592461d6b5a2d795ba3d9970db24f90e378d6a97af66bfe8b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Demo/Sources/Shared/MockStore.swift:22-24 | Sources/PulseUI/Mocks/MockStore.swift:204-206 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Sources/Shared/MockStore.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"44815eafbe35f275681a0a307186767994264d89e0c1ec61a95338bf8804f4c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift:22-26 | Demo/Sources/Integrations/IntegrationsExamples/URLSessionManualIntegration.swift:23-27 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92f29f086f686b75e29ecabb78ec700dcbc9c2b744c07c17f0f4adfbc68181b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Demo/Sources/Integrations/IntegrationsExamples/URLSessionManualIntegration.swift:63-71 | Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift:60-67 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Sources/Integrations/IntegrationsExamples/URLSessionManualIntegration.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7448d2c6d65f90917ec2c75cecff80490527e86da91bdf9fb231f57f722d71c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift:71-77 | Demo/Sources/Integrations/IntegrationsExamples/URLSessionManualIntegration.swift:75-83 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"27de7280986047522948718d5e3df712cfd3ef5d871dd884d78ee19972eee2c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift:85-88 | Demo/Sources/Integrations/IntegrationsExamples/URLSessionManualIntegration.swift:95-98 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"071929d467058b0f2100b3815f0ada0951d7981deb8687767dd64dd913ccfaba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift:53-58 | Demo/Sources/Integrations/IntegrationsExamples/URLSessionManualIntegration.swift:55-61 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ea963b0dfeebf02eb50a5696f5240ee8fee089a702461f27424de1e2fa770c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift:15-19 | Demo/Sources/Integrations/IntegrationsExamples/URLSessionManualIntegration.swift:16-20 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a4883271450583e3d020a4e85222ec0538987b537f627fc80b3e4e34ebd9ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): Demo/Sources/Shared/MockStore.swift:55-81 | Sources/PulseUI/Mocks/MockStore.swift:488-514 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Demo/Sources/Shared/MockStore.swift:55\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":"Demo/Sources/Shared/MockStore.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ef5992bb6dc0fbfe801630b47ff7c99f5db7abcd0f8bc9ef8c1094d769839f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift:38-47 | Demo/Sources/Integrations/IntegrationsExamples/URLSessionManualIntegration.swift:39-48 \u2014 before extracting anything, compare \u0060Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift\u0060 and \u0060Demo/Sources/Integrations/IntegrationsExamples/URLSessionManualIntegration.swift\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift:38\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, \u0060Demo/Sources/Integrations/IntegrationsExamples/URLSessionManualIntegration.swift:49\u0060 calls \u0060logTaskCreated\u0060 and \u0060Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift:48\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":"Demo/Sources/Integrations/IntegrationsExamples/URLSessionAutomatedIntegration.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6ead190f2f747eff7fcc4bf447628d0f7f3f75bd3f948e41721a1ef062eb70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Demo/Sources/Shared/MockStore.swift:32-41 | Sources/PulseUI/Mocks/MockStore.swift:354-363 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Demo/Sources/Shared/MockStore.swift:44\u0060 calls \u0060NetworkLogger\u0060, \u0060logTask\u0060 and \u0060Sources/PulseUI/Mocks/MockStore.swift:366\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":"Demo/Sources/Shared/MockStore.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4db172d0ed88883dc6c54edbd1371ab3e1758f63c53dd5a7d347404f33e6d35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Demo/Sources/Shared/MockStore.swift:35-42 | Sources/PulseUI/Mocks/MockStore.swift:311-318 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Demo/Sources/Shared/MockStore.swift:44\u0060 calls \u0060NetworkLogger\u0060, \u0060logTask\u0060 and \u0060Sources/PulseUI/Mocks/MockStore.swift:320\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":"Demo/Sources/Shared/MockStore.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd902388a3ba3e7e258917ba3872ebb9648cc2de6e9879a7a4bbf5194adfa29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Demo/Sources/Integrations/IntegrationsExamples/AlamofireIntegration.swift:22-59 | Demo/Sources/Integrations/IntegrationsExamples/MoyaIntegration.swift:27-48 \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 \u0060Demo/Sources/Integrations/IntegrationsExamples/AlamofireIntegration.swift:22\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":"Demo/Sources/Integrations/IntegrationsExamples/AlamofireIntegration.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c93cdf6295e5353bb941c161b8d7a31162861e417ee7115fbec5e2d348e658"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SceneDelegate (LCOM4 6): SceneDelegate\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":"Demo/Sources/Integrations/SceneDelegate.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd15dfc4b4ddd9982535cf49628049740d96c19b1d3834cec7d9c22ff66a7ac"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: URL (LCOM4 6): URL\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":"Sources/Pulse/Helpers/Helpers.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b260409734c2047fc7bbf939602d4ff25e8ef8943e658dd4724df4f9d785155"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: View (LCOM4 6): View\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Extensions/SwiftUI\u002BExtensions.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc423a6d8d5a360fa25b72e6c180020480940da648a143f16e06e656f488f149"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Data (LCOM4 5): Data\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/Pulse/Helpers/Helpers.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edc11b2d7000cb3b683258c886927b7667ada900ef8e62b14325ed13d9b1098"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ConsoleEnvironment (LCOM4 5): ConsoleEnvironment\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/PulseUI/Features/Console/ConsoleEnvironment.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bbe30d6b420701123a01b2d53a83a609c77cf7d4c49d5c7d7b5a83aa715104"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (XCTest or Swift Testing), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //       // TODO: rewrite using new convenience API for testing \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/PulseUI/Helpers/TextRenderer.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5e400f8aff93cf9455616c724bb344f13445228eef4c891f6fdaf0e9d94bf7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Rewrite this without sync \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/PulseUI/Helpers/TextUtilities.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d2c5fd242fe6264c40f536c4d58b0fd1afebe9a7f26ea0ccd412560ceeba9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: load this info async \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/PulseUI/Features/Settings/SettingsView-macos.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c054f718cacc9cdb1a954066d90fc0d75bb9a45b95fb693aacbca43ad6a29f3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update in sync with the object (creation date is not the same as fetch start date) \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/PulseUI/Features/Inspector/Cells/NetworkRequestStatusCell.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a898c77df0c92ad14d5b0e1fe7c98ec5e0368ddcc560abdaa238615c39f58da4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refactor \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/PulseUI/Features/Filters/ConsoleFilterViewModel.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"643c7fdabf67e6b237e8b9534620bfa03b0e44e95ecd7d2ef427815b441d4906"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should be injected/added outside of the text view \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/PulseUI/Features/FileViewer/RichTextView/RichTextView.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"025cd3b35d59592a77e4a67fdd7d4f744b910d53dfd35bbea6d0f7ae05fddac3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Not sure it\u0027s valid \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/PulseUI/Features/Console/ConsoleView-tvos.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f167bc55971ea86d744c0095976d25b7148f856f95bbc170a3c7565a144cd17"}},{"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":"0dbb915274563a1a1c7710b67a8c19d2a107f22fcaf0daddfce999f66be50e9d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed65b9c95a4dc53898afcb477735e650c15707ac619af8959b21ca0939b1e0af"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3519ccf925af4dbcd14b3786ec69d9749c93b8d8119faf42ed9457ac3bbeaa7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d14f53cc9214e5b6289d2370176bcea39877af14cc2346cfb6caa4a453f6e0f7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4c6b74d65ac35e258b205f02794b6356db31dd27826c15d47bea58e16fefb7ad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"252b9066759bf5f898938fb52cc9488d55b01d4c0bca084950d381c3550f6ced"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f753cc27daad8bdac1d949d894db457f956fb74316e8afb8608028d08a61620e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03d125e96c110fd8c7add2be559bf7ecfa25c004393892e64057c862df378951"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6c23a4d9bd17b73aaef186bdb6d95e45bfa5d054cdd603967416757191dfc63"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4636369c6eb2231bfe7cc35cf8db11c6f44f8a0f869445529c2dfe2a6ca4907b"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f250305af43980119b971b98320270869a750b99b86594a9c8a490891c105e0f"},"taxa":[{"id":"CWE-134","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-943","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42eb8a87361c3b33988d61a8b6dbfa736a23e371ef88a7c9b1a9d7a2d98e7b58"},"taxa":[{"id":"CWE-134","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-943","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f51c8178e781aa6e22538ca12dea20debbc6b490dd0d03ed2f78dddbb0c858b6"},"taxa":[{"id":"CWE-134","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-943","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"412849e1d41e275c63ac844a8a8f72db0e76d7fb97879fe4172abe4c88b5c7ca"},"taxa":[{"id":"CWE-134","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-943","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5f8896ed894bb335572caca2ef8dcd025cf667c356e5ebdb1f074d877eeeb54e"},"taxa":[{"id":"CWE-134","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-943","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2bc20d574f910c5f7a6937495c36b8ab72060f034c7ba580bd2205a322b0bf84"},"taxa":[{"id":"CWE-134","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-943","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 114 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 114 of the 194 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: Sources/PulseUI/Helpers/HARDocument.swift. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Helpers/HARDocument.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b72322566c6d492fe41b0a7e7620974478d98f6e24991fb57419b9d1480365"}},{"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":"90ef8645d5d250a2cdd6c4ddecf434c2439a3eaf0b71b0b76b3e93b4d1bb9e49"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: LoggerStore.currentSessionID: \u0060LoggerStore.currentSessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/LoggerStore/LoggerStore.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2989eed80efdc2655d437089936a9c9c259c4577c8dc0d1267d63f95efd881cd"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TaskContext.taskId: \u0060TaskContext.taskId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/NetworkLogger/NetworkLogger.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbd545446e0f41dde69858434d52c3c651513a5ede1caf9f461dda27e7180a8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: URLSessionMock.mockID: \u0060URLSessionMock.mockID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/RemoteLogger/RemoteLogger-Protocol.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6bed45b70ffb6cf68367726cebb0d7e0837ce9df172780bc1c7b31b14a02ee"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ShareItems.id: \u0060ShareItems.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Helpers/ShareItems.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d826c76413002000f2c619d239f2e944c189b813615e64d98fb0f523dcccf0b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: KeyValueRow.id: \u0060KeyValueRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Views/InfoRow.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89de371d9740de3a8e61ab43642dbabaa859e349a96f8ddc01113ccd8678364"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ConsoleRecentFilter.id: \u0060ConsoleRecentFilter.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/ConsoleRecentFiltersStore.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6519ac8c498feecb946989ff095a24ff3cd4b62cbae99c9f0614d32c5500021f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: EditingFilterState.id: \u0060EditingFilterState.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Search/ConsoleSearchViewModel.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1811e4160eb1800874a601e5aae6088248ee62620f3f7b7b2fd0173c6c0dc04"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ConsoleCustomFilter.id: \u0060ConsoleCustomFilter.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/Predicates/ConsoleCustomFilter.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bec0cf4da31a439b664703dde6c18694a7666c381d37ced70556a9b967e4051"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ConsoleSearchSuggestion.id: \u0060ConsoleSearchSuggestion.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Search/Services/ConsoleNetworkSearchSuggestionsService.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72789dc3ba6fb6b49e23c5069784da584e58bb36e161616084f4036cfddd330"}},{"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 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os(iOS) || os(macOS) || os(watchOS) || os(visionOS)\u0060 appears character-identically in 2 files \u2014 Sources/PulseUI/Views/ShareStoreView.swift, Sources/PulseUI/Views/ShareStoreViewModel.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Views/ShareStoreView.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4a0d8790c1d6cc474ab8d9af12782261cecff9871fbd104480d3119a3f2c79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os(iOS) || os(tvOS) || os(macOS) || os(visionOS) || os(watchOS)\u0060 appears character-identically in 2 files \u2014 Sources/PulseUI/Features/Console/List/ConsoleListContentView.swift, Sources/PulseUI/Features/Console/Views/ConsoleEntityCell.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Console/List/ConsoleListContentView.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2804c4ce4b3b6cbc0aaf3967263ac1738b678c1ab642e59d2a919bcea295b9b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os(iOS) || os(tvOS) || os(macOS) || os(watchOS) || os(visionOS)\u0060 appears character-identically in 2 files \u2014 Sources/PulseUI/Features/FileViewer/FileViewer.swift, Sources/PulseUI/Features/MessageDetails/ConsoleMessageDetailsView.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/FileViewer/FileViewer.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21bb98fd34eb5b523377f2194ad4456a1393d668e6a03543959e37088578701"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os(iOS) || os(watchOS) || os(tvOS) || os(visionOS)\u0060 appears character-identically in 2 files \u2014 Sources/PulseUI/Features/Filters/ConsoleFiltersView.swift, Sources/PulseUI/Helpers/UXKit.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/ConsoleFiltersView.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11a3f896e52352b21414070ce2779b22fddd83f10479a3f3aae98e511d8a067"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PulseUI/Features/Filters/Views/ConsoleCustomFilterEditSheet.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c1a00a3188943b506c425c99f7f5bdfca3809093815fcef6fae7dbc159aa1c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getKnownServers\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pulse/RemoteLogger/RemoteLogger.swift"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e405746d89821925ade99552503a253503e48ad93bebe6f9c1f14dbe7e6a692"}}],"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-134","guid":"f92eb270-a113-5050-a4e8-7173e51af580","name":"CWE-134","shortDescription":{"text":"CWE-134"},"helpUri":"https://cwe.mitre.org/data/definitions/134.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-943","guid":"da8ca609-5263-5d50-8f65-8e61b9587003","name":"CWE-943","shortDescription":{"text":"CWE-943"},"helpUri":"https://cwe.mitre.org/data/definitions/943.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":18,"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."]}]}