Hi domm, hi perl.qa,

we had a discussion about distributions with broken versions of Module::Install. Using Module::CPANTS::Kwalitee::* as models I wrote a simple plugin that calculates a Kwalitee metric "uses_broken_installer".

- If the distribution doesn't use Module::Install, it's fine for now.
- If it uses a recent Module::Install, that okay, too.
- If it uses a version of Module::Install that's known to be broken, it doesn't get the kwalitee point.

The BrokenInstaller.pm file is attached. It's a straightforward adaption of what the other metric plugins do.

Feedback is welcome, though I'd rather not talk about the way I determine the version number. It works for all known versions of Module::Install.

domm: What do you think? Is this a good metric? If so, would you like to include the plugin in the distribution or do you want me to upload a separate distribution?

Steffen

Attachment: BrokenInstaller.pm
Description: Perl program

Reply via email to