IntroductionThe Clover-for-Eclipse plugin allows you to generate HTML, PDF or XML reports from one or more Clover-enabled projects in the current workspace. Generating a ReportTo create a report, select a project or source file then click the left-hand side of the Report Button in Eclipse. The 'Generate Report: Report Format' dialog opens.
Screenshot: Generating a New Report in Clover-for-Eclipse Select an Output FormatFor your report, you can select an output format of HTML, PDF or XML. To select the desired output format, click the corresponding radio button in the 'Generate Report: Report Format' dialog and click 'Next'. The 'Generate Report: Project Selection' dialog opens. Screenshot: Selecting a Report Format in Clover-for-Eclipse Select the Source ProjectA list of available projects will be displayed. To choose one, click the tick box shown next to the desired project and click 'Next'. A dialog box with specific settings for the chosen report type opens.
Screenshot: Selecting a Source Project for the Report in Clover-for-Eclipse Configure General Settings for the ReportYour report can make use of the following settings: report title, output directory location, use current filter settings, include failed coverage, threads allocated, include source, JVM selection.
Screenshot: PDF Report Settings in Clover for Eclipse Configuring a Report FilterReport Filter Configuration is only shown if you choose not to accept default filter settings. This lets you select any of the predefined pre-defined filters or any of the custom method or statement filters you have previously configured. Configuring Your Report JVMReport JVM Configuration is only shown if you chose to fork a separate JVM. Sets your maximum heap size (default: 512 MB) and additional JVM arguments (users won't need to supply these unless support tells them to). Finalise the ReportClicking 'Finish' will start the report generation process.
Opening the Generated ReportWhen report generation is complete, a dialog box will prompt you to open one of the following options:
After a report is generated, an entry is added to the drop-down on the right-hand side of the report button in the Clover views which allow users to quickly re-open the report. Screenshot: Quick Link for Opening a Generated Report Screenshot: A Generated PDF Report from Clover-for-Eclipse |
|
|
|
|
|












