{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D2","level":"warning","message":{"text":"XMLNode.toXMLString (cognitive 20): XMLNode.toXMLString has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 4, loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/XMLKit/XMLNode.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7413ca9f1499ab9dbeb5dd94e93009963ae9d4a452fe7994b4266d16f2827c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 24 shared lines): Sources/FeedKit/Feeds/RSS/RSSFeedChannel.swift:39-93 | Sources/FeedKit/Namespaces/Media/Media.swift:37-93 | Sources/FeedKit/Namespaces/Podcast/Podcast.swift:38-98 \u2014 These 3 members are variants of one another: a block of 24 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Feeds/RSS/RSSFeedChannel.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"82443d86fd106f17a5420dfbf216d6862d1826b7f0bcdb37b93ce921f609faae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): Sources/FeedKit/FeedNamespace.swift:79-110 | Sources/FeedKit/FeedNamespace.swift:113-144 \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/FeedKit/FeedNamespace.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e820a0f62ef1579b7a2a847279afe6ebbf04263e21e1cf0b97e3c2d08aab0803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sources/FeedKit/FeedError.swift:49-70 | Sources/FeedKit/FeedError.swift:72-93 \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/FeedKit/FeedError.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6856a753670c1f3562c20cf91a316eb286045fdefd0c48f2e07f13fd186b1e70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Sources/FeedKit/Feed.swift:130-143 | Sources/FeedKit/FeedInitializable.swift:97-111 \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/FeedKit/Feed.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5404f79c6ac8b1d82b4ea2bf3c573f8293b53b3eac373e285514bec0a623d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/FeedKit/Feeds/Atom/AtomFeedLink.swift:30-44 | Sources/FeedKit/Namespaces/Atom/AtomLink.swift:30-44 \u2014 before extracting anything, compare \u0060Sources/FeedKit/Feeds/Atom/AtomFeedLink.swift\u0060 and \u0060Sources/FeedKit/Namespaces/Atom/AtomLink.swift\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Feeds/Atom/AtomFeedLink.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"157affc3cfb0981b4316e4f5cc75d0636d3e6c57ddad37170c61605fc02d30a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FeedKit/Feeds/Atom/AtomFeedEntry.swift:50-63 | Sources/FeedKit/Feeds/RSS/RSSFeedItem.swift:54-67 \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/FeedKit/Feeds/Atom/AtomFeedEntry.swift:50\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Feeds/Atom/AtomFeedEntry.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb6a7bdc89c97ff62ad40d465295a05ce9d34640df98656f0dc99608fa88ad9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/FeedKit/Namespaces/Media/MediaContent.swift:47-59 | Sources/FeedKit/Namespaces/Podcast/PodcastAlternateEnclosure.swift:187-199 \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/FeedKit/Namespaces/Media/MediaContent.swift:47\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/FeedKit/Namespaces/Media/MediaContent.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a228d401380cc84a2bc262a97aa594e966c15fd20953bbf961556f363ed34a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 13): Sources/FeedKit/Feeds/Atom/AtomFeed.swift:53-64 | Sources/FeedKit/Feeds/Atom/AtomFeedEntry.swift:53-64 | Sources/FeedKit/Feeds/JSON/JSONFeed.swift:47-58 | Sources/FeedKit/Feeds/JSON/JSONFeedItem.swift:48-59 | Sources/FeedKit/Feeds/RSS/RSSFeedChannel.swift:66-77 | Sources/FeedKit/Feeds/RSS/RSSFeedItem.swift:57-68 | Sources/FeedKit/Namespaces/DublinCore/DublinCore.swift:50-61 | Sources/FeedKit/Namespaces/Media/Media.swift:65-76 | Sources/FeedKit/Namespaces/Media/MediaContent.swift:47-58 | Sources/FeedKit/Namespaces/Media/MediaContent.swift:82-93 | Sources/FeedKit/Namespaces/Podcast/Podcast.swift:68-79 | Sources/FeedKit/Namespaces/Podcast/PodcastAlternateEnclosure.swift:187-198 | Sources/FeedKit/Namespaces/iTunes/ITunes.swift:52-63 \u2014 there are 13 copies across 12 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 13 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FeedKit/Feeds/Atom/AtomFeed.swift:53\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/FeedKit/Feeds/Atom/AtomFeed.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0fe2deada0018f21bccdc75ccb32ff18a8cb1b79c474adbc73957deef66346"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 10): Sources/FeedKit/Feeds/Atom/AtomFeed.swift:58-69 | Sources/FeedKit/Feeds/Atom/AtomFeedEntry.swift:61-72 | Sources/FeedKit/Feeds/JSON/JSONFeedItem.swift:54-65 | Sources/FeedKit/Feeds/RSS/RSSFeedChannel.swift:82-93 | Sources/FeedKit/Feeds/RSS/RSSFeedItem.swift:66-77 | Sources/FeedKit/Namespaces/DublinCore/DublinCore.swift:55-66 | Sources/FeedKit/Namespaces/Media/Media.swift:82-93 | Sources/FeedKit/Namespaces/Media/MediaContent.swift:86-97 | Sources/FeedKit/Namespaces/Podcast/Podcast.swift:87-98 | Sources/FeedKit/Namespaces/iTunes/ITunes.swift:61-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FeedKit/Feeds/Atom/AtomFeed.swift:58\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/FeedKit/Feeds/Atom/AtomFeed.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"123678b6ab93546b00fcefbb57e0dac03a44fd6054468ff5b268c3978a753a39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/FeedKit/Namespaces/DublinCore/DublinCore.swift:45-55 | Sources/FeedKit/Namespaces/Podcast/PodcastValue.swift:94-104 \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/FeedKit/Namespaces/DublinCore/DublinCore.swift:45\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Namespaces/DublinCore/DublinCore.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b78bc7788c445e38442cbf77ccd75af19f1ee8379ec8f0e12eea3e08501ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Sources/FeedKit/Namespaces/Podcast/PodcastAlternateEnclosure.swift:95-104 | Sources/FeedKit/Namespaces/Podcast/PodcastAlternateEnclosure.swift:175-183 \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/FeedKit/Namespaces/Podcast/PodcastAlternateEnclosure.swift:95\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Namespaces/Podcast/PodcastAlternateEnclosure.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8be69a1e4878b9ca3f1b5b2a069841ae590cadd1d724d610672d0995ad26cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FeedKit/Feeds/JSON/JSONFeed.swift:32-40 | Sources/FeedKit/Feeds/JSON/JSONFeedItem.swift:31-39 \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 \u0060Sources/FeedKit/Feeds/JSON/JSONFeed.swift:32\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Feeds/JSON/JSONFeed.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"118cc20f962df140d5b49080b1e898fc792888e12bfe170181e384618e5806cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FeedKit/Feeds/JSON/JSONFeedItem.swift:34-42 | Sources/FeedKit/Feeds/RSS/RSSFeedChannel.swift:40-48 \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/FeedKit/Feeds/JSON/JSONFeedItem.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"915010061dc46d33595d57c3224ab34de8f6664581a6e893d43fcf819c1de1d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FeedKit/Feeds/JSON/JSONFeed.swift:229-236 | Sources/FeedKit/Feeds/JSON/JSONFeedItem.swift:232-239 \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/FeedKit/Feeds/JSON/JSONFeed.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"201f056753edc5857cb649431e78098ceafc80d1290fd9e19bb9c416b7c57644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FeedKit/FeedError.swift:126-132 | Sources/XMLKit/XMLError.swift:90-96 \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/FeedKit/FeedError.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb40ca14114451959eca83a5f5680280951eabb639f61d2a09c3f8ed6ee2d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): Sources/FeedKit/Feeds/Atom/AtomFeedAuthor.swift:38-46 | Sources/FeedKit/Feeds/Atom/AtomFeedCategory.swift:30-38 | Sources/FeedKit/Feeds/Atom/AtomFeedContent.swift:30-38 | Sources/FeedKit/Feeds/Atom/AtomFeedContributor.swift:31-39 | Sources/FeedKit/Feeds/JSON/JSONFeedAuthor.swift:32-40 | Sources/FeedKit/Namespaces/Media/MediaSubTitle.swift:30-38 | Sources/FeedKit/Namespaces/Podcast/PodcastLiveItem.swift:32-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Feeds/Atom/AtomFeedAuthor.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5261328309fbbb66caf500faa8d590e8bbaa40fc9e46dc56d4c9270c168f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): Sources/FeedKit/Feeds/RSS/RSSFeedTextInput.swift:45-55 | Sources/FeedKit/Namespaces/Media/MediaText.swift:30-40 | Sources/FeedKit/Namespaces/Media/MediaThumbnail.swift:30-40 | Sources/FeedKit/Namespaces/Podcast/PodcastTags.swift:219-229 | Sources/FeedKit/Namespaces/Podcast/PodcastTags.swift:268-278 | Sources/FeedKit/Namespaces/Podcast/PodcastTranscript.swift:36-46 | Sources/FeedKit/Namespaces/PodloveSimpleChapters/PodloveSimpleChapters.swift:171-181 \u2014 there are 7 copies across 6 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Feeds/RSS/RSSFeedTextInput.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58c5488d27f7d9e79de4d718256ff61cfdbe9c667380a99e0a40c83fb927e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FeedKit/Namespaces/Media/MediaEmbed.swift:46-54 | Sources/FeedKit/Namespaces/Media/MediaPlayer.swift:30-34 \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/FeedKit/Namespaces/Media/MediaEmbed.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83e3368079a317a4bcb70268b1bc035d8d2208e02de3df51b2a415f6ae4f865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FeedKit/Feeds/Atom/AtomFeedSource.swift:46-54 | Sources/FeedKit/Namespaces/Podcast/PodcastValue.swift:363-367 \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/FeedKit/Feeds/Atom/AtomFeedSource.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6bd8e056cf433191e24f3c92e2caa89b6c9745897b43f7a4e6e61f4616458c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FeedKit/Feeds/Atom/AtomFeedAuthor.swift:89-95 | Sources/FeedKit/Feeds/Atom/AtomFeedContributor.swift:82-88 \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/FeedKit/Feeds/Atom/AtomFeedAuthor.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0663f4ae9e071d1e3d947d4e8509d62cf1cbc7dc145b43dc1428c23b7825e7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: XMLKit: XMLKit: abstractness 0.14, instability 0.00, distance 0.86 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6ae772fa24e92e4d13e5b3e9ab4e053d4976b91a8d126760e955e81988f69507"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: XMLUnkeyedDecodingContainer (LCOM4 6): XMLUnkeyedDecodingContainer\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/XMLKit/XMLDecoder/XMLUnkeyedDecodingContainer.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b176e8233813effc76ea2547bb44fde8619e35cc5cae40ea8a91048361e3b06f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: XMLKeyedEncodingContainer (LCOM4 6): XMLKeyedEncodingContainer\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/XMLKit/XMLEncoder/XMLKeyedEncodingContainer.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"435c7ef585213820851a1ea1ae17653f4290aa1596fed4d150f541727d14d773"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: XMLKeyedDecodingContainer (LCOM4 5): XMLKeyedDecodingContainer\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/XMLKit/XMLDecoder/XMLKeyedDecodingContainer.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"34008f42507412b22acfef33e5e9b0c215a2d78c6b00e32c28aa1e578148daae"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: XMLUnkeyedEncodingContainer (LCOM4 4): XMLUnkeyedEncodingContainer\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/XMLKit/XMLEncoder/XMLUnkeyedEncodingContainer.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0dadea4ece87bea2d6a63dcd501875ccdfff828362721ef8a40becb553fa01"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/FeedKit/FeedError.swift: 0.0% line coverage (0/87)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/FeedError.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7e04c963de19fcfb5f4ef9b260daa15598fce9c9934bbb91e378b4a8803fd7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/FeedKit/FeedInitializable.swift: 26.7% line coverage (12/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/FeedInitializable.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba8bce079be6bb12f6029d4c05b9b0c18972a638a401fdc410803a6e9212114"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/FeedKit/Feeds/Atom/AtomFeedSource.swift: 0.0% line coverage (0/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Feeds/Atom/AtomFeedSource.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56df7b934f0b9d921e6730316011e32ab3bf7e5538576e991b48518bb0cae52c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/FeedKit/Namespaces/Media/MediaCopyright.swift: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Namespaces/Media/MediaCopyright.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a56a755f84dd307dc487b8e7e13b287c4a781cf10ae5d8134cf2cba8efcfd5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/FeedKit/Namespaces/Media/MediaRights.swift: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Namespaces/Media/MediaRights.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f1b1ae5b593afe77c9f67e154fc46dbc54a10e2ed139b62a2e84833882f927"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/FeedKit/Namespaces/Media/MediaTag.swift: 29.4% line coverage (5/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Namespaces/Media/MediaTag.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3684fdfccf334f75ae913df34b6fff57844d64f951cab51335d73a405f4fc4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/FeedKit/Namespaces/Podcast/PodcastAlternateEnclosure.swift: 29.0% line coverage (20/69)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Namespaces/Podcast/PodcastAlternateEnclosure.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3915761a1c24ee44bbbab55af520e66e0d089c759c5b6e8224091177dddc8bb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/FeedKit/Namespaces/Podcast/PodcastImage.swift: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Namespaces/Podcast/PodcastImage.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae97cd216cbfe25cab02c0fb855bfbd849bdb6dc93c5fa903fefabec8ec1ec0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/FeedKit/Namespaces/Podcast/PodcastLiveItem.swift: 40.0% line coverage (14/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Namespaces/Podcast/PodcastLiveItem.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13301e5412efbaee7bfb496c9282a019cdc9e8fa39cd990926b2a5fe13d04116"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/FeedKit/Namespaces/Podcast/PodcastTags.swift: 26.8% line coverage (42/157)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Namespaces/Podcast/PodcastTags.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dee0892b459de57909842567b9de86ae93e0dec58cb4d8b239f11ecc9f9b4d7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/FeedKit/Namespaces/Podcast/PodcastTranscript.swift: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Namespaces/Podcast/PodcastTranscript.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c212a04a30432096a498a8ed2c0ca55cbb85a7c3aefffd4f731c76a2cd56948"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/FeedKit/Namespaces/Podcast/PodcastValue.swift: 30.9% line coverage (34/110)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/Namespaces/Podcast/PodcastValue.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d410efac20dffcd211d66effd288c901371a541a77041643dcbf93a8b651f88d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/XMLKit/XMLDecoder/XMLSingleValueDecodingContainer.swift: 15.9% line coverage (10/63)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/XMLKit/XMLDecoder/XMLSingleValueDecodingContainer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec8db675eb2262c35002a258fb113eb4cd33d65c7a99c64ff4a7be6259cfa1b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/XMLKit/XMLDecoder/XMLUnkeyedDecodingContainer.swift: 32.0% line coverage (32/100)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/XMLKit/XMLDecoder/XMLUnkeyedDecodingContainer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"389c6164198f62ef4655fbefe9cbad544d73799b37eba1bdec31d16e192415d1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/XMLKit/XMLEncoder/XMLCodingKey.swift: 33.3% line coverage (4/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/XMLKit/XMLEncoder/XMLCodingKey.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9f54d8a0db4de53b3ed8bef4122b16eaa8d50a0fc2dc7202a346ecf3ae141e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/XMLKit/XMLEncoder/XMLKeyedEncodingContainer.swift: 49.5% line coverage (47/95)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/XMLKit/XMLEncoder/XMLKeyedEncodingContainer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33e87f58292614eb2416d091d11ae1502cc7547f9238392825df8ab5250e4e5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/XMLKit/XMLEncoder/XMLSingleValueEncodingContainer.swift: 23.3% line coverage (14/60)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/XMLKit/XMLEncoder/XMLSingleValueEncodingContainer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2020a1a3a45f2b6da7a8bd55e8aaf3e597dc419db4f45e862ac9d1c44c7d0540"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/XMLKit/XMLEncoder/XMLUnkeyedEncodingContainer.swift: 20.5% line coverage (15/73)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/XMLKit/XMLEncoder/XMLUnkeyedEncodingContainer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19adb8cd7de7dbf8618684f4ace42f1ced1d3ee8e960c7d1efc834499947a9e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/XMLKit/XMLError.swift: 0.0% line coverage (0/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/XMLKit/XMLError.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee17d832bd8250bf970d6238b535a52631713268afec13159689aa42dfdf4b36"}},{"ruleId":"D13","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":"fc59b8a9e2939f6eb81b788797ac431c0ee30df2550f982503c6dafbf964297f"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FeedKit/FeedNamespace.swift: Sources/FeedKit/FeedNamespace.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in FeedNamespace.shouldInclude at line 153. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 20:09:04 \u002B02:00\u0027 --until=\u00272026-09-27 20:09:04 \u002B02:00\u0027 --full-history --no-merges -- Sources/FeedKit/FeedNamespace.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FeedKit/FeedNamespace.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b690a7e2832e792add9f22012593e37df360e3dae36397b6a45d4c46822bde"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent parameter naming for URL sources. \u0027url\u0027 and \u0027fileURL\u0027 are distinct, but \u0027remoteURL\u0027 is redundant with \u0027url\u0027 (as URLs are generally remote) and inconsistent with the naming convention of \u0027fileURL\u0027. It creates ambiguity: when should a user pass \u0027url\u0027 vs \u0027remoteURL\u0027?: Remove \u0027remoteURL\u0027. Use \u0027url\u0027 for general network URLs and \u0027fileURL\u0027 for local files. If distinction is needed, \u0027url\u0027 implies remote by default in most contexts, or use a specific \u0027webURL\u0027 if \u0027url\u0027 is ambiguous, but \u0027remoteURL\u0027 is non-standard. (signatures: Feed.init(urlString: String) | Feed.init(url: URL) | Feed.init(fileURL: URL) | Feed.init(remoteURL: URL) | Feed.init(string: String) | Feed.init(data: Data))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"70d67260b325044cd92b7f28e60d2db063997475eefe84da08cbe035089fe864"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent method naming for XML serialization. \u0027toXmlDocument\u0027 uses camelCase \u0027Xml\u0027, while \u0027toXMLString\u0027 uses uppercase \u0027XML\u0027. This is a minor casing inconsistency.: Standardize to \u0027toXMLDocument\u0027 and \u0027toXMLString\u0027 (or \u0027toXmlDocument\u0027 and \u0027toXmlString\u0027) for consistency. (signatures: AtomFeed.toXmlDocument(): XMLDocument | AtomFeed.toXMLString(formatted: Bool, indentationLevel: Int): String | RSSFeed.toXmlDocument(): XMLDocument | RSSFeed.toXMLString(formatted: Bool, indentationLevel: Int): String)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b3c4582f938ab0f5a1f9145a37f440b5a823d02de7ac6ceae17285e61bb850ae"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (13801 LoC, 146 public types across 21 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","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":"0b3656f6bb8476cb700d75ffb9afbc247c6947a9bb2587dc534544c4eb415efa"},"properties":{"commitSha":"00fa269ba4dd226f922b7d10a2fb307d6354d297"}},{"ruleId":"D28","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":"fa6ed31268b06297284892245304f33f2367de3f0779cdb57283f4edd13ecf89"},"properties":{"commitSha":"00fa269ba4dd226f922b7d10a2fb307d6354d297"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"e9b79a42c1353f66f0a4d39600ecafc51a05b89031e98896312f2acc981a4331"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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":"1151c8080827ccea7beee3d77d92114f52280342dc90e9f83bb51c5701009792"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"92d59b1aee9cf392a550082e009555b3f957df733a462631de8588dbf2ab845d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P10","level":"note","message":{"text":"Large public API surface: 143/166 types (86%) declared in the published library are public. For a library, every public type is a stability contract \u2014 keep implementation types off the surface and expose only the intended API."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ed2ba843444ae377c17142f58f714e281e4bd3f183ab100ee1fbef389875d3e6"}},{"ruleId":"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 4110 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":16,"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."]}]}