Details
Description
When using jenkins in combination with php_depend (and I'm assuming also when running Sonar standalone), the results from php_depend are stored in some xml file. This xml file holds numbers for metrics that are not yet incorporated in Sonar.
I don't know if this is new functionality from php_depend 1.0x, but it would be nice if the calculated metrics would be checked to see if they were already incorporated in Sonar (and be made accessible via the Sonar Web Service API).
For a certain PHP project I can see that some metrics like DIT (Depth of Inheritance Tree), maxDIT, fanout, etc are calculated, but they are not accessible through the Sonar Web Service API. For instance, Fanout is just another name for efferent coupling.
If these new metrics would be incorporated the overview of php projects would be greatly improved.
I've quickly browsed the metrics page for PDepend (at http://pdepend.org/documentation/software-metrics/index.html) and I actually don't find extra metrics that would be useful to add in Sonar - for the following reason:
I understand that it could be tempting to store all the metrics to get them all using the Web service API, but actually the purpose of Sonar is first to offer valuable functional features (and not a simple "datastore").
Remy, in regards of those explanations, do see PDepend metrics that I could have missed that would still have a value to be pushed by the PHP plugin?