Netbeans IDE 有什么样的错误检测分析?

发布于 2025-01-01 06:36:06 字数 106 浏览 2 评论 0原文

我正在对 Netbeans IDE 进行一些研究。我的意思是,当 Netbeans 已经有内置的错误检测系统时,为什么还要使用 ActionPMD 和 FindBugs 插件呢?差异真的那么显着吗?

I'm doing some research on Netbeans IDE. I mean, why use ActionPMD and FindBugs plug-ins when Netbeans already has a built in error detection system? Is the difference really that significant?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

反话 2025-01-08 06:36:06

FindBugs 和 ActionPMD“深入挖掘”。如果没有它们,Netbeans 可以轻松发现问题,例如已写入但从未读取的局部变量。 FindBugs 会更进一步,找到尚未关闭的流。一些规则还包括对“最佳实践”和可能的安全问题的测试。

只是为了澄清上面的评论:FindBugs 和 ActionPMB 都是静态分析工具。根据我的经验,FindBugs 对于查找细微缺陷和性能问题非常有用。

FindBugs and ActionPMD "dig deeper". Without them, Netbeans can easily find issues like a local variable that is written to but never read. FindBugs will go a step further, and find streams that have not been closed ext..Some of the rules also include tests for "best practices" and possible security issues.

Just to clarify on the comment above: FindBugs and ActionPMB are both static analysis tools. In my experience, FindBugs is useful for finding subtle flaws and performance issue.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文