jose-bittacora / phpmetrics-mod
Static analyzer tool for PHP : Coupling, Cyclomatic complexity, Maintainability Index, Halstead's metrics... and more !
Requires
- php: >=5.5
- ext-dom: *
- ext-tokenizer: *
- nikic/php-parser: ^3|^4
Requires (Dev)
- phpunit/phpunit: ^4.8.36 || ^5.7.27 || ^6.5.14
- sebastian/comparator: >=1.2.3
- squizlabs/php_codesniffer: ^3.5
- symfony/dom-crawler: ^3.0 || ^4.0 || ^5.0
Replaces
This package is not auto-updated.
Last update: 2024-05-02 17:26:19 UTC
README
PhpMetrics provides metrics about PHP project and classes, with beautiful and readable HTML report.
Documentation | Twitter | Contributing
Quick start
Follow the quick start guide to get started. composer require phpmetrics/phpmetrics --dev php ./vendor/bin/phpmetrics --report-html=myreport
Then open the generated ./myreport/index.html
file in your browser.
You can use a configuration file to customize the report, add options, configure rules for Continuous Integration, etc.
Metrics
You'll find detailed list of metrics in documentation, or
running php ./vendor/bin/phpmetrics --metrics
Author
- Jean-François Lépine <@Halleck45>
License
See the LICENSE file.
Contributing
See the CONTRIBUTING file.