Releases: i582/phpstats
Releases · i582/phpstats
PhpStats v1.0
Features
- Added full project documentation;
- Added
projectName
field to config; - The
info class
command is divided into commandsinfo class
,info interface
, andinfo traits
, each of which searches only in its own category. If the symbol is not found in the current category, then a message will be displayed that the symbol was found in another category and will offer a command to get information; - Added display of information about traits;
- Number of traits added to the output of the brief command;
- Function reachability moved to a separate command;
- Added graph for function reachability;
- Added counting fully typed methods in the class;
- Minor improvements and fixes.
PHPStats v0.4.0
Features
- Migrating to an updated internal shell with history and shortcuts and macOS support;
- Added wizard (
phpstats init
) to create a config file; - Added
Getting started
document with general information for getting started with phpstats; - Added
abstractness
metric for namespaces; - The
list
command now displays information in tables; - The
top
command has been removed, sorting is now in thelist
command; - The flag for getting lists in
json
changed from--output
to--json
; - Added dependency graph for namespaces;
- Added graph for relationships between namespaces and their children;
- Added a command to get relationships between classes and functions;
- Minor stability improvements and bug fixes.
PHPStats v0.3.0
Features
- New graphs, as well as a new page about graphs;
- Improved analysis;
- Bugs fixed;
- Added tests for graphs.
PHPStats v0.2.0
Features
- Added
exclude
andinclude
fields in the config; - Added a new page for the
brief
command.
Example of page:
General project statistics
Size
Lines of Code (LOC): 1027
Comment Lines of Code (CLOC): 202 (19.67%)
Non-Comment Lines of Code (NCLOC): 825 (80.33%)
Metrics
Cyclomatic Complexity
Average Complexity per Class: 12.55
Maximum Class Complexity: 138.00
Minimum Class Complexity: 11.00
Average Complexity per Method: 4.18
Maximum Method Complexity: 25.00
Minimum Method Complexity: 0.00
Average Complexity per Functions: 0.00
Maximum Functions Complexity: 0.00
Minimum Functions Complexity: 0.00
Count of Magic Numbers
Average Class Count: 1
Maximum Class Count: 13
Minimum Class Count: 0
Average Method Count: 0
Maximum Method Count: 4
Minimum Method Count: 0
Average Functions Count: 0
Maximum Method Count: 0
Minimum Method Count: 0
Structure
Files: 11
Namespaces: 1
Interfaces: 0
Classes 11
Abstract Classes: 0 (0.00%)
Concrete Classes: 11 (100.00%)
Methods: 33
Constants: 13
Functions:
Named Functions: 0 (0.00%)
Anonymous Functions: 0 (0.00%)
PHPStats v0.1.0
Features
- Added
about
command; - Added counting magic numbers;
- Added display of the top by the number of magic numbers;
- Added brief information on all metrics collected by the
metrics
command; - Updated graph generation for LCOM4;
- Added configuration file;
- Added
relation funcs
command to check the reachability of one function from another.
First version of PHPStats
First slightly stable release.