Generate attractive static HTML reports from raw code metrics. These are useful for CI servers which do not have built in reports.
- Phploc XML
- checkstyle
code-report generate [path to input file] [path to output directory]
./vendor/bin/phploc --log-xml phploc.xml src/
./code-report generate phploc.xml /tmp/code-report/.
./vendor/bin/phpcs --standard="PSR2" src/* --report-checkstyle=./checkstyle.xml
./code-report generate checkstyle.xml /tmp/code-report/.