The Package Manager for the Swift Programming Language
This report summarizes scanner evidence for swiftlang/swift-package-manager, a Swift project with 10,246 GitHub stars. SynthScan examined 446,347 lines of code across 2482 source files, recording 1577 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 3.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? 1482 finding(s).
Are imports declared and package/API names verified? 73 finding(s).
Are wrappers, guards, and repeated structures necessary? 25 finding(s).
Which changes need focused human review? 1577 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 1577 distinct pattern matches across 13 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 | Package.swift | 1 | // swift-tools-version:6.1 | COMMENT |
| LOW | Tests/BasicsTests/NetrcTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/NetrcTests.swift | 221 | #expect(machine.name == "example.com") | COMMENT |
| LOW | Tests/BasicsTests/NetrcTests.swift | 361 | let netrc = try NetrcParser.parse(content) | COMMENT |
| LOW | Tests/BasicsTests/NetrcTests.swift | 401 | COMMENT | |
| LOW | Tests/BasicsTests/ProgressAnimationTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/SQLiteBackedCacheTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/AsyncProcessTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/SerialEventQueueTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/ObservabilitySystemTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/ConcurrencyHelpersTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/ConcurrencyHelpersTests.swift | 201 | COMMENT | |
| LOW | Tests/BasicsTests/ProcessInfoTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/URLTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/AuthorizationProviderTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/LegacyHTTPClientTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/StringExtensionsTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/SQLiteTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/DispatchTimeTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/SandboxTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/ByteStringExtensionsTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/DictionaryTest.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/HTTPClientTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/CancellatorTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/ImportScanningTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/ImportScanningTests.swift | 81 | /// Returns a `(swiftCompilerPath, fileToScan)` pair such that invoking the former with the latter behaves | COMMENT |
| LOW | Tests/BasicsTests/ArrayHelpersTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/ArrayHelpersTests.swift | 41 | ) | COMMENT |
| LOW | Tests/BasicsTests/ArrayHelpersTests.swift | 61 | // Missing elements tests | COMMENT |
| LOW | Tests/BasicsTests/ArrayHelpersTests.swift | 101 | // Basic contiguous subset tests | COMMENT |
| LOW | Tests/BasicsTests/ArrayHelpersTests.swift | 121 | #expect(containsContiguousSubset(array: [1, 2, 2, 3, 4], subset: [2, 2, 3]) == true) | COMMENT |
| LOW | Tests/BasicsTests/URLSessionHTTPClientTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/TripleTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | …ts/BasicsTests/Serialization/SerializedJSONTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/Graph/DirectedGraphTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/Graph/AdjacencyMatrixTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/Graph/UndirectedGraphTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/Archiver/ZipArchiverTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/Archiver/TarArchiverTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/Archiver/UniversalArchiverTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/FileSystem/TemporaryFileTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | …asicsTests/FileSystem/CommonParentDirectoryTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/FileSystem/PathShimTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | …/BasicsTests/FileSystem/InMemoryFilesSystemTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/FileSystem/PathTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/FileSystem/PathTests.swift | 681 | #expect(AbsolutePath("/").appending(RelativePath("..")).pathString == (windows ? #"\"# : "/")) | COMMENT |
| LOW | Tests/BasicsTests/FileSystem/PathTests.swift | 701 | #expect(AbsolutePath("/a/b/c").appending(components: "..", "d").pathString == (windows ? #"\a\b\d"# : "/a/b/d")) | COMMENT |
| LOW | Tests/BasicsTests/FileSystem/FileSystemTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/FileSystem/VFSTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/FileSystem/VFSTests.swift | 101 | #expect(throws: (any Error).self) { | COMMENT |
| LOW | Tests/BasicsTests/FileSystem/VFSTests.swift | 121 | #expect(!vfs.isExecutableFile(AbsolutePath("/"))) | COMMENT |
| LOW | Tests/BasicsTests/Environment/EnvironmentTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/BasicsTests/Environment/EnvironmentKeyTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/FunctionalPerformanceTests/BuildPerfTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Tests/FunctionalPerformanceTests/BuildPerfTests.swift | 21 | //import class TSCTestSupport.XCTestCasePerf | COMMENT |
| LOW | Tests/FunctionalPerformanceTests/BuildPerfTests.swift | 41 | // func testTrivialPackageNullBuild() throws { | COMMENT |
| LOW | Tests/FunctionalPerformanceTests/BuildPerfTests.swift | 61 | // | COMMENT |
| LOW | Tests/FunctionalPerformanceTests/BuildPerfTests.swift | 81 | // try self.execute(packagePath: app) | COMMENT |
| LOW | Tests/LLBuildManifestTests/LLBuildManifestTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | …mblyIntegrationTests/WebAssemblyIntegrationTests.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| 1388 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …s/SPMBuildCore/Plugins/DefaultPluginScriptRunner.swift | 173 | let swiftSupportLibPath = self.toolchain.swiftCompilerPathForManifests.parentDirectory.parentDirectory.appen | CODE |
| CRITICAL | Sources/PackageGraph/ModulesGraph+Loading.swift | 706 | let manifestProducts = dependency.package.manifest.products.lazy.map(\.name) | CODE |
| CRITICAL | Sources/SwiftBuildSupport/SwiftBuildSystem.swift | 1237 | // swiftCompilerFlags += buildParameters.toolchain.extraFlags.cxxCompilerFlags.rawFlags.asSwiftcCXXCompilerFlags | COMMENT |
| CRITICAL | …s/Build/BuildDescription/ProductBuildDescription.swift | 380 | args += self.buildParameters.toolchain.extraFlags.linkerFlags.rawFlags.asSwiftcLinkerFlags() | CODE |
| CRITICAL | …s/Build/BuildDescription/ProductBuildDescription.swift | 382 | args += self.buildParameters.flags.linkerFlags.rawFlags.asSwiftcLinkerFlags() | CODE |
| CRITICAL⚡ | …ild/BuildDescription/SwiftModuleBuildDescription.swift | 623 | args += self.buildParameters.toolchain.extraFlags.cCompilerFlags.rawFlags.asSwiftcCCompilerFlags() | CODE |
| CRITICAL⚡ | …ild/BuildDescription/SwiftModuleBuildDescription.swift | 625 | args += self.buildParameters.flags.cCompilerFlags.rawFlags.asSwiftcCCompilerFlags() | CODE |
| CRITICAL⚡ | …ild/BuildDescription/SwiftModuleBuildDescription.swift | 629 | // args += self.buildParameters.toolchain.extraFlags.cxxCompilerFlags.rawFlags.asSwiftcCXXCompilerFlags() | COMMENT |
| CRITICAL⚡ | …ild/BuildDescription/SwiftModuleBuildDescription.swift | 631 | // args += self.buildParameters.flags.cxxCompilerFlags.rawFlags.asSwiftcCXXCompilerFlags() | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …lectionsTests/JSONPackageCollectionProviderTests.swift | 55 | XCTAssertEqual(collection.createdBy?.name, "Jane Doe") | CODE |
| LOW | …lectionsTests/JSONPackageCollectionProviderTests.swift | 104 | XCTAssertEqual(collection.createdBy?.name, "Jane Doe") | CODE |
| LOW | …lectionsTests/JSONPackageCollectionProviderTests.swift | 410 | XCTAssertEqual(collection.createdBy?.name, "Jane Doe") | CODE |
| LOW | …lectionsTests/JSONPackageCollectionProviderTests.swift | 483 | XCTAssertEqual(collection.createdBy?.name, "Jane Doe") | CODE |
| LOW | …lectionsTests/JSONPackageCollectionProviderTests.swift | 623 | XCTAssertEqual(collection.createdBy?.name, "Jane Doe") | CODE |
| LOW | …lectionsTests/JSONPackageCollectionProviderTests.swift | 696 | XCTAssertEqual(collection.createdBy?.name, "Jane Doe") | CODE |
| LOW | …lectionsTests/JSONPackageCollectionProviderTests.swift | 775 | XCTAssertEqual(collection.createdBy?.name, "Jane Doe") | CODE |
| LOW | …ollectionsTests/PackageCollectionValidationTests.swift | 81 | generatedBy: .init(name: "Jane Doe") | CODE |
| LOW | …ollectionsTests/PackageCollectionValidationTests.swift | 97 | generatedBy: .init(name: "Jane Doe") | CODE |
| LOW | …ollectionsTests/PackageCollectionValidationTests.swift | 177 | generatedBy: .init(name: "Jane Doe") | CODE |
| LOW | …ollectionsTests/PackageCollectionValidationTests.swift | 209 | generatedBy: .init(name: "Jane Doe") | CODE |
| LOW | …ollectionsTests/PackageCollectionValidationTests.swift | 280 | generatedBy: .init(name: "Jane Doe") | CODE |
| LOW | …ollectionsTests/PackageCollectionValidationTests.swift | 342 | generatedBy: .init(name: "Jane Doe") | CODE |
| LOW | …ollectionsTests/PackageCollectionValidationTests.swift | 460 | generatedBy: .init(name: "Jane Doe") | CODE |
| LOW | …ollectionsTests/PackageCollectionValidationTests.swift | 509 | generatedBy: .init(name: "Jane Doe") | CODE |
| LOW | …ollectionsTests/PackageCollectionValidationTests.swift | 561 | generatedBy: .init(name: "Jane Doe") | CODE |
| LOW | …ollectionsTests/PackageCollectionValidationTests.swift | 613 | generatedBy: .init(name: "Jane Doe") | CODE |
| LOW | …ollectionsTests/PackageCollectionValidationTests.swift | 665 | generatedBy: .init(name: "Jane Doe") | CODE |
| LOW | Tests/PackageCollectionsTests/Utility.swift | 62 | createdBy: PackageCollectionsModel.Collection.Author(name: "Jane Doe") | CODE |
| LOW | Tests/SBOMModelTests/CycloneDXConverterTests.swift | 65 | name: "John Doe", | CODE |
| LOW | Tests/SBOMModelTests/CycloneDXConverterTests.swift | 81 | #expect(cdxAuthor.name == "John Doe") | COMMENT |
| LOW | Tests/SBOMModelTests/CycloneDXConverterTests.swift | 89 | name: "John Doe", | CODE |
| LOW | Tests/SBOMModelTests/CycloneDXConverterTests.swift | 120 | #expect(cdxAuthor1.name == "John Doe") | COMMENT |
| LOW | Tests/SBOMModelTests/CycloneDXConverterTests.swift | 133 | name: "John Doe", | CODE |
| LOW | Tests/SBOMModelTests/CycloneDXConverterTests.swift | 154 | #expect(cdxAuthor.name == "John Doe") | COMMENT |
| LOW | Tests/SBOMModelTests/CycloneDXConverterTests.swift | 271 | name: "John Doe", | CODE |
| LOW | Tests/SBOMModelTests/CycloneDXConverterTests.swift | 307 | #expect(cdxAuthor.name == "John Doe") | COMMENT |
| LOW | Tests/BuildTests/PluginsBuildPlanTests.swift | 104 | expectFileExists(at: hostDebugBinPath.appending("placeholder")) | CODE |
| LOW | Tests/BuildTests/PluginsBuildPlanTests.swift | 174 | expectFileExists(at: targetDebugBinPath.appending("placeholder")) | CODE |
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 17060 | commonName: "John Doe", | STRING |
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 17079 | commonName: "John Doe", | STRING |
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 17086 | commonName: "John Doe", | STRING |
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 17109 | commonName: "Jane Doe", | STRING |
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 17131 | commonName: "Jane Doe", | STRING |
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 17157 | commonName: "John Doe", | STRING |
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 17186 | commonName: "John Doe", | STRING |
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 17193 | commonName: "John Doe", | STRING |
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 17222 | commonName: "Jane Doe", | STRING |
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 17247 | commonName: "Jane Doe", | STRING |
| LOW | Tests/CommandsTests/PackageCommandTests.swift | 6170 | ).appending(executableName("placeholder")) | STRING |
| LOW | Tests/CommandsTests/PackageCommandTests.swift | 6175 | ).appending(executableName("placeholder")) | STRING |
| LOW | Tests/CommandsTests/PackageCommandTests.swift | 6213 | ).appending(executableName("placeholder")) | STRING |
| LOW | Tests/CommandsTests/PackageCommandTests.swift | 6218 | ).appending(executableName("placeholder")) | STRING |
| LOW | Tests/CommandsTests/PackageCommandTests.swift | 6259 | ).appending(executableName("placeholder")) | STRING |
| LOW | Tests/CommandsTests/PackageCommandTests.swift | 6264 | ).appending(executableName("placeholder")) | STRING |
| LOW | Tests/CommandsTests/PackageCommandTests.swift | 6301 | ).appending(executableName("placeholder")) | STRING |
| LOW | Tests/CommandsTests/PackageCommandTests.swift | 6306 | ).appending(executableName("placeholder")) | STRING |
| LOW | …ollectionsModelTests/PackageCollectionModelTests.swift | 67 | generatedBy: .init(name: "Jane Doe") | CODE |
| LOW | …ollectionsModelTests/PackageCollectionModelTests.swift | 120 | generatedBy: .init(name: "Jane Doe") | CODE |
| LOW | …BOMModel/CycloneDX/Resources/cyclonedx-1.7.schema.json | 956 | "examples": ["Acme Inc"] | CODE |
| LOW | …BOMModel/CycloneDX/Resources/cyclonedx-1.7.schema.json | 962 | "examples": ["Acme Inc"] | CODE |
| LOW | …BOMModel/CycloneDX/Resources/cyclonedx-1.7.schema.json | 1027 | "examples": ["Acme Inc"] | CODE |
| LOW | …ckageManagerDocs/Documentation.docc/PackageSecurity.md | 103 | "commonName": "Jane Doe", | CODE |
| LOW | Sources/Runtimes/PackageDescription/BuildSettings.swift | 302 | value: ["placeholder"], | CODE |
| LOW | Sources/Runtimes/PackageDescription/BuildSettings.swift | 472 | value: ["placeholder"], | CODE |
| LOW | Sources/Runtimes/PackageDescription/BuildSettings.swift | 783 | value: ["placeholder"], | CODE |
| LOW | Sources/Runtimes/PackageDescription/BuildSettings.swift | 861 | value: ["placeholder"], | CODE |
| LOW | Sources/PackageModel/ManifestSourceGeneration.swift | 764 | params.append(SourceCodeFragment(key: "appIcon", enum: "placeholder", subnodes: [SourceCodeFragment(from | STRING |
| LOW | …cellaneous/Plugins/CommandPluginTestStub/Package.swift | 40 | name: "placeholder" | CODE |
| LOW | …stStub/Plugins/diagnostics-stub/diagnostics_stub.swift | 13 | .product("placeholder"), | CODE |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Tests/PackageRegistryTests/RegistryClientTests.swift | 0 | { "id": "mona.linkedlist", "version": "1.1.1", "resources": [ { "name": "source-archive", "type": "application/zip", "ch | STRING |
| HIGH | …ageRegistryTests/PackageVersionChecksumTOFUTests.swift | 0 | { "id": "mona.linkedlist", "version": "1.1.1", "resources": [ { "name": "source-archive", "type": "application/zip", "ch | STRING |
| HIGH | …ts/PackageRegistryTests/SignatureValidationTests.swift | 0 | { "id": "mona.linkedlist", "version": "1.1.1", "resources": [ { "name": "source-archive", "type": "application/zip", "ch | STRING |
| HIGH | …ts/PackageRegistryTests/SignatureValidationTests.swift | 0 | // swift-tools-version: 5.7 import packagedescription let package = package( name: "library", products: [ .library(name: | STRING |
| HIGH | …PackageLoadingTests/ManifestSignatureParserTests.swift | 0 | // swift-tools-version: 5.7 import packagedescription let package = package( name: "library", products: [ .library(name: | STRING |
| HIGH | Tests/CommandsTests/PackageCommandTests.swift | 0 | // swift-tools-version: 5.7 import packagedescription let package = package( name: "library", products: [ .library(name: | STRING |
| HIGH | Tests/PackageLoadingTests/PD_5_0_LoadingTests.swift | 0 | import packagedescription let package = package( name: "trivial", targets: [ .target( name: "foo", dependencies: [ ]), ] | STRING |
| HIGH | …sts/PackageLoadingTests/ManifestLoaderCacheTests.swift | 0 | import packagedescription let package = package( name: "trivial", targets: [ .target( name: "foo", dependencies: [ ]), ] | STRING |
| HIGH | Tests/PackageLoadingTests/PD_4_2_LoadingTests.swift | 0 | import packagedescription let package = package( name: "trivial", targets: [ .target( name: "foo", dependencies: [ ]), ] | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …/PackageGraph/Resolution/PubGrub/Incompatibility.swift | 78 | /// ┌────────────────────────────┐ ┌────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | …/PackageGraph/Resolution/PubGrub/Incompatibility.swift | 80 | /// └─────────────┬──────────────┘ └──────────────┬─────────────┘ | COMMENT |
| MEDIUM⚡ | …/PackageGraph/Resolution/PubGrub/Incompatibility.swift | 81 | /// │ ┌────────────────────────┘ | COMMENT |
| MEDIUM⚡ | …/PackageGraph/Resolution/PubGrub/Incompatibility.swift | 83 | /// ┌─────────────┴──────┴───────┐ ┌────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | …/PackageGraph/Resolution/PubGrub/Incompatibility.swift | 85 | /// └─────────────┬──────────────┘ └──────────────┬─────────────┘ | COMMENT |
| MEDIUM⚡ | …/PackageGraph/Resolution/PubGrub/Incompatibility.swift | 86 | /// │ ┌───────────────────────────┘ | COMMENT |
| MEDIUM⚡ | …/PackageGraph/Resolution/PubGrub/Incompatibility.swift | 88 | /// ┌─────┴───┴──┐ | COMMENT |
| MEDIUM⚡ | …/PackageGraph/Resolution/PubGrub/Incompatibility.swift | 90 | /// └────────────┘ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 5673 | // Step 1: Initial resolution on "machine A" — populates .build with | STRING |
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 5687 | // Step 2: Simulate cross-platform migration to "machine B". | STRING |
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 5709 | // Step 3: Run --force-resolved-versions on "machine B". | STRING |
| LOW | Sources/SBOMModel/README.md | 27 | ### Step 1: Update Version Constant | COMMENT |
| LOW | Sources/SBOMModel/README.md | 39 | ### Step 2: Replace Schema File | COMMENT |
| LOW | Sources/SBOMModel/README.md | 45 | ### Step 3: Update Tests | COMMENT |
| LOW⚡ | Sources/SBOMModel/README.md | 57 | ### Step 4: Verify Constants | COMMENT |
| LOW⚡ | Sources/SBOMModel/README.md | 64 | ### Step 5: Test Thoroughly | COMMENT |
| LOW⚡ | Sources/SBOMModel/README.md | 74 | ### Step 1: Update SBOMVersionRegistry.swift | COMMENT |
| LOW | Sources/SBOMModel/README.md | 89 | ### Step 2: Update SBOMSpec.swift | COMMENT |
| LOW | Sources/SBOMModel/README.md | 99 | ### Step 3: Create New Constants | COMMENT |
| LOW⚡ | Sources/SBOMModel/README.md | 115 | ### Step 4: Update Encoder and Converter | COMMENT |
| LOW⚡ | Sources/SBOMModel/README.md | 125 | ### Step 5: Add Schema File | COMMENT |
| LOW⚡ | Sources/SBOMModel/README.md | 131 | ### Step 6: Update Tests | COMMENT |
| LOW | Sources/PackageGraph/PackageContainer.swift | 91 | /// NOTE: This method should not be called on a versioned container. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/_InternalTestSupportTests/XCTAssertHelpersTests.swift | 28 | // Essentially call either "which which" or "where.exe where.exe" | COMMENT |
| MEDIUM | …BOMModel/CycloneDX/Resources/cyclonedx-1.7.schema.json | 1251 | "description": "Specifies the format and nature of the data being attached, helping systems correctly interpre | CODE |
| MEDIUM | Sources/Basics/Vendor/Triple.swift | 321 | /// tend to permute triples. Essentially: | COMMENT |
| MEDIUM | Sources/Workspace/Workspace+Manifests.swift | 194 | // Temporary countermeasures against rdar://83316222; be robust against having colliding identities in both | COMMENT |
| MEDIUM | Sources/QueryEngine/CacheKey.swift | 23 | /// this protocol doesn't utilize random seed values and produces consistent hash values across process launches. | COMMENT |
| MEDIUM | …ild/BuildDescription/SwiftModuleBuildDescription.swift | 720 | // for tools which currently don't leverage "OTHER_SWIFT_FLAGS". In the | COMMENT |
| MEDIUM | Sources/PackageLoading/PkgConfig.swift | 249 | // We will use pkgconf's method here as it seems more robust than pkg-config's, and pkgconf's greater popularity | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Sources/CoreCommands/SwiftCommandState.swift | 178 | # This file is a cache directory tag created by (Swift Package Manager). | COMMENT |
| MEDIUM⚡ | Sources/Commands/Utilities/TestingSupport.swift | 1070 | # Create the same breakpoint in the destination target | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Sources/_InternalTestSupport/FileSystemHelpers.swift | 26 | print("Error: Could not create enumerator for path: \(path)") | CODE |
| MEDIUM | Sources/_InternalTestSupport/FileSystemHelpers.swift | 39 | print("Error retrieving resource values for \(fileURL.lastPathComponent): \(error.localizedDescription)") | CODE |
| LOW | Sources/Commands/Utilities/TestingSupport.swift | 950 | except Exception: | CODE |
| LOW | Sources/Commands/Utilities/TestingSupport.swift | 1117 | except Exception as e: | CODE |
| LOW | Sources/Commands/Utilities/TestingSupport.swift | 1176 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Sources/Commands/Utilities/TestingSupport.swift | 965 | def sync_breakpoints_to_target(source_target, dest_target): | CODE |
| LOW | Sources/Commands/Utilities/TestingSupport.swift | 970 | def breakpoint_exists_in_target_by_spec(target, file_name, line_number, function_name): | CODE |
| LOW⚡ | Sources/Commands/Utilities/TestingSupport.swift | 1080 | def sync_breakpoints_to_all_targets(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | Sources/Commands/Utilities/TestingSupport.swift | 1066 | # Check if this breakpoint already exists in destination target | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tests/PackageRegistryTests/RegistryClientTests.swift | 3569 | // TODO: implement multipart form parsing | STRING |
| LOW | Tests/PackageRegistryTests/RegistryClientTests.swift | 3669 | // TODO: implement multipart form parsing | STRING |
| LOW | Tests/PackageRegistryTests/RegistryClientTests.swift | 3788 | // TODO: implement multipart form parsing | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 5673 | // Step 1: Initial resolution on "machine A" — populates .build with | STRING |
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 5687 | // Step 2: Simulate cross-platform migration to "machine B". | STRING |
| LOW | Tests/WorkspaceTests/WorkspaceTests.swift | 5709 | // Step 3: Run --force-resolved-versions on "machine B". | STRING |