Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Code Coverage 100%
Code Coverage 100% [message #104189] Tue, 10 July 2007 19:16 Go to next message
mike is currently offline mikeFriend
Messages: 80
Registered: July 2009
Member
My Code coverage percentages are always at 100% using 3.3 and TPTP from
the Europa update site. Is this a known problem??
Re: Code Coverage 100% [message #104278 is a reply to message #104189] Wed, 11 July 2007 10:37 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Mike,
Are you using the line level code coverage Technology Preview or the
method level code coverage in the Java Profiler?

Paul
"mike shipkowski" <michael.shipkowski@sas.com> wrote in message
news:f1a8c0aaa38274263e63b446cdbdd87f$1@www.eclipse.org...
> My Code coverage percentages are always at 100% using 3.3 and TPTP from
> the Europa update site. Is this a known problem??
>
Re: Code Coverage 100% [message #104305 is a reply to message #104278] Wed, 11 July 2007 12:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: michael.shipkowki.sas.com

Well....I have the line level installed but do not explicitly reference
it. Oddly enough the "Code Covergae" selection in the Monitor tab of the
profiling dialog no longer appears, so I run with execution stats selected
and display the Coverage view.
Re: Code Coverage 100% [message #104416 is a reply to message #104305] Wed, 11 July 2007 20:05 Go to previous messageGo to next message
mike is currently offline mikeFriend
Messages: 80
Registered: July 2009
Member
This is also a problem without the line level coverage installed, I just
noticed this is in "Deprecated Technology Previews" Will this no longer be
offered??
Re: Code Coverage 100% [message #104501 is a reply to message #104305] Thu, 12 July 2007 11:27 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Mike,
Method level code coverage in TPTP 4.4 is only supported for Java 1.4
and lower profiling:

http://help.eclipse.org/help33/topic/org.eclipse.tptp.platfo rm.doc.user/tasks/tpfviews.htm

It appears to be a defect for that the Coverage veiw displays a 100% hit
rate for all methods when opened. I have opened defect
https://bugs.eclipse.org/bugs/show_bug.cgi?id=196287 to address this moving
forward.

Paul
"mike shipkowski" <michael.shipkowki@sas.com> wrote in message
news:4df712b08db302413d43a8cbbc371780$1@www.eclipse.org...
> Well....I have the line level installed but do not explicitly reference
> it. Oddly enough the "Code Covergae" selection in the Monitor tab of the
> profiling dialog no longer appears, so I run with execution stats selected
> and display the Coverage view.
>
Re: Code Coverage 100% [message #104515 is a reply to message #104416] Thu, 12 July 2007 11:27 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Mike,

In TPTP, 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
"mike shipkowski" <michael.shipkowski@sas.com> wrote in message
news:2c8f6f927b614c11a8b7d0f8783126ae$1@www.eclipse.org...
> This is also a problem without the line level coverage installed, I just
> noticed this is in "Deprecated Technology Previews" Will this no longer be
> offered??
>
Previous Topic:DataPool could not be loaded - urgent
Next Topic:Code-Coverage
Goto Forum:
  


Current Time: Fri Mar 29 14:55:08 GMT 2024

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

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

Back to the top