Permalink
Browse files

Update output.

  • Loading branch information...
1 parent f666354 commit d56c227f8aec04ccde639c5208e8009a468a7340 @sebastianbergmann committed Jun 2, 2009
Showing with 6 additions and 45 deletions.
  1. +6 −45 README.markdown
View
@@ -25,48 +25,24 @@ The PEAR channel (`pear.phpunit.de`) that is used to distribute phploc needs to
This has to be done only once. Now the PEAR Installer can be used to install packages from the PHPUnit channel:
sb@ubuntu ~ % pear install phpunit/phploc
- downloading phploc-1.0.0.tgz ...
- Starting to download phploc-1.0.0.tgz (5,834 bytes)
- .....done: 5,834 bytes
- install ok: channel://pear.phpunit.de/phploc-1.0.0
+ downloading phploc-1.1.0.tgz ...
+ Starting to download phploc-1.1.0.tgz (6,591 bytes)
+ .....done: 6,591 bytes
+ install ok: channel://pear.phpunit.de/phploc-1.1.0
After the installation you can find the phploc source files inside your local PEAR directory; the path is usually `/usr/lib/php/PHPLOC`.
Usage Examples
--------------
- sb@ubuntu ~ % phploc /usr/local/src/ezcomponents/trunk/Workflow
+ sb@ubuntu ~ % phploc /usr/local/src/ezcomponents/trunk/Workflow/src
phploc 1.1.0 by Sebastian Bergmann.
- Directories: 13
- Files: 102
-
- Lines of Code (LOC): 14138
- Executable Lines of Code (ELOC): 5748
- Comment Lines of Code (CLOC): 5244
- Non-Comment Lines of Code (NCLOC): 8894
-
- Interfaces: 7
- Classes: 90
- Non-Static Methods: 536
- Static Methods: 33
- Functions: 0
-
-You can use the `--sut` and `--tests` switches to tell `phploc` which directory
-contains your tested code (system under test) and which directory contains your
-test code.
-
- sb@ubuntu ~ % phploc --sut /usr/local/src/ezcomponents/trunk/Workflow/src \
- --tests /usr/local/src/ezcomponents/trunk/Workflow/tests
- phploc 1.1.0 by Sebastian Bergmann.
-
- System Under Test
- ---------------------------------------------
Directories: 11
Files: 82
Lines of Code (LOC): 9576
- Executable Lines of Code (ELOC): 2944
+ Executable Lines of Code (ELOC): 2962
Comment Lines of Code (CLOC): 4923
Non-Comment Lines of Code (NCLOC): 4653
@@ -75,18 +51,3 @@ test code.
Non-Static Methods: 274
Static Methods: 22
Functions: 0
-
-
- Tests
- ---------------------------------------------
- Lines of Code (LOC): 4457
- Executable Lines of Code (ELOC): 2753
- Comment Lines of Code (CLOC): 263
- Non-Comment Lines of Code (NCLOC): 4194
-
- Interfaces: 0
- Classes: 15
- Non-Static Methods: 259
- Static Methods: 11
- Functions: 0
-

0 comments on commit d56c227

Please sign in to comment.