IBM Support

PH10791: CODE COVERAGE ALWAYS MARKS THE FIRST EXECUTABLE LINE OF THE FILE WHEN THE MAIN PROGRAM IS EXECUTED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Code coverage always marks the first executable line of the file
    when the main program is executed, even if that line is not
    executed because it is in a procedure that did not get hit.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users who run code coverage.                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Code coverage marks the first executable line of a file as   *
    * hit, even when it should not be.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • When a file contains a nested flow point prior to the first
    executable line of the main program, and the flow point is not
    called, code coverage was incorrectly marking the first line of
    the flow point as hit.
    Code coverage was updated to no longer automatically mark the
    first exectable line of the file as hit, when execution of the
    main code in a file is detected.
    
    This issue is fixed in the following products:
    IBM Debug for z Systems
    IBM Developer for z Systems
    IBM Developer for z Systems Enterprise Edition
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH10791

  • Reported component name

    DEV FOR Z SYS

  • Reported component ID

    5724T0700

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-04-10

  • Closed date

    2019-06-13

  • Last modified date

    2019-06-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DEV FOR Z SYS

  • Fixed component ID

    5724T0700

Applicable component levels



Document information

More support for: Rational Developer for System z

Software version: E10

Reference #: PH10791

Modified date: 13 June 2019