File Coverage

blib/lib/Gopher/Server/RequestHandler.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 4 75.0
pod n/a
total 12 15 80.0


line stmt bran cond sub pod time code
1              
2             package Gopher::Server::RequestHandler;
3 1     1   4791 use strict;
  1         2  
  1         29  
4 1     1   5 use warnings;
  1         2  
  1         33  
5              
6             foreach my $abstract (qw/ new process /) {
7 1     1   4 no strict 'refs';
  1         5  
  1         74  
8             *$abstract = sub {
9 0     0     my $class = shift;
10 0           die "$class did not override abstract method $abstract";
11             };
12             }
13              
14              
15             1;
16             __END__