$ composer.phar create-project trismegiste/mondrian mondrian dev-master
$ git clone git://github.com/Trismegiste/Mondrian.git $ composer.phar install
In order to run Mondrian on big project, you need a lot of memory. On a large package with fat classes, you can expect about 500kB per php files.
You can check the memory usage after parsing with the --verbose option.
Check the memory limit in CLI environment by
$ php --info | grep memory_limitOverride the memory limit in command line of PHP with
$ php -d memory_limit=256M mondrian.phpIt is not currently possible to override the memory limit with the phar executable.
$ php --ini
It's a 50/50 joke but don't expect refactor code if you don't have unit tests. See my RADBundle if you want to fast generate skeleton of tests.
To read the DOT format of the generated report, you need GraphViz
Go to this page and download the MSI or the ZIP:
http://www.graphviz.org/Download_windows.php
There are many ways, one simple is :
$ sudo apt-get install xdot $ xdot report.dot