blib/lib/Apache/TestReportPerl.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 30 CC 1 SCAR 6.9
CC
1
Cov
0%
config
2.0
report_to
2.0
BEGIN
2.0
CRAP 2.0
1 # Licensed to the Apache Software Foundation (ASF) under one or more
2 # contributor license agreements. See the NOTICE file distributed with
3 # this work for additional information regarding copyright ownership.
4 # The ASF licenses this file to You under the Apache License, Version 2.0
5 # (the "License"); you may not use this file except in compliance with
6 # the License. You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16 package Apache::TestReportPerl;
17  
18 use strict;
19 use warnings FATAL => 'all';
20  
21 use Apache::TestReport ();
22 use ModPerl::Config ();
23  
24 # a subclass of Apache::TestReport that generates a bug report script
25 use vars qw(@ISA);
26 @ISA = qw(Apache::TestReport);
27  
28 sub config {
29 ModPerl::Config::as_string();
30 }
31  
32 sub report_to {
33 my $self = shift;
34 my $pkg = ref $self;
35 die "you need to implement $pkg\::report_to() to return the " .
36 "contact email address of your project";
37 }
38  
39 1;
40 __END__