How to quickly detect unused source code of greenrobot EventBus?

Viewed 213

I have a complex Android project which needs to be refactoring. It implements lots of publisher and subscriber base on greenrobot EventBus v3.0.0.
How to detect unused source code or dead code quickly?
Android Lint or other Java static scan tools can not discover them.

I found eventbus3-intellij-plugin maybe helpful to check Post without Subscribe and Subscribe without Post.

I know the root solution is to go through every code and do code review with coworkers.
I want to know is there any other tools or methods can speed up this process.

0 Answers
Related