views:

3247

answers:

3

Does anyone know of a good, extensible source code analyzer that examines JavaScript files?

+9  A: 

JSLint is the only good tool I know of.

chills42
+1  A: 

I have found JSLint which helps correct a lot of common errors and such; however, I'm hoping to find something that I can add my own rules and such to help automate some coding standards stuff that my company is wanting to implement into JavaScript.

http://www.jslint.com/

I need to look into it's extensibility model more.

JamesEggers
I'd love to see something more powerful too, but I haven't found anything yet...
chills42
+1  A: 

There's a few tools on the list of tools for static code analysis at wikipedia that has JavaScript support, you can allso see JavaScript Debugging if any of the tools mentioned would help. There's allso a few good tools at YUI (Yahoo! Developer Network), as well as a lot of helpful components.

I've allways used JSLint myself, and that's the only analysis tool for JS I've tried. I've grown more and more fond of JavaScript, but good tools is still a problem. :(

Stein G. Strindhaug