How can I find all unused methods of my project in the Android Studio IDE?

前端 未结 2 963
无人及你
无人及你 2020-12-29 01:07

How can I find all unused methods and variables of my project in the Android Studio IDE?

2条回答
  •  被撕碎了的回忆
    2020-12-29 01:18

    You can also install the QAPlug via File -> Settings -> Plugins -> Browse Repositories -> QAPlug.

    For Mac:

    Android Studio -> Preferences... -> Plugins -> Browse Repositories -> QAPlug.
    

    In QAPlug is PMD, FindBugs, Checkstyle and Hammurapi integrated. These tools are very nice to find dead code, bugs, increase performance and make the code more readable. I highly recommend those tools if you work for a bigger project.

提交回复
热议问题