-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New plugin: com.palantir.baseline-dead-code #2500
base: develop
Are you sure you want to change the base?
Conversation
Generate changelog in
|
I gave this a shot on the foundry/magritte repo internally and found a bunch of dead code! 🎆 One future ER is that it'd be nice to be able to add another project in a repo as a live set of classes, in addition to the |
Before this PR
Recently I've been tasked with deleting codepaths that have been superseded by newer codepaths. Historically, it's been hard to do this because there is no static analysis that repos run regularly to find dead code. There is some functionality in IntelliJ to identify methods which are unused, but this has a couple of key deficiencies:
After this PR
==COMMIT_MSG==
New plugin: com.palantir.baseline-dead-code
==COMMIT_MSG==
Possible downsides?