A cardiograph for your web application code base
Cardio is a web application health tool. It provides a snapshot (via a bunch of metrics) of how "healthy" your application is by measuring HTML/CSS/JS complexity.
npm install -g cardio
If you get installation errors for node-canvas, don't despair. It's an optional dependency used by Assetgraph to do some other cool stuff that isn't used in Cardio.
$ cardio »url-or-webroot-or-html-file« > output.json $ cardio-report2array output.json # Reformats for metrics-friendly digestion