CPANTS 2012           OSDC.TW       April 15, 2012      Kenichi Ishigaki         (@charsbar)
你好
I‘m charsbar  ( 石垣 憲一 ),from Shibuya.pm,  Tokyo, Japan.
Im glad nothing   is shaking orswaying this year.
Today Ill talkabout something called CPANTS  and Kwalitee.
So, whatsCPANTS?
CPAN Testing  Service.
One of the QAtools to keep CPANhealthy and useful.
Actually, we have another tool ofthe same origin.
CPAN Testers.
Whatsdifferent?
Both of them do    testing.
CPAN Testers test  things module authors wrote to  assure quality
and portability.
Theyre doingreally awesome.
Lets see.
CPAN Testersare not perfect,    though.
They cant help if  authors dontwrite (good) tests.
CPANTS tests things moduleauthors dont(or cant) test.
Your distribution    is really  extractable?
If not,we cant use it.
Does it use"strict" pragma in everywhere?
If it does,Perl guesses less.
That makes iteasier for people to collaborate.
Does it have POD tests?
If it does,   youll haveat least readable documentation.
Is it used inother modules?
If it is, someonethinks it useful.
And so on.
We have 24 tests, plus 10 extras now toassure Kwalitee.
Some of them are "nice to have."
Some of them are  what annoyed  people in the      past.
Broken meta   data.
Broken build tool.
Versioninconsistency.
License issue.
You probablycant remember all of the past    incidents.
CPANTS can.
Thats one of thereasons why CPANTS    is important.
To attract attention,CPANTS also offers      a "game".
More than 50authors share the  highest markaround the world.
As for Taiwanese,Gugod is maintaining     a nice list.
Acme::CPANAuthors::Taiwanese
With a simplescript, youll get a list like this.
Most Kwalitativeauthors in Taiwan (with 5 or more dists)
Name        KwaliteeDRBEAN      98.214CINDY       95.833GSLIN       95.313CLSUNG      94.583SHELLING    94.444SNOWFLY     ...
Note thatKWALITEE ISNOT QUALITY.
Kwalitee is notkind for peoplewith long track    record.
Anyway.
You can get a lot of information from the CPANTS site.
However.
CPANTS projecthad not been in a good state for   some time.
I wanted to useits database at  YAPC::Asia, but I couldnt.
So I decided to set up my own    mirror.
cpants.charsbar.org
I fixed some ofthe major issues  at that time.
But there are toomany things to be      done.
Ive been working      on its   refactoring.
As a proof of concept,    Ive renewed anAcme::CPANAuthors site.
acme.cpanauthors.org
I also testedqueries not to scan tableswithout using   indices.
During Perl QAHackathon held inParis this spring,
cpants.perl.orgstarted redirecting   to my mirror.
New metrics is on    the way.
Moose and thelikes will be takeninto account soon.
Theres still lots  to be done.
Fasterworker/analyser. Query tuning.
Better UI.
JSON API.Incoming links.
More metrics. More tests.
If you find anything, feelfree to ping me.
Metrics repository:github.com/daxim/Module-CPANTS-Analyse           Acme site repository:github.com/charsbar/www-acme-cpan...
問題 ?
謝謝
Upcoming SlideShare
Loading in...5
×

CPANTS 2012

477

Published on

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
477
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

CPANTS 2012

  1. 1. CPANTS 2012 OSDC.TW April 15, 2012 Kenichi Ishigaki (@charsbar)
  2. 2. 你好
  3. 3. I‘m charsbar ( 石垣 憲一 ),from Shibuya.pm, Tokyo, Japan.
  4. 4. Im glad nothing is shaking orswaying this year.
  5. 5. Today Ill talkabout something called CPANTS and Kwalitee.
  6. 6. So, whatsCPANTS?
  7. 7. CPAN Testing Service.
  8. 8. One of the QAtools to keep CPANhealthy and useful.
  9. 9. Actually, we have another tool ofthe same origin.
  10. 10. CPAN Testers.
  11. 11. Whatsdifferent?
  12. 12. Both of them do testing.
  13. 13. CPAN Testers test things module authors wrote to assure quality
  14. 14. and portability.
  15. 15. Theyre doingreally awesome.
  16. 16. Lets see.
  17. 17. CPAN Testersare not perfect, though.
  18. 18. They cant help if authors dontwrite (good) tests.
  19. 19. CPANTS tests things moduleauthors dont(or cant) test.
  20. 20. Your distribution is really extractable?
  21. 21. If not,we cant use it.
  22. 22. Does it use"strict" pragma in everywhere?
  23. 23. If it does,Perl guesses less.
  24. 24. That makes iteasier for people to collaborate.
  25. 25. Does it have POD tests?
  26. 26. If it does, youll haveat least readable documentation.
  27. 27. Is it used inother modules?
  28. 28. If it is, someonethinks it useful.
  29. 29. And so on.
  30. 30. We have 24 tests, plus 10 extras now toassure Kwalitee.
  31. 31. Some of them are "nice to have."
  32. 32. Some of them are what annoyed people in the past.
  33. 33. Broken meta data.
  34. 34. Broken build tool.
  35. 35. Versioninconsistency.
  36. 36. License issue.
  37. 37. You probablycant remember all of the past incidents.
  38. 38. CPANTS can.
  39. 39. Thats one of thereasons why CPANTS is important.
  40. 40. To attract attention,CPANTS also offers a "game".
  41. 41. More than 50authors share the highest markaround the world.
  42. 42. As for Taiwanese,Gugod is maintaining a nice list.
  43. 43. Acme::CPANAuthors::Taiwanese
  44. 44. With a simplescript, youll get a list like this.
  45. 45. Most Kwalitativeauthors in Taiwan (with 5 or more dists)
  46. 46. Name KwaliteeDRBEAN 98.214CINDY 95.833GSLIN 95.313CLSUNG 94.583SHELLING 94.444SNOWFLY 92.262AUDREYT 91.837IJLIAO 91.667CORNELIUS 90.694GUGOD 90.126
  47. 47. Note thatKWALITEE ISNOT QUALITY.
  48. 48. Kwalitee is notkind for peoplewith long track record.
  49. 49. Anyway.
  50. 50. You can get a lot of information from the CPANTS site.
  51. 51. However.
  52. 52. CPANTS projecthad not been in a good state for some time.
  53. 53. I wanted to useits database at YAPC::Asia, but I couldnt.
  54. 54. So I decided to set up my own mirror.
  55. 55. cpants.charsbar.org
  56. 56. I fixed some ofthe major issues at that time.
  57. 57. But there are toomany things to be done.
  58. 58. Ive been working on its refactoring.
  59. 59. As a proof of concept, Ive renewed anAcme::CPANAuthors site.
  60. 60. acme.cpanauthors.org
  61. 61. I also testedqueries not to scan tableswithout using indices.
  62. 62. During Perl QAHackathon held inParis this spring,
  63. 63. cpants.perl.orgstarted redirecting to my mirror.
  64. 64. New metrics is on the way.
  65. 65. Moose and thelikes will be takeninto account soon.
  66. 66. Theres still lots to be done.
  67. 67. Fasterworker/analyser. Query tuning.
  68. 68. Better UI.
  69. 69. JSON API.Incoming links.
  70. 70. More metrics. More tests.
  71. 71. If you find anything, feelfree to ping me.
  72. 72. 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
  73. 73. 問題 ?
  74. 74. 謝謝
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×