Questions tagged [phploc]

phploc is a tool for quickly measuring the size and analyzing the structure of a PHP project.

phploc is a tool for quickly measuring the size and analyzing the structure of a PHP project written by Sebastian Bergmann, author of phpunit

phploc is open source and can be downloaded from github

7 questions
6
votes
1 answer

phploc output explanation

If I run phploc against one of my PHP project (open source) I see this output. phploc 1.6.4 by Sebastian Bergmann. Directories: 3 Files: 33 Lines of Code (LOC):…
Shiplu Mokaddim
  • 56,364
  • 17
  • 141
  • 187
3
votes
2 answers

phploc installation not working on ubuntu

I am trying to install phploc on my ubuntu 13.04 and it doesn't seem to work here are the steps I followed. $ sudo pear config-set auto_discover 1 $ sudo pear install phpunit/phploc phpunit/phploc can optionally use PHP extension…
Vivek
  • 168
  • 2
  • 7
2
votes
1 answer

Warning: PHPLoc enrichment not enabled or phploc.xml not found in phpDox

I generate API documentation for my PHP project with Jenkins and Ant on project building:
automatix
  • 14,018
  • 26
  • 105
  • 230
1
vote
1 answer

Understanding php static code analysis results

I need an advice. Cant found any information about static code analysis results. For example, i use phploc, and generate report. But it's a good results or a bad i dont know. As I understand what utility I wouldn't have enjoyed report must be the…
Tapakan
  • 328
  • 1
  • 3
  • 15
1
vote
1 answer

How to set minimum for Jenkins Plot Plugin

I use Jenkins and its Plot Plugin to generate statistics. Example: For every Build I plot the line of codes. Lets say I have like 500.000 lines and it changes about +-100 lines per build. Since the plot y-axis always starts with 0 the whole plot…
Benjamin Eckstein
  • 884
  • 2
  • 9
  • 19
1
vote
1 answer

Why is phploc ignoring excludes in ant

In my buildfile I use phploc as described in jenkins-php.org but it just won't ignore folders.
spankmaster79
  • 21,555
  • 10
  • 42
  • 73
0
votes
1 answer

Cannot run phploc through ANT

I've looked at both these posts.. they don't help: PHP build for Jenkins failing with 'Cannot run program "phploc"' Cannot run phploc installed through composer If I run phploc at a shell prompt, it works just fine. So it must be something with my…
Maxcot
  • 1,513
  • 3
  • 23
  • 51