Calculates cyclomatic complexity metrics (CCM) for JavaScript