About this task
To view a previously saved Workbench code coverage report:
- Click and open the *.analysis file
that was saved.
If the report was not saved, an import may still be possible:
- Navigate to %workspace%\.metadata\.plugins\com.ibm.debug.pdt.codecoverage.core in
your filesystem, where %workspace% is the workspace
where the code coverage report was generated.
- Three files are needed to successfully import the code coverage
report: *.clcoveragedata, *.componentMap, and *.metadata
- Locate the files that contain your application name and the desired
timestamp.
- Open the Project Explorer view in your workbench and create
a new generic project.
- Right click in the Project Explorer view and select
- In the dialog, select
- Click Next, give your project a name, and click Finish.
- Copy and paste the .clcoveragedata, .componentMap, and .metadata files
into the new project.

- Right click on the *.clcoveragedata file and select . A new launch is created in the Compiled Code Coverage
Launch History view and a Workbench report is opened automatically.
You can work with an imported launch in the same way that you work
with a launch created by a run.