Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Does Clover work with PHP?

Rohan Eldridge September 26, 2013

Does Clover work with PHP, I was under the assumption it works for Java/Groovy only?

It's just we were told at one point that Clover also works with PHP.

1 answer

1 accepted

0 votes
Answer accepted
Marek Parfianowicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 26, 2013

No. Atlassian Clover works with Java and Groovy only.

However, there is a "Clover PHP Plugin" which works with PHPUnit and which can generate code coverage report in the Clover-compatible XML format. Such XML file can be later used to display basic coverage metrics in a build summary in Bamboo, for instance.

See:

https://wiki.jenkins-ci.org/display/JENKINS/Clover+PHP+Plugin

Rohan Eldridge September 26, 2013

Thank you, but doesn't this mean code coverage won't work for php as xdebug seems to be lacking on the current Elastic Bamboo images?

https://jira.atlassian.com/browse/BAM-12297

Or am I misintpreting things?

We tried running phpunit tests with the 'Generate code coverage report in HTML format' option enabled and got an error about xdebug being missing.

Marek Parfianowicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 26, 2013

According to the BAM-12297 it seems that you'd have to use your own EC2 images.

Rohan Eldridge September 26, 2013

OK, thanks for clarifying that.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events