Viewing the Clover code-coverage for a plan

If you use Atlassian's Clover and your job specifies a Clover directory (see Enabling the Clover add-on), you will be able to view the Clover coverage summary for the plan.

To view the Clover coverage summary for a plan:

  1. Locate the plan summary on the Bamboo Dashboard.
  2. Click the Clover tab. The Code Coverage Summary information includes:
    • Latest coverage from the most recent build as a percentage and bar representation (aggregated results from all Clover-enabled jobs).
    • A link to detailed HTML reports.
    • Coverage History chart showing changes in percentage Code Coverage over time.
    • Lines of Code History chart showing changes in LOC over time.

Screenshot: the Clover tab for Bamboo 5.6.1 and later.

Screenshot: the Clover tab up to Bamboo 5.6.0.

Note:

  1. Charts are only generated when build results from at least a 2-day span are available. Where shorter time spans are available, the user will receive a warning stating "Insufficient data in range to draw the chart."
  2. Where your plan contains multiple jobs with Clover, then Code Coverage and Lines of Code values are aggregated from all these jobs.
  3. Bamboo 5.6.0 and older:  If your plan contains multiple jobs with Clover, the View latest Clover HTML report link will point to the default job only. In order to see other reports, you must go to the specific job summary, as described in Viewing the Clover code-coverage for a build.
Last modified on Apr 24, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.