Skip to content

Instantly share code, notes, and snippets.

@phpdave
Last active August 29, 2015 14:08
Show Gist options
  • Save phpdave/81750858cc776ab20d74 to your computer and use it in GitHub Desktop.
Save phpdave/81750858cc776ab20d74 to your computer and use it in GitHub Desktop.
PHPLoc of Zend Framework 1.7
Directories 352
Files 1712
Size
Lines of Code (LOC) 337972
Comment Lines of Code (CLOC) 152185 (45.03%)
Non-Comment Lines of Code (NCLOC) 185787 (54.97%)
Logical Lines of Code (LLOC) 61708 (18.26%)
Classes 59208 (95.95%)
Average Class Length 36
Average Method Length 5
Functions 0 (0.00%)
Average Function Length 0
Not in classes or functions 2500 (4.05%)
Complexity
Cyclomatic Complexity / LLOC 0.32
Cyclomatic Complexity / Number of Methods 2.78
Dependencies
Global Accesses 223
Global Constants 0 (0.00%)
Global Variables 4 (1.79%)
Super-Global Variables 219 (98.21%)
Attribute Accesses 21282
Non-Static 20291 (95.34%)
Static 991 (4.66%)
Method Calls 19201
Non-Static 16686 (86.90%)
Static 2515 (13.10%)
Structure
Namespaces 0
Interfaces 86
Traits 0
Classes 1625
Abstract Classes 141 (8.68%)
Concrete Classes 1484 (91.32%)
Methods 11121
Scope
Non-Static Methods 10490 (94.33%)
Static Methods 631 (5.67%)
Visibility
Public Methods 9908 (89.09%)
Non-Public Methods 1213 (10.91%)
Functions 2
Named Functions 0 (0.00%)
Anonymous Functions 2 (100.00%)
Constants 3268
Global Constants 1 (0.03%)
Class Constants 3267 (99.97%)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment