当前位置:网站首页>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查看结果
边栏推荐
- Google Earth Engine ——快速实现MODIS影像NDVI动画的在线加载并导出
- Navicat new database
- 解决centos8 MySQL密码问题ERROR 1820 (HY000) You must reset your password using ALTER USER
- 通过社交媒体建立个人IP的 5 种行之有效的策略
- JS中获取元素属性的8大方法
- 微信公众号授权登录后报redirect_uri参数错误的问题
- ClickHouse删除数据之delete问题详解
- The structure of knowledge in the corners of the C language
- navicat新建数据库
- 冲刺第六周
猜你喜欢
About the data synchronization delay of MySQL master-slave replication
Difference between cookie and session
Navicat connection MySQL error: 1045 - Access denied for user 'root'@'localhost' (using password YES)
Solve the problem of centos8 MySQL password ERROR 1820 (HY000) You must reset your password using the ALTER USER
连号区间数
MYSQL JDBC Book Management System
【菜鸡含泪总结】如何用pip、anaconda安装库
cmd(命令行)操作或连接mysql数据库,以及创建数据库与表
When Navicat connects to MySQL, it pops up: 1045: Access denied for user 'root'@'localhost'
【零代码工具】15 款企业级零代码开发平台推荐,总有一款是你心仪的
随机推荐
手动从0搭建ABP框架-ABP官方完整解决方案和手动搭建简化解决方案实践
ValueError: Append mode is not supported with xlsxwriter解决方案
3 minutes to take you to understand WeChat applet development
MySql创建数据表
Niu Ke Xiaobaiyue Race 53 A-E
(7/29)基础板子最小生成树prim+kruskal
【科研】文献下载神器方式汇总
It is enough for MySQL to have this article (disgusting typing 37k words, just for Bojun!!!)
Navicat cannot connect to mysql super detailed processing method
Union, the difference between union and structure, the knowledge of enumeration of C language corners
大家都在用的plm项目管理软件有哪些
d违反常了吗
连号区间数
JUC原子类详解
Google Earth Engine ——
走进Redis,让你重新认识redis。绝不是表面
设备树的引入与体验
MySQL 8.0.29 设置和修改默认密码
解决centos8 MySQL密码问题ERROR 1820 (HY000) You must reset your password using ALTER USER
MySQL 灵魂 16 问,你能撑到第几问?