# peripheryapp/periphery

A tool to identify unused code in Swift projects.

Repository: https://github.com/peripheryapp/periphery
Canonical: https://ross.abutalabs.com/products/periphery
Language: Swift
License: MIT
License Family: permissive
Topics: swift, xcode, ios, macos, apple
Archived: true
Last push: 2026-08-12T09:22:11+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 95, longevity 100
- inputs: {"age_days": 2761, "days_push": 21, "days_rel": 39, "gap_med": 24.0, "n_releases_24m": 19}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6182, forks 239 (observed 2026-08-28T04:09:38.645393+00:00)

## What it is
Periphery is a tool that identifies unused code in Swift projects, detecting dead code such as unused functions, properties, and imports. The original open-source repository is preserved as a historical record after the project transitioned to a commercial product, though it remains forkable.

## Use cases
- find unused code in my swift project
- detect dead code in xcode projects
- identify unused functions and properties in swift
- remove unused imports from ios codebase
- run dead code analysis in ci for swift
- clean up assign-only properties in swift

## When to choose
- you maintain a Swift, iOS, or macOS codebase and want to eliminate dead code
- you need dead-code detection integrated into Xcode or CI pipelines
- you want a forkable open-source version to build upon

## When to avoid
- you need active open-source development or official support - the project is now commercial
- you work outside the Swift/Apple ecosystem
- you want guaranteed updates - the repo is preserved as a historical record only

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: linter, developer-tools, code-review
- domain: developer-tools, apple-ecosystem
- platform: cli
- tags: dead-code-detection, swift, xcode, static-analysis, ci-integration, commercial-transition, command-line, macos, linux

## Member repositories
- peripheryapp/periphery (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:38.645393+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:47:24.563810+00:00, confidence not recorded.
  - readme: https://github.com/peripheryapp/periphery (fetched 2026-08-28T04:09:38.645393+00:00, sha 929bdee42e4c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
