File Coverage

blib/lib/HTML/Template/Dumper/Format.pm
Criterion Covered Total %
statement 9 15 60.0
branch n/a
condition 0 6 0.0
subroutine 3 5 60.0
pod 0 3 0.0
total 12 29 41.3


line stmt bran cond sub pod time code
1              
2             =head1 COPYRIGHT
3              
4             Copyright 2003, American Society of Agronomy. All rights reserved.
5              
6             This program is free software; you can redistribute it and/or modify
7             it under the terms of either:
8              
9             a) the GNU General Public License as published by the Free Software
10             Foundation; either version 2, or (at your option) any later version, or
11              
12             b) the "Artistic License" which comes with Perl.
13              
14             =cut
15              
16              
17             package HTML::Template::Dumper::Format;
18 2     2   23205 use strict;
  2         6  
  2         86  
19 2     2   13 use warnings;
  2         5  
  2         390  
20              
21             our $VERSION = 0.1;
22              
23             sub new
24             {
25 4     4 0 11 my $class = shift;
26 4         10 my $self = '';
27 4         1279 bless \$self, $class;
28             }
29              
30             sub dump
31             {
32 0     0 0   my $self = shift;
33 0   0       my $class = ref $self || $self;
34 0           die "$class did not override dump()";
35             }
36              
37             sub parse
38             {
39 0     0 0   my $self = shift;
40 0   0       my $class = ref $self || $self;
41 0           die "$class did not override parse()";
42             }
43              
44              
45             1;
46             __END__