Pod::Coverage allows you to specify a list of regular expressions used to skip coverage for particular symbols via the trustme parameter.
Whilst it isn't documented in the usage for cover, it appears as though it is possible to pass values for this parameter via the DEVEL_COVER_OPTIONS environment variable, like so:
The logic that exists to parse and convert the parameter into a regular expression appears to use an incorrect parameter name trust_me, instead of trustme:
Pod::Coverage allows you to specify a list of regular expressions used to skip coverage for particular symbols via the
trustme
parameter.Whilst it isn't documented in the usage for
cover
, it appears as though it is possible to pass values for this parameter via theDEVEL_COVER_OPTIONS
environment variable, like so:The logic that exists to parse and convert the parameter into a regular expression appears to use an incorrect parameter name
trust_me
, instead oftrustme
:https://github.com/pjcj/Devel--Cover/blob/13b925200802bdbd1a2748ea56d590adcb2e4400/lib/Devel/Cover.pm#L1207
https://github.com/pjcj/Devel--Cover/blob/13b925200802bdbd1a2748ea56d590adcb2e4400/lib/Devel/Cover.pm#L1213
I don't think it is currently possible to pass this parameter through to
Pod::Coverage
because of this.