Metrics tool for JavaScript

L

Lars Rosenhainer

Hi,

does anyone know of a tool (preferably open source/free) that allows to
collect certain metrics for JavaScript code (e.g. LOC)?

Thanks for any help,
Lars
 
C

CB

No, but I've been using code for such things.
alert(document.scripts[0].outerHTML.match(/\n/g).length) // LOC
 
E

Evertjan.

CB wrote on 15 jun 2006 in comp.lang.javascript:

Are you answering on a posting?
but I've been using code for such things.
alert(document.scripts[0].outerHTML.match(/\n/g).length) // LOC

Please quote what you are replying to. If you want to post a followup via
groups.google.com, don't use the "Reply" link at the bottom of the article.
Click on "show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers.
<http://www.safalra.com/special/googlegroupsreply/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top