JavaScript code analysis metrics