Ruby的自动代码质量工具? [英] Automatic code quality tool for Ruby?
问题描述
我真正想念Java的一件事是对工具的支持。 FindBugs,Checkstyle和PMD是三重代码质量指标和自动错误检查的工具。
One thing I really miss about Java is the tool support. FindBugs, Checkstyle and PMD made for a holy trinity of code quality metrics and automatic bug checking.
是否有任何东西可以检查简单的错误和/或样式是否违反Ruby代码?奖励积分,如果我可以将其适应诸如Rails之类的框架,以便遵守Rails惯用语。
Is there anything that will check for simple bugs and / or style violations of Ruby code? Bonus points if I can adapt it for frameworks such as Rails so that Rails idioms are adhered to.
推荐答案
我最近开始为Ruby寻找类似的东西。到目前为止,我所遇到的是:
I've recently started looking for something like this for Ruby. What I've run across so far:
- Saikuro
- Roodi
- Flog
这些可能是起点。不幸的是,我还没有足够使用这三种方法中的任何一种。
These might be places to start. Unfortunately I haven't used any of the three enough yet to offer a good opinion.
这篇关于Ruby的自动代码质量工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!