Skip to content

Instantly share code, notes, and snippets.

@pmjones
Created January 10, 2017 17:09
Show Gist options
  • Save pmjones/12c6e54d9941c162bedfe57d346ef43e to your computer and use it in GitHub Desktop.
Save pmjones/12c6e54d9941c162bedfe57d346ef43e to your computer and use it in GitHub Desktop.
Aura web project v2 phploc
$ composer create-project aura/web-project
$ cd web-project
$ rm -rf vendor/composer/ vendor/monolog/ vendor/psr/
$ phploc --names-exclude="*Test.php" .
phploc 3.0.1 by Sebastian Bergmann.
Directories 29
Files 131
Size
Lines of Code (LOC) 12023
Comment Lines of Code (CLOC) 6516 (54.20%)
Non-Comment Lines of Code (NCLOC) 5507 (45.80%)
Logical Lines of Code (LLOC) 1594 (13.26%)
Classes 1296 (81.30%)
Average Class Length 11
Minimum Class Length 0
Maximum Class Length 82
Average Method Length 2
Minimum Method Length 0
Maximum Method Length 19
Functions 68 (4.27%)
Average Function Length 7
Not in classes or functions 230 (14.43%)
Cyclomatic Complexity
Average Complexity per LLOC 0.20
Average Complexity per Class 3.54
Minimum Class Complexity 1.00
Maximum Class Complexity 41.00
Average Complexity per Method 1.68
Minimum Method Complexity 1.00
Maximum Method Complexity 9.00
Dependencies
Global Accesses 23
Global Constants 7 (30.43%)
Global Variables 0 (0.00%)
Super-Global Variables 16 (69.57%)
Attribute Accesses 738
Non-Static 729 (98.78%)
Static 9 (1.22%)
Method Calls 480
Non-Static 471 (98.12%)
Static 9 (1.88%)
Structure
Namespaces 18
Interfaces 4
Traits 5
Classes 103
Abstract Classes 2 (1.94%)
Concrete Classes 101 (98.06%)
Methods 445
Scope
Non-Static Methods 444 (99.78%)
Static Methods 1 (0.22%)
Visibility
Public Methods 352 (79.10%)
Non-Public Methods 93 (20.90%)
Functions 9
Named Functions 2 (22.22%)
Anonymous Functions 7 (77.78%)
Constants 22
Global Constants 13 (59.09%)
Class Constants 9 (40.91%)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment