Pod::Coverage::mop -- Pod::Coverage subclass for mop
use Test::More; plan skip_all => 'Author test. Set $ENV{AUTHOR_TESTING} to a true value to run.' unless $ENV{AUTHOR_TESTING}; eval 'use Test::Pod::Coverage 1.00'; plan skip_all => 'Test::Pod::Coverage 1.00+ required for testing pod coverage' if $@; eval 'use Pod::Coverage::mop'; plan skip_all => 'Pod::Coverage::mop required for testing pod coverage' if $@; all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::mop' });
In the spirit of Pod::Coverage::Moose, here is a Pod::Coverage (actually Pod::Coverage::CountParents) subclass for mop-based classes.
None.
This is overridden from Pod::Coverage::CountParents to return only the list of locally defined methods, i.e. those not defined by (other) roles or superclasses.
It takes the same arguments as other Pod::Coverage classes. If mop::meta does not return a usable value when called with the package name, we return a regular Pod::Coverage::CountParents object instead.
mop::meta
Pod::Coverage::CountParents
Fabrice Gabolde <fabrice.gabolde@gmail.com>
Copyright (C) 2014 Fabrice Gabolde
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install Pod::Coverage::mop, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::Coverage::mop
CPAN shell
perl -MCPAN -e shell install Pod::Coverage::mop
For more information on module installation, please visit the detailed CPAN module installation guide.