Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Olena Golub
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Could you recommend me some programs for checking the Java-code corresponding to Java Code Conventions rules?

Thanks a lot!
Olena
 
Christy Keane
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could try checkstyle:

http://checkstyle.sourceforge.net/
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Daniel and Matt,

thanks a lot for your tips!
Olena
 
Christy Keane
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yep, checkstyle is what I use too...
 
Uwe Schäfer
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic