findbugs- 用於查看代碼中可能隱藏的風險。
從plugin下載,如果無法獲取,可以通過以下網址下載,載入。
https://plugins.jetbrains.com/plugin/3847-findbugs-idea/versions
然后下載findbugs的內部插件
https://find-sec-bugs.github.io/download.htm
然后在setting中找到findbugs后,點擊安裝其內部插件。
注意:idea-2020版不再支持findbugs,改用spotbugs代替。
spotbugs : https://plugins.jetbrains.com/plugin
如果需要更加多或者嚴格的校驗,可以添加額外插件。
https://github.com/mebigfatguy/fb-contrib (使用sb版本)
https://find-sec-bugs.github.io/download.htm