当前位置:网站首页>PhpMetrics 使用
PhpMetrics 使用
2022-07-30 22:05:00 【wwz_henu】
PhpMetrics 是一款静态分析工具,提供了关于PHP项目的各种指标
1.安装
composer global require 'phpmetrics/phpmetrics'
注意安装的位置,一般会安装用户目录下的.composer文件下,会有如下输出
Changed current directory to /Users/Marin/.composer
2. 执行
# 分析 /var/www/project 项目,并生成html格式文件至/tmp/report.html 目录
/Users/Marin/.composer/vendor/bin/phpmetrics --report-html=/tmp/report.html /var/www/project
/tmp/report.html目录
3.使用浏览器打开index.html查看结果
边栏推荐
猜你喜欢
MySQL compressed package installation, fool teaching
【微信小程序】小程序突破小程序二维码数量限制
QT开发简介、命名规范、signal&slot信号槽
Apache DolphinScheduler新一代分布式工作流任务调度平台实战-
Navigation Bar----Personal Center Dropdown
Markdown的使用
8 ways to get element attributes in JS
QT 在父类中添加子类的流程,object tree,
系统结构考点之并行主存
Uni-app 小程序 App 的广告变现之路:激励视频广告
随机推荐
LeetCode · 23. Merge K ascending linked lists · recursion · iteration
MySQL Soul 16 Questions, How Many Questions Can You Last?
cnpm的安装与使用
IDEA 连接 数据库
Navigation Bar----Personal Center Dropdown
MySQL cursors
MySQL 用户授权
c语言进阶篇:指针(五)
MySQL compressed package installation, fool teaching
【科研】文献下载神器方式汇总
基于ABP实现DDD--领域服务、应用服务和DTO实践
使用LVS和Keepalived搭建高可用负载均衡服务器集群
【高等数学】矩阵与向量组的秩和等价
MySQL 8.0.29 设置和修改默认密码
MySQL 8.0.29 decompressed version installation tutorial (valid for personal testing)
The structure of knowledge in the corners of the C language
Rust编译报错:error: linker `cc` not found
8 ways to get element attributes in JS
MySQL 5.7 detailed download, installation and configuration tutorial
How strict Typescript strict mode?