public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Subrata Modak <subrata@linux.vnet.ibm.com>
To: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>,
	Garrett Cooper <yanegomi@gmail.com>
Cc: ltp-list <ltp-list@lists.sf.net>,
	ltp-coverage <ltp-coverage@lists.sourceforge.net>
Subject: [LTP] Finding True Application Code Coverage in case of heteregenous	Executable Environment
Date: Mon, 31 Jan 2011 00:58:28 +0530	[thread overview]
Message-ID: <1296415709.29830.8.camel@subratamodak.linux.ibm.com> (raw)

Peter,

Is there a way to find true application code coverage for a
heterogeneous Executable Environment, where the application can consist
of:
     1. C Programs(only for which .gcno and .gcda files can be
        generated)
     2. Shell Scripts,
     3. Perl Scripts,
     4. Python Scripts,
     5. etc ?

Is there any by which i can also count the no. of lines/ branches/
Functions executed by the Scripts ??

Another question. when i tried to execute the following, it took into
consideration only the .gcda of the C executables invoked by the
program:
     1. lcov --directory /root/LTP-GIT/ltp/ --zerocounters
     2. (cd /opt/ltp/; ./runltp -f math)
     3. lcov --directory /root/LTP-GIT/ltp/ --capture --output-file
        app.info
     4. genhtml app.info

Instead i wanted it consider all C files for which .gcno are present
and .gcda are not present(as i did not execute the corresponding
binaries), so to truly find the exact % of C files covered and % left
out from the whole trickled down /root/LTP-GIT/ltp/ directory.

Regards--
Subrata



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

             reply	other threads:[~2011-01-30 19:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-30 19:28 Subrata Modak [this message]
2011-01-31 12:21 ` [LTP] [Ltp-coverage] Finding True Application Code Coverage in case of heteregenous Executable Environment Peter Oberparleiter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1296415709.29830.8.camel@subratamodak.linux.ibm.com \
    --to=subrata@linux.vnet.ibm.com \
    --cc=ltp-coverage@lists.sourceforge.net \
    --cc=ltp-list@lists.sf.net \
    --cc=oberpar@linux.vnet.ibm.com \
    --cc=yanegomi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox