my dog learned polymorphism*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Programs for checking the Java-code corresponding to Java Code Conventions rules Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Programs for checking the Java-code corresponding to Java Code Conventions rules" Watch "Programs for checking the Java-code corresponding to Java Code Conventions rules" New topic
Author

Programs for checking the Java-code corresponding to Java Code Conventions rules

Olena Golub
Ranch Hand

Joined: Jan 17, 2005
Posts: 113
Hello,
Could you recommend me some programs for checking the Java-code corresponding to Java Code Conventions rules?

Thanks a lot!
Olena


SCJP 1.4<br />SCJD 1.4 (in progress)
Christy Keane
Ranch Hand

Joined: Mar 29, 2005
Posts: 32
Olena ,

I am developing my code in the Eclipse IDE - with this you can get several plugins that ensure that your code conforms to the coding standard.
Olena Golub
Ranch Hand

Joined: Jan 17, 2005
Posts: 113
Hi Christy,

I am developing also in the Eclipse. Could you give me some names of plugins?
Thanks a lot!
Regards,
Olena
Daniel Dalton
Ranch Hand

Joined: Mar 20, 2005
Posts: 146
You could try checkstyle:

http://checkstyle.sourceforge.net/
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Checkstyle is quality, there's also a plugin or two for Eclipse.

Checkclipse

Eclipse Checkstyle Plugin

I've tried both and prefer the second plugin.
Olena Golub
Ranch Hand

Joined: Jan 17, 2005
Posts: 113
Hello Daniel and Matt,

thanks a lot for your tips!
Olena
Christy Keane
Ranch Hand

Joined: Mar 29, 2005
Posts: 32
yep, checkstyle is what I use too...
Uwe Schäfer
Ranch Hand

Joined: Mar 15, 2005
Posts: 52
checkstyle is great, but the eclipse compile has a number a valueable hints too.
just make him pedantic by replacing every single "ignnore" with "warning" on the corresponding preference page (Java/Compiler/Errors)


scja|scjp|scjd|scwcd|scbcd|scdjws|scmad
 
Consider Paul's rocket mass heater.
 
subject: Programs for checking the Java-code corresponding to Java Code Conventions rules
 
Similar Threads
Java Code Conventions
What is your style?
Sun's Java Code Conventions
Difference between Java Bean and Java Class
checking textbox through java class which is called in jsp