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 は、あるプランの一定期間におけるコード カバレッジの傾向に関するデータも提供します。詳細については、右側の関連ページを参照してください。
ジョブの Clover HTML レポート
Clover が HTML レポートを生成する場合(自動統合では既定で作成)、ビルド ジョブの要約ページでレポートを調べることができます。レポートを表示するには、次の手順を実行します。
- Go to the plan summary
- Select the relevant build number
- Select the appropriate job
- Click on the Clover tab to open the report
[ビルド概要] ページに [Clover] タブは表示されません。[ジョブ概要] に移動する必要があります。これは、ビルドに複数のジョブが含まれていて、それぞれに独自の Clover レポートがある可能性があるためです。
ジョブの Clover 統計レポート
ビルドで Clover XML レポートは生成されるが、HTML レポートが生成されない場合、Clover レポートのアーティファクトは [アーティファクト] タブに表示されませんが、ビルドのジョブ概要ページにいくつかのコード カバレッジ統計が含まれています。
- 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.
参考
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.