You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Ashish <pa...@gmail.com> on 2009/03/17 12:16:36 UTC

MINA Code Metrics

Folks,

Have been able to capture MINA SLOC and PMD report on the wiki page
(http://cwiki.apache.org/confluence/display/MINA/Code+Metrics)

We are down to 90 PMD observation from 168, from the initial report.
PMD summary chart is little odd as of now, coz I ran the report in
less than 24 hours.
I shall execute it once every week and then we can see the trend.

KSLOC data is even more interesting.

We have healthy code vs comment ratio.
Unit Testing is an area where we can improve upon. There are some
packages like filter-codec-netty, integration-jmx, integration-ognl,
transport-apr and transport-serial without test cases.

Happy Coding :-)

-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: MINA Code Metrics

Posted by Ashish <pa...@gmail.com>.
>>
>
> Thanks Ashish ! This is interesting.
>
> I think we can get rid of most of the PMD warnings. AFAICT, we don't have a
> lot of serious warning in the sources, except in tests.

None of the warnings need immediate attention :-)
Most of them shall be gone by next iteration.

>
> Those metrics are good to have !

Re: MINA Code Metrics

Posted by Emmanuel Lecharny <el...@apache.org>.
Ashish wrote:
> Folks,
>   
Thanks Ashish ! This is interesting.

I think we can get rid of most of the PMD warnings. AFAICT, we don't 
have a lot of serious warning in the sources, except in tests.

Those metrics are good to have !

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: MINA Code Metrics

Posted by Julien Vermillard <jv...@archean.fr>.
Le Tue, 17 Mar 2009 16:46:36 +0530,
Ashish <pa...@gmail.com> a écrit :

> Folks,
> 
> Have been able to capture MINA SLOC and PMD report on the wiki page
> (http://cwiki.apache.org/confluence/display/MINA/Code+Metrics)
> 
> We are down to 90 PMD observation from 168, from the initial report.
> PMD summary chart is little odd as of now, coz I ran the report in
> less than 24 hours.
> I shall execute it once every week and then we can see the trend.
> 
> KSLOC data is even more interesting.
> 
> We have healthy code vs comment ratio.
> Unit Testing is an area where we can improve upon. There are some
> packages like filter-codec-netty, integration-jmx, integration-ognl,
> transport-apr and transport-serial without test cases.
> 
> Happy Coding :-)
> 

Great ! 
Thanks Ashish