Skip Menu |

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

Report information
The Basics
Id: 111341
Status: new
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: inappropriate things in build requires
As described in CPAN::Meta::Spec (v2), the 'build' phase of prerequisites should only contain things needed to run "./Build" or "make". Things needed to run tests belong in the 'test' phase. Since there are many many distributions still declaring things in the wrong category, I think it would be helpful to point this out in a kwalitee metric. I propose triggering this metric whenever a module matching /^Test::/ is found in 'build' prerequisites in v2 metadata. (It should not trigger for distributions that only contain v1.x META.yml, as we would have to inspect Makefile.PL by hand to make the determination.)