{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"SwiftSyntaxHighlighter.segments (cyclomatic 19): SwiftSyntaxHighlighter.segments has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Reusable Custom Views/SwiftSyntaxHighlighter.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efb587cddcfb36ec5d7e347deb0ba21202c83b6f98f02032c6762327d2b32d2"}},{"ruleId":"D2","level":"warning","message":{"text":"SwiftSyntaxHighlighter.segments (cognitive 33): SwiftSyntaxHighlighter.segments has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 4 (10 pts), boolean chains 8 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Reusable Custom Views/SwiftSyntaxHighlighter.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4675cddf1ca03bf4bbcce93ad46de75105a26f2a4924d974827bd88b2fe55462"}},{"ruleId":"D2","level":"warning","message":{"text":"SwiftSyntaxHighlighter.endOfStringLiteral (cognitive 20): SwiftSyntaxHighlighter.endOfStringLiteral has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Reusable Custom Views/SwiftSyntaxHighlighter.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d545c4f513ddd4a93a20bfd75a84c6a24e05e105cc9c826ed23aea3881626ae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextModifiersView.body: MethodTooLong \u2014 body runs 241 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 141 over it, 2.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/View Modifiers/TextModifiersView.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44a23592f6f808009847de9c8f8f55b27e1a6d0f31e048973a4aea5f7000c66"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PropertiesAnimationsView.body: MethodTooLong \u2014 body runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Drawing and Animations/PropertiesAnimationsView.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd6d234836669513ff7dd65a57f83f5618b972123ba6d691e9c5a40a6059c0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:65-83 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:85-103 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:105-124 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:126-145 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:146-164 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:165-183 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:184-202 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:203-221 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:222-246 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:247-271 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:272-296 \u2014 These 11 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa541010d99090d75b6b7b2bfe41e54f93c2e1bb637125ffe78f43908cf1e113"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): SwiftUICatalog/Views/Sections/View Layouts/GridsView.swift:92-113 | SwiftUICatalog/Views/Sections/View Layouts/GridsView.swift:125-150 | SwiftUICatalog/Views/Sections/View Layouts/StacksView.swift:95-121 | SwiftUICatalog/Views/Sections/View Layouts/StacksView.swift:201-227 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/View Layouts/GridsView.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd31d129bfd16930eb67f5131fdf451321ec5db07dc1f1b028f0447f3d3ef11"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): SwiftUICatalog/Views/Sections/View Layouts/ListsView.swift:122-180 | SwiftUICatalog/Views/Sections/View Layouts/ListsView.swift:182-229 | SwiftUICatalog/Views/Sections/View Layouts/ListsView.swift:231-276 | SwiftUICatalog/Views/Sections/View Layouts/ListsView.swift:278-326 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/View Layouts/ListsView.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b48fac9938358b2e1e2a3c44ba95ebc2fd98732a4475e09b911fd1699e8340b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): SwiftUICatalog/Views/Sections/Drawing and Animations/SpiralShape.swift:21-46 | SwiftUICatalog/Views/Sections/Drawing and Animations/StarburstShape.swift:21-45 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Drawing and Animations/SpiralShape.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74c6d237f2d29b7d29830bd7ec26593b90ab74e9d42eacf3c1afc59e85088c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 33\u002B corresponding lines): SwiftUICatalog/Views/Sections/Drawing and Animations/IconsAnimationsView.swift:56-96 | SwiftUICatalog/Views/Sections/Drawing and Animations/IconsAnimationsView.swift:97-129 | SwiftUICatalog/Views/Sections/Drawing and Animations/IconsAnimationsView.swift:130-163 | SwiftUICatalog/Views/Sections/Drawing and Animations/IconsAnimationsView.swift:232-270 | SwiftUICatalog/Views/Sections/Drawing and Animations/IconsAnimationsView.swift:341-379 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Drawing and Animations/IconsAnimationsView.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2743864c1a954189acc5827058980066e9fdbac050cac29858691cbda99bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): SwiftUICatalog/Views/Sections/Drawing and Animations/IconsAnimationsView.swift:164-194 | SwiftUICatalog/Views/Sections/Drawing and Animations/IconsAnimationsView.swift:205-231 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Drawing and Animations/IconsAnimationsView.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d2cabbe97fb73cbc9495cb53562825d0d4a2c5ed5a37a54a689f49eb41de29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): SwiftUICatalog/Views/Sections/View Layouts/ContentMarginsView.swift:83-104 | SwiftUICatalog/Views/Sections/View Layouts/ContentMarginsView.swift:108-129 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/View Layouts/ContentMarginsView.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeaf86270f7fe392a49e764cdf903c5968b1dc54a602f8468d59e6597a930bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 30\u002B corresponding lines): SwiftUICatalog/Views/Sections/Drawing and Animations/MyCustomAnimationView.swift:19-50 | SwiftUICatalog/Views/Sections/Drawing and Animations/TimingCurvesView.swift:100-129 | SwiftUICatalog/Views/Sections/Drawing and Animations/TimingCurvesView.swift:130-159 | SwiftUICatalog/Views/Sections/Drawing and Animations/TimingCurvesView.swift:160-189 | SwiftUICatalog/Views/Sections/Drawing and Animations/TimingCurvesView.swift:190-220 | SwiftUICatalog/Views/Sections/Drawing and Animations/TimingCurvesView.swift:221-251 | SwiftUICatalog/Views/Sections/Drawing and Animations/TimingCurvesView.swift:252-283 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Drawing and Animations/MyCustomAnimationView.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb9851637548b657e794f130745379b554db8a9171b9c51874fd95a68a24034"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): SwiftUICatalog/Views/Sections/View Layouts/GridsView.swift:154-178 | SwiftUICatalog/Views/Sections/View Layouts/StacksView.swift:170-199 | SwiftUICatalog/Views/Sections/View Layouts/StacksView.swift:229-254 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/View Layouts/GridsView.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eec2aebaf011423221b627bb724712fd6c2a32d7e359251c31699b51b700c6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): SwiftUICatalog/Views/Sections/StoreKit SwiftUI/ExampleProductView.swift:27-61 | SwiftUICatalog/Views/Sections/Styles/StylesView.swift:49-81 | SwiftUICatalog/Views/Sections/View Layouts/StacksView.swift:54-93 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/StoreKit SwiftUI/ExampleProductView.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"33396aa0e0072bd4051b6312504d48fb38abb7edd6826c5f6029f01fa0aeda5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift:21-46 | SwiftUICatalog/Views/Sections/Drawing and Animations/TimingCurvesView.swift:25-58 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"02783b2d01345e996857729f5d8bfdea4e9df2aa0c063fbc0a0bde8daa078961"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): SwiftUICatalog/Views/Sections/Additional Views/ChartsViews.swift:135-170 | SwiftUICatalog/Views/Sections/Controls/ButtonsView.swift:94-132 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Additional Views/ChartsViews.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a10d8dd0c31eff5f97260c413f3f148da0fa94610742464e1e8a1366bf3c16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): SwiftUICatalog/Views/Sections/Controls/LabelsView.swift:56-84 | SwiftUICatalog/Views/Sections/Controls/PickersView.swift:49-78 | SwiftUICatalog/Views/Sections/Controls/TextsView.swift:50-79 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Controls/LabelsView.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"db50071148b0a504f1f91a8bbfd1e6633b9dbcfbddebe8ff2f71543756f346f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): SwiftUICatalog/Views/Sections/Layouts/StackedLayoutView.swift:21-39 | SwiftUICatalog/Views/Sections/Layouts/TagsCloudLayoutView.swift:27-48 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Layouts/StackedLayoutView.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d3a880d68ea8ac3ac53dc4ac9e664b0a1104bb1a1bfdf526c949e27075f52e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): SwiftUICatalog/Views/Sections/Drawing and Animations/GraphicContextsView.swift:138-162 | SwiftUICatalog/Views/Sections/Drawing and Animations/GraphicContextsView.swift:164-187 | SwiftUICatalog/Views/Sections/Drawing and Animations/GraphicContextsView.swift:189-212 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Drawing and Animations/GraphicContextsView.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c0e335a7166c0e7eb78e9ba1ad804f3a012a45b619b54e05856ab46550f862"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 25\u002B corresponding lines): SwiftUICatalog/Views/Sections/Controls/DatePickersView.swift:71-100 | SwiftUICatalog/Views/Sections/Controls/ImagesView.swift:47-75 | SwiftUICatalog/Views/Sections/Controls/MenuesView.swift:48-74 | SwiftUICatalog/Views/Sections/Controls/SteppersView.swift:73-97 | SwiftUICatalog/Views/Sections/Drawing and Animations/GraphicContextsView.swift:61-95 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Controls/DatePickersView.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fbc2a171c56586d6e9293afe33309279a65e8b4f5b5fb3bc17f96fd3adad29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): SwiftUICatalog/Views/Sections/Additional Views/SheetsView.swift:65-80 | SwiftUICatalog/Views/Sections/Additional Views/SheetsView.swift:82-98 | SwiftUICatalog/Views/Sections/Additional Views/SheetsView.swift:100-118 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Additional Views/SheetsView.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4105c69dd8fdb59a8d560b3407490fa4a52ec51ba8dfb4eb5075332d19dbbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): SwiftUICatalog/Views/Sections/Controls/MenuesView.swift:136-152 | SwiftUICatalog/Views/Sections/Controls/MenuesView.swift:154-174 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Controls/MenuesView.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"28292eb4eaf28d9bd03c872c9e5bf95ffeb70bfd683274c5986ba8b624fb2726"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): SwiftUICatalog/Views/Sections/Controls/TogglesView.swift:120-137 | SwiftUICatalog/Views/Sections/Controls/TogglesView.swift:139-156 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Controls/TogglesView.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad9525d5e483e6b694cbcea5475b4ed9339be5cd914bc1c43b251ee7795bf4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): SwiftUICatalog/Views/Metal/MetalShaderExamples.swift:139-153 | SwiftUICatalog/Views/Metal/MetalShaderExamples.swift:192-206 | SwiftUICatalog/Views/Metal/MetalShaderExamples.swift:211-224 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Metal/MetalShaderExamples.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dc11e85371fbe083cba5ae5e961923e2415d3e73233c0075d0920ae7ffe854"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 4): SwiftUICatalog/Views/Sections/View Layouts/ListsView.swift:124-155 | SwiftUICatalog/Views/Sections/View Layouts/ListsView.swift:191-223 | SwiftUICatalog/Views/Sections/View Layouts/ListsView.swift:238-270 | SwiftUICatalog/Views/Sections/View Layouts/ListsView.swift:287-319 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/View Layouts/ListsView.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fd70c80bc7d30e6013d3f472e4e8a2342b2b1c7c54d4d41cb0ddfb937d8c5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): SwiftUICatalog/Views/Composed Components/StackedCardsView.swift:140-164 | SwiftUICatalog/Views/Sections/Gestures/ComposingGestureView.swift:86-109 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060SwiftUICatalog/Views/Composed Components/StackedCardsView.swift:140\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Composed Components/StackedCardsView.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"861f5e748909327f99ebb618e2c009ce5e73b39ec19bf17b707e6468ea85b3a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift:21-41 | SwiftUICatalog/Views/Sections/Drawing and Animations/TimingCurvesView.swift:25-45 \u2014 before extracting anything, compare \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift\u0060 and \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/TimingCurvesView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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 \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift:21\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":"SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73de6f008aeb8ff37121ef248f683667fe57059dcb0182d2b8690e1aec02d6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift:57-77 | SwiftUICatalog/Views/Sections/Drawing and Animations/TimingCurvesView.swift:110-129 \u2014 before extracting anything, compare \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift\u0060 and \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/TimingCurvesView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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 \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift:57\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":"SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"620db591fd8a85234fe36fd59f225367e90c7c084d450070f7bcbe4544616c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift:87-107 | SwiftUICatalog/Views/Sections/Drawing and Animations/TimingCurvesView.swift:140-159 \u2014 before extracting anything, compare \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift\u0060 and \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/TimingCurvesView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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 \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift:87\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":"SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfcae80fb8e9c37fea64e5ae1fe3ec90d3d7d208ed0b49f908530fc37e7f70a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift:117-137 | SwiftUICatalog/Views/Sections/Drawing and Animations/TimingCurvesView.swift:170-189 \u2014 before extracting anything, compare \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift\u0060 and \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/TimingCurvesView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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 \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift:117\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":"SwiftUICatalog/Views/Sections/Drawing and Animations/SpringAnimationView.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b451002f6cc3f0e9e99072596dfe866cae09162fa3740705568d313eefe05427"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): SwiftUICatalog/Views/Sections/Drawing and Animations/PropertiesAnimationsView.swift:133-151 | SwiftUICatalog/Views/Sections/Drawing and Animations/PropertiesAnimationsView.swift:167-186 \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 \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/PropertiesAnimationsView.swift:133\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":"SwiftUICatalog/Views/Sections/Drawing and Animations/PropertiesAnimationsView.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2185cd18ff17e15d871405e09962bcae65c7d3f2cf5a41a65e01a18be68a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:223-240 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:248-265 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:273-290 \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 \u0060SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:223\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":"SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"050271dfc9a64fce7663c1ea6e684fb36ebcc09fa0670c435797971cbb474ee3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): SwiftUICatalog/Views/Composed Components/CommonlyUsedViews.swift:50-67 | SwiftUICatalog/Views/Composed Components/HeaderImageTitleSubtitleView.swift:73-89 \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 \u0060SwiftUICatalog/Views/Composed Components/CommonlyUsedViews.swift:50\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":"SwiftUICatalog/Views/Composed Components/CommonlyUsedViews.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8499975a1aeb6651a0eb4b0f22167c082ceb0ea68104ef84f891e8ccdcf4a693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 11): SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:65-81 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:85-101 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:105-121 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:126-142 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:146-162 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:165-181 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:184-200 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:203-219 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:222-239 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:247-264 | SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:272-289 \u2014 all 11 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 \u0060SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/View Modifiers/SensoryFeedbackInViews.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda36f70574489e5f271b20db42a3f9a6d42e449e3c3b0d9131b540a7f383548"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): SwiftUICatalog/Views/Sections/Controls/TextsView.swift:140-154 | SwiftUICatalog/Views/Sections/Controls/TextsView.swift:183-195 \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 \u0060SwiftUICatalog/Views/Sections/Controls/TextsView.swift:140\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060alignment\u0060 to \u0060.leading\u0060 in one and \u0060.center\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Controls/TextsView.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"705ae9d2cdb27fa81977151e443b0c562e4081dd539d28083694885dc17ed008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): SwiftUICatalog/Views/Sections/View Modifiers/TextModifiersView.swift:286-299 | SwiftUICatalog/Views/Sections/View Modifiers/TextModifiersView.swift:305-318 \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 \u0060SwiftUICatalog/Views/Sections/View Modifiers/TextModifiersView.swift:286\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":"SwiftUICatalog/Views/Sections/View Modifiers/TextModifiersView.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca59769b7cde287c69f144418d58f2110171a8327cb9f16cd9a4fafd35cd4624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): SwiftUICatalog/Views/Sections/Drawing and Animations/PropertiesAnimationsView.swift:72-84 | SwiftUICatalog/Views/Sections/Drawing and Animations/PropertiesAnimationsView.swift:104-119 | SwiftUICatalog/Views/Sections/Drawing and Animations/PropertiesAnimationsView.swift:139-153 | SwiftUICatalog/Views/Sections/Drawing and Animations/PropertiesAnimationsView.swift:173-188 \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 \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/PropertiesAnimationsView.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/PropertiesAnimationsView.swift:98\u0060 calls \u0060padding\u0060 and \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/PropertiesAnimationsView.swift:134\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":"SwiftUICatalog/Views/Sections/Drawing and Animations/PropertiesAnimationsView.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"077861024342814766c7d2f783fbc66b96704deefc0582f1ad6c3c5954fb4d32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): SwiftUICatalog/Views/Sections/View Layouts/GridsView.swift:92-103 | SwiftUICatalog/Views/Sections/View Layouts/GridsView.swift:125-136 | SwiftUICatalog/Views/Sections/View Layouts/StacksView.swift:95-107 | SwiftUICatalog/Views/Sections/View Layouts/StacksView.swift:201-213 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060SwiftUICatalog/Views/Sections/View Layouts/GridsView.swift:92\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060spacing\u0060 to \u006016\u0060 in one and \u00600\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/View Layouts/GridsView.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0aa75dcc2c65ae46b7e7c36144f81a36aa71c25e9947426b9f096e0d9923a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): SwiftUICatalog/Views/Sections/Controls/ProgressViews.swift:138-149 | SwiftUICatalog/Views/Sections/Controls/ProgressViews.swift:171-182 \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 \u0060SwiftUICatalog/Views/Sections/Controls/ProgressViews.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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060alignment\u0060 to \u0060.center\u0060 in one and \u0060.leading\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Sections/Controls/ProgressViews.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5611aac2597f1f6f7f22078ab012be9fb631278b241cb86df73b9d0bfaa65f7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): SwiftUICatalog/Views/Sections/View Layouts/ContentMarginsView.swift:83-94 | SwiftUICatalog/Views/Sections/View Layouts/ContentMarginsView.swift:108-119 \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 \u0060SwiftUICatalog/Views/Sections/View Layouts/ContentMarginsView.swift:83\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":"SwiftUICatalog/Views/Sections/View Layouts/ContentMarginsView.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba68634959a43879947b9dbe441d01f3f9a6eda64906a66b99c508a3c459ce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): SwiftUICatalog/Views/Composed Components/StackedCardsView.swift:185-195 | SwiftUICatalog/Views/Sections/Gestures/ComposingGestureView.swift:133-143 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060SwiftUICatalog/Views/Composed Components/StackedCardsView.swift:185\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":"SwiftUICatalog/Views/Composed Components/StackedCardsView.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e699515ea2e36c3d20606a415c4cacf4c5d371526a8f5965f1360d0d610f2a99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): SwiftUICatalog/Views/Composed Components/TitleSubtitleIconView.swift:130-139 | SwiftUICatalog/Views/Reusable Custom Views/SwipableViewContainer.swift:158-167 \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":"SwiftUICatalog/Views/Composed Components/TitleSubtitleIconView.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e5e478c6106eb0322053eb89bf595b5e72c7d0ccbb1592d54f832cf4c403b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): SwiftUICatalog/Views/Sections/Drawing and Animations/SpiralShape.swift:35-43 | SwiftUICatalog/Views/Sections/Drawing and Animations/StarburstShape.swift:33-41 \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 \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/SpiralShape.swift:35\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, \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/StarburstShape.swift:43\u0060 calls \u0060closeSubpath\u0060 and \u0060SwiftUICatalog/Views/Sections/Drawing and Animations/SpiralShape.swift:45\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":"SwiftUICatalog/Views/Sections/Drawing and Animations/SpiralShape.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5a049d44f6156fc876be30e7e7305a16e414b1a605fef82f70982a0edc23b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): SwiftUICatalog/Views/Sections/View Modifiers/EffectsModifiersView.swift:229-234 | SwiftUICatalog/Views/Sections/View Modifiers/EffectsModifiersView.swift:238-243 | SwiftUICatalog/Views/Sections/View Modifiers/EffectsModifiersView.swift:247-253 \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 \u0060SwiftUICatalog/Views/Sections/View Modifiers/EffectsModifiersView.swift:229\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":"SwiftUICatalog/Views/Sections/View Modifiers/EffectsModifiersView.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19e172123f9633d41624d07dcf23dbc970edc626ccc5cb50f6b83d069712e12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): SwiftUICatalog/Views/Sections/View Modifiers/EffectsModifiersView.swift:221-225 | SwiftUICatalog/Views/Sections/View Modifiers/EffectsModifiersView.swift:230-234 | SwiftUICatalog/Views/Sections/View Modifiers/EffectsModifiersView.swift:239-243 | SwiftUICatalog/Views/Sections/View Modifiers/EffectsModifiersView.swift:249-253 \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 \u0060SwiftUICatalog/Views/Sections/View Modifiers/EffectsModifiersView.swift:221\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":"SwiftUICatalog/Views/Sections/View Modifiers/EffectsModifiersView.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"620d7a1e19eda7912be8fa39dd79a3fa706532741f6dc92db73d0d158d5022ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): SwiftUICatalog/Views/Reusable Custom Views/LabelStylePicker.swift:26-32 | SwiftUICatalog/Views/Reusable Custom Views/UIFontTextStylePicker.swift:28-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Reusable Custom Views/LabelStylePicker.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ed5416dfa6262942ba03ef5c326c1e90aacafc1fbc755093f4ba783067291b"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (XCTest or Swift Testing), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: keep extracting views \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":"SwiftUICatalog/Views/Sections/View Modifiers/EffectsModifiersView.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d145e97cbffacaa82c797163966bbe84f0458b6eaeba8861d8c041dd51c92b16"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 3 of 74 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 74 of the 122 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: SwiftUICatalog/Views/Framework Integration/InterfacingWithUIKitView.swift, SwiftUICatalog/Views/Framework Integration/PageViewController.swift, SwiftUICatalog/Views/Framework Integration/FeatureCardView.swift. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Framework Integration/InterfacingWithUIKitView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac32a1bc747de73ffea887f7329b34a43a9ecb084ff86b3f5775a287748b8d8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Framework Integration/PageViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde731b797d3d7aeeb004d29a8a2a9a49795efddef331e5834f0f8d6da98657e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SwiftUICatalog/Views/Framework Integration/FeatureCardView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36fb75069f61fd488b27fc13727d087d6615a8570869e075d89dea0ee096b8e"}},{"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":"M3","level":"note","message":{"text":"No src/ separation: Most of the production code is in directories of its own, but 2 application file(s) sit at the repository root beside the build and tooling files (\u0060swiftui-catalog-mcp-server.py\u0060, \u0060tagger.py\u0060)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"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) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]}],"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":0,"secretScannerRunsExcluded":0}}}]}