Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Code-Coverage
Code-Coverage [message #104357] Wed, 11 July 2007 14:51 Go to next message
Eclipse User
Originally posted by: codex.magic-dreams.de

Hello,

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

Regards
Wolfgang
Re: Code-Coverage [message #104404 is a reply to message #104357] Wed, 11 July 2007 16:03 Go to previous messageGo to next message
mike is currently offline mike
Messages: 80
Registered: July 2009
Member
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 07:31 Go to previous message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
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:

http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. 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:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=138736#c17

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:

http://www.eclipse.org/tptp/home/downloads/downloads.php >> Deprecated
Technology
Previews >> Code Coverage

Moving forward, we are working at integrating EMMA for line level code
coverage with test execution in TPTP (see defect
https://bugs.eclipse.org/bugs/show_bug.cgi?id=170800). Please feel free to
comment or contribute to this defect.

Paul

"Wolfgang Roessler" <codex@magic-dreams.de> wrote in message
news:f738qp$mgd$1@build.eclipse.org...
> 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: Fri Aug 22 13:41:43 EDT 2014

Powered by FUDForum. Page generated in 0.03129 seconds