AI Slop Code Risk Monitor

swiftlang/swift-package-manager

SlopCodeMonitor badge for swiftlang/swift-package-manager Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

The Package Manager for the Swift Programming Language

3.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

3.9
Adjusted Signal
3.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
10.2K
Stars
Swift
Language
446.3K
Lines of Code
2.5K
Files
1.6K
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 15.3/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1482 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.1/100 · LOW

Are imports declared and package/API names verified? 73 finding(s).

Agent Over-Engineering Ratio 1.0/100 · LOW

Are wrappers, guards, and repeated structures necessary? 25 finding(s).

PR Review Velocity Impact 17.7/100 · LOW

Which changes need focused human review? 1577 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 9HIGH 9MEDIUM 19LOW 1540

Directory Score Breakdown

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.

Pattern Findings

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.

Over-Commented Block1448 hits · 1426 pts
SeverityFileLineSnippetContext
LOWPackage.swift1// swift-tools-version:6.1COMMENT
LOWTests/BasicsTests/NetrcTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/NetrcTests.swift221 #expect(machine.name == "example.com")COMMENT
LOWTests/BasicsTests/NetrcTests.swift361 let netrc = try NetrcParser.parse(content)COMMENT
LOWTests/BasicsTests/NetrcTests.swift401COMMENT
LOWTests/BasicsTests/ProgressAnimationTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/SQLiteBackedCacheTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/AsyncProcessTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/SerialEventQueueTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/ObservabilitySystemTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/ConcurrencyHelpersTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/ConcurrencyHelpersTests.swift201COMMENT
LOWTests/BasicsTests/ProcessInfoTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/URLTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/AuthorizationProviderTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/LegacyHTTPClientTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/StringExtensionsTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/SQLiteTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/DispatchTimeTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/SandboxTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/ByteStringExtensionsTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/DictionaryTest.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/HTTPClientTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/CancellatorTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/ImportScanningTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/ImportScanningTests.swift81 /// Returns a `(swiftCompilerPath, fileToScan)` pair such that invoking the former with the latter behavesCOMMENT
LOWTests/BasicsTests/ArrayHelpersTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/ArrayHelpersTests.swift41 )COMMENT
LOWTests/BasicsTests/ArrayHelpersTests.swift61 // Missing elements testsCOMMENT
LOWTests/BasicsTests/ArrayHelpersTests.swift101 // Basic contiguous subset testsCOMMENT
LOWTests/BasicsTests/ArrayHelpersTests.swift121 #expect(containsContiguousSubset(array: [1, 2, 2, 3, 4], subset: [2, 2, 3]) == true)COMMENT
LOWTests/BasicsTests/URLSessionHTTPClientTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/TripleTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOW…ts/BasicsTests/Serialization/SerializedJSONTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/Graph/DirectedGraphTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/Graph/AdjacencyMatrixTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/Graph/UndirectedGraphTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/Archiver/ZipArchiverTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/Archiver/TarArchiverTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/Archiver/UniversalArchiverTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/FileSystem/TemporaryFileTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOW…asicsTests/FileSystem/CommonParentDirectoryTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/FileSystem/PathShimTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOW…/BasicsTests/FileSystem/InMemoryFilesSystemTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/FileSystem/PathTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/FileSystem/PathTests.swift681 #expect(AbsolutePath("/").appending(RelativePath("..")).pathString == (windows ? #"\"# : "/"))COMMENT
LOWTests/BasicsTests/FileSystem/PathTests.swift701 #expect(AbsolutePath("/a/b/c").appending(components: "..", "d").pathString == (windows ? #"\a\b\d"# : "/a/b/d"))COMMENT
LOWTests/BasicsTests/FileSystem/FileSystemTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/FileSystem/VFSTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/FileSystem/VFSTests.swift101 #expect(throws: (any Error).self) {COMMENT
LOWTests/BasicsTests/FileSystem/VFSTests.swift121 #expect(!vfs.isExecutableFile(AbsolutePath("/")))COMMENT
LOWTests/BasicsTests/Environment/EnvironmentTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/BasicsTests/Environment/EnvironmentKeyTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/FunctionalPerformanceTests/BuildPerfTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOWTests/FunctionalPerformanceTests/BuildPerfTests.swift21//import class TSCTestSupport.XCTestCasePerfCOMMENT
LOWTests/FunctionalPerformanceTests/BuildPerfTests.swift41// func testTrivialPackageNullBuild() throws {COMMENT
LOWTests/FunctionalPerformanceTests/BuildPerfTests.swift61//COMMENT
LOWTests/FunctionalPerformanceTests/BuildPerfTests.swift81// try self.execute(packagePath: app)COMMENT
LOWTests/LLBuildManifestTests/LLBuildManifestTests.swift1//===----------------------------------------------------------------------===//COMMENT
LOW…mblyIntegrationTests/WebAssemblyIntegrationTests.swift1//===----------------------------------------------------------------------===//COMMENT
1388 more matches not shown…
Hallucination Indicators9 hits · 130 pts
SeverityFileLineSnippetContext
CRITICAL…s/SPMBuildCore/Plugins/DefaultPluginScriptRunner.swift173 let swiftSupportLibPath = self.toolchain.swiftCompilerPathForManifests.parentDirectory.parentDirectory.appenCODE
CRITICALSources/PackageGraph/ModulesGraph+Loading.swift706 let manifestProducts = dependency.package.manifest.products.lazy.map(\.name)CODE
CRITICALSources/SwiftBuildSupport/SwiftBuildSystem.swift1237 // swiftCompilerFlags += buildParameters.toolchain.extraFlags.cxxCompilerFlags.rawFlags.asSwiftcCXXCompilerFlagsCOMMENT
CRITICAL…s/Build/BuildDescription/ProductBuildDescription.swift380 args += self.buildParameters.toolchain.extraFlags.linkerFlags.rawFlags.asSwiftcLinkerFlags()CODE
CRITICAL…s/Build/BuildDescription/ProductBuildDescription.swift382 args += self.buildParameters.flags.linkerFlags.rawFlags.asSwiftcLinkerFlags()CODE
CRITICAL⚡…ild/BuildDescription/SwiftModuleBuildDescription.swift623 args += self.buildParameters.toolchain.extraFlags.cCompilerFlags.rawFlags.asSwiftcCCompilerFlags()CODE
CRITICAL⚡…ild/BuildDescription/SwiftModuleBuildDescription.swift625 args += self.buildParameters.flags.cCompilerFlags.rawFlags.asSwiftcCCompilerFlags()CODE
CRITICAL⚡…ild/BuildDescription/SwiftModuleBuildDescription.swift629 // args += self.buildParameters.toolchain.extraFlags.cxxCompilerFlags.rawFlags.asSwiftcCXXCompilerFlags()COMMENT
CRITICAL⚡…ild/BuildDescription/SwiftModuleBuildDescription.swift631 // args += self.buildParameters.flags.cxxCompilerFlags.rawFlags.asSwiftcCXXCompilerFlags()COMMENT
Fake / Example Data64 hits · 56 pts
SeverityFileLineSnippetContext
LOW…lectionsTests/JSONPackageCollectionProviderTests.swift55 XCTAssertEqual(collection.createdBy?.name, "Jane Doe")CODE
LOW…lectionsTests/JSONPackageCollectionProviderTests.swift104 XCTAssertEqual(collection.createdBy?.name, "Jane Doe")CODE
LOW…lectionsTests/JSONPackageCollectionProviderTests.swift410 XCTAssertEqual(collection.createdBy?.name, "Jane Doe")CODE
LOW…lectionsTests/JSONPackageCollectionProviderTests.swift483 XCTAssertEqual(collection.createdBy?.name, "Jane Doe")CODE
LOW…lectionsTests/JSONPackageCollectionProviderTests.swift623 XCTAssertEqual(collection.createdBy?.name, "Jane Doe")CODE
LOW…lectionsTests/JSONPackageCollectionProviderTests.swift696 XCTAssertEqual(collection.createdBy?.name, "Jane Doe")CODE
LOW…lectionsTests/JSONPackageCollectionProviderTests.swift775 XCTAssertEqual(collection.createdBy?.name, "Jane Doe")CODE
LOW…ollectionsTests/PackageCollectionValidationTests.swift81 generatedBy: .init(name: "Jane Doe")CODE
LOW…ollectionsTests/PackageCollectionValidationTests.swift97 generatedBy: .init(name: "Jane Doe")CODE
LOW…ollectionsTests/PackageCollectionValidationTests.swift177 generatedBy: .init(name: "Jane Doe")CODE
LOW…ollectionsTests/PackageCollectionValidationTests.swift209 generatedBy: .init(name: "Jane Doe")CODE
LOW…ollectionsTests/PackageCollectionValidationTests.swift280 generatedBy: .init(name: "Jane Doe")CODE
LOW…ollectionsTests/PackageCollectionValidationTests.swift342 generatedBy: .init(name: "Jane Doe")CODE
LOW…ollectionsTests/PackageCollectionValidationTests.swift460 generatedBy: .init(name: "Jane Doe")CODE
LOW…ollectionsTests/PackageCollectionValidationTests.swift509 generatedBy: .init(name: "Jane Doe")CODE
LOW…ollectionsTests/PackageCollectionValidationTests.swift561 generatedBy: .init(name: "Jane Doe")CODE
LOW…ollectionsTests/PackageCollectionValidationTests.swift613 generatedBy: .init(name: "Jane Doe")CODE
LOW…ollectionsTests/PackageCollectionValidationTests.swift665 generatedBy: .init(name: "Jane Doe")CODE
LOWTests/PackageCollectionsTests/Utility.swift62 createdBy: PackageCollectionsModel.Collection.Author(name: "Jane Doe")CODE
LOWTests/SBOMModelTests/CycloneDXConverterTests.swift65 name: "John Doe",CODE
LOWTests/SBOMModelTests/CycloneDXConverterTests.swift81 #expect(cdxAuthor.name == "John Doe")COMMENT
LOWTests/SBOMModelTests/CycloneDXConverterTests.swift89 name: "John Doe",CODE
LOWTests/SBOMModelTests/CycloneDXConverterTests.swift120 #expect(cdxAuthor1.name == "John Doe")COMMENT
LOWTests/SBOMModelTests/CycloneDXConverterTests.swift133 name: "John Doe",CODE
LOWTests/SBOMModelTests/CycloneDXConverterTests.swift154 #expect(cdxAuthor.name == "John Doe")COMMENT
LOWTests/SBOMModelTests/CycloneDXConverterTests.swift271 name: "John Doe",CODE
LOWTests/SBOMModelTests/CycloneDXConverterTests.swift307 #expect(cdxAuthor.name == "John Doe")COMMENT
LOWTests/BuildTests/PluginsBuildPlanTests.swift104 expectFileExists(at: hostDebugBinPath.appending("placeholder"))CODE
LOWTests/BuildTests/PluginsBuildPlanTests.swift174 expectFileExists(at: targetDebugBinPath.appending("placeholder"))CODE
LOWTests/WorkspaceTests/WorkspaceTests.swift17060 commonName: "John Doe",STRING
LOWTests/WorkspaceTests/WorkspaceTests.swift17079 commonName: "John Doe",STRING
LOWTests/WorkspaceTests/WorkspaceTests.swift17086 commonName: "John Doe",STRING
LOWTests/WorkspaceTests/WorkspaceTests.swift17109 commonName: "Jane Doe",STRING
LOWTests/WorkspaceTests/WorkspaceTests.swift17131 commonName: "Jane Doe",STRING
LOWTests/WorkspaceTests/WorkspaceTests.swift17157 commonName: "John Doe",STRING
LOWTests/WorkspaceTests/WorkspaceTests.swift17186 commonName: "John Doe",STRING
LOWTests/WorkspaceTests/WorkspaceTests.swift17193 commonName: "John Doe",STRING
LOWTests/WorkspaceTests/WorkspaceTests.swift17222 commonName: "Jane Doe",STRING
LOWTests/WorkspaceTests/WorkspaceTests.swift17247 commonName: "Jane Doe",STRING
LOWTests/CommandsTests/PackageCommandTests.swift6170 ).appending(executableName("placeholder"))STRING
LOWTests/CommandsTests/PackageCommandTests.swift6175 ).appending(executableName("placeholder"))STRING
LOWTests/CommandsTests/PackageCommandTests.swift6213 ).appending(executableName("placeholder"))STRING
LOWTests/CommandsTests/PackageCommandTests.swift6218 ).appending(executableName("placeholder"))STRING
LOWTests/CommandsTests/PackageCommandTests.swift6259 ).appending(executableName("placeholder"))STRING
LOWTests/CommandsTests/PackageCommandTests.swift6264 ).appending(executableName("placeholder"))STRING
LOWTests/CommandsTests/PackageCommandTests.swift6301 ).appending(executableName("placeholder"))STRING
LOWTests/CommandsTests/PackageCommandTests.swift6306 ).appending(executableName("placeholder"))STRING
LOW…ollectionsModelTests/PackageCollectionModelTests.swift67 generatedBy: .init(name: "Jane Doe")CODE
LOW…ollectionsModelTests/PackageCollectionModelTests.swift120 generatedBy: .init(name: "Jane Doe")CODE
LOW…BOMModel/CycloneDX/Resources/cyclonedx-1.7.schema.json956 "examples": ["Acme Inc"]CODE
LOW…BOMModel/CycloneDX/Resources/cyclonedx-1.7.schema.json962 "examples": ["Acme Inc"]CODE
LOW…BOMModel/CycloneDX/Resources/cyclonedx-1.7.schema.json1027 "examples": ["Acme Inc"]CODE
LOW…ckageManagerDocs/Documentation.docc/PackageSecurity.md103 "commonName": "Jane Doe",CODE
LOWSources/Runtimes/PackageDescription/BuildSettings.swift302 value: ["placeholder"],CODE
LOWSources/Runtimes/PackageDescription/BuildSettings.swift472 value: ["placeholder"],CODE
LOWSources/Runtimes/PackageDescription/BuildSettings.swift783 value: ["placeholder"],CODE
LOWSources/Runtimes/PackageDescription/BuildSettings.swift861 value: ["placeholder"],CODE
LOWSources/PackageModel/ManifestSourceGeneration.swift764 params.append(SourceCodeFragment(key: "appIcon", enum: "placeholder", subnodes: [SourceCodeFragment(fromSTRING
LOW…cellaneous/Plugins/CommandPluginTestStub/Package.swift40 name: "placeholder"CODE
LOW…stStub/Plugins/diagnostics-stub/diagnostics_stub.swift13 .product("placeholder"),CODE
4 more matches not shown…
Cross-File Repetition9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHTests/PackageRegistryTests/RegistryClientTests.swift0{ "id": "mona.linkedlist", "version": "1.1.1", "resources": [ { "name": "source-archive", "type": "application/zip", "chSTRING
HIGH…ageRegistryTests/PackageVersionChecksumTOFUTests.swift0{ "id": "mona.linkedlist", "version": "1.1.1", "resources": [ { "name": "source-archive", "type": "application/zip", "chSTRING
HIGH…ts/PackageRegistryTests/SignatureValidationTests.swift0{ "id": "mona.linkedlist", "version": "1.1.1", "resources": [ { "name": "source-archive", "type": "application/zip", "chSTRING
HIGH…ts/PackageRegistryTests/SignatureValidationTests.swift0// swift-tools-version: 5.7 import packagedescription let package = package( name: "library", products: [ .library(name:STRING
HIGH…PackageLoadingTests/ManifestSignatureParserTests.swift0// swift-tools-version: 5.7 import packagedescription let package = package( name: "library", products: [ .library(name:STRING
HIGHTests/CommandsTests/PackageCommandTests.swift0// swift-tools-version: 5.7 import packagedescription let package = package( name: "library", products: [ .library(name:STRING
HIGHTests/PackageLoadingTests/PD_5_0_LoadingTests.swift0import packagedescription let package = package( name: "trivial", targets: [ .target( name: "foo", dependencies: [ ]), ]STRING
HIGH…sts/PackageLoadingTests/ManifestLoaderCacheTests.swift0import packagedescription let package = package( name: "trivial", targets: [ .target( name: "foo", dependencies: [ ]), ]STRING
HIGHTests/PackageLoadingTests/PD_4_2_LoadingTests.swift0import packagedescription let package = package( name: "trivial", targets: [ .target( name: "foo", dependencies: [ ]), ]STRING
Decorative Section Separators8 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUM⚡…/PackageGraph/Resolution/PubGrub/Incompatibility.swift78 /// ┌────────────────────────────┐ ┌────────────────────────────┐COMMENT
MEDIUM⚡…/PackageGraph/Resolution/PubGrub/Incompatibility.swift80 /// └─────────────┬──────────────┘ └──────────────┬─────────────┘COMMENT
MEDIUM⚡…/PackageGraph/Resolution/PubGrub/Incompatibility.swift81 /// │ ┌────────────────────────┘COMMENT
MEDIUM⚡…/PackageGraph/Resolution/PubGrub/Incompatibility.swift83 /// ┌─────────────┴──────┴───────┐ ┌────────────────────────────┐COMMENT
MEDIUM⚡…/PackageGraph/Resolution/PubGrub/Incompatibility.swift85 /// └─────────────┬──────────────┘ └──────────────┬─────────────┘COMMENT
MEDIUM⚡…/PackageGraph/Resolution/PubGrub/Incompatibility.swift86 /// │ ┌───────────────────────────┘COMMENT
MEDIUM⚡…/PackageGraph/Resolution/PubGrub/Incompatibility.swift88 /// ┌─────┴───┴──┐COMMENT
MEDIUM⚡…/PackageGraph/Resolution/PubGrub/Incompatibility.swift90 /// └────────────┘COMMENT
Structural Annotation Overuse15 hits · 24 pts
SeverityFileLineSnippetContext
LOWTests/WorkspaceTests/WorkspaceTests.swift5673 // Step 1: Initial resolution on "machine A" — populates .build withSTRING
LOWTests/WorkspaceTests/WorkspaceTests.swift5687 // Step 2: Simulate cross-platform migration to "machine B".STRING
LOWTests/WorkspaceTests/WorkspaceTests.swift5709 // Step 3: Run --force-resolved-versions on "machine B".STRING
LOWSources/SBOMModel/README.md27### Step 1: Update Version ConstantCOMMENT
LOWSources/SBOMModel/README.md39### Step 2: Replace Schema FileCOMMENT
LOWSources/SBOMModel/README.md45### Step 3: Update TestsCOMMENT
LOW⚡Sources/SBOMModel/README.md57### Step 4: Verify ConstantsCOMMENT
LOW⚡Sources/SBOMModel/README.md64### Step 5: Test ThoroughlyCOMMENT
LOW⚡Sources/SBOMModel/README.md74### Step 1: Update SBOMVersionRegistry.swiftCOMMENT
LOWSources/SBOMModel/README.md89### Step 2: Update SBOMSpec.swiftCOMMENT
LOWSources/SBOMModel/README.md99### Step 3: Create New ConstantsCOMMENT
LOW⚡Sources/SBOMModel/README.md115### Step 4: Update Encoder and ConverterCOMMENT
LOW⚡Sources/SBOMModel/README.md125### Step 5: Add Schema FileCOMMENT
LOW⚡Sources/SBOMModel/README.md131### Step 6: Update TestsCOMMENT
LOWSources/PackageGraph/PackageContainer.swift91 /// NOTE: This method should not be called on a versioned container.COMMENT
AI Slop Vocabulary7 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUM…/_InternalTestSupportTests/XCTAssertHelpersTests.swift28 // Essentially call either "which which" or "where.exe where.exe"COMMENT
MEDIUM…BOMModel/CycloneDX/Resources/cyclonedx-1.7.schema.json1251 "description": "Specifies the format and nature of the data being attached, helping systems correctly interpreCODE
MEDIUMSources/Basics/Vendor/Triple.swift321 /// tend to permute triples. Essentially:COMMENT
MEDIUMSources/Workspace/Workspace+Manifests.swift194 // Temporary countermeasures against rdar://83316222; be robust against having colliding identities in bothCOMMENT
MEDIUMSources/QueryEngine/CacheKey.swift23/// this protocol doesn't utilize random seed values and produces consistent hash values across process launches.COMMENT
MEDIUM…ild/BuildDescription/SwiftModuleBuildDescription.swift720 // for tools which currently don't leverage "OTHER_SWIFT_FLAGS". In theCOMMENT
MEDIUMSources/PackageLoading/PkgConfig.swift249 // We will use pkgconf's method here as it seems more robust than pkg-config's, and pkgconf's greater popularityCOMMENT
Self-Referential Comments2 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMSources/CoreCommands/SwiftCommandState.swift178 # This file is a cache directory tag created by (Swift Package Manager).COMMENT
MEDIUM⚡Sources/Commands/Utilities/TestingSupport.swift1070 # Create the same breakpoint in the destination targetCOMMENT
Excessive Try-Catch Wrapping5 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMSources/_InternalTestSupport/FileSystemHelpers.swift26 print("Error: Could not create enumerator for path: \(path)")CODE
MEDIUMSources/_InternalTestSupport/FileSystemHelpers.swift39 print("Error retrieving resource values for \(fileURL.lastPathComponent): \(error.localizedDescription)")CODE
LOWSources/Commands/Utilities/TestingSupport.swift950 except Exception:CODE
LOWSources/Commands/Utilities/TestingSupport.swift1117 except Exception as e:CODE
LOWSources/Commands/Utilities/TestingSupport.swift1176 except Exception as e:CODE
Hyper-Verbose Identifiers3 hits · 4 pts
SeverityFileLineSnippetContext
LOWSources/Commands/Utilities/TestingSupport.swift965def sync_breakpoints_to_target(source_target, dest_target):CODE
LOWSources/Commands/Utilities/TestingSupport.swift970 def breakpoint_exists_in_target_by_spec(target, file_name, line_number, function_name):CODE
LOW⚡Sources/Commands/Utilities/TestingSupport.swift1080def sync_breakpoints_to_all_targets():CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW⚡Sources/Commands/Utilities/TestingSupport.swift1066 # Check if this breakpoint already exists in destination targetCOMMENT
TODO Padding3 hits · 2 pts
SeverityFileLineSnippetContext
LOWTests/PackageRegistryTests/RegistryClientTests.swift3569 // TODO: implement multipart form parsingSTRING
LOWTests/PackageRegistryTests/RegistryClientTests.swift3669 // TODO: implement multipart form parsingSTRING
LOWTests/PackageRegistryTests/RegistryClientTests.swift3788 // TODO: implement multipart form parsingSTRING
Verbosity Indicators3 hits · 2 pts
SeverityFileLineSnippetContext
LOWTests/WorkspaceTests/WorkspaceTests.swift5673 // Step 1: Initial resolution on "machine A" — populates .build withSTRING
LOWTests/WorkspaceTests/WorkspaceTests.swift5687 // Step 2: Simulate cross-platform migration to "machine B".STRING
LOWTests/WorkspaceTests/WorkspaceTests.swift5709 // Step 3: Run --force-resolved-versions on "machine B".STRING