jscop

a javascript static code analysis tool

jscop

jscop is a static code analyser written in node js.

  • missing curling braces
  • too many parameters
  • missing semicolon
  • boolean trap http://ariya.ofilabs.com/2011/08/hall-of-api-shame-boolean-trap.html
  • check documentation
  • x=x assignments
  • var x = 1; return x; *combine var statements *pretty print javascript