Skip to content

Releases: i582/phpstats

PhpStats v1.0

06 Dec 16:06
acd0ee6
Compare
Choose a tag to compare

Features

  • Added full project documentation;
  • Added projectName field to config;
  • The info class command is divided into commands info class, info interface, and info 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

02 Dec 17:07
Compare
Choose a tag to compare

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 the list 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

27 Nov 03:21
3723cf6
Compare
Choose a tag to compare

Features

  • New graphs, as well as a new page about graphs;
  • Improved analysis;
  • Bugs fixed;
  • Added tests for graphs.

PHPStats v0.2.0

24 Nov 22:19
e7f0761
Compare
Choose a tag to compare

Features

  • Added exclude and include 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

11 Nov 13:17
Compare
Choose a tag to compare
PHPStats v0.1.0 Pre-release
Pre-release

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

04 Nov 00:21
190b0fa
Compare
Choose a tag to compare
Pre-release

First slightly stable release.