warmans / code-report
There is no license information available for the latest version (0.2.1) of this package.
Convert raw code metrics into attractive reports
0.2.1
2015-02-04 20:47 UTC
Requires
- php: >=5.4.0
- pimple/pimple: ~2.1
- symfony/console: v2.5.0
- symfony/filesystem: v2.5.0
- symfony/templating: v2.5.0
Requires (Dev)
- phploc/phploc: 2.0.0
- phpunit/phpunit: 4.1.*
- squizlabs/php_codesniffer: 1.*
Suggests
- phploc/phploc: 2.1.*@dev
This package is not auto-updated.
Last update: 2024-12-25 05:12:01 UTC
README
Generate attractive static HTML reports from raw code metrics. These are useful for CI servers which do not have built in reports.
Supported Input Formats
- Phploc XML
- checkstyle
Usage
code-report generate [path to input file] [path to output directory]
PhpLOC Example
./vendor/bin/phploc --log-xml phploc.xml src/
./code-report generate phploc.xml /tmp/code-report/.
Checkstyle Example
./vendor/bin/phpcs --standard="PSR2" src/* --report-checkstyle=./checkstyle.xml
./code-report generate checkstyle.xml /tmp/code-report/.