Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

chromatic (983)

  (email not shown publicly)

Blog Information [] Profile for chr0matic []

Journal of chromatic (983)

Tuesday January 17, 2006
01:30 AM

Where is Test::Kwalitee?

[ #28380 ]

Perl Testing: A Developer's Notebook has a lab that shows off a module named Test::Kwalitee. When run from a test file, this module can analyze a distribution for several Kwalitee measurements. The book promises that this module is on the CPAN.

It's not.

I had a hacked-up, working proof of concept version when the book went into production. I knew that I had several weeks to release it before anyone saw the printed book.

Then a new version of the CPANTS distribution came out and there was no longer a good or easy way to re-use the Kwalitee tests on a distribution without uploading it to the CPAN, waiting for the mirror site to get it, then downloading and processing it through the normal means.

Yeah, I could just bundle the version of the CPANTS modules I need with my code, but talk about a maintainability problem....

(I'm sympathetic to the desire to upload an ugly-but-working piece of code for other people to use, then to upload a newer, cleaner version after you've rethought some things, but I dare you to try to get the current CPANTS distribution working. Sure, my wrapper was plenty ugly ... but wow, the code as I last saw it just doesn't have any escape hatches for me.)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • If you had told me that you where working on Test::Kwalitee, I'd took more care wrt compability. Anyway, I agree that the current CPANTS implementation is a mess. I've had plans to redo it for quite a time, but missed tuits.

    I finally had some time for a very basic design, and (as I'm changing job in February and still have 12 days of holiday left) will find the time to implement it in the next two weeks.

    • I don't feel as if I have the right to complain much; I intended to work more on the project myself, but had other things come up and ran out of time as well. I had even planned to write this weblog well before today anyway.