Talks around PHP, Computer Science and Stuffs
In: PHP| Programming language
18 Mar 2009I had the chance to attend the PHP Québec Conference this year. It was very interesting. I highly encourage anyone to attend such conferences if he / she is interested by PHP.
Anyway during one of the presentation, I discovered an interesting little script / tool named PHPLoc. It is written by Sebastian Bergmann and It will basically parse php files (of a project for intstance) and return some informations related to its size.
Here is an example directly taken from github.com :
sb@ubuntu ~ % phploc /usr/local/src/ezcomponents/trunk/Workflow
phploc 1.1.0 by Sebastian Bergmann.Directories: 13
Files: 102Lines of Code (LOC): 14066
Executable Lines of Code (ELOC): 5710
Comment Lines of Code (CLOC): 5228
Non-Comment Lines of Code (NCLOC): 8838Interfaces: 7
Classes: 90
Functions/Methods: 566
My name is Bashar Al-Fallouji and this is my Blog. I currently work at Nstein as a Senior Solution Architect & Business Analyst. Nstein Technologies develops and markets multilingual solutions that power digital publishing for the most prestigious newspapers, magazines, and content-driven organizations.
I am particularly interested in Web applications, Open Source Development, Software Engineering, Information Architecture, Unit Testing, XP/Agile development, etc.
On this blog, you will find mostly technical articles and thoughts around PHP, OOP, OOD, Unit Testing, etc. I am also sharing a few open source tools and scripts.