XWiki on Nemo(Sonar)

5 messages Options
Embed this post
Permalink
vmassol

XWiki on Nemo(Sonar)

Reply Threaded More More options
Print post
Permalink
Hi,

The XWiki project is now fully set up on Nemo here:
http://nemo.sonarsource.org/components/index/XWIKI

Comments:
* Since our junit test no longer fail with memory issue they've added  
back test coverage stats. Link to platform: http://nemo.sonarsource.org/project/index/178319
* They've just added the "Commented LOC" stat feature which shows the  
number of lines of commented code. We shouldn't have any commented out  
code so we'll need to gradually reduce this too.
* The test coverage don't count integration and functional tests, i.e.  
if a unit tests tests code from another module the coverage is not  
taken into account. Thus all our rendering tests in xwiki-rendering-
tests are not taken into account (they cover 90% of the rendering api  
code...).
* Since they've added the unit tests the tech debt has gone down a  
lot. I'll ask them why.

Thanks
-Vincent
_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs
Pascal Voitot

Re: XWiki on Nemo(Sonar)

Reply Threaded More More options
Print post
Permalink
I see more and more tools like this one where xwiki is integrated and I find
it rather interesting.

Is there a page on xwiki.org where there are the links to all these tools in
one place?

regards
Pascal

On Thu, Oct 22, 2009 at 9:06 AM, Vincent Massol <[hidden email]> wrote:

> Hi,
>
> The XWiki project is now fully set up on Nemo here:
> http://nemo.sonarsource.org/components/index/XWIKI
>
> Comments:
> * Since our junit test no longer fail with memory issue they've added
> back test coverage stats. Link to platform:
> http://nemo.sonarsource.org/project/index/178319
> * They've just added the "Commented LOC" stat feature which shows the
> number of lines of commented code. We shouldn't have any commented out
> code so we'll need to gradually reduce this too.
> * The test coverage don't count integration and functional tests, i.e.
> if a unit tests tests code from another module the coverage is not
> taken into account. Thus all our rendering tests in xwiki-rendering-
> tests are not taken into account (they cover 90% of the rendering api
> code...).
> * Since they've added the unit tests the tech debt has gone down a
> lot. I'll ask them why.
>
> Thanks
> -Vincent
> _______________________________________________
> devs mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs
Marius Dumitru Florea

Re: XWiki on Nemo(Sonar)

Reply Threaded More More options
Print post
Permalink
In reply to this post by vmassol
Hi Vincent,

Vincent Massol wrote:
> Hi,
>
> The XWiki project is now fully set up on Nemo here:
> http://nemo.sonarsource.org/components/index/XWIKI

Nice!

>
> Comments:
> * Since our junit test no longer fail with memory issue they've added  
> back test coverage stats. Link to platform: http://nemo.sonarsource.org/project/index/178319

I wish WYSIWYG unit tests were run, but they need a 32-bit JVM which is
hard to enforce in the pom.

> * They've just added the "Commented LOC" stat feature which shows the  
> number of lines of commented code. We shouldn't have any commented out  
> code so we'll need to gradually reduce this too.

Unfortunately they consider native methods like this:

// GWT Java code
native Node getNextSibling()
/*-{
     // JavaScript code
     return this.nextSibling;
}-*/;

to have commented out code.. This applies only for GWT code though.

Thanks,
Marius

> * The test coverage don't count integration and functional tests, i.e.  
> if a unit tests tests code from another module the coverage is not  
> taken into account. Thus all our rendering tests in xwiki-rendering-
> tests are not taken into account (they cover 90% of the rendering api  
> code...).
> * Since they've added the unit tests the tech debt has gone down a  
> lot. I'll ask them why.
>
> Thanks
> -Vincent
> _______________________________________________
> devs mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs
vmassol

Re: XWiki on Nemo(Sonar)

Reply Threaded More More options
Print post
Permalink
In reply to this post by Pascal Voitot

On Oct 22, 2009, at 9:11 AM, Pascal Voitot wrote:

> I see more and more tools like this one where xwiki is integrated  
> and I find
> it rather interesting.
>
> Is there a page on xwiki.org where there are the links to all these  
> tools in
> one place?

Yes

Here:
http://www.xwiki.org/xwiki/bin/view/Main/ExternalLinks#HSitesreferencingXWiki

And also here:
http://dev.xwiki.org/xwiki/bin/view/Community/ProjectHealth

Thanks
-Vincent

>
> regards
> Pascal
>
> On Thu, Oct 22, 2009 at 9:06 AM, Vincent Massol <[hidden email]>  
> wrote:
>
>> Hi,
>>
>> The XWiki project is now fully set up on Nemo here:
>> http://nemo.sonarsource.org/components/index/XWIKI
>>
>> Comments:
>> * Since our junit test no longer fail with memory issue they've added
>> back test coverage stats. Link to platform:
>> http://nemo.sonarsource.org/project/index/178319
>> * They've just added the "Commented LOC" stat feature which shows the
>> number of lines of commented code. We shouldn't have any commented  
>> out
>> code so we'll need to gradually reduce this too.
>> * The test coverage don't count integration and functional tests,  
>> i.e.
>> if a unit tests tests code from another module the coverage is not
>> taken into account. Thus all our rendering tests in xwiki-rendering-
>> tests are not taken into account (they cover 90% of the rendering api
>> code...).
>> * Since they've added the unit tests the tech debt has gone down a
>> lot. I'll ask them why.
>>
>> Thanks
>> -Vincent
_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs
vmassol

Re: XWiki on Nemo(Sonar)

Reply Threaded More More options
Print post
Permalink
In reply to this post by Marius Dumitru Florea

On Oct 22, 2009, at 9:19 AM, Marius Dumitru Florea wrote:

> Hi Vincent,
>
> Vincent Massol wrote:
>> Hi,
>>
>> The XWiki project is now fully set up on Nemo here:
>> http://nemo.sonarsource.org/components/index/XWIKI
>
> Nice!
>
>>
>> Comments:
>> * Since our junit test no longer fail with memory issue they've added
>> back test coverage stats. Link to platform: http://nemo.sonarsource.org/project/index/178319
>
> I wish WYSIWYG unit tests were run, but they need a 32-bit JVM which  
> is
> hard to enforce in the pom.
>
>> * They've just added the "Commented LOC" stat feature which shows the
>> number of lines of commented code. We shouldn't have any commented  
>> out
>> code so we'll need to gradually reduce this too.
>
> Unfortunately they consider native methods like this:
>
> // GWT Java code
> native Node getNextSibling()
> /*-{
>     // JavaScript code
>     return this.nextSibling;
> }-*/;
>
> to have commented out code.. This applies only for GWT code though.

Just raised http://jira.codehaus.org/browse/SONAR-1233

-Vincent

>
> Thanks,
> Marius
>
>> * The test coverage don't count integration and functional tests,  
>> i.e.
>> if a unit tests tests code from another module the coverage is not
>> taken into account. Thus all our rendering tests in xwiki-rendering-
>> tests are not taken into account (they cover 90% of the rendering api
>> code...).
>> * Since they've added the unit tests the tech debt has gone down a
>> lot. I'll ask them why.
>>
>> Thanks
>> -Vincent
_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs