Disclaimer: These scripts are very "hacky" and I never thought that the results would ever be so nice and worth beeing published. I'm really ashamed that I didn't go the TDD way here.
License: I don't care what you do with it -> MIT license (see license.txt)
- Get a fresh copy of the TYPO3 Core and it's submodules ( see wiki.typo3.org )
- Clone this repository to some place
- Run
php core-stat.php /path/to/your/core/checkout /path/for/the/output
within the checkout of that repo (Might take some time). - Find some files containing the rendered statistics in
/path/for/the/output
- Copy ìndex.html, `graph.js, raphael.js, ajax-loader.gif, style.cssfrom the repo also into /path/for/the/output`
- Check the
core-stat.php
and change$modules
to use the proper submodule paths (if you've any). - Check the
core-stat.php
and change the$stateDate
to have a reasonable value - Check
StatGenerator::mapName
withincore-lib.php
and adjust the names to fit your repo. - Remove my flattr buttons and Google Analytics stuff from the source-codes ;)
The script holds "old" commit data in a local cache ( stat.inc
) - that's mainly to avoid duplicate processing of commit history. It's odd to have this file laying around with data when programming - so better delete it before you check your modifications.
Have fun with it and share your results!