I'm testing my libraries with pdepend and some functions have incredibly high complexity. I just realized it comes from the ternary operator, but I'm not sure why.
With a function like:
function test($a) {
return $a > 10 ? 5:20;
…
I tried to compare the metrics of some PHP frameworks with PHP Depend and ran into annoying and probably unintended behavior:
The @package annotation is being ignored, instead namespaces are treated as packages. This is a problem since often sub…
Possible Duplicate:
Jenkins - add chart to the job interface
The first question is - how can I add the pdepend chart to the Jenkins' dashboard (under the project's title) ?
And the second question (I couldn't submit the post with the first one…
I am trying to compare two PHP projects using PHP Depend (http://pdepend.org). One is a page-based PHP application written by a group of students a year ago and the second is mine that I have worked on for the past year. The objective is to provide…
On the http://pdepend.org/documentation/handbook/reports/overview-pyramid.html it is said that:
NOP - The Number Of Packages metric counts the packages within the
analyzed software system.
How the "package" is determined? Is it just @package…
I am using CakePHP 2.3. And I have installed PDepend through composer.json. Following is code snippet of my composer.json file
"require-dev": {
"phpunit/phpunit": "4.2.*",
"phploc/phploc": "*",
"squizlabs/php_codesniffer": "2.*",
…
I'm trying to install PDepend on my Centos 6.3 server. For some reason I constantly receive an error that there are no packages/releases available.
Things I already executed:
pear upgrade
pear clear-cache
pear channel-discover pear.pdepend.org
pear…
I have been trying to set up an ubuntu server where ant tests my code. When I start ANT to test my code it starts with phploc-ci that goes fine. But the next check is pdepend I get the error Cannot run program "pdepend": error=2, No such file or…
I have a problem using php Depend and PMD. When I use:
pdepend --summary-xml=/home//.sonar/pdepend.xml --suffix=php,php3,php4,php5,phtml,inc /home/
this is the result:
Parsing...
…