You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by sb...@apache.org on 2002/02/01 03:09:26 UTC

[COVERAGE] jakarta-ant

This is a short text summary of the results of a coverage source code
analysis tool ( JProbe Coverage - http://www.jprobe.com )ran on this
project unit tests.

For detailed information please look at the full report at:
http://cvs.apache.org/~sbailliez/jakarta-ant/coverage

- Summary -

Reported classes         Methods hit              Lines hit
494                      35.8%                    35.7%

- Packages -

Name                                                      Methods hit Lines hit
org.apache.tools.ant.taskdefs.optional.vss                000.0%       000.0%
org.apache.tools.ant.taskdefs.optional.dotnet             000.0%       000.0%
org.apache.tools.ant.taskdefs.optional.javacc             000.0%       000.0%
org.apache.tools.ant.taskdefs.optional.jsp                000.0%       000.0%
org.apache.tools.ant.taskdefs.optional.ccm                000.0%       000.0%
org.apache.tools.ant.taskdefs.optional.i18n               000.0%       000.0%
org.apache.tools.ant.taskdefs.optional.ejb                000.0%       000.0%
org.apache.tools.ant.taskdefs.optional.clearcase          000.0%       000.0%
org.apache.tools.ant.taskdefs.optional.metamata           000.0%       000.0%
org.apache.tools.mail                                     000.0%       000.0%
org.apache.tools.ant.taskdefs.optional.jdepend            000.0%       000.0%
org.apache.tools.ant.taskdefs.optional.jlink              000.0%       000.0%
org.apache.tools.ant.taskdefs.optional.pvcs               000.0%       000.0%
org.apache.tools.ant.taskdefs.optional.sound              000.0%       000.0%
org.apache.tools.ant.taskdefs.optional.depend             000.0%       000.0%
org.apache.tools.ant.types.optional.depend                000.0%       000.0%
org.apache.tools.ant.taskdefs.compilers                   000.0%       000.0%
org.apache.tools.ant.util.depend                          000.0%       000.0%
org.apache.tools.ant.taskdefs.rmic                        000.0%       000.0%
org.apache.tools.ant.listener                             000.0%       000.0%
org.apache.tools.ant.taskdefs.optional.jsp.compilers      000.0%       000.0%
org.apache.tools.ant.taskdefs.optional.net                001.2%       000.4%
org.apache.tools.ant.taskdefs.optional.scm                002.2%       000.9%
org.apache.tools.ant.taskdefs.optional.starteam           004.8%       002.2%
org.apache.tools.ant.taskdefs.optional.perforce           003.8%       005.7%
org.apache.tools.ant.taskdefs.optional.sos                043.5%       018.5%
org.apache.tools.ant.taskdefs.optional                    024.7%       022.6%
org.apache.tools.ant.taskdefs.optional.sitraka            019.7%       031.5%
org.apache.tools.ant.taskdefs.optional.junit              039.8%       033.0%
org.apache.tools.ant.taskdefs                             042.0%       040.6%
org.apache.tools.ant.taskdefs.optional.sitraka.bytecode   054.9%       057.9%
org.apache.tools.tar                                      054.3%       062.4%
org.apache.tools.ant.taskdefs.optional.depend.constantpool057.9%       062.5%
org.apache.tools.zip                                      060.9%       062.8%
org.apache.tools.ant.taskdefs.condition                   066.1%       063.9%
org.apache.tools.ant                                      076.6%       069.3%
org.apache.tools.ant.types                                080.0%       069.8%
org.apache.tools.ant.util                                 074.1%       070.0%
org.apache.tools.ant.util.regexp                          091.7%       083.2%
org.apache.tools.bzip2                                    079.7%       087.3%


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: [COVERAGE] jakarta-ant

Posted by Vincent Massol <vm...@octo.com>.
Diane,

You can use Mock Objects (http://www.mockobjects.com) to "simulate" the
real objects. At least this provides unit test for the code logic.
However, it does not provide integration unit test. But I guess, as you
said, this is really hard to cover.

Having unit tests that cover 100% of Ant's classes logic is already
quite good in my opinion.

Cheers
-Vincent

> -----Original Message-----
> From: Diane Holt [mailto:holtdl@yahoo.com]
> Sent: 01 February 2002 03:11
> To: Ant Developers List
> Subject: Re: [COVERAGE] jakarta-ant
> 
> But wouldn't some of these tasks be pretty hard to have tests for? For
> example, to test the Perforce tasks you'd need to have Perforce
running on
> the test machine(s) -- you can get a free version of it (limited to 2
> users), but who'd be the one to have to set something like that up?
(I
> don't even want to think about someone having to deal with setting up
> Clearcase :)  And I'm not sure how you'd really test the Sound task,
other
> than to verify the error-checking works right -- unless someone's
around
> to listen and make sure the sound-file really played :)
> 
> Diane
> 
> =====
> (holtdl@yahoo.com)
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Great stuff seeking new owners in Yahoo! Auctions!
> http://auctions.yahoo.com
> 
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
> 




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [COVERAGE] jakarta-ant

Posted by Diane Holt <ho...@yahoo.com>.
But wouldn't some of these tasks be pretty hard to have tests for? For
example, to test the Perforce tasks you'd need to have Perforce running on
the test machine(s) -- you can get a free version of it (limited to 2
users), but who'd be the one to have to set something like that up?  (I
don't even want to think about someone having to deal with setting up
Clearcase :)  And I'm not sure how you'd really test the Sound task, other
than to verify the error-checking works right -- unless someone's around
to listen and make sure the sound-file really played :)

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>