|Subject:||.pm files should be inspected from blib, not lib, to account for filters|
The PM_FILTER option in Makefile.PL can be used to construct .pm files from other sources, or modify their content, before the modules are installed. It is this final content that should be analysed for the various metrics, rather than the raw files shipped in lib/ in the distribution. One example is-- lib/lib/with/preamble.pm does not contain 'use strict', but 'blib/lib/lib/with/preamble.pm' does. It is the blib/ version that is installed, so it is this version that should be inspected for the metrics. I think MCA should either: - always run 'perl Makefile.PL && make' before inspecting the distribution, or - check Makefile.PL for "PM_FILTER" (I'm not sure what the equivalent Build.PL option is) and run 'perl Makefile.PL && make' if the option is seen.