当前位置:网站首页>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/.composer
2. 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 most complete Redis basic + advanced project combat summary notes in history
Navigation Bar----Personal Center Dropdown
MySQL压缩包方式安装,傻瓜式教学
Navicat cannot connect to mysql super detailed processing method
IDEA2021.2安装与配置(持续更新)
navicat无法连接mysql超详细处理方法
系统结构考点之多级混洗交换网络
PhpMetrics 使用
【导航规划】导航规划背景知识总结
Solve the problem of centos8 MySQL password ERROR 1820 (HY000) You must reset your password using the ALTER USER
随机推荐
MySQL Soul 16 Questions, How Many Questions Can You Last?
系统结构考点之流水线向量点积
MySQL 8.0.29 decompressed version installation tutorial (valid for personal testing)
ClickHouse 数据插入、更新与删除操作 SQL
qt使用动态库(DLL)
navicat新建数据库
The reason for not using bs4 is that the name is too long?Crawl lottery lottery information
IDEA2021.2安装与配置(持续更新)
手动从0搭建ABP框架-ABP官方完整解决方案和手动搭建简化解决方案实践
The mysql time field is set to the current time by default
CISP-PTE真题演示
Google Earth Engine ——
解决centos8 MySQL密码问题ERROR 1820 (HY000) You must reset your password using ALTER USER
【菜鸡含泪总结】如何用pip、anaconda安装库
WinDbg实践--入门篇
(7/29) Basic board minimum spanning tree prim+kruskal
【导航规划】导航规划背景知识总结
面试难题:分布式 Session 实现难点,这篇就够!
MySQL 灵魂 16 问,你能撑到第几问?
ValueError: Append mode is not supported with xlsxwriter解决方案