periphery
« Back to VersTracker
Description:
Identify unused code in Swift projects
Type: Formula  |  Latest Version: 3.3.0@0  |  Tracked Since: Dec 13, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: swift static-analysis code-quality developer-tools unused-code
Install: brew install periphery
About:
Periphery is a static analysis tool that identifies unused code in Swift projects. It analyzes your project's codebase to find unused classes, methods, properties, and other declarations. This helps developers clean up their codebase, reduce technical debt, and improve maintainability.
Key Features:
  • Detects unused code with high accuracy
  • Supports Swift Package Manager and Xcode projects
  • Configurable analysis with fine-grained exclusion rules
  • Outputs results in multiple formats including JSON and Xcode-compatible warnings
Use Cases:
  • Refactoring large Swift codebases to remove dead code
  • Continuous integration to prevent accumulation of unused code
  • Codebase cleanup before major releases
Alternatives:
  • SwiftLint – SwiftLint focuses on code style and linting rules, while Periphery specifically targets unused code detection through static analysis
Version History
Detected Version Rev Change Commit
Dec 13, 2025 8:41pm 0 VERSION_BUMP a274ae3c
Dec 13, 2025 8:05pm 0 VERSION_BUMP 9e87633f
Dec 28, 2024 11:27pm 0 VERSION_BUMP 6ca87a76
Dec 28, 2024 11:01pm 0 VERSION_BUMP 593d905b
Dec 26, 2024 7:29pm 0 NEW 6e708fbd