If your organisation uses the Atlassian Clover code-coverage tool, Bamboo can record code-coverage details (i.e. the percentage of code covered by tests) for each build result.
This is only available if the build's plan specifies a Clover directory (for details please refer to the Enabling the Clover add-on).
Bamboo also provides data on code-coverage trends for a plan over a period of time. For details see the Related pages at right.
Clover HTML report for a job
Where Clover generates an HTML report (created by default in automatic integration), you can examine the report in the build job summary page. To view the report:
- Go to the plan summary
- Select the relevant build number
- Select the appropriate job
- Click on the Clover tab to open the report
The Clover tab is not available on the Build summary page - you must navigate to the Job summary. This is because your build may contain multiple jobs, each of which may have its own Clover report.
Clover statistics report for a job
If your build generates a Clover XML report but not the HTML report, then the Clover Report artifact is not available on the Artifacts tab, however the build job summary page will contain a few code coverage statistics:
- Go to the plan summary
- Select the relevant build number
- Select the appropriate job
- Click on the Clover tab to open the report
TIP: This usually happens for manual Clover integration. In case you want to see full Clover report, configure it as described on Enabling the Clover add-on page.
References
The content of the Clover HTML report is discussed in detail on the Clover Documentation Home - 4. Understanding Reports page. For completeness, an example Clover Code Coverage HTML report is shown below.



2 Comments
Melinda Moran
Feb 21, 2013We are unable to view these reports from the build job tabs. Upgraded from bamboo 3.3 to 4.4, and all of the old plan builds can see old Clover reports, but now get the following errors "The requested URL /build/result/viewCloverResult.action was not found on this server." The job is using the option for clover integration "Clover is already integrated into this build"
The report not seen is from this title "Clover statistics report for a job" as described on this page.
ArmenA
Feb 21, 2013Hi Melinda,
I am sorry to hear that you are facing this issue. We had some problems with Clover in Bamboo 4.4. Please upgrade your Bamboo instance to 4.4.3, and in case you still face the same problem, please open a new support ticket and provide your Bamboo logs and screenshots indicating the issue.
Armen