From: William Cohen <wcohen@redhat.com>
To: SystemTAP <systemtap@sources.redhat.com>
Subject: Translator test coverage
Date: Wed, 17 May 2006 20:23:00 -0000 [thread overview]
Message-ID: <446B8646.2010309@redhat.com> (raw)
It has been a while since I have run test coverage tests, so I decided
that it would probably be a good to generate that information again to
see what parts of the translator are exercised by the translator and the
runtime tests. After fixing things for the string keyword in the runtime
tests, I generated the new coverage information. It is posted on
http://people.redhat.com/wcohen
http://people.redhat.com/wcohen/stap-trans-tests-20060517/
http://people.redhat.com/wcohen/stap-run-tests-20060517/
Some comments about the what I saw in the test results. There are a
number of options in stap that are unexercised. There should be tests
that exercise the options:
"-vv" verbose >= 2, this should also trigger a lot additional code coverage
"-p0" and "-p6" a .ko test to check that error checking for pass number
"-I", "-R", "-m", "-r", "-k", "-s", "-c", "-x", "-h"
There isn't much exercise of the throw/catch paths in the code. Either
parse or semantic errors. Need some additional .ko tests to exercise
this paths.
The tapsets.cxx and staptree.cxx are the files that have the least
amount of coverage.
A number of members in mark_derived_probe, mark_builder, and
hrtimer_derived_probe in tapsets.cxx are not exercised.
The testing for the printf specification could be more complete in
staptree.cxx, "%X" and "%n" and justification arguments.
staptree.cxx looks to have code to regenerate the script from the
internal parse tree. None of that code seems to be exercised.
-Will
reply other threads:[~2006-05-17 20:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=446B8646.2010309@redhat.com \
--to=wcohen@redhat.com \
--cc=systemtap@sources.redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).