3 ms·
We offered this as part of our SaaS product (now retired, https://github.com/quantifiedcode/quantifiedcode https://github.com/quantifiedcode/quantifiedcode). Th
by ThePhysicist 8y ago
We offered this as part of our SaaS product (now retired, https://github.com/quantifiedcode/quantifiedcode https://github.com/quantifiedcode/quantifiedcode). The data was generated using a tool called "checkmate" (https://github.com/quantifiedcode/checkmate https://github.com/quantifiedcode/checkmate), which produced various metrics grouped by directory for each git commit of a project (in an efficient way). This data was then used to generate the visualizations.
An example for the data generated by checkmate can be found here:
http://quantifiedcode.github.io/code-is-beautiful/data/django_complexity.json http://quantifiedcode.github.io/code-is-beautiful/data/djang...
For a given git commit, checkmate only re-analyzed the files that changed and then recomputed all metrics on the fly using the new and existing file revisions, which would take only a few seconds to minutes even for very large projects.