Ruby源代码分析器(类似pylint) [英] Ruby source code analyzer (something like pylint)

查看:121
本文介绍了Ruby源代码分析器(类似pylint)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Ruby是否具有 pylint 这样的工具来分析源代码中的错误和简单性编码标准?

Does Ruby have any tools along the lines of pylint for analyzing source code for errors and simple coding standards?

如果可以与

It would be nice if it could be integrated with cruisecontrolrb for continuous integration.

或者每个人都编写了很好的测试以至于不需要源代码检查器!

Or does everyone write such good tests that they don't need source code checkers!

推荐答案

我查看了许多可在此处使用的Ruby工具

I reviewed a bunch of Ruby tools that are available here

http://devver.wordpress.com/2008/10/03/ruby-tools-roundup/

webmat提到了大多数工具,但是如果您想了解更多信息,我将通过示例深入介绍。

most of the tools were mentioned by webmat, but if you want more information I go pretty in depth with examples.

我也强烈建议您使用Metric-Fu,它会为您提供3种较流行工具的gem / plugin安装,并且

I also highly recommend using Metric-Fu it gives you a on gem/plugin install of 3 of the more popular tools and is built with cruisecontrolrb integration in mind.

创建者有一篇很棒的文章,应该可以帮助您立即启动并运行。

The creator has a great post that should help get you up and running in no time.

http:// jakescruggs。 blogspot.com/2008/04/dead-simple-rails-metrics-with-metricfu.html

Ruby工具中有很多活动最近,我认为这是语言发展和成熟的一个好兆头。

There has been a lot of activity in Ruby tools lately which I think is a good sign of a growing and maturing language.

这篇关于Ruby源代码分析器(类似pylint)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆