periphery
periphery copied to clipboard
A tool to identify unused code in Swift projects.
Hi there, I want to ask, is it possible to exclude class that inherit from Codable? Since i have so many warning related to unused property but it actually used...
Running periphery scan without any arguments is successful, but if I add --report-exclude myProj/**/*example.swift it gives me error: Shell command '/bin/sh -c xcodebuild -workspace 'Users/user/proj/ProjConsumer.xcworkspace' ... periphery scan myProjConsumer/exampleFolder/fileExample.swift returned...
It would be nice to create a baseline feature when legacy warnings are too numbered.
After updating Periphery to 2.18.0, properties in our Codable and Encodable structures started being marked as unused. This issue was not present in version 2.17.1. Affected structures are used with...
Classes that are never referred to directly (only through protocols) should still be retained.
When `--report-exclude` contains a pipe-separated list, it has no effect; no item from the list is taken into account. For example, this properly excludes FileA: `--report-exclude 'FileA.swift'` But this excludes...
# Summary Setting a custom principal class (as declared in the Info.plist file under the `NSPrincipalClass` key) is not recognized by Periphery. This means it can report the class as...
When I try to build the project using `xcodebuild` command it builds successfully, but when I try to run **Periphery**, it gives me an error that I don't have access...
I'm currently running into issue #675 , so I was looking for a workaround for that. I though that maybe the combination of `--skip-build` and `--index-store-path` might resolve this, and...