Skip to content

Instantly share code, notes, and snippets.

@phpdave
Created October 30, 2014 16:29
Show Gist options
  • Save phpdave/0ab2b71c6073e1698545 to your computer and use it in GitHub Desktop.
Save phpdave/0ab2b71c6073e1698545 to your computer and use it in GitHub Desktop.
PHPLoc of Zend Framework 2.3.3 - Oct 30 2014
====ZF2.3.3 PHPLoc====
\htdocs\vendor\zendframework>php phploc.phar --log-csv log.csv --progress .
phploc 2.0.6 by Sebastian Bergmann.
Directories 417
Files 2389
Size
Lines of Code (LOC) 304378
Comment Lines of Code (CLOC) 111994 (36.79%)
Non-Comment Lines of Code (NCLOC) 192384 (63.21%)
Logical Lines of Code (LLOC) 56436 (18.54%)
Classes 50335 (89.19%)
Average Class Length 29
Average Method Length 4
Functions 30 (0.05%)
Average Function Length 0
Not in classes or functions 6071 (10.76%)
Complexity
Cyclomatic Complexity / LLOC 0.35
Cyclomatic Complexity / Number of Methods 2.64
Dependencies
Global Accesses 145
Global Constants 3 (2.07%)
Global Variables 2 (1.38%)
Super-Global Variables 140 (96.55%)
Attribute Accesses 16676
Non-Static 16168 (96.95%)
Static 508 (3.05%)
Method Calls 18952
Non-Static 17216 (90.84%)
Static 1736 (9.16%)
Structure
Namespaces 386
Interfaces 336
Traits 15
Classes 1733
Abstract Classes 132 (7.62%)
Concrete Classes 1601 (92.38%)
Methods 11992
Scope
Non-Static Methods 11403 (95.09%)
Static Methods 589 (4.91%)
Visibility
Public Methods 10350 (86.31%)
Non-Public Methods 1642 (13.69%)
Functions 173
Named Functions 1 (0.58%)
Anonymous Functions 172 (99.42%)
Constants 1229
Global Constants 1 (0.08%)
Class Constants 1228 (99.92%)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment