Upload
charsbar
View
411
Download
0
Embed Size (px)
DESCRIPTION
Citation preview
CPANTS 2012
OSDC.TWApril 15, 2012
Kenichi Ishigaki(@charsbar)
你好
I‘m charsbar( 石垣 憲一 ),
from Shibuya.pm, Tokyo, Japan.
I'm glad nothing is shaking or swaying this
year.
Today I'll talk about
something called CPANTS and Kwalitee.
So, what's CPANTS?
CPAN Testing Service.
One of the QA tools to keep
CPAN healthy and useful.
Actually, we have another
tool of the same origin.
CPAN Testers.
What's different?
Both of them do testing.
CPAN Testers test things module
authors wrote to assure quality
and portability.
They're doing really awesome.
Let's see.
CPAN Testers are not perfect,
though.
They can't help if authors don't write (good)
tests.
CPANTS tests things module authors don't (or can't) test.
Your distribution is really
extractable?
If not, we can't use it.
Does it use "strict" pragma in everywhere?
If it does, Perl guesses
less.
That makes it easier for people to
collaborate.
Does it have POD tests?
If it does, you'll have
at least readable documentation.
Is it used in other modules?
If it is, someone thinks it useful.
And so on.
We have 24 tests, plus 10 extras now to
assure Kwalitee.
Some of them are "nice to
have."
Some of them are what
annoyed people in the past.
Broken meta data.
Broken build tool.
Version inconsistency.
License issue.
You probably can't remember all of the past
incidents.
CPANTS can.
That's one of the reasons why CPANTS is important.
To attract attention, CPANTS also offers
a "game".
More than 50 authors share the highest
mark around the world.
As for Taiwanese, Gugod is
maintaining a nice list.
Acme::CPANAuthors::Taiwanese
With a simple script, you'll get a list like this.
Most Kwalitative authors in
Taiwan(with 5 or more dists)
Name Kwalitee
DRBEAN 98.214
CINDY 95.833
GSLIN 95.313
CLSUNG 94.583
SHELLING 94.444
SNOWFLY 92.262
AUDREYT 91.837
IJLIAO 91.667
CORNELIUS 90.694
GUGOD 90.126
Note that KWALITEE IS
NOT QUALITY.
Kwalitee is not kind for people with long track
record.
Anyway.
You can get a lot of information
from the CPANTS site.
However.
CPANTS project had not been in a good state for
some time.
I wanted to use its database at
YAPC::Asia, but I couldn't.
So I decided to set up my own
mirror.
cpants.charsbar.org
I fixed some of the major issues
at that time.
But there are too many things
to be done.
I've been working on its refactoring.
As a proof of concept, I've renewed an
Acme::CPANAuthors site.
acme.cpanauthors.org
I also tested queries not to
scan tables without using
indices.
During Perl QA Hackathon held
in Paris this spring,
cpants.perl.org started redirecting
to my mirror.
New metrics is on the way.
Moose and the likes will be taken into
account soon.
There's still lots to be done.
Faster worker/analyser.
Query tuning.
Better UI.
JSON API.
Incoming links.
More metrics.
More tests.
If you find anything, feel
free to ping me.
Metrics repository: github.com/daxim/Module-CPANTS-Analyse
Acme site repository: github.com/charsbar/www-acme-cpanauthors
IRC channel: #perl-qa on irc.perl.org
問題 ?
謝謝