jsmeter
a tool for JavaScript code metrics through static analysis
≡
Privacy Policy / License
Tweet
Share
// Paste your own code into this window // Or, you can put full URL's to JavaScript files on the internet // There is an API for using these analyses in your own ways as well // And, this is open-sourced and available at http://code.google.com/p/jsmeter // For a quick demo, just click Analyze or Visualize above! function testFunction() { var y; switch (x) { case 1: y = x; break; case 2: y = x * 4; break; default: y = 0; break; } return y; }