/ domm

I hack Perl for fun and
profit.

Follow me on twitter!
Atom Icom ... on Atom!
<<<<<<<<<<
29.09.2004: No Code Day (aka Post-Wisdom-Tooth Day)
15.09.2004: YAPC day 0
07.09.2004: more CPANTS data (and another release)

A new version of Module::CPANTS::Generator is on it's way to CPAN, here are some data samples:

(btw, you can get the sqlite.db from http://cpants.dev.zsi.at/)

Highest Kwalitee now is 11, new indicators are:

* has_tests (checks if there is a file test.pl or a dir t

* proper_libs (checks if there is dir called 'lib' or a single *.pm file in the topdir)

Oh, the data:

sqlite> select kwalitee,count(kwalitee) as cnt from kwalitee group by

   ...>           kwalitee order by kwalitee;

kwalitee    cnt

----------  ----------

0           32

1           3

2           12

3           61

4           47

5           59

6           110

7           521

8           1695

9           3411

10          1654

11          155

 

sqlite> select count(*) from kwalitee where has_tests=0;

count(*)

----------

713

 

sqlite> select count(*) from kwalitee where proper_libs=0;

count(*)

----------

558

Another new thing is required_by, which lists the number of other dists requiring a module included in a given dist. To calculate this, there is a new table called modules which list which modules are included in a distribution.

sqlite> select dist,required_by from distribution where required_by > 0 order by required_by desc limit 15;

dist              required_by

----------------  -----------

Test-Simple-0.47  1021

DBIx-Abstract-1.  914

libwww-perl-5.10  655

libwww-perl-5.77  446

libwww-perl-5.80  446

libwww-perl-5.53  444

PathTools-3.00    207

Data-Dumper-2.12  149

HTML-Parser-3.36  149

Digest-MD5-2.33   145

Scalar-List-Util  130

XML-Parser-2.34   98

Template-Toolkit  91

Template-Toolkit  90

POE-0.29          87

Some of this data is a bit spoiled, as, eg DBIx::Abstract includes Test::More in its dist and thus gets a lot of counts it actually doesn't deserve. I'll have to add some more checks to prevent this...

Other CPANTS news:

* Gabor hacked together a quick web frontend using Maypole available here: http://cpants.szabgab.com/.

* We are thinking of renaming the dist from "Module::CPANTS" to "CPANTS". Any opinions on this?

Original: http://use.perl.org/~domm/journal/20771

Legacy comments

nicholas: This one goes to 11 (orignal post)

It goes to 11. :-)

But this will be a dis-incentive to add any more metrics. :-(

kane: Renaming the dist (orignal post)

* We are thinking of renaming the dist from "Module::CPANTS" to "CPANTS". Any opinions on this?

Top level namespaces bad. (although i'm guilty of it myself :)

Perhaps 'Module::*' isn't the best namespace for it, but perhaps 'CPAN::*' is.. there's currently 27 modules in the CPAN::* namespace by 10 different authors...

hfb: how about (orignal post)

CPAN::CPANTS ? :) Herr Kane makes a good point about CPAN::* but, this is the system we live inside of. I'm really glad to see you getting back to working on it :)

One thing though, I'm sure I'm not the only one whom 'kwalitee' drives bonkers. I know this is a Schwernism but, it just seems to cutesy for anyone to take seriously. I get enough K's up here in Konsonantland. :)

Comments (via disqus)

03.09.2004: Some Patches...
01.09.2004: Second Hungarian Perl Workshop
22.08.2004: New CPANTS data and release
23.05.2004: Austrian Perl Workshop is over ...
19.05.2004: Austrian Perl Workshop Day -1
17.03.2004: Security and Users (in the real world)
09.03.2004: too much party, too less sleep
>>>>>>>>>>