auto/share/dist/Setup-Project/tmpl/Amon2Sample/__PACKAGE__/lib/__PACKAGE__/Web.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
dispatch
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package <% $package %>::Web;
2 use strict;
3 use warnings;
4 use utf8;
5 use parent qw(<% $package %> Amon2::Web);
6  
7 sub dispatch {
8 my ($c) = @_;
9 return $c->create_simple_status_page(200, 'OK');
10 }
11  
12 1;