Can findbugs detect unused public methods

后端 未结 8 1621
死守一世寂寞
死守一世寂寞 2020-12-19 04:45

Is it possible to detect unused methods in a source tree using FindBugs? I see some posts on SO where users are claiming to do that, some others asking how to do this in FB

8条回答
  •  萌比男神i
    2020-12-19 05:22

    I have a project i'm currently working on that does just this.... It's very early on tho, so probably a bunch of bugs left:

    https://github.com/mebigfatguy/deadmethods

提交回复
热议问题