Hi, I am looking for a code review tool for my ROR application. Can you suggest something? Thanks in advance...
on 2008-11-25 06:39
on 2008-11-25 09:27
What do you mean by a "code review tool?" On Nov 24, 10:39 pm, Karthi kn <firstname.lastname@example.org>
on 2008-11-25 10:35
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?
on 2008-11-25 11:31
try netbeans IDE. It checks my code. regards svend On Nov 25, 9:35 am, Karthi kn <email@example.com>
on 2008-11-25 12:56
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
on 2008-11-25 15:33
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.
on 2008-11-25 16:18
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 <firstname.lastname@example.org>
on 2008-11-25 16:23
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
on 2008-11-25 16:31
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. <email@example.com>
on 2008-11-25 16:32
On Tue, Nov 25, 2008 at 2:39 AM, Karthi kn <firstname.lastname@example.org> 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
on 2008-11-25 17:02
> Have a look at this video. It explains most techniques you can use for gaining metrics. http://lsrc2008.confreaks.com/04-jake-scruggs-usin... 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.
on 2008-11-28 03:34
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...