Yup - it is already checked in. The coverage uses cobertura and you
can find the details on this bug:
https://issues.apache.org/jira/browse/SHINDIG-243

You run this command:
mvn site -Preporting

And it usually seems to need to run from the java dir to pick up some
cobertura data file or something.
Afterwards your data will end up here:

file:///<your client>/java/social-api/target/site/index.html
file:///<your client>/java/social-api/target/site/cobertura/index.html
(works for the other sub dirs too - also has javadocs and what not)

It actually looks like the social stuff isn't doing too bad anymore -
82% and 70% coverage. Still room for improvement, but not horribly
embarrassing.

- Cassie



On Tue, Jul 22, 2008 at 2:59 AM, Ian Boston <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I vaguely remember a discussion about Unit Test code coverage, and some
> quality metrics, but looking at the base pom.xml there doesn't appear to be
> a section that I can get to work.
>
> Some questions:
> Did someone build a maven site with code coverage in place ?
> Does the reporting profile work, if so anyone know how to run it ?
>
> I have a patch that works to build a site, but I wanted to check there was
> already work done here.
>
> Is is Ok to add the cobertura maven plugin to the base pom so we can
> generate these reports (BTW, code coverage looks good already), the maven
> plugin is ASFL2 but the core of Cobertura is GPL, however their site appears
> to say that they have been careful about bindings
> http://cobertura.sourceforge.net/license.html and Apache commons appears to
> use it http://commons.apache.org/io/cobertura/index.html.
>
>
> Ian
>
>

Reply via email to