Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Code-Coverage
Code-Coverage [message #104357] Wed, 11 July 2007 18:51 Go to next message
Eclipse UserFriend
Originally posted by:


I am using the latest Eclipse and TPTP releases. How can I perform a
CodeCoverage analysis?

Re: Code-Coverage [message #104404 is a reply to message #104357] Wed, 11 July 2007 20:03 Go to previous messageGo to next message
mike is currently offline mikeFriend
Messages: 80
Registered: July 2009
The only way I see to do this is through the "Coverage statistics" view,
opened by the menu bar button or throught the Window->ShowView-> menu.

If you look at the message below this you will see that when I active thid
view it seems to only show methods hit (not methods missed) so everything
is displayed as 100% covered.
Re: Code-Coverage [message #104540 is a reply to message #104357] Thu, 12 July 2007 11:31 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Wolfgang,
In TPTP and Java 1.4 or less, you can use the Method Level code coverage
function. Method
Level code coverage is another analysis type for the Java Profiler data
collector in the Profiling launch configuration. For more information, see: tptp.platform.doc.user/tasks/tevwcode.htm

If you are interested in using the TPTP Method Level code coverage with
TPTP JUnit tests, please see the work-around here:

TPTP does provide a line level code coverage tool as a Technology
Preview. However, this tooling is depredated (in place of EMMA integration)
and cannot be used with test execution. You can
learn about the TPTP Line Level Code Coverage tool (including a viewlet) for
the latest release at: >> Deprecated
Previews >> Code Coverage

Moving forward, we are working at integrating EMMA for line level code
coverage with test execution in TPTP (see defect Please feel free to
comment or contribute to this defect.


"Wolfgang Roessler" <> wrote in message
> Hello,
> I am using the latest Eclipse and TPTP releases. How can I perform a
> CodeCoverage analysis?
> Regards
> Wolfgang
Previous Topic:Code Coverage 100%
Next Topic:too many files open
Goto Forum:

Current Time: Mon May 21 01:35:15 GMT 2018

Powered by FUDForum. Page generated in 0.01460 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top