A tool to identify unused code in Swift projects. The scan command is Periphery's primary function. To begin a guided setup, simply change to your project directory. To get coherent results from Periphery, it's crucial to understand the implications of the build targets you choose to analyze. For example, imagine a project consisting of three targets: App, Lib and Tests. The App target imports Lib, and the Tests targets imports both App and Lib. If you were to provide all three to the --targets option then Periphery will be able to analyze your project as a whole. However, if you only choose to analyze App and Lib, but not Tests, Periphery may report some instances of unused code that are only referenced by Tests. Therefore when you suspect Periphery has provided an incorrect result, it's important to consider the targets that you have chosen to analyze.

Features

  • Periphery first builds your project
  • For Xcode projects the schemes provided via the --schemes option are built using xcodebuild
  • After your project is built, Periphery performs an indexing phase
  • Once indexing is complete, Periphery analyzes the graph to identify unused code
  • The goal of Periphery is to report instances of unused declarations
  • Periphery can identify unused function parameters

Project Samples

Project Activity

See All Activity >

Categories

Code Review

License

MIT License

Follow Periphery

Periphery Web Site

Other Useful Business Software
Accounting practice management software Icon
Accounting practice management software

Accountants, accounting firms, tax attorneys, tax professionals

Canopy is a cloud-based practice management software for accounting and tax firms, offering tools for client engagement, document management, workflow automation, and time & billing. Its Client Engagement platform centralizes interactions with a secure portal, customizable branding, and email integration, while the Document Management system enables organized, paperless file storage. The Workflow module enhances visibility into tasks and projects through templates, task assignments, and automation, reducing human error. Additionally, the Time & Billing feature tracks billable hours, generates invoices, and processes payments, ensuring accurate financial management. With its comprehensive features, Canopy streamlines operations, reduces stress, and enhances client experiences.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Periphery!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Swift

Related Categories

Swift Code Review Software

Registered

2023-05-29