{"$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":"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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"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":"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":"D1","level":"warning","message":{"text":"Boing.effectValue (cyclomatic 19): Boing.effectValue has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Transitions/Boing.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"53078e05569f8cd0cd77511362e9acea2a340a0304ccac88b7a033a90851a65a"}},{"ruleId":"D2","level":"warning","message":{"text":"Anvil.body (cognitive 24): Anvil.body has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Transitions/Anvil.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9acac1097857325e54bd4c107079782d0add7b33d98151b4100aa451753be1e"}},{"ruleId":"D2","level":"warning","message":{"text":"Boing.effectValue (cognitive 18): Boing.effectValue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, match/switch 2 (4 pts), ternaries 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Transitions/Boing.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4993aac78552d356fc2d8a70b5031ed7449e54fc3a35fa3e213be18a9e54d6b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (97 shared lines): Sources/Pow/Effects/JumpEffect.swift:182-290 | Sources/Pow/Effects/ShakeEffect.swift:113-214 \u2014 These two members are variants of one another: 97 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Effects/JumpEffect.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e4282e41cbec570d4087a0081d28a957a6ee2854174f26126eb02cc48eeec9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (16 members, 50\u002B identical tokens): Sources/Pow/Transitions/Anvil.swift:241-287 | Sources/Pow/Transitions/Blinds.swift:128-215 | Sources/Pow/Transitions/Blur.swift:55-126 | Sources/Pow/Transitions/Boing.swift:138-221 | Sources/Pow/Transitions/Clock.swift:164-230 | Sources/Pow/Transitions/FilmExposure.swift:66-127 | Sources/Pow/Transitions/Flicker.swift:56-120 | Sources/Pow/Transitions/Flip.swift:75-144 | Sources/Pow/Transitions/Glare.swift:192-268 | Sources/Pow/Transitions/Iris.swift:127-209 | Sources/Pow/Transitions/Move.swift:153-253 | Sources/Pow/Transitions/Poof.swift:79-139 | Sources/Pow/Transitions/Skid.swift:121-202 | Sources/Pow/Transitions/Swoosh.swift:32-92 | Sources/Pow/Transitions/Vanish.swift:183-233 | Sources/Pow/Transitions/Wipe.swift:172-276 \u2014 These 16 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 16 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 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Transitions/Anvil.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dee6ef268a8318574e0a4c6109bf25da590c521e2fdba9fc7d357730cf24b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 2): Sources/Pow/Transitions/Move.swift:174-240 | Sources/Pow/Transitions/Wipe.swift:197-263 \u2014 before extracting anything, compare \u0060Sources/Pow/Transitions/Move.swift\u0060 and \u0060Sources/Pow/Transitions/Wipe.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Transitions/Move.swift:174\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/Pow/Transitions/Move.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8cbe4450bb67eb2c4d2cd8904e1f9624883913af9d6983e23b29ed9d07dc42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): Sources/Pow/Effects/JumpEffect.swift:210-257 | Sources/Pow/Effects/ShakeEffect.swift:137-184 \u2014 before extracting anything, compare \u0060Sources/Pow/Effects/JumpEffect.swift\u0060 and \u0060Sources/Pow/Effects/ShakeEffect.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 106 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Effects/JumpEffect.swift:210\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/Pow/Effects/JumpEffect.swift:208\u0060 calls \u0060Slider\u0060 and \u0060Sources/Pow/Effects/ShakeEffect.swift:136\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/Pow/Effects/JumpEffect.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24a72bd353a7f5a20bf1f87dd07d440ec33ba726f03ff0edfd58b65d07c548e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): Sources/Pow/Effects/GlowEffect.swift:197-234 | Sources/Pow/Effects/ShineEffect.swift:83-120 \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/Pow/Effects/GlowEffect.swift:197\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/Pow/Effects/ShineEffect.swift:122\u0060 calls \u0060Text\u0060, \u0060precision\u0060, \u0060fractionLength\u0060 and \u0060Sources/Pow/Effects/GlowEffect.swift:235\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Effects/GlowEffect.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f7cdb40c760f817b8b9e8f0d96ae59bccb1f6c9330d62035f0bc6c6e30ffb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): Sources/Pow/Transitions/Boing.swift:245-274 | Sources/Pow/Transitions/Skid.swift:226-255 \u2014 before extracting anything, compare \u0060Sources/Pow/Transitions/Boing.swift\u0060 and \u0060Sources/Pow/Transitions/Skid.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Transitions/Boing.swift:245\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/Pow/Transitions/Boing.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"870daa180480f29c7fa3d6058648cf3da1a4a8321e3c6bc821b03ab171646d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): Sources/Pow/Effects/JumpEffect.swift:263-290 | Sources/Pow/Effects/ShakeEffect.swift:187-214 \u2014 before extracting anything, compare \u0060Sources/Pow/Effects/JumpEffect.swift\u0060 and \u0060Sources/Pow/Effects/ShakeEffect.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 106 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Effects/JumpEffect.swift:263\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/Pow/Effects/JumpEffect.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace71e97a970b546c2fdeec25c9aa0c37983df8b055e771f81300eb1bee90f33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Sources/Pow/Transitions/Clock.swift:193-217 | Sources/Pow/Transitions/Iris.swift:158-182 \u2014 before extracting anything, compare \u0060Sources/Pow/Transitions/Clock.swift\u0060 and \u0060Sources/Pow/Transitions/Iris.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Transitions/Clock.swift:193\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/Pow/Transitions/Clock.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"04646bf90fe7394af428f3c0ad8600b347fd31aaa5766fd4b29600d197547f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 5): Sources/Pow/Transitions/Blinds.swift:128-149 | Sources/Pow/Transitions/Blur.swift:55-76 | Sources/Pow/Transitions/Flicker.swift:56-77 | Sources/Pow/Transitions/Flip.swift:75-96 | Sources/Pow/Transitions/Wipe.swift:172-193 \u2014 before extracting anything, compare \u0060Sources/Pow/Transitions/Blinds.swift\u0060 and \u0060Sources/Pow/Transitions/Blur.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Transitions/Blinds.swift:128\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/Pow/Transitions/Blinds.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a690e1e73ab4207ad3ca32ae8b8b489001836330ca63ea5e791ba8d31090de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Sources/Pow/Effects/JumpEffect.swift:182-202 | Sources/Pow/Effects/ShakeEffect.swift:113-133 \u2014 before extracting anything, compare \u0060Sources/Pow/Effects/JumpEffect.swift\u0060 and \u0060Sources/Pow/Effects/ShakeEffect.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 106 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Effects/JumpEffect.swift:182\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/Pow/Effects/JumpEffect.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1626ac39ea45319f6bb267675c0ceec092861395f833536f1bab801ccdea98c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Sources/Pow/Effects/SmokeEffect.swift:181-201 | Sources/Pow/Effects/SmokeEffect.swift:318-338 \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/Pow/Effects/SmokeEffect.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0c4e714c9da66dca58f7e17b8d78514ae5c5d0469ee148cdc72cfa8bae1805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Sources/Pow/Transitions/Boing.swift:138-158 | Sources/Pow/Transitions/Skid.swift:121-141 \u2014 before extracting anything, compare \u0060Sources/Pow/Transitions/Boing.swift\u0060 and \u0060Sources/Pow/Transitions/Skid.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Transitions/Boing.swift:138\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/Pow/Transitions/Boing.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"993b4c63cae736a24ecde80b37bf32ecfd90fe980679f0b8c20b5263afc81339"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6): Sources/Pow/Transitions/Blinds.swift:143-161 | Sources/Pow/Transitions/Blur.swift:70-88 | Sources/Pow/Transitions/Flicker.swift:71-89 | Sources/Pow/Transitions/Iris.swift:138-156 | Sources/Pow/Transitions/Poof.swift:90-108 | Sources/Pow/Transitions/Wipe.swift:187-205 \u2014 before extracting anything, compare \u0060Sources/Pow/Transitions/Blinds.swift\u0060 and \u0060Sources/Pow/Transitions/Blur.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Transitions/Blinds.swift:143\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/Pow/Transitions/Flicker.swift:91\u0060 calls \u0060Stepper\u0060 and \u0060Sources/Pow/Transitions/Poof.swift:110\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Transitions/Blinds.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"922dda265492bac62246ad5a71c98f6143f1d2f7f1a07997a52e07a05b6e70b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 9): Sources/Pow/Transitions/Blinds.swift:188-204 | Sources/Pow/Transitions/Blur.swift:99-115 | Sources/Pow/Transitions/Flicker.swift:93-109 | Sources/Pow/Transitions/Flip.swift:117-133 | Sources/Pow/Transitions/Iris.swift:177-194 | Sources/Pow/Transitions/Move.swift:223-240 | Sources/Pow/Transitions/Poof.swift:110-127 | Sources/Pow/Transitions/Swoosh.swift:63-80 | Sources/Pow/Transitions/Wipe.swift:246-263 \u2014 before extracting anything, compare \u0060Sources/Pow/Transitions/Blinds.swift\u0060 and \u0060Sources/Pow/Transitions/Blur.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Transitions/Blinds.swift:188\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/Pow/Transitions/Blinds.swift:182\u0060 calls \u0060pickerStyle\u0060, \u0060Toggle\u0060 and \u0060Sources/Pow/Transitions/Blur.swift:97\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/Pow/Transitions/Blinds.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f20881aac78c35f398af9a1d011cdda263955fe2e7c2351d985798d2119686c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/Pow/Infrastructure/ParticleLayer.swift:145-162 | Sources/Pow/Infrastructure/ParticleLayer.swift:201-218 \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/Pow/Infrastructure/ParticleLayer.swift:145\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/Pow/Infrastructure/ParticleLayer.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"97844363d69dbd7fb04110a7f74feb2502b97a5768b7916b421aafbf0d76a88c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/Pow/Transitions/Move.swift:135-151 | Sources/Pow/Transitions/Wipe.swift:154-170 \u2014 before extracting anything, compare \u0060Sources/Pow/Transitions/Move.swift\u0060 and \u0060Sources/Pow/Transitions/Wipe.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Transitions/Move.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d750df135d5df7a51974996d9063323913eebc02bac8f7ac5c6233ff2230011"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): Sources/Pow/Transitions/Anvil.swift:241-256 | Sources/Pow/Transitions/Clock.swift:164-179 | Sources/Pow/Transitions/Glare.swift:192-207 | Sources/Pow/Transitions/Iris.swift:127-142 | Sources/Pow/Transitions/Move.swift:153-168 | Sources/Pow/Transitions/Poof.swift:79-94 | Sources/Pow/Transitions/Swoosh.swift:32-47 \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 7 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Transitions/Anvil.swift:241\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/Pow/Transitions/Anvil.swift:239\u0060 calls \u0060Item\u0060 and \u0060Sources/Pow/Transitions/Move.swift:151\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/Pow/Transitions/Anvil.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c8c9059b6840cd1ce582f4f5d53f38149a5a75d9c30cf68c1ca26d04a99365"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/Pow/Transitions/FilmExposure.swift:66-81 | Sources/Pow/Transitions/Vanish.swift:183-198 \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/Pow/Transitions/FilmExposure.swift:66\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/Pow/Transitions/FilmExposure.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c591d545af4773f7f03589723456df41cfa84e0746d0176c9a5732cee2e4761"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/Pow/Effects/SprayEffect.swift:400-413 | Sources/Pow/Effects/SprayEffect.swift:422-435 \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/Pow/Effects/SprayEffect.swift:400\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/Pow/Effects/SprayEffect.swift"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"09431e1c017e5ec2c207a928e1c8f2156c88ec04f4ea0a06aca0982ef3198f5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/Pow/Transitions/Boing.swift:285-298 | Sources/Pow/Transitions/Skid.swift:266-279 \u2014 before extracting anything, compare \u0060Sources/Pow/Transitions/Boing.swift\u0060 and \u0060Sources/Pow/Transitions/Skid.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Transitions/Boing.swift:285\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/Pow/Transitions/Boing.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc50cea6336c447cf7bcd62022937a657f75cb5a71d34424d4ef16eb557a4ca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/Pow/Transitions/Clock.swift:179-194 | Sources/Pow/Transitions/Skid.swift:140-153 \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/Pow/Transitions/Clock.swift:179\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/Pow/Transitions/Skid.swift:138\u0060 calls \u0060Slider\u0060, \u0060Stepper\u0060 and \u0060Sources/Pow/Transitions/Clock.swift:179\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Transitions/Clock.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dfb481e0034f9582a5c4846e26892ae7f27fd2dbe3085b2470afaebe67928b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Sources/Pow/Effects/RisingParticleEffect.swift:273-285 | Sources/Pow/Effects/SprayEffect.swift:401-413 | Sources/Pow/Effects/SprayEffect.swift:423-435 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 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/Pow/Effects/RisingParticleEffect.swift:273\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/Pow/Effects/SprayEffect.swift:400\u0060 calls \u0060Section\u0060 and \u0060Sources/Pow/Effects/RisingParticleEffect.swift:272\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Effects/RisingParticleEffect.swift"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f6e0d4ac91507eed40ace64726b4d487b578c2499dcc898001f13fd0316fcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Sources/Pow/Transitions/Anvil.swift:250-262 | Sources/Pow/Transitions/Clock.swift:173-185 | Sources/Pow/Transitions/Vanish.swift:192-204 \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/Pow/Transitions/Anvil.swift:250\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/Pow/Transitions/Vanish.swift:205\u0060 calls \u0060withAnimation\u0060, \u0060linear\u0060 and \u0060Sources/Pow/Transitions/Anvil.swift:263\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Transitions/Anvil.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cac9cbdbc33498e39642687844cd8120432d6656f3939765c9499f4704245b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Pow/Effects/RisingParticleEffect.swift:75-87 | Sources/Pow/Effects/SprayEffect.swift:78-90 \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/Pow/Effects/RisingParticleEffect.swift:75\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/Pow/Effects/RisingParticleEffect.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe064b3b694c32ab762cdb2d58d9d6b5a4cb237438cf6f1b24920354f9e2ce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Pow/Infrastructure/WhileEffect.swift:172-184 | Sources/Pow/Infrastructure/WhileEffect.swift:197-209 \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/Pow/Infrastructure/WhileEffect.swift:172\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/Pow/Infrastructure/WhileEffect.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48d024d952f99d09b465840a30644c9839bdaa19057bd0524a5b3c4d5c9780d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Pow/Transitions/Clock.swift:141-153 | Sources/Pow/Transitions/Iris.swift:104-116 \u2014 before extracting anything, compare \u0060Sources/Pow/Transitions/Clock.swift\u0060 and \u0060Sources/Pow/Transitions/Iris.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Transitions/Clock.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d05dc1ecdc1a4f4befc5e87bbda22ed66ead55c415dafb85133c19940f47d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Pow/Effects/RisingParticleEffect.swift:124-135 | Sources/Pow/Effects/SprayEffect.swift:160-171 \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/Pow/Effects/RisingParticleEffect.swift:124\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/Pow/Effects/RisingParticleEffect.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f563669066a0ed56b300b8d15f689f45d587a411f99375fc8af62297051db55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Pow/Effects/ShakeEffect.swift:72-83 | Sources/Pow/Effects/WiggleEffect.swift:70-81 \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/Pow/Effects/ShakeEffect.swift:72\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/Pow/Effects/ShakeEffect.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c62de94565579a4e95a4d5c6324692caf50d51ae6f9b6bb20aaacee2be7c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Pow/Transitions/Boing.swift:183-194 | Sources/Pow/Transitions/Skid.swift:161-172 \u2014 before extracting anything, compare \u0060Sources/Pow/Transitions/Boing.swift\u0060 and \u0060Sources/Pow/Transitions/Skid.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Transitions/Boing.swift:183\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/Pow/Transitions/Boing.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"821c28075e1b139ad3efbaf565dc15ac939513bc41af54209ca36de92b33bc89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9): Sources/Pow/Transitions/Blinds.swift:141-151 | Sources/Pow/Transitions/Blur.swift:68-78 | Sources/Pow/Transitions/Flicker.swift:69-79 | Sources/Pow/Transitions/Flip.swift:88-98 | Sources/Pow/Transitions/Iris.swift:136-146 | Sources/Pow/Transitions/Move.swift:162-172 | Sources/Pow/Transitions/Poof.swift:88-98 | Sources/Pow/Transitions/Swoosh.swift:41-51 | Sources/Pow/Transitions/Wipe.swift:185-195 \u2014 before extracting anything, compare \u0060Sources/Pow/Transitions/Blinds.swift\u0060 and \u0060Sources/Pow/Transitions/Blur.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Transitions/Blinds.swift:141\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/Pow/Transitions/Blinds.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71c7e1aeddb0ebda143762e739fe2565e5a85e41ad51c1a3e6ffef5d5a76810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/Pow/Transitions/Boing.swift:196-206 | Sources/Pow/Transitions/Skid.swift:84-94 | Sources/Pow/Transitions/Skid.swift:174-184 \u2014 before extracting anything, compare \u0060Sources/Pow/Transitions/Boing.swift\u0060 and \u0060Sources/Pow/Transitions/Skid.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Transitions/Boing.swift:196\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/Pow/Transitions/Boing.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95882a7ec82ad01a086ae87241b7ebfc394a13720f89b2f63709ca9041714ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Pow/Effects/SpinEffect.swift:188-197 | Sources/Pow/Effects/SpinEffect.swift:211-220 \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/Pow/Effects/SpinEffect.swift:188\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/Pow/Effects/SpinEffect.swift:224\u0060 calls \u0060rotationEffect\u0060, \u0060degrees\u0060 and \u0060Sources/Pow/Effects/SpinEffect.swift:201\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/Pow/Effects/SpinEffect.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22650b6cd5aa5b80a8682f10b7481029ed8a290380d87222daf56c31f7313b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Sources/Pow/Effects/JumpEffect.swift:220-228 | Sources/Pow/Effects/JumpEffect.swift:265-273 | Sources/Pow/Effects/ShakeEffect.swift:147-155 | Sources/Pow/Effects/ShakeEffect.swift:189-197 \u2014 before extracting anything, compare \u0060Sources/Pow/Effects/JumpEffect.swift\u0060 and \u0060Sources/Pow/Effects/ShakeEffect.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 106 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Effects/JumpEffect.swift:220\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/Pow/Effects/JumpEffect.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"23644e1f549255babfcdf6c1ae196509f4fcc56ae6c53d349d05d0c04c95a4ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Sources/Pow/Effects/ShakeEffect.swift:77-85 | Sources/Pow/Effects/SpinEffect.swift:104-112 | Sources/Pow/Effects/WiggleEffect.swift:75-83 \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/Pow/Effects/ShakeEffect.swift:77\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/Pow/Effects/ShakeEffect.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e14c8bd7296c0315d68e1181afdad3cf133ad252736d8d16dc55e9baa365bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Pow/Effects/WiggleEffect.swift:115-123 | Sources/Pow/Effects/WiggleEffect.swift:144-152 \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/Pow/Effects/WiggleEffect.swift:115\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/Pow/Effects/WiggleEffect.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"335c1f9fa3a2f7658d638aced79a493f1fcb1a039ad767da033759d41e512daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/Pow/Effects/SpinEffect.swift:190-197 | Sources/Pow/Effects/SpinEffect.swift:201-208 | Sources/Pow/Effects/SpinEffect.swift:213-220 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Pow/Effects/SpinEffect.swift:190\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/Pow/Effects/SpinEffect.swift:224\u0060 calls \u0060rotationEffect\u0060, \u0060degrees\u0060 and \u0060Sources/Pow/Effects/SpinEffect.swift:201\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/Pow/Effects/SpinEffect.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5221dcff8636a6c5c9292489182f818ce3ca101739e9eb7c13af87c1c5b758a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/Pow/Effects/SpinEffect.swift:166-172 | Sources/Pow/Effects/SpinEffect.swift:200-206 \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/Pow/Effects/SpinEffect.swift:166\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/Pow/Effects/SpinEffect.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"635652a16ec0577a19e0633626ffc38d1f988288767a179a074144a683bcf70b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/Pow/Effects/PulseEffect.swift:374-379 | Sources/Pow/Effects/PulseEffect.swift:392-397 \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/Pow/Effects/PulseEffect.swift:374\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/Pow/Effects/PulseEffect.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae144fffa30ea75d07be7ea653edc5ad6eaccfbc86c6a4fd9ede14ed4c3cdbe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Pow/Effects/RisingParticleEffect.swift:67-71 | Sources/Pow/Effects/SprayEffect.swift:62-66 \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/Pow/Effects/RisingParticleEffect.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a682a37521fa250355992cc4bfb9358b51158f10546b27d6dccfd810a5c209b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Pow/Effects/RisingParticleEffect.swift:182-189 | Sources/Pow/Effects/SprayEffect.swift:257-264 \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/Pow/Effects/RisingParticleEffect.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f794e3dbcbf0ac2a659254ae60243ef5414c7ffb2f79e279c3fea1c62439556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Pow/Infrastructure/SecondOrderDynamics.swift:42-46 | Sources/Pow/Infrastructure/Spring.swift:135-139 \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/Pow/Infrastructure/SecondOrderDynamics.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ba023d91674059936ce16ef031178ff37f698907b18674094f42def930c7db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Pow/Infrastructure/SecondOrderDynamics.swift:48-52 | Sources/Pow/Infrastructure/Spring.swift:141-145 \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/Pow/Infrastructure/SecondOrderDynamics.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e84f7b1e25d614b619a3f3e8c0b8d82deab2f172b786b5c218b600b0e612de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): Sources/Pow/Transitions/Anvil.swift:290-299 | Sources/Pow/Transitions/Boing.swift:224-233 | Sources/Pow/Transitions/Clock.swift:233-242 | Sources/Pow/Transitions/Glare.swift:271-280 | Sources/Pow/Transitions/Skid.swift:205-214 | Sources/Pow/Transitions/Vanish.swift:236-245 \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 6 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Transitions/Anvil.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bdfa22d43ae06acc27ac6e2dcabcf3e0481f5bef15c028626465378e7b620a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Pow/Transitions/Clock.swift:124-135 | Sources/Pow/Transitions/Iris.swift:87-98 \u2014 before extracting anything, compare \u0060Sources/Pow/Transitions/Clock.swift\u0060 and \u0060Sources/Pow/Transitions/Iris.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Transitions/Clock.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bc6ba6e2605ca480b2ef79edf078a403dfb859ade1202ec1a3cc983961aff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Pow/Effects/ShakeEffect.swift:95-103 | Sources/Pow/Effects/WiggleEffect.swift:97-105 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/Pow/Effects/ShakeEffect.swift:108\u0060 calls \u0060available\u0060 and \u0060Sources/Pow/Effects/WiggleEffect.swift:111\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/Pow/Effects/ShakeEffect.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d15b2ddc13cf5b6ce790d69fff6735f1823999f93de31b4ec32f4d9ed9378bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Pow/Extensions/UnitPoint\u002BCircularCoordinates.swift:16-20 | Sources/Pow/Transitions/Move.swift:63-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Extensions/UnitPoint\u002BCircularCoordinates.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"75035bcb08a462f1992f7ae2ac0f21f0c4971e9b8878a7dc65acefcd720fab97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Example/Pow Example/Examples/Change Effects/GlowExample.swift:36-52 | Example/Pow Example/Examples/Change Effects/PulseExample.swift:39-55 \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 \u0060Example/Pow Example/Examples/Change Effects/GlowExample.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":"Example/Pow Example/Examples/Change Effects/GlowExample.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5325fb77a85e7a551ddec210d52572c30fcfe70aa04c289bfcd311199dc52929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Example/Pow Example/Examples/Change Effects/GlowExample.swift:22-33 | Example/Pow Example/Examples/Change Effects/PingExample.swift:9-20 | Example/Pow Example/Examples/Change Effects/PulseExample.swift:25-36 \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 \u0060Example/Pow Example/Examples/Change Effects/GlowExample.swift:22\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Example/Pow Example/Examples/Change Effects/GlowExample.swift:20\u0060 calls \u0060Spacer\u0060 and \u0060Example/Pow Example/Examples/Change Effects/PingExample.swift:8\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Pow Example/Examples/Change Effects/GlowExample.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd517dd82903f1602977382af4765c1f4c49aeba3374207cce9a69dc1c949d4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:12-21 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:48-57 \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 \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:12\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":"Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df74e7380143d69f32fdb70ed41df4dd5a62e4f12ad07a2a75b78e3f29ee0e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:39-47 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:72-80 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:81-89 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:90-98 \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 \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:39\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:80\u0060 calls \u0060GroupBox\u0060 and \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:71\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa607efb5930cbe48670fe6ce55f4a4b55fe80773ba1e2d015c6ab018432679d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Example/Pow Example/Examples/Transitions/BoingExample.swift:13-20 | Example/Pow Example/Examples/Transitions/BoingExample.swift:24-31 | Example/Pow Example/Examples/Transitions/BoingExample.swift:35-42 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Pow Example/Examples/Transitions/BoingExample.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde8ca15dfb14c7efc6a060947835690a1b4e6a8b22f625997ddf8ca38fd66fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:38-44 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:65-71 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:80-86 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:89-95 \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 \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.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, \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:47\u0060 calls \u0060GroupBox\u0060 and \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:72\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf68e41af702a4f1d72f6794a0c54c517b74487c1e070cc52d4d2cea095a62f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:21-27 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:106-112 \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 \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:106\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, \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:20\u0060 calls \u0060GroupBox\u0060 and \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:104\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9acc712c94d3cab0924d7b9a99f84149cbb5a5e19a7e1d80add9fa29bc2e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:12-17 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:48-53 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:99-104 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:20\u0060 calls \u0060GroupBox\u0060 and \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:106\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b856a6902e5182c571e0d4f9705ee3ec7a3c4caf196bdbe9baaab34ba8be7c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:11-15 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:20-24 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:47-51 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:98-102 \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 \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:11\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":"Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fede76f52e36d6b8251bd115865824772d6403ab78ffba170c137a036c831682"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:20-24 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:29-33 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:47-51 | Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:98-102 \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 \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:20\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:25\u0060 calls \u0060SoundEffectPad\u0060, \u0060SoundEffect\u0060, \u0060hidden\u0060 and \u0060Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift:16\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":"Example/Pow Example/Examples/Change Effects/SoundEffectsExample.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a18cec3b2f5584df811a6ae04ec2dfb69b54ce0c948e88fb783a8e7d115fc3"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 Swift suite: Coverage NOT MEASURED: the Swift half could not be measured \u2014 the Swift suite in . produced no coverage export. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 1 significant file(s) lose their only recent owner: Sources/Pow/Transitions/Anvil.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6a9b871894493273350b526b51a5588536cdbde00cfb4f00d3d6a380769c1885"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Not used, remove from protocol \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/Pow/Effects/WiggleEffect.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ad3d3361cad87f957e67720e1eacc7503a07b1c40a5c2ade8379a3251218e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Not used, remove from protocol \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/Pow/Effects/ShakeEffect.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd864c7818400072d0facb1da3b968044608007b9f48c32c2484e4aad0a175e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove from protocol \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/Pow/Effects/SoundEffect.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0379d551ab26d35eab6847e02f127bf21a639127d8ed01700efaa01d9a430748"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove from protocol \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/Pow/Effects/HapticFeedbackEffect.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"202b2a5ce00a3b40db9164c4105afcca87fa2edfd8a3604c452db52ce27b54a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Avoid playing the same sound twice if there are more variations. \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/Pow/Effects/SoundEffect.swift"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1d55d5e113382ad1aa072209dd3dbf9b4640c5d5902bc7693c4641799b40ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Avoid playing the same sound twice if there are more variations. \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/Pow/Effects/SoundEffect.swift"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"543503a86475d6123e5191328e628a0789b8d9a4239854114839f09fb941c915"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Does this mean a \u0060Spring\u0060 is just a bad way to model this? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Pow/Effects/JumpEffect.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4499f7c7ba6b2ed255fa4724ced3a1a1a6ff3010c28e0d17b36ca5e72cd570"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Consider merging this with \u0060Boing\u0060. \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/Pow/Effects/JumpEffect.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd1a8263cdebee783efd30fcbbd692c1817e417a631960d1647b535a148cab3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Calculate correct peak for non-underdamped springs with \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/Pow/Infrastructure/Spring.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2356ab4b97284651a819cc92e471cf05a3e59d40a415fbc7e941a3bc208d95e3"}},{"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":"ee6fe4db683eeb90935ad3bd5499654aacf9bc1cb68e47df1458236b0297ab31"},"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":"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":"2023e577000973fecdfda812fd5d39d8d264da1aab2188383c7c68c34bee1aa1"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","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":"cdd0a7ecc16332535f869a4c0d6fabd5d6770567695cd122fe55c8e4fc586bae"},"properties":{"dependency":{"package":"rubyzip","version":"2.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"3f0b126f1f175a34a2bc379d11632e66cb521d628b9e2dedcfc28186640087f7"},"properties":{"dependency":{"package":"webrick","version":"1.8.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"9e842a8521a9d898666a1d5a419a43a27e416322915c05bcbc38ca2d85f70dcd"},"properties":{"dependency":{"package":"faraday","version":"1.10.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"2671d2dc5243d2844e58ece392cfd92899b5067cc5e636d13daa8bfc4cef5229"},"properties":{"dependency":{"package":"jwt","version":"2.7.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"ae5226fc492343f6c867f4a7694ecefd62aee0166aee8371ac495d79873411c6"},"properties":{"dependency":{"package":"addressable","version":"2.8.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"2162f95fc3b4a467e62f0b3335449eab513edcf9ea7f1056f21eed808757fcb7"},"properties":{"dependency":{"package":"rexml","version":"3.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"d3dd095e6f7da548eec797e02561d04bb6a917dfbdfd75b356095aa4206676ef"},"properties":{"dependency":{"package":"aws-sdk-s3","version":"1.142.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"3acf461327c8d5eb139fb28055eb092d4d60f44d473a75aff035039585d5f410"},"properties":{"dependency":{"package":"excon","version":"0.108.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 36 of 37 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 36 separate risks. Counted over 37 of the 62 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README advertises a RAG / ML engine, but no ML/RAG code or dependency exists \u2014 searched for: \u0060rag\u0060, \u0060langchain\u0060, \u0060llamaindex\u0060, \u0060pinecone\u0060, \u0060weaviate\u0060, \u0060qdrant\u0060, \u0060embeddings\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README\u0027s own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read \u2014 a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"343bbbd51ceb8de7a9ff88d79f7c797abf9b5921f8727b67b4d0f4f8a22c5e49"}},{"ruleId":"P1","level":"note","message":{"text":"CI test execution not evidenced: A CI pipeline exists but no test-runner invocation (your stack\u0027s test command, or a test job) was found \u2014 changes may merge without the suite running."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"860902100b1c048f49c648730bdf23459de2d8ca6af82ef0ec593ecb3995a80c"}},{"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 546 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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"CWE-1104","shortDescription":{"text":"CWE-1104"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"CWE-1329","shortDescription":{"text":"CWE-1329"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"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":12,"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."]}]}