Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想计算条件语句的出现,例如 if、else if、for、case。使用普通的 Eclipse 搜索可能会给出包含评论中的“if”的结果。有没有插件可以完成这项工作?
最接近的一个是指标插件或这个。但是代码行数或条件语句的数量通常是非常糟糕的指标。
您应该查看许多静态代码分析器中的一些,它们将帮助您获得更好的质量并提供一些实际有价值的信息。看到这个问题