View previous topic :: View next topic |
Author |
Message |
mainfrae Beginner
Joined: 17 Feb 2006 Posts: 17 Topics: 9
|
Posted: Mon Apr 30, 2007 3:02 pm Post subject: All lines in a program has been executed |
|
|
Hi,
Is there anyway to ensure whether all the lines in a program has been executed.
I scouted in this forum related with this issue, but i am not able to pick it up.
Please give me some idea.
Thanks
Mainfrae |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
CICS Guy Intermediate
Joined: 30 Apr 2007 Posts: 292 Topics: 3
|
Posted: Tue May 01, 2007 3:23 am Post subject: Re: All lines in a program has been executed |
|
|
mainfrae wrote: | Is there anyway to ensure whether all the lines in a program has been executed. | Why would you want to execute every line, wouldn't some be for error processing?
The Enterprise COBOL optimizer will point out code that will never be executed but not code that might not be executed. |
|
Back to top |
|
 |
mainfrae Beginner
Joined: 17 Feb 2006 Posts: 17 Topics: 9
|
Posted: Wed May 02, 2007 1:25 pm Post subject: All lines in a program has been executed |
|
|
Thanks for your information.
Thanks
Mainfrae |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Wed May 02, 2007 4:46 pm Post subject: |
|
|
CICS guy, I believe this is a reference to unit test. |
|
Back to top |
|
 |
DaveyC Moderator

Joined: 02 Dec 2002 Posts: 151 Topics: 3 Location: Perth, Western Australia
|
Posted: Thu May 03, 2007 10:02 pm Post subject: |
|
|
If you have IBMs DebugTool it has a code coverage utility which reports the percentage of code executed in a test run. It looks quite good... _________________ Dave Crayford |
|
Back to top |
|
 |
acevedo Beginner

Joined: 03 Dec 2002 Posts: 127 Topics: 0 Location: Europe
|
Posted: Fri May 04, 2007 4:32 pm Post subject: |
|
|
and SmarTest TCA. |
|
Back to top |
|
 |
|
|