For Programmers: Free Programming Magazines  


Home > Archive > Software Engineering > May 2006 > Java Code coverage tool









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Java Code coverage tool
timasmith@hotmail.com

2006-05-10, 10:00 pm

Hi,

Is there a tool/profiler which is free (like HPROF) that can provide
Code Coverage.

i.e. determine all the methods in my classes and then after running
through a test plan determine all the methods used and report those not
used?

thanks

Tim

jmcgill

2006-05-10, 10:00 pm

timasmith@hotmail.com wrote:
> Hi,
>
> Is there a tool/profiler which is free (like HPROF) that can provide
> Code Coverage.
>
> i.e. determine all the methods in my classes and then after running
> through a test plan determine all the methods used and report those not
> used?


Clover isn't free, but I suspect that after you try the eval, you'll buy
it. It really is excellent.
Donald McLean

2006-05-11, 8:01 am

The outstanding folks at JetBrains / IntelliJ are in the process of
adding code coverage to their IDEA development environment. I haven't
tried the EAP yet so I can't say much about it but the subject has been
discussed quite a bit in their forum.

Donald McLean

timasmith@hotmail.com wrote:
> Hi,
>
> Is there a tool/profiler which is free (like HPROF) that can provide
> Code Coverage.
>
> i.e. determine all the methods in my classes and then after running
> through a test plan determine all the methods used and report those not
> used?
>
> thanks
>
> Tim
>

Dave Glasser

2006-05-11, 8:01 am

timasmith@hotmail.com wrote on 10 May 2006 19:37:50 -0700 in
comp.lang.java.programmer:

>Hi,
>
>Is there a tool/profiler which is free (like HPROF) that can provide
>Code Coverage.


I've never used it, but I've heard it's good:

http://emma.sourceforge.net/


--
Check out QueryForm, a free, open source, Java/Swing-based
front end for relational databases.

http://qform.sourceforge.net

If you're a musician, check out RPitch Relative Pitch
Ear Training Software.

http://rpitch.sourceforge.net
isitmeorthey

2006-05-12, 8:02 am

i've used Cobertura and i'm pleased about it
http://cobertura.sourceforge.net/.
it's free and has more readeable reports than Emma, i.e.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com