periphery
periphery copied to clipboard
A tool to identify unused code in Swift projects.
Hi! Since version 2.20.0, periphery.artifactbundle.zip does not contain the info.json file because the release script will delete this dir later. As a fix, we can remove/make .release dir before using.
I'm currently using periphery for my project, and I've noticed that it lacks the ability to automatically scan all targets that are connected to a scheme. This functionality would be...
I read this line in the readme > Run Periphery once for each build configuration and merge the results. You can pass arguments to the underlying build by specifying them...
I have the following code for tooltips in particular: ``` @available(iOS 17.0, *) struct TestTip: Tip { // swiftlint:disable redundant_type_annotation @Parameter static var testBool: Bool = false var rules: [Rule]...
Using Xcode 15.2, periphery 2.18.0. I want to use periphery also to scan generated code from SwiftGen, R.swift, Xcode or macros. For SwiftGen and R.swift it's not a big deal,...
Running following command on Jenkins `$MINT run periphery scan --skip-build --index-store-path ./.derivedData/Index.noindex/DataStore --format checkstyle > periphery.xml ` caused an issue: `error: Shell command '/usr/bin/env xcodebuild -project XXXX.xcodeproj -list -json' returned...
```bash periphery version 2.18.0 ``` Given the code example: ```swift class ViewControllerWebView: UIViewController { let webView = WKWebView() // … override func viewDidLoad() { super.viewDidLoad() webView.navigationDelegate = self } }...
We are running periphery scan with only the parameters `--workspace` , `--schemes`, `--targets` , we notice that subclasses of NSObject are not flagged as unused. I know you mention in...
I decided to separate Configuration and here is why. First of all, it's a big piece of logic. And it should be well separated. Also I'm planning to make it...
Is this not available in 3.0 beta? ``` periphery scan --auto-remove error: Unknown option '--auto-remove' Usage: periphery scan [] [ ...] See 'periphery scan --help' for more information. ``` yet...