warmans / code-report
Convert raw code metrics into attractive reports
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/warmans/code-report
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: 2025-10-01 08:48:09 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/.