Skip to main content

alphaWorks  >  Forums  >  FoCuS  >  developerWorks

how can we create a concurrent coverage report in FoCuS?    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is answered.

Permlink Replies: 1 - Pages: 1 - Last Post: Oct 27, 2008 1:14 PM Last Post By: javafreelancer Threads: [ Previous | Next ]
javafreelancer

Posts: 19
Registered: Aug 15, 2005 05:29:28 PM
how can we create a concurrent coverage report in FoCuS?
Posted: Oct 26, 2008 12:21:57 PM
 
Click to report abuse...   Click to reply to this thread Reply
hello again,

win xp pro/sp3; FoCuS version: 1.4.3.2; IBM® Java™ SE Version 6 (from IBM Development Package for Eclipse for 32-bit Windows); Sun JDK 6; ConTest 3.1.0

i would like to use FoCuS to view Interfered location pairs coverage data produced by ConTest.

the ConTest plugin help pages in eclipse (ConTest - Advanced - Coverage - Measuring Concurrent Coverage - Other types of concurrent coverage) say,

ConTest also supports two types of concurrent coverage without a model. In these there is no task writing during instrumentation - they only collect information about tasks reached at tests. To analyze them in FoCuS, create an empty model and use "i_l_l_e_g_a_l report" to view the covered tasks.

my question is: how can we create an i_l_l_e_g_a_l report in FoCuS? ConTest's help pages do not explain that. from trial and error, i'm guessing that the way to create an empty model to view ConTest's Interfered location pairs coverage data, is (in FoCuS) to:

1. execute Model - Import - From task files
2. select the com_ibm_contest/locationPairsTraces directory
3. Choose a name for the model - click OK
4. Click the Create empty model button
5. from the Attribute selection for model selector that is displayed, Choose which attributes to include in the model as instructed; click OK

doing the above 5 steps in FoCuS results in a window titled with the name chosen in step 3; it displays a 2-column (Attribute/Type) x 11-row table (directory1, file1, method1, ...)

the Reports - Generate - Coverage Table menu option brings up a Prepare coverage table report pane with a Show LEGAL tasks | Show i_l_l_e_g_a_l tasks radio button group. it also shows the trace files contained in com_ibm_contest/locationPairsTraces. selecting Show i_l_l_e_g_a_l tasks, then clicking Create Report brings up a Here are the i_l_l_e_g_a_l tasks: pane with 0 items listed!

please, will anybody here explain how to view ConTest's Interfered location pairs coverage data using FoCuS?

thanks in advance for your help.
javafreelancer

Posts: 19
Registered: Aug 15, 2005 05:29:28 PM
Re: how can we create a concurrent coverage report in FoCuS?
Posted: Oct 27, 2008 01:14:45 PM   in response to: javafreelancer in response to: javafreelancer's post
 
Click to report abuse...   Click to reply to this thread Reply
hello forum,

after receiving an out-of-band email reply from yarden nir-buchbinder, i retried the steps i listed in my original post (using the same location pair trace files); this time, it worked! woo-hoo! thanks yarden!

i don't recall doing anything differently today, from when i first tried it yesterday (apart from rechecking to make sure the trace files have content in them, as yarden suggested).

nevertheless, i can confirm that following the steps i listed in my original post, will successfully produce coverage table reports for location pair trace files. just double check to make sure the trace files have content in them (all bets are off if you use zero-length, empty trace files).

contest and focus are 2 seriously useful tools! thanks again yarden, schmuel and rachel for your brilliant work!

many thanks

Point your RSS reader here for a feed of the latest messages in all forums