Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.
118 of your 201 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.
Upstream (GitHub) caused delay on this scan — not Repobility.
  • GitHub API rate-limited (HTTP 403) — preflight skipped, fell back to direct git clone.
  • Clone from GitHub took 46.76s for a 203.6 MB repo slow.
  • Repobility's analysis ran in 157.85s after the clone landed.

swiftlang/swift

https://github.com/swiftlang/swift · scanned 2026-06-05 08:35 UTC (5 days, 19 hours ago) · 10 languages

348 raw signals (189 security + 159 graph) 11/13 scanners ran System graph score 100 (lower by 18)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 5 days, 19 hours ago · v2 · 212 actionable findings from 2 signal sources. 135 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 65.0 0.15 9.75
security_score 100.0 0.25 25.00
testing_score 90.0 0.20 18.00
documentation_score 88.0 0.15 13.20
practices_score 65.0 0.15 9.75
code_quality 59.0 0.10 5.90
Overall 1.00 81.6
security_score may be inflated — optional security scanners were skipped on this fast scan
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade A- (82/100). Dimensions: security 100, maintainability 65. 189 findings (7 security). 11,352,320 lines analyzed.

Showing 131 of 212 actionable findings. 347 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high Security checks quality Quality conf 1.00 ✓ Repobility 6 occurrences [MINED107] Missing import: `platform` used but not imported: The file uses `platform.something(...)` but never imports `platform`. This raises NameError at runtime the first time the line executes.
Add `import platform` at the top of the file.
6 files, 6 locations
utils/api_checker/swift-api-checker.py:50
utils/build_swift/build_swift/presets.py:60
utils/cmpcodesize/cmpcodesize/compare.py:302
utils/gyb.py:1124
utils/swift_build_support/swift_build_support/products/cmake_product.py:139
utils/swift_build_support/swift_build_support/toolchain.py:224
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED036] Python Os System Call: os.system() invokes shell with no escaping.
Review and fix per the pattern semantics. See CWE-78 / for context.
utils/resolve-crashes.py:14
high Security checks quality Quality conf 1.00 ✓ Repobility 3 occurrences [MINED038] Swift Try Bang: try! crashes on thrown error. Use try? or do/catch.
Review and fix per the pattern semantics. See CWE-755 / for context.
3 files, 3 locations
benchmark/Package.swift:24
benchmark/multi-source/Monoids/Trie.swift:12
benchmark/single-source/CodableTest.swift:88
high Security checks quality Quality conf 1.00 ✓ Repobility 25 occurrences [MINED108] `self.categorize_by_name` used but never assigned in __init__: Method `add` of class `Categories` reads `self.categorize_by_name`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
Initialize `self.categorize_by_name = <default>` in __init__, or add a class-level default.
3 files, 25 locations
utils/analyze_code_size.py:296, 298, 301, 303, 305, 307, 310, 321, +7 more (15 hits)
utils/swift-bench.py:96, 100, 128, 129, 130, 131, 132, 133 (8 hits)
utils/rusage.py:56, 71 (2 hits)
high Security checks security path traversal conf 0.80 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
Use os.path.realpath() and verify the path starts with your expected base directory. Use secure_filename() for uploads.
utils/swift-build-modules.py:49
high Security checks security path traversal conf 0.80 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
Use os.path.realpath() and verify the path starts with your expected base directory. Use secure_filename() for uploads.
utils/optimizer_counters_to_sql.py:131
high System graph security security conf 1.00 Insecure pattern 'eval_used' in utils/gyb.py:712
Found a known-risky pattern (eval_used). Review and replace if possible.
utils/gyb.py:712 Eval used
high System graph security security conf 1.00 Insecure pattern 'eval_used' in utils/process-stats-dir.py:470
Found a known-risky pattern (eval_used). Review and replace if possible.
utils/process-stats-dir.py:470 Eval used
medium Security checks quality Quality conf 1.00 ✓ Repobility 11 occurrences [MINED109] Mutable default argument in `find_profiles_in` (list): `def find_profiles_in(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def find_profiles_in(x=None): x = x or []`
7 files, 11 locations
utils/jobstats/jobstats.py:249, 275, 299, 353 (4 hits)
utils/swift_build_support/swift_build_support/products/swiftsyntax.py:51, 91 (2 hits)
utils/swift_build_support/swift_build_support/products/skstresstester.py:56
utils/swift_build_support/swift_build_support/products/sourcekitlsp.py:51
utils/swift_build_support/swift_build_support/products/swiftdocc.py:52
utils/swift_build_support/swift_build_support/products/swiftformat.py:56
utils/swift_build_support/swift_build_support/products/swiftpm.py:45
medium Security checks security path traversal conf 1.00 [SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation allows writing files outside the target directory.
Validate extracted paths with os.path.realpath() and ensure they stay within the target directory.
utils/download-unpublished-toolchains.py:55
low Security checks quality Error handling conf 0.55 ✓ Repobility 12 occurrences Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
8 files, 12 locations
utils/update_checkout/update_checkout/update_checkout.py:83, 231, 304 (3 hits)
utils/process-stats-dir.py:475, 509 (2 hits)
utils/swift_build_sdk_interfaces.py:317, 371 (2 hits)
utils/api_checker/swift-api-checker.py:38
utils/build_swift/build_swift/presets.py:298
utils/swift_build_support/swift_build_support/products/product.py:380
utils/update_checkout/update_checkout/parallel_runner.py:82
utils/update_checkout/update_checkout/retry.py:32
Error handlingquality
medium Security checks quality Quality conf 0.82 12 occurrences Parallel implementation file sits beside a canonical file
Merge the intended change into the canonical file, update tests/imports, and delete the parallel implementation if it is not the active entry point.
12 files, 12 locations
test/AssociatedTypeInference/rdar167849997_fixed.swift:1
test/ClangImporter/enum-new.swift:1
test/Generics/inverse_signatures_assoc_types_old.swift:1
test/IRGen/raw_layout_old.swift:1
test/ModuleInterface/associated_type_suppressed_old.swift:1
test/Parse/ConditionalCompilation/pound-if-top-level-clean.swift:1
test/Runtime/crash_without_backtrace_optimized.swift:1
test/SILGen/property_wrappers_final.swift:1
medium Security checks quality Quality conf 0.78 15 occurrences Suspicious implementation file appears unreferenced
Confirm whether this file is reachable. If not, delete it; if yes, wire it through explicit imports, routes, or entry points and add a test that proves the path executes.
12 files, 12 locations
test/AssociatedTypeInference/rdar167849997_fixed.swift:1
test/AutoDiff/compiler_crashers_fixed/rdar71191415-nested-differentiation-of-extension-method-optimized.swift:1
test/Concurrency/Runtime/async_task_locals_in_task_group_may_need_to_copy.swift:1
test/Constraints/salvage_fixed.swift:1
test/Generics/inverse_scoping_assoc_types_old.swift:1
test/Generics/inverse_signatures_assoc_types_old.swift:1
test/ModuleInterface/ModuleCache/Inputs/check-is-new.py:1
test/ModuleInterface/ModuleCache/Inputs/check-is-old.py:1
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — benchmark/scripts/build_linux.py:27
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — benchmark/scripts/build_script_helper.py:42
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — benchmark/scripts/perf_test_driver/perf_test_driver.py:130
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — test/Inputs/process_fine_grained_swiftdeps.py:10
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — test/Inputs/process_fine_grained_swiftdeps_with_fingerprints.py:10
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/analyze_code_size.py:474
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/android/adb/commands.py:37
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/api_checker/swift-api-checker.py:46
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/bug_reducer/bug_reducer/opt_bug_reducer.py:141
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/bug_reducer/bug_reducer/random_bug_finder.py:17
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/bug_reducer/bug_reducer/subprocess_utils.py:7
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/bug_reducer/bug_reducer/swift_tools.py:236
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/build_swift/build_swift/migration.py:128
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/build_swift/build_swift/shell.py:292
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/check_freestanding_dependencies.py:71
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/check_freestanding_size.py:48
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/cmpcodesize/cmpcodesize/compare.py:70
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/download-unpublished-toolchains.py:37
`urllib.request.urlopen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/embedded-test-support/embedded-test-support.py:23
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/lldb/lldbToolBox.py:63
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/pass-pipeline/scripts/pipelines_build_script.py:34
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/sil-opt-verify-all-modules.py:149
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/swift-api-dump.py:131
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/swift-bench.py:97
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/swift-build-modules.py:98
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/swift-darwin-postprocess.py:51
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — utils/swift-rpathize.py:75
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — validation-test/SIL/verify_all_overlays.py:61
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). Either auth lives in custom code, in a separate service, or is missing.
auth
medium System graph cicd CI/CD security conf 1.00 No CI/CD pipelines detected
No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints.
CI/CD securityCoverage
low Security checks quality Quality conf 0.64 8 occurrences Duplicate top-level symbol appears in a patch-style file
Keep one authoritative implementation, update imports to point at it, and remove or rename the duplicate symbol.
8 files, 8 locations
test/PrintAsObjC/Inputs/reintroduced-new.swift:1
test/SILGen/objc_final.swift:1
test/SILGen/property_wrappers_final.swift:1
test/SILGen/vtable_thunks_reabstraction_final.swift:1
test/Sema/copy_expr_noimplicit_copy.swift:1
test/attr/attr_final.swift:1
test/decl/protocol/special/coding/class_codable_simple_conditional_final.swift:1
test/decl/protocol/special/coding/class_codable_simple_extension_final.swift:1
low Security checks quality Quality conf 0.60 Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
include/swift/Basic/DiverseStack.h:155 duplicationquality
high Security checks quality Quality conf 0.62 17 occurrences Source file name looks like an AI patch artifact
Rename it to the domain concept it implements or merge it into the existing module it was meant to change.
12 files, 12 locations
test/AutoDiff/compiler_crashers_fixed/rdar71191415-nested-differentiation-of-extension-method-optimized.swift:1
test/ClangImporter/Inputs/enum-new.h:1
test/Concurrency/Runtime/async_task_locals_in_task_group_may_need_to_copy.swift:1
test/Constraints/salvage_fixed.swift:1
test/Generics/inverse_scoping_assoc_types_old.swift:1
test/IRGen/select_enum_optimized.swift:1
test/ModuleInterface/ModuleCache/Inputs/check-is-new.py:1
test/ModuleInterface/ModuleCache/Inputs/make-old.py:1
low System graph quality Maintenance conf 1.00 130 TODO/FIXME markers
High count of TODO/FIXME/HACK markers — track them as issues so they're not forgotten.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: benchmark/utils/convertToJSON.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: docs/conf.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/CAS/Inputs/ExtractOutputKey.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/CAS/Inputs/GenerateExplicitModuleMap.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/CAS/Inputs/PrintResponseFile.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/CAS/Inputs/SwiftDepsExtractor.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/Driver/Inputs/crash-after-generating-pch.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/Driver/Inputs/crash.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/Driver/Inputs/fail.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/Driver/Inputs/filelists/check-filelist-abc.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/Driver/Inputs/filelists/fake-ld.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/Inputs/getmtime.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/Inputs/not.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/Inputs/process_fine_grained_swiftdeps.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/Inputs/process_fine_grained_swiftdeps_with_fingerprints.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/Inputs/symlink.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/ModuleInterface/Inputs/make-unreadable.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/ModuleInterface/ModuleCache/Inputs/check-is-forwarding-module.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/ModuleInterface/ModuleCache/Inputs/check-is-new.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/ModuleInterface/ModuleCache/Inputs/check-is-old.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/ModuleInterface/ModuleCache/Inputs/make-old.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/ModuleInterface/swift_build_sdk_interfaces/machine-parseable-monotonic-version.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/ScanDependencies/Inputs/CommandRunner.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/Serialization/Inputs/binary_sub.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/SourceKit/Inputs/sourcekitd_path_sanitize.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test/TypeRoundTrip/Inputs/build-modules.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: utils/android/adb_clean.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: utils/android/adb_push_built_products.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: utils/android/adb_test_runner.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: utils/check_freestanding_dependencies.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: utils/check_freestanding_size.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: utils/cmpcodesize/cmpcodesize.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: utils/cmpcodesize/setup.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: utils/create-filecheck-test.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: utils/pass-pipeline/scripts/pipeline_generator.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: utils/pass-pipeline/src/passes.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: utils/split_file.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: utils/swift_build_support/run_tests.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: utils/update_checkout/run_tests.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: validation-test/Driver/many-inputs.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: validation-test/Evolution/Inputs/keypaths_gyb.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: validation-test/ParseableInterface/verify_all_overlays.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: validation-test/SIL/verify_all_overlays.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph quality Integrity conf 1.00 14 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: utils/analyze_code_size.py:is_class_type_, utils/analyze_code_size.py:is_class_type This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
14 occurrences
repo-level (14 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: utils/analyze_code_size.py:add, utils/analyze_code_size.py:add, utils/analyze_code_size.py:add This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're sepa…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: utils/gyb.py:execute, utils/gyb.py:execute, utils/gyb.py:execute, utils/gyb.py:execute This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `full_old` in utils/process-stats-dir.py:85
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `IsDeprecated` in utils/gyb_sourcekit_support/UIDs.py:117
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `match_legacy` in benchmark/scripts/compare_perf_tests.py:507
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `sourcekitd_request_description_copy` in tools/SourceKit/bindings/python/sourcekitd/capi.py:105
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: actualOrders
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/SwiftAtomics.py:98
low System graph software Dead code conf 1.00 Possibly dead Python function: all_integer_assignment_operator_names
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/SwiftIntTypes.py:134
low System graph software Dead code conf 1.00 Possibly dead Python function: all_integer_binary_operator_names
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/SwiftIntTypes.py:126
low System graph software Dead code conf 1.00 Possibly dead Python function: all_integer_or_real_assignment_operator_names
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/SwiftIntTypes.py:138
low System graph software Dead code conf 1.00 Possibly dead Python function: all_integer_or_real_binary_operator_names
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/SwiftIntTypes.py:130
low System graph software Dead code conf 1.00 Possibly dead Python function: all_numeric_type_names
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/SwiftIntTypes.py:116
low System graph software Dead code conf 1.00 Possibly dead Python function: all_signed_types
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/SwiftIntTypes.py:75
low System graph software Dead code conf 1.00 Possibly dead Python function: argLabel
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/SwiftAtomics.py:137
low System graph software Dead code conf 1.00 Possibly dead Python function: atomicOperationName
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/SwiftAtomics.py:125
low System graph software Dead code conf 1.00 Possibly dead Python function: clazz
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/type-layout-fuzzer.py:134
low System graph software Dead code conf 1.00 Possibly dead Python function: defineRandomBaseClass
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/type-layout-fuzzer.py:99
low System graph software Dead code conf 1.00 Possibly dead Python function: defineRandomRelatedType
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/type-layout-fuzzer.py:54
low System graph software Dead code conf 1.00 Possibly dead Python function: dump_module_api_star
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/swift-api-dump.py:173
low System graph software Dead code conf 1.00 Possibly dead Python function: hexReplace
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/chex.py:13
low System graph software Dead code conf 1.00 Possibly dead Python function: inheritNSObject
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/type-layout-fuzzer.py:92
low System graph software Dead code conf 1.00 Possibly dead Python function: inheritsNothing
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/type-layout-fuzzer.py:105
low System graph software Dead code conf 1.00 Possibly dead Python function: inheritsOtherClass
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/type-layout-fuzzer.py:95
low System graph software Dead code conf 1.00 Possibly dead Python function: keyfunc
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/process-stats-dir.py:384
low System graph software Dead code conf 1.00 Possibly dead Python function: leaf
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/type-layout-fuzzer.py:66
low System graph software Dead code conf 1.00 Possibly dead Python function: llvmToCaseName
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/SwiftAtomics.py:112
low System graph software Dead code conf 1.00 Possibly dead Python function: lowerFirst
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/SwiftAtomics.py:133
low System graph software Dead code conf 1.00 Possibly dead Python function: metatype
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/type-layout-fuzzer.py:63
low System graph software Dead code conf 1.00 Possibly dead Python function: nominal
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/type-layout-fuzzer.py:45
low System graph software Dead code conf 1.00 Possibly dead Python function: numeric_type_names_macintosh_only
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/SwiftIntTypes.py:120
low System graph software Dead code conf 1.00 Possibly dead Python function: process_module
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/swift_build_sdk_interfaces.py:241
low System graph software Dead code conf 1.00 Possibly dead Python function: set_up_child
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/swift_build_sdk_interfaces.py:324
low System graph software Dead code conf 1.00 Possibly dead Python function: should_define_truncating_bit_pattern_init
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils/SwiftIntTypes.py:89
low System graph quality Integrity conf 1.00 Stub function `inheritsNothing` (body is just `pass`/`return`) — utils/type-layout-fuzzer.py:105
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `install` (body is just `pass`/`return`) — utils/swift_build_support/swift_build_support/products/benchmarks.py:84
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `install` (body is just `pass`/`return`) — utils/swift_build_support/swift_build_support/products/indexstoredb.py:63
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `install` (body is just `pass`/`return`) — utils/swift_build_support/swift_build_support/products/swiftinspect.py:62
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `install` (body is just `pass`/`return`) — utils/swift_build_support/swift_build_support/products/tsan_libdispatch.py:94
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `test` (body is just `pass`/`return`) — utils/swift_build_support/swift_build_support/products/wasiswiftsdk.py:314
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Complexity conf 1.00 Very large file: utils/build_swift/build_swift/driver_arguments.py (1866 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/0fee15a0-6220-4642-adc2-08c4c9187ee2/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/0fee15a0-6220-4642-adc2-08c4c9187ee2/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.