Skip Menu |

This queue is for tickets about the Module-CPANTS-Analyse CPAN distribution.

Report information
The Basics
Id: 95810
Status: open
Priority: 0/
Queue: Module-CPANTS-Analyse

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: new kwalitee metric: indexable module names should be in findable .pm files
Background: http://blogs.perl.org/users/gabor_szabo/2014/05/one-package-perl-pm-file.html Module::Metadata can provide all the information needed for this metric (although the interfaces may be a bit buggy still - I"m working on that) :) -- I'll provide code for this metric when that's fixed.
On Wed May 21 07:52:56 2014, ETHER wrote: Show quoted text
> Background: http://blogs.perl.org/users/gabor_szabo/2014/05/one- > package-perl-pm-file.html > > Module::Metadata can provide all the information needed for this > metric (although the interfaces may be a bit buggy still - I"m working > on that) :) -- I'll provide code for this metric when that's fixed.
I suppose necessary information is already there. We just need to define the metric(s), or "Anything that can be used independently" a bit more clearly. 1) .pm file may not have extra indexable packages (the ones that don't correspond with the path to the .pm file) at all? (though I believe it's too strict) 2) .pm file may have some extra indexable packages as long as they are children? (lib/Foo/Bar.pm may have Foo::Bar::Baz as well, but may not have Foo::Baz, Bar::Foo etc) 3) or anything else? (such as prohibiting multiple packages in a stricter sense, or only .pm files in dual-life dists should be considered (CPANTS ignores core-only packages as it doesn't analyze "perl" distributions), etc)