74
CPANTS 2012 OSDC.TW April 15, 2012 Kenichi Ishigaki (@charsbar)

CPANTS 2012

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: CPANTS 2012

CPANTS 2012

OSDC.TWApril 15, 2012

Kenichi Ishigaki(@charsbar)

Page 2: CPANTS 2012

你好

Page 3: CPANTS 2012

I‘m charsbar( 石垣 憲一 ),

from Shibuya.pm, Tokyo, Japan.

Page 4: CPANTS 2012

I'm glad nothing is shaking or swaying this

year.

Page 5: CPANTS 2012

Today I'll talk about

something called CPANTS and Kwalitee.

Page 6: CPANTS 2012

So, what's CPANTS?

Page 7: CPANTS 2012

CPAN Testing Service.

Page 8: CPANTS 2012

One of the QA tools to keep

CPAN healthy and useful.

Page 9: CPANTS 2012

Actually, we have another

tool of the same origin.

Page 10: CPANTS 2012

CPAN Testers.

Page 11: CPANTS 2012

What's different?

Page 12: CPANTS 2012

Both of them do testing.

Page 13: CPANTS 2012

CPAN Testers test things module

authors wrote to assure quality

Page 14: CPANTS 2012

and portability.

Page 15: CPANTS 2012

They're doing really awesome.

Page 16: CPANTS 2012

Let's see.

Page 17: CPANTS 2012

CPAN Testers are not perfect,

though.

Page 18: CPANTS 2012

They can't help if authors don't write (good)

tests.

Page 19: CPANTS 2012

CPANTS tests things module authors don't (or can't) test.

Page 20: CPANTS 2012

Your distribution is really

extractable?

Page 21: CPANTS 2012

If not, we can't use it.

Page 22: CPANTS 2012

Does it use "strict" pragma in everywhere?

Page 23: CPANTS 2012

If it does, Perl guesses

less.

Page 24: CPANTS 2012

That makes it easier for people to

collaborate.

Page 25: CPANTS 2012

Does it have POD tests?

Page 26: CPANTS 2012

If it does, you'll have

at least readable documentation.

Page 27: CPANTS 2012

Is it used in other modules?

Page 28: CPANTS 2012

If it is, someone thinks it useful.

Page 29: CPANTS 2012

And so on.

Page 30: CPANTS 2012

We have 24 tests, plus 10 extras now to

assure Kwalitee.

Page 31: CPANTS 2012

Some of them are "nice to

have."

Page 32: CPANTS 2012

Some of them are what

annoyed people in the past.

Page 33: CPANTS 2012

Broken meta data.

Page 34: CPANTS 2012

Broken build tool.

Page 35: CPANTS 2012

Version inconsistency.

Page 36: CPANTS 2012

License issue.

Page 37: CPANTS 2012

You probably can't remember all of the past

incidents.

Page 38: CPANTS 2012

CPANTS can.

Page 39: CPANTS 2012

That's one of the reasons why CPANTS is important.

Page 40: CPANTS 2012

To attract attention, CPANTS also offers

a "game".

Page 41: CPANTS 2012

More than 50 authors share the highest

mark around the world.

Page 42: CPANTS 2012

As for Taiwanese, Gugod is

maintaining a nice list.

Page 43: CPANTS 2012

Acme::CPANAuthors::Taiwanese

Page 44: CPANTS 2012

With a simple script, you'll get a list like this.

Page 45: CPANTS 2012

Most Kwalitative authors in

Taiwan(with 5 or more dists)

Page 46: CPANTS 2012

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

Page 47: CPANTS 2012

Note that KWALITEE IS

NOT QUALITY.

Page 48: CPANTS 2012

Kwalitee is not kind for people with long track

record.

Page 49: CPANTS 2012

Anyway.

Page 50: CPANTS 2012

You can get a lot of information

from the CPANTS site.

Page 51: CPANTS 2012

However.

Page 52: CPANTS 2012

CPANTS project had not been in a good state for

some time.

Page 53: CPANTS 2012

I wanted to use its database at

YAPC::Asia, but I couldn't.

Page 54: CPANTS 2012

So I decided to set up my own

mirror.

Page 55: CPANTS 2012

cpants.charsbar.org

Page 56: CPANTS 2012

I fixed some of the major issues

at that time.

Page 57: CPANTS 2012

But there are too many things

to be done.

Page 58: CPANTS 2012

I've been working on its refactoring.

Page 59: CPANTS 2012

As a proof of concept, I've renewed an

Acme::CPANAuthors site.

Page 60: CPANTS 2012

acme.cpanauthors.org

Page 61: CPANTS 2012

I also tested queries not to

scan tables without using

indices.

Page 62: CPANTS 2012

During Perl QA Hackathon held

in Paris this spring,

Page 63: CPANTS 2012

cpants.perl.org started redirecting

to my mirror.

Page 64: CPANTS 2012

New metrics is on the way.

Page 65: CPANTS 2012

Moose and the likes will be taken into

account soon.

Page 66: CPANTS 2012

There's still lots to be done.

Page 67: CPANTS 2012

Faster worker/analyser.

Query tuning.

Page 68: CPANTS 2012

Better UI.

Page 69: CPANTS 2012

JSON API.

Incoming links.

Page 70: CPANTS 2012

More metrics.

More tests.

Page 71: CPANTS 2012

If you find anything, feel

free to ping me.

Page 72: CPANTS 2012

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

Page 73: CPANTS 2012

問題 ?

Page 74: CPANTS 2012

謝謝