定制 halleck45/phpmetrics 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

halleck45/phpmetrics

最新稳定版本:v3.0.0rc8

Composer 安装命令:

composer require --dev halleck45/phpmetrics

包简介

Static analyzer tool for PHP : Coupling, Cyclomatic complexity, Maintainability Index, Halstead's metrics... and more !

README 文档

README

Packagist Downloads License Latest Stable Version

Standard report

PhpMetrics

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.

# install the package as a dev dependency
composer require phpmetrics/phpmetrics --dev

# run PHPMetrics to analyze a folder and generate a report
php ./vendor/bin/phpmetrics --report-html=myreport <folder-to-analyze>

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

License

See the LICENSE file.

Contributing

See the CONTRIBUTING file.

统计信息

  • 总下载量: 133.28k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2566
  • 点击次数: 8
  • 依赖项目数: 11
  • 推荐数: 1

GitHub 信息

  • Stars: 2564
  • Watchers: 79
  • Forks: 265
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-06-26