NAME
Dancer2::Plugin::RoutePodCoverage - Plugin to verify pod coverage in our app routes.
SYNOPSYS
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();
};
DESCRIPTION
Plugin to verify pod coverage in our app routes.
KEYWORDS
packages_to_cover
Keyword to define which packages to check coverage
routes_pod_coverage
Keyword that returns all routes e all undocumented routes for each package of the app or packages defined with 'packages_to_cover'
LICENSE
This module is released under the same terms as Perl itself.
AUTHOR
Dinis Rebolo <drebolo@cpan.org>