A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
This report summarizes scanner evidence for pointfreeco/swift-composable-architecture, a Swift project with 15,001 GitHub stars. SynthScan examined 96,682 lines of code across 929 source files, recording 192 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 2.9 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 161 finding(s).
Are imports declared and package/API names verified? 7 finding(s).
Are wrappers, guards, and repeated structures necessary? 24 finding(s).
Which changes need focused human review? 192 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 192 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tests/ComposableArchitectureTests/StoreTests.swift | 1121 | // initialState: InvalidatedStoreScopeParentFeature.State( | COMMENT |
| LOW | …hitectureTests/Reducers/PresentationReducerTests.swift | 2621 | // alert: AlertState { TextState("Oops!") } | COMMENT |
| LOW | Sources/ComposableArchitecture/Reducer.swift | 1 | /// A protocol that describes how to evolve the current state of an application to the next state, | COMMENT |
| LOW | Sources/ComposableArchitecture/Reducer.swift | 41 | /// from top to bottom, and usually involves some reducer operations for integrating, such as | COMMENT |
| LOW | Sources/ComposableArchitecture/Reducer.swift | 121 | /// } | COMMENT |
| LOW | Sources/ComposableArchitecture/Effect.swift | 21 | init(operation: Operation) { | COMMENT |
| LOW | Sources/ComposableArchitecture/Effect.swift | 41 | // MARK: - Creating Effects | COMMENT |
| LOW | Sources/ComposableArchitecture/Effect.swift | 61 | /// Then you could attach to it in a `run` effect by using `for await` and sending each action of | COMMENT |
| LOW | Sources/ComposableArchitecture/Effect.swift | 81 | /// - priority: Priority of the underlying task. If `nil`, the priority will come from | COMMENT |
| LOW | Sources/ComposableArchitecture/Effect.swift | 141 | /// > child-parent communication, where a child may want to emit a "delegate" action for a parent | COMMENT |
| LOW | Sources/ComposableArchitecture/Effect.swift | 161 | /// for await event in self.events { | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 1 | @_spi(Internals) import CasePaths | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 21 | /// By default, ``TestStore`` requires you to exhaustively prove how your feature evolves from | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 41 | /// | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 61 | /// var body: some Reducer<State, Action> { | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 81 | /// struct CounterTests { | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 101 | /// mutable value of the state before the action was sent, and it is our job to mutate the value to | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 121 | /// > | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 141 | /// @Dependency(\.continuousClock) var clock | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 161 | /// // Do error handling here. | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 181 | /// | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 201 | /// ``` | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 221 | /// a test failure: | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 241 | /// } | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 261 | /// | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 281 | /// each assertion detailing the changes that were not asserted against. This allows you to see what | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 301 | /// In order to test such a complex flow we must test the integration of multiple features, which | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 321 | /// await store.receive(\.login.loginResponse.success) { | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 341 | /// | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 361 | /// await store.send(\.login.submitButtonTapped) | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 381 | /// store.exhaustivity = .off(showSkippedAssertions: true) // ⬅️ | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 401 | /// > ) | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 421 | /// | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 441 | /// let store = TestStore(/* ... */) { | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 501 | let reducer: TestReducer<State, Action> | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 781 | ) async rethrows -> R { | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 801 | /// ``` | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 821 | /// analytics event in an effect when an action is sent, you can assert on that behavior | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 841 | /// | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 861 | /// let store = TestStore(/* ... */) | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 981 | } | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 1001 | /// await store.finish() | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 1261 | COMMENT | |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 1281 | /// To change the amount of time this method waits for an action, pass an explicit `timeout` | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 1441 | fileID: fileID, | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 1461 | /// store.count = 42 | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 1561 | /// ```swift | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 1661 | /// | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 1921 | /// …can be simplified to: | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 1961 | /// This method is similar to ``send(_:assert:fileID:file:line:column:)-8f2pl``, except it allows | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 2021 | /// // Assert on how state changed | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 2101 | /// Cancels any currently in-flight effects. | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 2221 | } | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 2241 | /// await mainQueue.advance(by: .seconds(1)) | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 2261 | /// Cancels the underlying task and waits for it to finish. | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 2461 | } | COMMENT |
| LOW | Sources/ComposableArchitecture/TestStore.swift | 2481 | COMMENT | |
| LOW | Sources/ComposableArchitecture/Store.swift | 1 | import Combine | COMMENT |
| LOW | Sources/ComposableArchitecture/Store.swift | 21 | /// } | COMMENT |
| LOW | Sources/ComposableArchitecture/Store.swift | 41 | /// Button("Tap") { | COMMENT |
| 101 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …omposableArchitectureTests/TestStoreFailureTests.swift | 0 | an effect returned for this action is still running. it must complete before the end of \ the test. to fix, inspect any | STRING |
| HIGH | …ableArchitectureTests/Reducers/StackReducerTests.swift | 0 | an effect returned for this action is still running. it must complete before the end of \ the test. to fix, inspect any | STRING |
| HIGH | …hitectureTests/Reducers/PresentationReducerTests.swift | 0 | an effect returned for this action is still running. it must complete before the end of \ the test. to fix, inspect any | STRING |
| HIGH | Sources/ComposableArchitecture/TestStore.swift | 0 | an effect returned for this action is still running. it must complete before the end of \ the test. to fix, inspect any | STRING |
| HIGH | …leArchitectureTests/Reducers/ForEachReducerTests.swift | 0 | a "foreach" at "\(self.fileid):\(self.line)" received an action for a missing element. action: \(debugcaseoutput(action) | STRING |
| HIGH | …ableArchitectureTests/Reducers/StackReducerTests.swift | 0 | a "foreach" at "\(self.fileid):\(self.line)" received an action for a missing element. action: \(debugcaseoutput(action) | STRING |
| HIGH | …osableArchitecture/Reducer/Reducers/StackReducer.swift | 0 | a "foreach" at "\(self.fileid):\(self.line)" received an action for a missing element. action: \(debugcaseoutput(action) | STRING |
| HIGH | …ableArchitecture/Reducer/Reducers/ForEachReducer.swift | 0 | a "foreach" at "\(self.fileid):\(self.line)" received an action for a missing element. action: \(debugcaseoutput(action) | STRING |
| HIGH | …es/SwiftUICaseStudies/02-SharedState-FileStorage.swift | 0 | this tab shows the count from the previous tab, and it is capable of resetting the count \ back to 0. this shows that it | STRING |
| HIGH | …udies/SwiftUICaseStudies/02-SharedState-InMemory.swift | 0 | this tab shows the count from the previous tab, and it is capable of resetting the count \ back to 0. this shows that it | STRING |
| HIGH | …s/SwiftUICaseStudies/02-SharedState-UserDefaults.swift | 0 | this tab shows the count from the previous tab, and it is capable of resetting the count \ back to 0. this shows that it | STRING |
| HIGH | …ecognition/SpeechRecognition/SpeechClient/Client.swift | 0 | lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor \ incididunt ut labore et dolore magna al | STRING |
| HIGH | …es/SyncUps/SyncUps/Dependencies/SpeechRecognizer.swift | 0 | lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor \ incididunt ut labore et dolore magna al | STRING |
| HIGH | Examples/SyncUps/SyncUps/Models.swift | 0 | lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor \ incididunt ut labore et dolore magna al | STRING |
| HIGH | Examples/Integration/IntegrationUITests/EnumTests.swift | 0 | basicsview.body basicsview.body viewstoreof<basicsview.feature>.deinit viewstoreof<basicsview.feature>.deinit viewstoreo | STRING |
| HIGH | …IntegrationUITests/iOS 16+17/NewOldSiblingsTests.swift | 0 | basicsview.body basicsview.body viewstoreof<basicsview.feature>.deinit viewstoreof<basicsview.feature>.deinit viewstoreo | STRING |
| HIGH | …tegration/IntegrationUITests/iOS 16/SiblingTests.swift | 0 | basicsview.body basicsview.body viewstoreof<basicsview.feature>.deinit viewstoreof<basicsview.feature>.deinit viewstoreo | STRING |
| HIGH | …ntegration/IntegrationUITests/iOS 16/BasicsTests.swift | 0 | basicsview.body basicsview.body viewstoreof<basicsview.feature>.deinit viewstoreof<basicsview.feature>.deinit viewstoreo | STRING |
| HIGH | …egration/IntegrationUITests/iOS 16/OptionalTests.swift | 0 | basicsview.body basicsview.body viewstoreof<basicsview.feature>.deinit viewstoreof<basicsview.feature>.deinit viewstoreo | STRING |
| HIGH | …on/IntegrationUITests/iOS 16/IdentifiedListTests.swift | 0 | basicsview.body basicsview.body viewstoreof<basicsview.feature>.deinit viewstoreof<basicsview.feature>.deinit viewstoreo | STRING |
| HIGH | …/Integration/IntegrationUITests/iOS 16/EnumTests.swift | 0 | basicsview.body basicsview.body viewstoreof<basicsview.feature>.deinit viewstoreof<basicsview.feature>.deinit viewstoreo | STRING |
| HIGH | …ration/IntegrationUITests/iOS 16/NavigationTests.swift | 0 | basicsview.body basicsview.body viewstoreof<basicsview.feature>.deinit viewstoreof<basicsview.feature>.deinit viewstoreo | STRING |
| HIGH | …tion/IntegrationUITests/iOS 16/PresentationTests.swift | 0 | basicsview.body basicsview.body viewstoreof<basicsview.feature>.deinit viewstoreof<basicsview.feature>.deinit viewstoreo | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ntegrationUITests/Legacy/LegacyPresentationTests.swift | 412 | self.app.navigationBars.buttons.element.tap() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ecognition/SpeechRecognition/SpeechClient/Client.swift | 34 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor \ | CODE |
| LOW | …ecognition/SpeechRecognition/SpeechClient/Client.swift | 34 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor \ | CODE |
| LOW | Examples/SyncUps/SyncUps/Models.swift | 81 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor \ | CODE |
| LOW | Examples/SyncUps/SyncUps/Models.swift | 81 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor \ | CODE |
| LOW | …es/SyncUps/SyncUps/Dependencies/SpeechRecognizer.swift | 43 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor \ | CODE |
| LOW | …es/SyncUps/SyncUps/Dependencies/SpeechRecognizer.swift | 43 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor \ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Sources/ComposableArchitecture/Macros.swift | 193 | /// //┬───────── | COMMENT |