IBM Support

Known issues and limitations of Code Coverage

Question & Answer


Question

What are the known issues, limitations, and work-arounds for using Java Code Coverage and z/OS® Debugger with Compiled Code Coverage?

Cause

The following table lists the issues, limitations, and available workarounds for Java Code Coverage and IBM z/OS Debugger and Compiled Languages Code Coverage:

Area Type Description Solution or Work-Around
Code Coverage Results View Issue When you run an Eclipse 15.0.0 IDE in a language other than English, opening the following dialogs results in an NullPointerException error:
  • Add Result Location
  • Export Result
  • Import Result
Update to version 15.0.1 or later of IBM Debug for z/OS, IBM Developer for z/OS or IBM Developer for z/OS Enterprise Edition.
On earlier versions, to avoid this issue, from the Remote Systems view create a new local connection named Local:
  • From the Remote Systems view, double-click New Connection>Local.
  • Specify Local in the Connection Name field.
  • Click Finish.
Issue When you run with a Eclipse 15.0 IDE with a Chinese locale, the pop-up menu for a Java code coverage result is missing the action:
移除代码覆盖指示符(Remove code coverage indicators)
The action is incorrectly named.  Select the following action to remove the indicators:
工作台报告(Workbench Report)
Issue Updating the threshold percentage does not automatically refresh the view. Click the Refresh button in the view toolbar after modifying the threshold.
Compile Options Limitation Not all compiler options are supported for code coverage in Debug Tool compatibility mode. For more information, see Supported compilers and options for code coverage in Debug Tool compatibility mode for details on which compiler options are required for Compiled Code Coverage with z/OS Debugger.
Import Issue In Eclipse 15.0 IDE, you cannot open the Import Compiled Code Coverage Result dialog when the Code Coverage Results view is not opened.
Update to version 15.0.1 or later of IBM Debug for z/OS, IBM Developer for z/OS or IBM Developer for z/OS Enterprise Edition.
For earlier versions, open the Code Coverage Results view before accessing the Import dialog.
For more information, see Cannot open Import Compiled Code Coverage Result dialog when Code Coverage Results view is not opened.
Headless Collector Limitation Headless collection for compiled languages is not supported on macOS. None.
Issue On Linux, code coverage cannot be collected in standard mode when the headless collector is installed in a directory with a space.
Update to version 14.2.4 or later, or 15.0.1 or later of IBM Developer for z/OS or IBM Developer for z/OS Enterprise Edition.
For earlier versions, use Debug Tool compatibility mode to collect code coverage, or install the headless collector to a directory that does not contain a space.
PDF Report Issue PDF reports appear in English only. Update to version 15.0 or later of IBM Debug for z/OS, IBM Developer for z/OS or IBM Developer for z/OS Enterprise Edition. For more information, see Does Code Coverage PDF Report Support Multi Languages in IBM Developer for z Systems? for details on generating PDF reports.

[{"Line of Business":{"code":"LOB17","label":"Mainframe TPS"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSTQWA","label":"IBM Debug for z\/OS"},"ARM Category":[{"code":"a8m0z00000009OdAAI","label":"IDz Family->Code Coverage"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"},{"Line of Business":{"code":"LOB17","label":"Mainframe TPS"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"ARM Category":[{"code":"a8m0z00000009OdAAI","label":"IDz Family->Code Coverage"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"},{"Line of Business":{"code":"LOB17","label":"Mainframe TPS"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"ARM Category":[{"code":"a8m0z00000009OdAAI","label":"IDz Family->Code Coverage"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Document Information

Modified date:
18 March 2021

UID

ibm16342877