A type-safe, Swift-language layer over SQLite3.
This report summarizes scanner evidence for stephencelis/SQLite.swift, a Swift project with 10,185 GitHub stars. SynthScan examined 19,493 lines of code across 95 source files, recording 119 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 5.7 (Moderate 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.
Can maintainers explain intent, assumptions, and trade-offs? 118 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 119 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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 119 distinct pattern matches across 2 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/SQLiteTests/Core/ConnectionTests.swift | 501 | XCTAssertGreaterThanOrEqual(version, .init(major: 3, minor: 43, point: 2)) | COMMENT |
| LOW | Sources/SQLite/Helpers.swift | 1 | // | COMMENT |
| LOW | Sources/SQLite/Foundation.swift | 1 | // | COMMENT |
| LOW | Sources/SQLite/Core/Connection.swift | 1 | // | COMMENT |
| LOW | Sources/SQLite/Core/Connection.swift | 41 | public enum Location { | COMMENT |
| LOW | Sources/SQLite/Core/Connection.swift | 101 | /// | COMMENT |
| LOW | Sources/SQLite/Core/Connection.swift | 141 | /// - filename: The location of the database. Creates a new database if | COMMENT |
| LOW | Sources/SQLite/Core/Connection.swift | 241 | /// | COMMENT |
| LOW | Sources/SQLite/Core/Connection.swift | 261 | /// | COMMENT |
| LOW | Sources/SQLite/Core/Connection.swift | 281 | COMMENT | |
| LOW | Sources/SQLite/Core/Connection.swift | 301 | /// - statement: A single SQL statement. | COMMENT |
| LOW | Sources/SQLite/Core/Connection.swift | 341 | /// returning the first value of the first row. | COMMENT |
| LOW | Sources/SQLite/Core/Connection.swift | 361 | /// - bindings: A list of parameters to bind to the statement. | COMMENT |
| LOW | Sources/SQLite/Core/Connection.swift | 401 | /// - Note: Transactions cannot be nested. To nest transactions, see | COMMENT |
| LOW | Sources/SQLite/Core/Connection.swift | 421 | /// Runs a transaction with the given savepoint name (if omitted, it will | COMMENT |
| LOW | Sources/SQLite/Core/Connection.swift | 641 | /// | COMMENT |
| LOW | Sources/SQLite/Core/Connection.swift | 721 | /// - Parameters: | COMMENT |
| LOW | Sources/SQLite/Core/Backup.swift | 1 | // | COMMENT |
| LOW | Sources/SQLite/Core/Backup.swift | 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | COMMENT |
| LOW | Sources/SQLite/Core/Backup.swift | 101 | COMMENT | |
| LOW | Sources/SQLite/Core/Result.swift | 1 | #if StandaloneSQLite | COMMENT |
| LOW | Sources/SQLite/Core/Connection+Aggregation.swift | 1 | import Foundation | COMMENT |
| LOW | Sources/SQLite/Core/Connection+Aggregation.swift | 21 | /// - argumentCount: The number of arguments that the aggregate takes. If | COMMENT |
| LOW | Sources/SQLite/Core/Blob.swift | 1 | // | COMMENT |
| LOW | Sources/SQLite/Core/Connection+Pragmas.swift | 61 | /// change. SQLite reports the resulting mode; callers should compare against | COMMENT |
| LOW | Sources/SQLite/Core/Statement.swift | 1 | // | COMMENT |
| LOW | Sources/SQLite/Core/Statement.swift | 141 | /// | COMMENT |
| LOW | Sources/SQLite/Core/Value.swift | 1 | // | COMMENT |
| LOW | Sources/SQLite/Extensions/Cipher.swift | 41 | } | COMMENT |
| LOW | Sources/SQLite/Extensions/Cipher.swift | 61 | /// of key data. | COMMENT |
| LOW | Sources/SQLite/Extensions/Cipher.swift | 81 | /// your app may ise older version of SQLCipher | COMMENT |
| LOW | Sources/SQLite/Extensions/Cipher.swift | 121 | /// When using Commercial or Enterprise SQLCipher packages you must call | COMMENT |
| LOW | Sources/SQLite/Extensions/RTree.swift | 1 | // | COMMENT |
| LOW | Sources/SQLite/Extensions/FTS4.swift | 1 | // | COMMENT |
| LOW | Sources/SQLite/Extensions/FTS4.swift | 41 | COMMENT | |
| LOW | Sources/SQLite/Extensions/FTS5.swift | 1 | // | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 1 | // | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 41 | extension SchemaType { | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 61 | /// let users = Table("users") | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 81 | /// // SELECT "id", "email" FROM "users" | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 101 | public func select(distinct columns: [Expressible]) -> Self { | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 121 | /// let users = Table("users") | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 141 | /// - Parameter all: A list of expressions to select. | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 181 | query.clauses.select = (distinct, columns) | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 201 | /// - Returns: A query with the given `UNION` clause applied. | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 221 | /// | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 241 | /// - Parameters: | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 261 | /// | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 281 | /// | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 301 | // MARK: WHERE | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 341 | /// Adds a condition to the query’s `WHERE` clause. | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 361 | /// | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 381 | /// | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 421 | query.clauses.group = (by, having) | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 441 | } | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 461 | // MARK: LIMIT/OFFSET | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 481 | /// | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 1121 | /// - SeeAlso: `QueryType.insert(value:_:)` | COMMENT |
| LOW | Sources/SQLite/Typed/Query.swift | 1141 | /// - SeeAlso: `QueryType.insert(query:)` | COMMENT |
| LOW | Sources/SQLite/Typed/Coding.swift | 1 | // | COMMENT |
| 58 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tests/SQLiteTests/Core/Connection+AttachTests.swift | 47 | XCTAssertEqual(["foo@bar.com"], rows) | CODE |