Meaningless Drivel is fun!
The moose likes Beginning Java and the fly likes Check code online? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Check code online?" Watch "Check code online?" New topic

Check code online?

Manu De Doncker

Joined: Feb 26, 2005
Posts: 1

I was wondering if there are other sites like where you can check the (so called) quality of your code.
sCQ says it checks the java file against about 80 rules, but I would like to see websites with more advance checks.

David O'Meara

Joined: Mar 06, 2001
Posts: 13459

I'm not sure why you're looking for a web site, you can get JCSC to check your code quality for you.
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Google for java static code analysis or analyzer. There are a number of commercial products and a few free ones that point out some of the most common bugs and do a ton of (not very useful) style checks. In a large system it's worth watching your package dependencies. JDepends does a nice job of reporting Robert Martin's metrics but the output is pretty hard to follow.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: Check code online?
jQuery in Action, 3rd edition