💧 A server-side Swift HTTP web framework.
This report summarizes scanner evidence for vapor/vapor, a Swift project with 26,226 GitHub stars. SynthScan examined 43,815 lines of code across 868 source files, recording 595 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 11.5 (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? 165 finding(s).
Are imports declared and package/API names verified? 430 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 595 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 595 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/VaporTests/Utilities/long-test-file.txt | 1 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 1 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 3 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 3 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 7 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 7 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 11 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 11 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 13 | Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam vo | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 13 | Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam vo | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 15 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 15 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 17 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 17 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 21 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 21 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 25 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 25 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 27 | Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam vo | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 27 | Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam vo | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 29 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 29 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 31 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 31 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 35 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 35 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 39 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 39 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 41 | Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam vo | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 41 | Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam vo | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 43 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 43 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 45 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 45 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 49 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 49 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 53 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 53 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 55 | Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam vo | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 55 | Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam vo | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 57 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 57 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 59 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 59 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 63 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 63 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 67 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 67 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 69 | Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam vo | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 69 | Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam vo | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 71 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 71 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 73 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 73 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 77 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 77 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 81 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 81 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 83 | Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam vo | CODE |
| LOW⚡ | Tests/VaporTests/Utilities/long-test-file.txt | 83 | Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam vo | CODE |
| 370 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | NOTICES.txt | 1 | COMMENT | |
| LOW | Tests/VaporTests/RequestTests.swift | 1061 | COMMENT | |
| LOW | Tests/VaporTests/HTTPMediaTypeSetTests.swift | 61 | HTTPMediaType(type: "b", subType: "4"), | COMMENT |
| LOW | Tests/VaporTests/HTTPMediaTypeSetTests.swift | 81 | /// These are currently allowed because `HTTPMediaType` current performs equality by ignoring the parameters, wh | COMMENT |
| LOW | Tests/VaporTests/HTTPMediaTypeSetTests.swift | 101 | #expect(compressible.contains(.any) == false) | COMMENT |
| LOW | Tests/VaporTests/ValidationTests.swift | 721 | COMMENT | |
| LOW | Tests/VaporTests/RouteTests.swift | 481 | // | COMMENT |
| LOW | Tests/VaporTests/ClientTests.swift | 41 | let data = try await res.content.decode(AnythingResponse.self) | COMMENT |
| LOW | Tests/VaporTests/StreamingBodyTests.swift | 21 | COMMENT | |
| LOW | Tests/VaporTests/URLEncodedFormTests.swift | 21 | #expect(user.pets.last == "Foo") | COMMENT |
| LOW | Tests/VaporTests/URLEncodedFormTests.swift | 41 | #expect(user.foos[0] == .baz) | COMMENT |
| LOW | Tests/VaporTests/URLEncodedFormTests.swift | 401 | let usersToEncode = Users(users: [tanner, ravneet]) | COMMENT |
| LOW | Tests/VaporTests/URLEncodedFormTests.swift | 441 | #expect(result.contains("users[0][age]=23")) | COMMENT |
| LOW | Tests/VaporTests/URLEncodedFormTests.swift | 481 | let ravneet = User( | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 21 | #endif | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 41 | // try await app.server.start() | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 61 | // | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 81 | // try await app.server.start() | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 101 | // } | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 121 | // struct TestResponse: Content { | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 141 | // | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 161 | // } | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 181 | // | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 201 | // return | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 221 | // } | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 241 | // var contentLength: Int | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 261 | // | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 281 | // app.http.server.configuration.requestDecompression = .enabled(limit: .size(compressiblePayload.utf | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 301 | // let decodedResponse = try JSONDecoder().decode(TestResponse.self, from: body) | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 321 | // app.http.server.configuration.responseCompression = .disabled | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 341 | // #expect(unsupportedCompressedResponse.headers.first(name: HTTPField.Name.contentLength.canonicalNa | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 361 | // func testHTTP2ResponseDecompression() async throws { | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 381 | // /// This lies and accepts the above cert, which has actually expired. | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 401 | // app.get("compressed") { _ in compressiblePayload } | COMMENT |
| LOW | Tests/VaporTests/ServerTests.swift | 421 | // try await #expect(supportedUncompressedResponse.body.collect(upTo: Int.max).string == compressible | COMMENT |
| LOW | Tests/VaporTests/WebSocketTests.swift | 1 | #if WebSockets | COMMENT |
| LOW | Tests/VaporTests/WebSocketTests.swift | 21 | // | COMMENT |
| LOW | Tests/VaporTests/WebSocketTests.swift | 41 | // func testWebSocket404() async throws { | COMMENT |
| LOW | Tests/VaporTests/WebSocketTests.swift | 61 | // } | COMMENT |
| LOW | Tests/VaporTests/WebSocketTests.swift | 81 | // // try await app.server.run() | COMMENT |
| LOW | Tests/VaporTests/WebSocketTests.swift | 101 | // func testManualUpgradeToWebSocket() async throws { | COMMENT |
| LOW | Tests/VaporTests/WebSocketTests.swift | 121 | // ws.onText { ws, string in | COMMENT |
| LOW | Tests/VaporTests/HTTPHeaderTests.swift | 181 | func testAcceptType() throws { | COMMENT |
| LOW | Tests/VaporTests/HTTPHeaderTests.swift | 501 | #"<https://localhost/?a=1>; rel="next", <https://localhost/?a=2>; rel="last"; custom1="whatever", </?a=-1>; | COMMENT |
| LOW | Tests/VaporTests/BaseNTests.swift | 21 | #expect("foob".base32String() == "MZXW6YQ=") | COMMENT |
| LOW | Tests/VaporTests/BaseNTests.swift | 41 | // Base64 test vectors from [RFC 4648 § 10](https://datatracker.ietf.org/doc/html/rfc4648#section-10) | COMMENT |
| LOW | Tests/VaporTests/Utilities/RawHTTPClient.swift | 21 | port: port, | COMMENT |
| LOW | .github/workflows/test.yml | 1 | name: test | COMMENT |
| LOW | .github/workflows/test.yml | 21 | # - vapor/queues | COMMENT |
| LOW | Sources/Vapor/Middleware/CORSMiddleware.swift | 1 | public import HTTPTypes | COMMENT |
| LOW | Sources/Vapor/Middleware/CORSMiddleware.swift | 81 | COMMENT | |
| LOW | …s/Vapor/Middleware/ResponseCompressionMiddleware.swift | 1 | public import HTTPTypes | COMMENT |
| LOW | …s/Vapor/Middleware/ResponseCompressionMiddleware.swift | 41 | response.headers.responseCompression = responseCompressionOverride | COMMENT |
| LOW | Sources/Vapor/Middleware/Middleware.swift | 1 | /// `Middleware` is placed between the server and your router. It is capable of | COMMENT |
| LOW | Sources/Vapor/Middleware/FileMiddleware.swift | 1 | public import HTTPTypes | COMMENT |
| LOW | Sources/Vapor/Middleware/FileMiddleware.swift | 41 | #if !canImport(FoundationEssentials) | COMMENT |
| LOW | Sources/Vapor/Middleware/FileMiddleware.swift | 241 | public static let browserDefault = CachePolicy() | COMMENT |
| LOW | Sources/Vapor/Response/ResponseCodable.swift | 1 | public import HTTPTypes | COMMENT |
| LOW | Sources/Vapor/Response/Response.swift | 1 | public import HTTPTypes | COMMENT |
| LOW | Sources/Vapor/Response/Response.swift | 21 | public var headers: HTTPFields | COMMENT |
| 105 more matches not shown… | ||||