Reporting Code Coverage Results

The Report command in the Jade User Interrupt Code Coverage submenu outputs code coverage results for the selected application to a file. In JADE thin client mode, code coverage results output is always output to the workstation that is running the JADE logic; that is, to the application server.

To output code coverage results to a report file

The code coverage results are then output to the code coverage file, which defaults to the application-name_timestamp.ccd file, where the timestamp value is in the YYYYMMDD_hhmmss format (for example, erewhonshop_20090312_074611.ccd). This generated file name is used if the value of the codeCoverageFileName property in the JadeProfiler class is null.

The report is output to the directory specified by the CodeCoverageDirectory parameter in the [JadeProfiler] section of the JADE initialization file, which defaults to logs\CodeCoverage (that is, the CodeCoverage subdirectory of logs). For details, see "JADE Initialization File" (that is, the JADE Initialization File Reference).

You can view your code coverage results output file by loading the report output file into the Code Coverage Results Browser. For details about viewing code coverage results, see "Viewing Code Coverage Results", in the next section, or "Code Coverage", in Chapter 17 of the JADE Developer’s Reference.