JavaScript code coverage and Esprima Mar 19, 2012 8 min read #craftsmanship #esprima #javascript A common approach to implement code coverage analysis for JavaScript code is by adding extra instrumentation to the code. Since the instrument function is also executed by the JavaScript engine, this gives additional information as to which part of the code is being executed. A naive trick is to wrap t
