Dancer2::Plugin::RoutePodCoverage - Plugin to verify pod coverage in our app routes.
package MyApp::Route; use Dancer2; use Dancer2::Plugin::RoutePodCoverage; get '/' => sub { my $routes_couverage = routes_pod_coverage(); # or packages_to_cover(['MYAPP::Routes','MYAPP::Routes::Something']); my $routes_couverage = routes_pod_coverage(); };
Plugin to verify pod coverage in our app routes.
Keyword to define which packages to check coverage
Keyword that returns all routes e all undocumented routes for each package of the app or packages defined with 'packages_to_cover'
This module is released under the same terms as Perl itself.
Dinis Rebolo <drebolo@cpan.org>
<drebolo@cpan.org>
To install Dancer2::Plugin::RoutePodCoverage, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer2::Plugin::RoutePodCoverage
CPAN shell
perl -MCPAN -e shell install Dancer2::Plugin::RoutePodCoverage
For more information on module installation, please visit the detailed CPAN module installation guide.