ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Code Coverage progress bar never ending

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Code Coverage progress bar never ending

    Hi All,

    We are trying to refactor few of our legacy programs which have crossed SEU limit of 32k lines. So we thought, we will use Code coverage tool with most frequently used data conditions
    and find out the dead code.

    1. One program takes not more than 2 seconds to process 1 data record, and the same is taking 25 minutes to process when code coverage is turned on and code coverage report was 20% which looks okay .
    2. We thought, we'll leverage code coverage batch application tool with 10 data records and get basic draft report, expecting to finish the process in 250 mins (25*10 worst case scenario)
    3. Job submitted via batch code coverage tool finished in 90 minutes with all the processing, but RDi progress bar still showing , 'Running Code coverage for PGM' and it is never ending.
    we tried multiple options, cancelling the progress bar and checking if it generates report, but ended up 0% code coverage.
    4. We also tried using CODECOV command from green screen and reviewed report generated from IFS ( imported zip file and openedit via RDi by adding new result location).
    CODECOV finished within the same time it normally takes for that program without code coverage, and result is not correct, ( compared this with our 1st single data record which was 20%)


    We are on V7R3 with all the latest PTFs except SI72518 & SI72610.( which is related to *SRVPGM but we are validating them against *PGMs) and we are testing this on RDi version 9.6.0.10

    Any thoughts on this one please ?
Working...
X