Develop Swift/iOS projects using VSCode
This report presents the forensic synthetic code analysis of sweetpad-dev/sweetpad, a Rust project with 1,851 GitHub stars. SynthScan v2.0 examined 126,700 lines of code across 423 source files, recording 382 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 3.7 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 382 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sweetpad-cli/tests/spm_oracle.rs | 1 | //! SwiftPM CLI oracle — ground sweetpad's manifest-derived project view against | COMMENT |
| LOW | sweetpad-cli/src/lib.rs | 1 | //! The `sweetpad` command-line interface. | COMMENT |
| LOW | sweetpad-cli/src/vscode_cli.rs | 1 | //! The `sweetpad vscode` command — a thin, generic JSON-RPC client for the | COMMENT |
| LOW | sweetpad-cli/src/bin/sweetpad.rs | 1 | //! `sweetpad` — the SweetPad command-line interface. | COMMENT |
| LOW | sweetpad-cli/src/cli/pymobiledevice3.rs | 1 | //! Streaming a physical iOS device's os_log via the external `pymobiledevice3` | COMMENT |
| LOW | sweetpad-cli/src/cli/rawmode.rs | 1 | //! Minimal raw-terminal input for the `app run` interactive rebuild session. | COMMENT |
| LOW | sweetpad-cli/src/cli/rawmode.rs | 81 | /// Nothing was pressed this tick (the `VTIME` timeout elapsed). | COMMENT |
| LOW | sweetpad-cli/src/cli/resolve.rs | 1 | //! Target resolution: figuring out *what* a command acts on. | COMMENT |
| LOW | sweetpad-cli/src/cli/resolve.rs | 501 | OnTarget::Simulator { specifier, .. } | OnTarget::Device { specifier, .. } => { | COMMENT |
| LOW | sweetpad-cli/src/cli/config.rs | 1 | //! Hand-authored configuration: `~/.config/sweetpad/config.toml`. | COMMENT |
| LOW | sweetpad-cli/src/cli/config.rs | 21 | /// Per-project overrides, keyed by absolute project/workspace path. | COMMENT |
| LOW | sweetpad-cli/src/cli/config.rs | 281 | #[serde(default)] | COMMENT |
| LOW | sweetpad-cli/src/cli/render.rs | 1 | //! The render contract: a command produces a payload, and the dispatcher in | COMMENT |
| LOW | sweetpad-cli/src/cli/merge.rs | 1 | //! Shared plumbing for sweetpad's semantic git-conflict merges. | COMMENT |
| LOW | sweetpad-cli/src/cli/signals.rs | 1 | //! Process-wide signal handling for the CLI half. | COMMENT |
| LOW | sweetpad-cli/src/cli/signals.rs | 21 | //! runs — PIPE always gets the handler. | COMMENT |
| LOW | sweetpad-cli/src/cli/signals.rs | 41 | /// isn't guaranteed safe) to decide if a spinner line may need erasing. | COMMENT |
| LOW | sweetpad-cli/src/cli/oslog.rs | 1 | //! Formatting for streamed `os_log` output (`simctl spawn … log stream | COMMENT |
| LOW | sweetpad-cli/src/cli/mod.rs | 1 | //! The standalone, headless `sweetpad` CLI — "xcodebuild for humans". | COMMENT |
| LOW | sweetpad-cli/src/cli/mod.rs | 61 | extension instead.", | COMMENT |
| LOW | sweetpad-cli/src/cli/mod.rs | 81 | pub struct GlobalArgs { | COMMENT |
| LOW | sweetpad-cli/src/cli/mod.rs | 101 | pub json: bool, | COMMENT |
| LOW | sweetpad-cli/src/cli/mod.rs | 121 | /// primary data/JSON are still emitted; wins over `--verbose`. | COMMENT |
| LOW | sweetpad-cli/src/cli/mod.rs | 141 | Ndjson, | COMMENT |
| LOW | sweetpad-cli/src/cli/mod.rs | 161 | } | COMMENT |
| LOW | sweetpad-cli/src/cli/mod.rs | 181 | pub struct BuildTargetArgs { | COMMENT |
| LOW | sweetpad-cli/src/cli/mod.rs | 521 | #[command(flatten)] | COMMENT |
| LOW | sweetpad-cli/src/cli/mod.rs | 981 | } | COMMENT |
| LOW | sweetpad-cli/src/cli/mod.rs | 1021 | /// Attach operational context to a fallible step. Lets call sites read | COMMENT |
| LOW | sweetpad-cli/src/cli/state.rs | 1 | //! Machine-managed selection state: `~/.local/state/sweetpad/state.toml`. | COMMENT |
| LOW | sweetpad-cli/src/cli/state.rs | 21 | pub struct State { | COMMENT |
| LOW | sweetpad-cli/src/cli/state.rs | 41 | pub sdk: Option<String>, | COMMENT |
| LOW | sweetpad-cli/src/cli/state.rs | 121 | /// `context show`. A flat record with a `kind` discriminator (rather than a Rust | COMMENT |
| LOW | sweetpad-cli/src/cli/state.rs | 141 | #[serde(skip_serializing_if = "Option::is_none")] | COMMENT |
| LOW | sweetpad-cli/src/cli/output.rs | 1 | //! Output rendering: human/colored by default, machine-readable under `--json`. | COMMENT |
| LOW | sweetpad-cli/src/cli/scaffold.rs | 1 | //! Pure project scaffolding for `sweetpad project new`. | COMMENT |
| LOW | sweetpad-cli/src/cli/swiftpm.rs | 1 | //! Reading a Swift package's structure straight from its manifest, without | COMMENT |
| LOW | sweetpad-cli/src/cli/swiftpm.rs | 41 | /// A dependency declared in a `Package.swift` manifest — what `dependency list` | COMMENT |
| LOW | sweetpad-cli/src/cli/inject/protocol.rs | 1 | //! The InjectionNext client/server wire protocol — the bytes the in-app client | COMMENT |
| LOW | sweetpad-cli/src/cli/inject/client.rs | 1 | //! The in-app injection *client* dylib: resolving the InjectionNext client and | COMMENT |
| LOW | sweetpad-cli/src/cli/inject/recompiler.rs | 1 | //! Turning a saved `.swift` file into a loadable `.dylib` the injection client | COMMENT |
| LOW | sweetpad-cli/src/cli/inject/recompiler.rs | 441 | /// for (output-file-maps, module-cache session files, explicit-module scanner | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/test.rs | 21 | #[derive(Debug, clap::Args)] | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/test.rs | 41 | /// in the state dir, replacing the previous run's). | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/bsp.rs | 221 | COMMENT | |
| LOW | sweetpad-cli/src/cli/commands/pbxproj.rs | 1 | //! `sweetpad pbxproj …` — operate on Xcode `project.pbxproj` files. | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/merge.rs | 41 | /// Semantically merge conflicted `.pbxproj` / `Package.resolved` files | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/project.rs | 21 | /// Run with no flags on a terminal to be walked through a short wizard; | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/dependency.rs | 81 | /// Skip the resolve that updates `Package.resolved` after mutating. | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/simulator.rs | 81 | /// Latitude (e.g. 50.4501). | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/simulator.rs | 121 | /// Simulator name or UDID to capture (defaults to the booted one). | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/app.rs | 41 | #[arg(long = "device-id", conflicts_with = "on")] | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/app.rs | 121 | self.args.is_empty() && self.env.is_empty() && !self.wait_for_debugger | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/app.rs | 1521 | /// The session's os_log stream — the simulator's (via `simctl spawn`) or a macOS | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/app.rs | 1701 | } | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/app.rs | 1901 | Filter(LogFilter), | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/app.rs | 2221 | if out.is_verbose() { "debug" } else { "info" } | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/app.rs | 2881 | serde_json::json!({ | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/context.rs | 1 | //! `sweetpad context …` — view and manage the project's remembered build | COMMENT |
| LOW | sweetpad-cli/src/cli/commands/context.rs | 101 | Set { | COMMENT |
| 153 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | sweetpad-lib/ci/smoke.sh | 63 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sweetpad-lib/ci/smoke.sh | 76 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sweetpad-lib/ci/smoke.sh | 102 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | sweetpad-lib/ci/smoke.sh | 139 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | sweetpad-lib/ci/smoke.sh | 146 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | sweetpad-lib/ci/smoke.sh | 155 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | sweetpad-lib/ci/smoke.sh | 186 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | sweetpad-lib/ci/smoke.sh | 196 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | sweetpad-lib/ci/smoke.sh | 216 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | sweetpad-lib/ci/smoke.sh | 222 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | sweetpad-lib/ci/smoke.sh | 228 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | sweetpad-lib/ci/smoke.sh | 233 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sweetpad-lib/ci/smoke.sh | 254 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sweetpad-lib/ci/smoke.sh | 268 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sweetpad-lib/ci/smoke.sh | 277 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sweetpad-lib/ci/smoke.sh | 293 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sweetpad-lib/scripts/03_run_builds.py | 95 | def pick_representative_destination( | CODE |
| LOW | sweetpad-lib/scripts/06_audit_coverage.py | 216 | def probe_setting_key_present(key: str, label: str | None = None) -> Probe: | CODE |
| LOW | sweetpad-lib/scripts/common.py | 103 | def discover_installed_xcodes(apps_dir: Path = Path("/Applications")) -> list[XcodeInstall]: | CODE |
| LOW | sweetpad-lib/scripts/10_xcconfig_resolution.py | 162 | def capture_xcconfig_resolution( | CODE |
| LOW | sweetpad-lib/scripts/02_capture_metadata.py | 127 | def _pick_workspace_or_project(root: Path, *, label: str) -> Subproject | None: | CODE |
| LOW | sweetpad-lib/scripts/02_capture_metadata.py | 349 | def representative_destinations( | CODE |
| LOW | sweetpad-lib/scripts/02_capture_metadata.py | 408 | def destination_filename_slug(d: dict[str, str]) -> str: | CODE |
| LOW | sweetpad-vscode/src/__mocks__/devices.ts | 185 | export function createMockDeviceWithoutOS(): DeviceCtlDevice { | CODE |
| LOW | sweetpad-vscode/src/__mocks__/devices.ts | 200 | export function createMockDeviceWithoutUDID(): DeviceCtlDevice { | CODE |
| LOW | sweetpad-vscode/src/__mocks__/devices.ts | 212 | export function createMockDeviceWithoutName(): DeviceCtlDevice { | CODE |
| LOW | sweetpad-vscode/src/simulators/commands.ts | 124 | export async function removeSimulatorCacheCommand(deps: AppDeps) { | CODE |
| LOW | sweetpad-vscode/src/simulators/commands.ts | 155 | export async function openSimulatorStreamInBrowserCommand(deps: AppDeps, item?: SimulatorDestinationTreeItem) { | CODE |
| LOW | sweetpad-vscode/src/simulators/commands.ts | 165 | export async function copySimulatorStreamUrlCommand(deps: AppDeps, item?: SimulatorDestinationTreeItem) { | CODE |
| LOW | sweetpad-vscode/src/simulators/utils.ts | 31 | export function parseDeviceTypeIdentifier(deviceTypeIdentifier: string): SimulatorType | null { | CODE |
| LOW | sweetpad-vscode/src/destination/commands.ts | 12 | export async function searchDestinationsViewCommand(_deps: AppDeps) { | CODE |
| LOW | sweetpad-vscode/src/destination/commands.ts | 17 | export async function selectDestinationForBuildCommand(deps: AppDeps, item?: DestinationTreeItem) { | CODE |
| LOW | sweetpad-vscode/src/destination/commands.ts | 34 | export async function selectDestinationForTestingCommand(deps: AppDeps, item?: DestinationTreeItem) { | CODE |
| LOW | sweetpad-vscode/src/destination/commands.ts | 51 | export async function removeRecentDestinationCommand(deps: AppDeps, item?: DestinationTreeItem) { | CODE |
| LOW | sweetpad-vscode/src/destination/utils.ts | 19 | export function splitSupportedDestinatinos(options: { | CODE |
| LOW | sweetpad-vscode/src/bsp/commands.ts | 26 | export async function isSweetpadBuildServerActive(workspacePath: string): Promise<boolean> { | CODE |
| LOW | sweetpad-vscode/src/testing/commands.ts | 12 | export async function selectTestingTargetCommand(deps: AppDeps): Promise<void> { | CODE |
| LOW | sweetpad-vscode/src/testing/commands.ts | 32 | export async function testWithoutBuildingCommand(deps: AppDeps, ...items: vscode.TestItem[]): Promise<void> { | CODE |
| LOW | sweetpad-vscode/src/testing/commands.ts | 39 | export async function selectXcodeSchemeForTestingCommand(deps: AppDeps, item?: BuildTreeItem) { | CODE |
| LOW | sweetpad-vscode/src/testing/commands.ts | 61 | export async function selectConfigurationForTestingCommand(deps: AppDeps): Promise<void> { | CODE |
| LOW | sweetpad-vscode/src/testing/utils.ts | 71 | export async function askConfigurationForTesting( | CODE |
| LOW | sweetpad-vscode/src/testing/utils.ts | 121 | export async function selectDestinationForTesting( | CODE |
| LOW⚡ | sweetpad-vscode/src/system/commands.ts | 23 | export async function createIssueGenericCommand(deps: AppDeps) { | CODE |
| LOW⚡ | sweetpad-vscode/src/system/commands.ts | 31 | export async function createIssueNoSchemesCommand() { | CODE |
| LOW⚡ | sweetpad-vscode/src/system/commands.ts | 41 | export async function testErrorReportingCommand() { | CODE |
| LOW | sweetpad-vscode/src/common/tasks/shell-env.ts | 221 | function maybeNotifyShellEnvFailure(error: unknown): void { | CODE |
| LOW | sweetpad-vscode/src/common/tasks/presentation.ts | 5 | export function setTaskPresentationOptions(task: vscode.Task): void { | CODE |
| LOW | sweetpad-vscode/src/common/cli/scripts.ts | 348 | async function getBuildSettingsViaXcodebuild(options: { | CODE |
| LOW | sweetpad-vscode/src/common/cli/scripts.ts | 424 | export function isXcodeBuildCommandCustomized(): boolean { | CODE |
| LOW | sweetpad-vscode/src/common/cli/scripts.ts | 432 | export async function getBuildSettingsToAskDestination(options: { | CODE |
| LOW | sweetpad-vscode/src/common/cli/scripts.ts | 697 | export async function generateBuildServerConfig(options: { xcworkspace: string; scheme: string }) { | CODE |
| LOW | sweetpad-vscode/src/common/cli/scripts.ts | 734 | async function generateSweetpadBuildServerConfig(): Promise<void> { | CODE |
| LOW | sweetpad-vscode/src/common/cli/scripts.ts | 759 | async function handleSwiftPackageNativeLsp(packageManifest: string): Promise<void> { | CODE |
| LOW | sweetpad-vscode/src/common/cli/scripts.ts | 785 | async function generateXBSBuildServerConfig(options: { xcworkspace: string; scheme: string }): Promise<void> { | CODE |
| LOW | sweetpad-vscode/src/common/cli/scripts.ts | 860 | async function injectEnvIntoBuildServerConfig( | CODE |
| LOW | sweetpad-vscode/src/cli-server/builds.ts | 352 | function sessionCommandToBuildCommand(c: BuildSessionCommand): BuildCommand { | CODE |
| LOW | sweetpad-vscode/src/cli-server/service.ts | 20 | function extractSweetpadConfigKeys(context: vscode.ExtensionContext): string[] { | CODE |
| LOW | sweetpad-vscode/src/format/formatter.ts | 22 | export function registerRangeFormatProvider(formatter: SwiftFormattingProvider): vscode.Disposable { | CODE |
| LOW | sweetpad-vscode/src/debugger/provider.ts | 203 | export function registerDebugConfigurationProvider(options: { | CODE |
| LOW | sweetpad-vscode/src/previews/commands.ts | 38 | export async function screenshotPreviewVariantsCommand(deps: AppDeps, item?: PreviewItem) { | CODE |
| LOW | sweetpad-vscode/src/devices/merge.ts | 39 | function inferDeviceTypeFromXcdevice(xc: XcdeviceDevice): DeviceCtlDeviceType | null { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sweetpad-lib/scripts/03_run_builds.py | 50 | CODE | |
| LOW | sweetpad-lib/scripts/12_pif_dumps.py | 29 | CODE | |
| LOW | sweetpad-lib/scripts/22_spm_cli_oracle.py | 28 | CODE | |
| LOW | sweetpad-lib/scripts/04_snapshot_xcspecs.py | 30 | CODE | |
| LOW | sweetpad-lib/scripts/08_global_defaults.py | 33 | CODE | |
| LOW | sweetpad-lib/scripts/17_static_library.py | 24 | CODE | |
| LOW | sweetpad-lib/scripts/07_synthetic_overrides.py | 25 | CODE | |
| LOW | sweetpad-lib/scripts/07_synthetic_overrides.py | 29 | CODE | |
| LOW | sweetpad-lib/scripts/19_multimodule.py | 28 | CODE | |
| LOW | sweetpad-lib/scripts/06_audit_coverage.py | 31 | CODE | |
| LOW | sweetpad-lib/scripts/06_audit_coverage.py | 40 | CODE | |
| LOW | sweetpad-lib/scripts/16_capture_compiler_args.py | 45 | CODE | |
| LOW | sweetpad-lib/scripts/09_per_project_settings.py | 44 | CODE | |
| LOW | sweetpad-lib/scripts/09_per_project_settings.py | 48 | CODE | |
| LOW | sweetpad-lib/scripts/09_per_project_settings.py | 49 | CODE | |
| LOW | sweetpad-lib/scripts/05_validate.py | 27 | CODE | |
| LOW | sweetpad-lib/scripts/20_objc_headers.py | 22 | CODE | |
| LOW | sweetpad-lib/scripts/common.py | 16 | CODE | |
| LOW | sweetpad-lib/scripts/common.py | 28 | CODE | |
| LOW | sweetpad-lib/scripts/14_compare_versions.py | 35 | CODE | |
| LOW | sweetpad-lib/scripts/10_xcconfig_resolution.py | 34 | CODE | |
| LOW | sweetpad-lib/scripts/13_capture_version.py | 67 | CODE | |
| LOW | sweetpad-lib/scripts/15_custom_configuration.py | 36 | CODE | |
| LOW | sweetpad-lib/scripts/11_synthetic_xcconfigs.py | 38 | CODE | |
| LOW | sweetpad-lib/scripts/11_synthetic_xcconfigs.py | 43 | CODE | |
| LOW | sweetpad-lib/scripts/02_capture_metadata.py | 42 | CODE | |
| LOW | sweetpad-lib/scripts/00_bootstrap.py | 26 | CODE | |
| LOW | sweetpad-lib/scripts/01_clone_corpus.py | 26 | CODE | |
| LOW | sweetpad-lib/scripts/01_clone_corpus.py | 30 | CODE | |
| LOW | sweetpad-lib/scripts/18_rich_settings.py | 32 | CODE | |
| LOW | sweetpad-lib/scripts/toolshim/_shim.py | 22 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | sweetpad-cli/CLI_DESIGN.md | 113 | ## 3a. `project new` — scaffolding | COMMENT |
| MEDIUM | sweetpad-cli/src/cli/output.rs | 6 | //! small for the scaffold — render helpers grow alongside the commands. | COMMENT |
| MEDIUM | sweetpad-cli/src/cli/scaffold.rs | 831 | // Digits-and-dots isn't enough: these scaffold settings Xcode rejects. | COMMENT |
| MEDIUM | sweetpad-cli/src/cli/commands/project.rs | 1 | //! `sweetpad project …` — inspect and scaffold projects. | COMMENT |
| MEDIUM | sweetpad-cli/src/cli/commands/project.rs | 268 | /// Refuse to scaffold over an existing non-empty directory. `--force` waives the | COMMENT |
| MEDIUM | sweetpad-cli/src/cli/commands/project.rs | 335 | /// The outcome of a `project new` scaffold: the created project's facts. JSON | COMMENT |
| MEDIUM | sweetpad-cli/src/cli/commands/project.rs | 377 | /// Assemble the `Created` payload from the scaffold result. Derives the | COMMENT |
| MEDIUM⚡ | sweetpad-lib/ci/smoke.sh | 178 | # --current-dir variant: scaffold in place, name defaults to the directory. | COMMENT |
| MEDIUM | sweetpad-lib/scripts/01_clone_corpus.py | 42 | # Earlier scaffolding's `fixtures/` directory no longer exists. Patterns are | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sweetpad-lib/scripts/03_run_builds.py | 355 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/03_run_builds.py | 455 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/03_run_builds.py | 463 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/22_spm_cli_oracle.py | 167 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/04_snapshot_xcspecs.py | 199 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/08_global_defaults.py | 164 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/06_audit_coverage.py | 85 | except Exception: | CODE |
| LOW | sweetpad-lib/scripts/06_audit_coverage.py | 119 | except Exception: | CODE |
| LOW | sweetpad-lib/scripts/06_audit_coverage.py | 501 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/06_audit_coverage.py | 518 | except Exception: | CODE |
| LOW | sweetpad-lib/scripts/06_audit_coverage.py | 525 | except Exception: | CODE |
| LOW | sweetpad-lib/scripts/09_per_project_settings.py | 222 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/09_per_project_settings.py | 229 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/10_xcconfig_resolution.py | 112 | except Exception: | CODE |
| LOW | sweetpad-lib/scripts/10_xcconfig_resolution.py | 142 | except Exception: | CODE |
| LOW | sweetpad-lib/scripts/10_xcconfig_resolution.py | 287 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/13_capture_version.py | 592 | except Exception as e: # one bad version must not strand the rest | CODE |
| LOW | sweetpad-lib/scripts/15_custom_configuration.py | 335 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/11_synthetic_xcconfigs.py | 392 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/02_capture_metadata.py | 487 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/02_capture_metadata.py | 676 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/00_bootstrap.py | 117 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/01_clone_corpus.py | 209 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/01_clone_corpus.py | 225 | except Exception: | CODE |
| LOW | sweetpad-lib/scripts/01_clone_corpus.py | 358 | except Exception as e: | CODE |
| LOW | sweetpad-lib/scripts/toolshim/_shim.py | 75 | except Exception: | CODE |
| LOW | sweetpad-lib/scripts/toolshim/_shim.py | 114 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | sweetpad-cli/src/cli/swiftpm.rs | 165 | /// keep it raw and inspect the key, which is robust against new product kinds. | COMMENT |
| MEDIUM | sweetpad-cli/src/cli/commands/dependency.rs | 1259 | /// the precise identity→subpath map in `workspace-state.json` (robust to | COMMENT |
| MEDIUM | sweetpad-lib/scripts/21_mutation_audit.py | 101 | """Run one net and classify by exit status — robust to output formatting. | STRING |
| MEDIUM | sweetpad-lib/scripts/19_multimodule.py | 47 | # ModuleB imports ModuleA — the cross-module edge the BSP harness measures. | STRING |
| MEDIUM | sweetpad-lib/src/xcode.rs | 155 | /// the install path. Cheaper and more robust than stat-ing every spec — | COMMENT |
| MEDIUM | sweetpad-lib/src/catalog_cache.rs | 131 | /// Cheaper and more robust when the caller already knows the source identity — | COMMENT |
| MEDIUM | sweetpad-docs/package-lock.json | 17585 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |
| MEDIUM | sweetpad-core/tests/bsp_lsp_e2e.rs | 94 | #[allow(clippy::too_many_lines)] // a linear end-to-end harness reads clearer in one piece | COMMENT |
| MEDIUM | sweetpad-core/tests/scheme_planner.rs | 24 | /// entry — robust enough without pulling in a JSON parser dependency. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sweetpad-lib/scripts/03_run_builds.py | 405 | CODE | |
| LOW | sweetpad-lib/scripts/06_audit_coverage.py | 71 | CODE | |
| LOW | sweetpad-lib/scripts/06_audit_coverage.py | 466 | CODE | |
| LOW | sweetpad-lib/scripts/09_per_project_settings.py | 101 | CODE | |
| LOW | sweetpad-lib/scripts/09_per_project_settings.py | 141 | CODE | |
| LOW | sweetpad-lib/scripts/09_per_project_settings.py | 203 | CODE | |
| LOW | sweetpad-lib/scripts/common.py | 403 | CODE | |
| LOW | sweetpad-lib/scripts/common.py | 471 | CODE | |
| LOW | sweetpad-lib/scripts/10_xcconfig_resolution.py | 255 | CODE | |
| LOW | sweetpad-lib/scripts/13_capture_version.py | 524 | CODE | |
| LOW | sweetpad-lib/scripts/02_capture_metadata.py | 475 | CODE | |
| LOW | sweetpad-lib/scripts/02_capture_metadata.py | 652 | CODE | |
| LOW | sweetpad-lib/scripts/01_clone_corpus.py | 145 | CODE | |
| LOW | sweetpad-lib/scripts/toolshim/_shim.py | 43 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | sweetpad-vscode/scripts/publish-patch.sh | 6 | # Step 1: Verify font optimization is correct | COMMENT |
| LOW⚡ | sweetpad-vscode/scripts/publish-patch.sh | 10 | # Step 2: Bump the version | COMMENT |
| LOW⚡ | sweetpad-vscode/scripts/publish-patch.sh | 14 | # Step 3: Push changes to main | COMMENT |
| LOW⚡ | sweetpad-vscode/scripts/publish-patch.sh | 18 | # Step 4: Publish tag | COMMENT |
| LOW⚡ | sweetpad-vscode/scripts/publish-patch.sh | 22 | # Step 5: Open GitHub Actions page | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | sweetpad-vscode/scripts/publish-patch.sh | 6 | # Step 1: Verify font optimization is correct | COMMENT |
| LOW⚡ | sweetpad-vscode/scripts/publish-patch.sh | 10 | # Step 2: Bump the version | COMMENT |
| LOW⚡ | sweetpad-vscode/scripts/publish-patch.sh | 14 | # Step 3: Push changes to main | COMMENT |
| LOW⚡ | sweetpad-vscode/scripts/publish-patch.sh | 18 | # Step 4: Publish tag | COMMENT |
| LOW⚡ | sweetpad-vscode/scripts/publish-patch.sh | 22 | # Step 5: Open GitHub Actions page | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | sweetpad-lib/scripts/06_audit_coverage.py | 15 | the probe reports "not evaluable" (ok: null) instead of a false ❌, and the | STRING |
| HIGH | sweetpad-lib/scripts/common.py | 73 | notes="Subset of fixtures/, requires `tuist install && tuist generate`", | CODE |
| HIGH | sweetpad-lib/scripts/01_clone_corpus.py | 13 | resources). It then runs `tuist install && tuist generate` per selected | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sweetpad-lib/scripts/07_synthetic_overrides.py | 176 | and "placeholder" not in d.get("id", "").lower() | CODE |
| LOW | sweetpad-lib/scripts/10_xcconfig_resolution.py | 150 | and "placeholder" not in d.get("id", "") \ | CODE |
| LOW | sweetpad-lib/scripts/02_capture_metadata.py | 272 | targets. They have id values containing 'Placeholder' / 'placeholder', | STRING |
| LOW | sweetpad-lib/scripts/02_capture_metadata.py | 276 | if "Placeholder" in pid or "placeholder" in pid: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sweetpad-lib/scripts/14_compare_versions.py | 93 | CODE |