Code Review Tool


#1

Hi,

I am looking for a code review tool for my ROR application.
Can you suggest something?

Thanks in advance…


#2

What do you mean by a “code review tool?”

On Nov 24, 10:39 pm, Karthi kn removed_email_address@domain.invalid


#3

A tool which can test the quality of our all ruby code in our rails
application.
I tried with the gem called “Roodi” to check my code. Is there any other
effective tool for this?


#4

try netbeans IDE.
It checks my code.

regards
svend

On Nov 25, 9:35 am, Karthi kn removed_email_address@domain.invalid


#5

Ryan, the average code review tool for .Net is under $1000, and RoR
apps are generally cheaper than that or free. Can you hire someone
for under $1000? Sure, you don’t have the hands-on approach of a real
person, but running a script is exactly one hell of a lot faster.

  • Matt.

#6

Or you could hire a REAL PERSON (I know, shocking, isn’t it?) to check
your code for you!

Ryan B.
Freelancer
http://frozenplague.net


#7

Is that tool going to explain how to make your code better? Or just
how to make your code get a better score? If this wonderful script
tells you that your code needs some serious help, will you be hiring
someone then??

-Rob


#8

I’ve done some Googlin’ and found this blog post:
http://devver.net/blog/2008/10/ruby-code-quality-tools/

It features some Ruby code quality checking tools:

  • Roodi
  • Dust
  • Flog
  • Saikuro

Maybe some of 'em will be helpful.

Attila

On Nov 25, 2:22 pm, Rob B. removed_email_address@domain.invalid


#9

The only thing that comes to mind would be rcov, but that is for
checking testing coverage of your application. Testing is the best way
to test the code of your application.

On Nov 25, 2:35 am, Karthi kn removed_email_address@domain.invalid


#10

On Tue, Nov 25, 2008 at 2:39 AM, Karthi kn
removed_email_address@domain.invalid wrote:

Hi,

I am looking for a code review tool for my ROR application.
Can you suggest something?

Thanks in advance…

rcov is a gem that shows test coverage.

Flog measures the testability of your code. Flay “analyzes ruby code
for structural similarities”. For more on those, and more, see
http://ruby.sadi.st .

Other than that, there are some tools that show you dead code (crufty,
towelie), but I never saw them in action.

But none of them will prove your code has quality, obviously.

Diogo


#11

Karthi kn wrote:

I am looking for a code review tool for my ROR application.
Can you suggest something?

What does ‘rake stats’ return for your project?


Phlip
http://broadcast.oreilly.com/2008/10/testing-rails-partials.html


#12

Have a look at this video. It explains most techniques you can use for
gaining metrics.

http://lsrc2008.confreaks.com/04-jake-scruggs-using-metrics-to-take-a-hard-look-at-your-code.html

One comment from the video is very important: metrics can guide your
view, but you still need
a good human to interpret them. Just because the score of a method is
high, that does not mean
that the implementation is bad - maybe it is just solving a hard
problem. Metrics have no meaning
without context - and that context has to be provided by a human.

Regards,
Florian G.


#13

Matt, I would gladly review code for $1000. That’s… 20 hours paid
work.

Ryan B.
Freelancer
http://frozenplague.net