PhpStats is a tool that collects statistics for the code of your project and, based on these statistics, calculates various qualitative metrics of the code, builds the necessary graphs, and also finds the relationships between symbols in the system.
It tries to be fast, at the moment—about 150k lines of code per second on a MacBook Pro 2019 with Core i5.
The tool is built on top of NoVerify and written in Go.
Documentation for the project here.
PhpStats currently represents five areas:
It also allows you to view lists of classes, interfaces, functions, methods, files and namespaces in a tabular form with the ability to sort by metrics.
Let's look at each point separately.
PhpStats currently calculates the following metrics:
See the documentation part for details.
PhpStats is currently building the following dependency graphs:
See the documentation part for details.
Relations between symbolsPhpStats is currently analyzing the following relations:
For class-class relations:
For class-function relations:
For function-function relations:
See the documentation part for details.
Reachability of functionsSee the documentation part for details.
Brief information about the projectSee the documentation part for details.
PhpStats is © 2020-2020 by Petr Makhnev.
Have any questions—welcome in telegram: @petr_makhnev.
Feel free to contribute to this project. I am always glad to new people.
PhpStats is distributed by an MIT license.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4