当前位置:网站首页>PhpMetrics usage
PhpMetrics usage
2022-07-30 22:06:00 【wwz_henu】
PhpMetrics is a static analysis tool that provides various metrics about PHP projects
1. Installation
composer global require 'phpmetrics/phpmetrics'Pay attention to the installation location. Generally, the .composer file in the user directory will be installed, and the following output will be displayed
Changed current directory to /Users/Marin/.composer2. Execute
# Analyze the /var/www/project project and generate html format files to the /tmp/report.html directory/Users/Marin/.composer/vendor/bin/phpmetrics --report-html=/tmp/report.html /var/www/project/tmp/report.html directory

3. Use a browser to open index.html to view the results

边栏推荐
- The reason for not using bs4 is that the name is too long?Crawl lottery lottery information
- Jetson AGX Orin 平台关于c240000 I2C总线和GMSL ses地址冲突问题
- VS2017编译Tars测试工程
- NEOVIM下载安装与配置
- 系统结构考点之多级混洗交换网络
- proxy反向代理
- Rust编译报错:error: linker `cc` not found
- 折叠旧版应用程序
- How do I refresh the company's background management system (Part 1) - performance optimization
- 【高等数学】矩阵与向量组的秩和等价
猜你喜欢

NEOVIM下载安装与配置

Markdown的使用

Navicat connection MySQL error: 1045 - Access denied for user 'root'@'localhost' (using password YES)

cnpm安装步骤

Jetson AGX Orin 平台关于c240000 I2C总线和GMSL ses地址冲突问题

系统结构考点之多级混洗交换网络

解决npm warn config global `--global`, `--local` are deprecated. use `--location=global` instead

微信公众号授权登录后报redirect_uri参数错误的问题

代码越写越乱?那是因为你没用责任链

DistSQL 深度解析:打造动态化的分布式数据库
随机推荐
3 minutes to take you to understand WeChat applet development
宁波中宁典当转让29.5%股权为283.38万元,2021年所有者权益为968.75万元
qt使用动态库(DLL)
NEOVIM下载安装与配置
解决npm warn config global `--global`, `--local` are deprecated. use `--location=global` instead
2sk2225代换3A/1500V中文资料【PDF数据手册】
WSL安装图形界面并通过xrdp/X-Launch访问
基于ABP实现DDD--领域服务、应用服务和DTO实践
Union, the difference between union and structure, the knowledge of enumeration of C language corners
MySQL user authorization
类和对象——上
【科研】文献下载神器方式汇总
DistSQL 深度解析:打造动态化的分布式数据库
JDBC (detailed explanation)
2022.7.28
QT开发简介、命名规范、signal&slot信号槽
史上超强最常用SQL语句大全
数据质量提升
Qt 同时生成动态库和静态库
(7/29) Basic board minimum spanning tree prim+kruskal