Skip to content

Analysis

The goal of Periphery is to report instances of unused declarations. A declaration is a class, struct, protocol, function, property, constructor, enum, typealias, associatedtype, etc. As you’d expect, Periphery can identify simple unreferenced declarations, e.g., a class that is no longer used anywhere in your codebase.

Periphery can also identify more advanced instances of unused code. The following sections explain these in detail.