Reaper AI
Automatically delete dead code from your app
Only available for iOS
ReaperAI is currently only available for iOS.
Once you have started collecting data for dead code in your app with our Reaper SDK, ReaperAI allows you to automatically delete said code. In our UI, simply select the types you want to delete and our LLM will get to work. Once finished, our Github bot will open a pull request with the code changes.
Installation
Source code access
ReaperAI requires source code access in order to delete code and open pull requests.
Start by adding our Emerge Tools AI Github App to your app repository.
Deleting classes
Individual types can be selected in our UI for deletion. Once you've selected all of the types you'd like to delete, we will attempt to open a single pull request with all of the deletions.
![](https://files.readme.io/fe078aa-Screenshot_2024-05-03_at_4.16.01_PM.png)
Deleting unused protocols
In addition to dynamic analysis of Reaper, we statically analyze whether there are any protocols with no conformances in your app binary.
![](https://files.readme.io/6c9ee7e-Screenshot_2024-05-03_at_4.18.53_PM.png)
Optimizing images
Images flagged by our Size Analysis insight can be automatically optimized to their best format and compression.
![](https://files.readme.io/79b76f8-Screenshot_2024-07-15_at_3.22.36_PM.png)
Viewing results
After triggering code Reaper to delete code, we show a simple summary of the lines removed and also have a link to past runs that have been triggered.
![](https://files.readme.io/c71d903-Screenshot_2024-05-03_at_4.22.06_PM.png)
Updated about 2 months ago