Hi Doug, IIRC I think you will find that the code coverage is basically
stepping through the program with the debugger so the performance will not
be as fast as normal runs. The coverage data gets written to a file so I
guess you could write a tool to read the incomplete file and display it
somehow though locking on the IBM i may prevent that.
All th ebest, Mike

Mike Hockings, M.Eng., P.Eng.
DevOps for Enterprise
IBM Developer for z Systems and Power Systems Software Technical Support
IBM Canada Ltd. Laboratory
voice 1-905-413-3199 T/L 313-3199 ITN 23133199

From: DEnglander--- via WDSCI-L <wdsci-l@xxxxxxxxxxxxxxxxxx>
To: wdsci-l@xxxxxxxxxxxxxxxxxx
Cc: DEnglander@xxxxxxxxxxxxxxx
Date: 2021/06/01 09:59 AM
Subject: [EXTERNAL] [WDSCI-L] Code Coverage observation
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>

I am testing a program I have written using Code Coverage. The results it
gives are very good in terms of feedback of what I have tested and the
percentage of each subprocedure tested, etc. However, I notice that when I
test using Code Coverage, the testing session is SLOW. I am testing a
green screen application, and the response time is very long. I checked
WRKACTJOB, and see that there is one QB5SERVER job that is racking up CPU
with my userid assigned to it.

Does anyone else experience this? Is there a setting somewhere that needs
to be changed to speed up the session? This is running on a DEV box with a
very small workload.

Also, does anyone know if there is a way to have the Code Coverage results
be displayed dynamically so I can get as high a "Covered Code" as possible
in one session? Just curious.

I am running version Version: 20201112_1147


"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the attachments
accompanying it) contain confidential information belonging to the sender.
The information is intended only for the use of the intended recipient. If
you are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution or the taking of any action in reliance
on the contents of the information is strictly prohibited. Any
unauthorized interception of this transmission is illegal under the law.
If you have received this transmission in error, please promptly notify the
sender by reply e-mail, and then destroy all copies of the transmission."
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,

or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives

Help support midrange.com by shopping at amazon.com with our affiliate

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.