0

How to achieve better code in-terms of style, practical issues, logical issues, duplicate code, cyclic issues. Could i know your best list of static analysis rules for

   1. Java
   2. JSP or JSF 
   3. JavaScript, JQuery...
   4. css

How to achive better code Please share,

Sun
  • 3,444
  • 7
  • 53
  • 83
  • For JavaScript: JSHint (scans for multiple pitfalls of JS and makes it possible to set some style requirements). But it doesn't scan for duplicate code and things like that. – jakub.g Sep 17 '13 at 19:41
  • There is a reason why all of these analysis tools come with so many configuration options: The settings depend on the project you are running. If there was a "best list", or if it was even possible to distill one out of many, then they'd ship it with their tools. – barfuin Sep 23 '13 at 07:29

1 Answers1

0

For Java, try my carefully curated list and instruction for IntelliJ IDEA here: http://superliminal.com/computing/idea_static_analysis.html

Melinda Green
  • 2,100
  • 1
  • 21
  • 32