Forum: JRuby What is a recommended static code analysis tool for JRuby?

Posted by ni ed (nila)
on 2013-02-14 12:45
Hi,

Is there a static code analysis tool for JRuby? I could find some tools
that perform code analysis for Ruby - such as Roodi, Flog... But couldnt
find anything for JRuby. Can these be used? OR any tools i can modify to
analyse JRuby code as well? any points are appreciated.

Thank you!
Posted by Keith B. (keith_b)
on 2013-02-14 16:32
(Received via mailing list)
Ruby analysis tools should work fine for JRuby, shouldn't they?

If you're looking for something that checks jruby-specific issues, 
there's jruby-lint, written by Nick Sieger:

https://github.com/jruby/jruby-lint

"See how ready your Ruby code is to run on JRuby.

"JRuby-Lint is a simple tool that allows you to check your project code 
and configuration for common gotchas and issues that might make it 
difficult to run your code on JRuby."

- Keith

---
Keith R. Bennett
http://about.me/keithrbennett
Posted by ni ed (nila)
on 2013-02-15 03:41
Thanks a lot for the suggestion. That helps.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.