File Coverage

blib/lib/SVG/Convert/BaseDriver.pm
Criterion Covered Total %
statement 12 15 80.0
branch n/a
condition n/a
subroutine 4 7 57.1
pod 3 3 100.0
total 19 25 76.0


line stmt bran cond sub pod time code
1             package SVG::Convert::BaseDriver;
2              
3 1     1   5 use strict;
  1         3  
  1         32  
4 1     1   5 use warnings;
  1         2  
  1         27  
5              
6 1     1   5 use base qw(Class::Accessor::Fast);
  1         2  
  1         97  
7              
8             __PACKAGE__->mk_accessors(qw/parser/);
9              
10 1     1   6 use Carp::Clan;
  1         2  
  1         8  
11              
12             =head1 NAME
13              
14             SVG::Convert::BaseDriver - Base class for SVG::Convert drivers
15              
16             =head1 VERSION
17              
18             version 0.02
19              
20             =cut
21              
22             our $VERSION = '0.02';
23              
24             =head1 SYNOPSIS
25              
26             =head1 METHODS
27              
28             =head2 convert_string
29              
30             =cut
31              
32             sub convert_string {
33 0     0 1   croak('Not implements this method');
34             }
35              
36             =head2 convert_file
37              
38             =cut
39              
40             sub convert_file {
41 0     0 1   croak('Not implements this method');
42             }
43              
44             =head2 convert_doc
45              
46             =cut
47              
48             sub convert_doc {
49 0     0 1   croak('Not implements this method');
50             }
51              
52             =head1 AUTHOR
53              
54             Toru Yamaguchi, C<< >>
55              
56             =head1 BUGS
57              
58             Please report any bugs or feature requests to
59             C, or through the web interface at
60             L. I will be notified, and then you'll automatically be
61             notified of progress on your bug as I make changes.
62              
63             =head1 COPYRIGHT & LICENSE
64              
65             Copyright 2007 Toru Yamaguchi, All Rights Reserved.
66              
67             This program is free software; you can redistribute it and/or modify it
68             under the same terms as Perl itself.
69              
70             =cut
71              
72             1; # End of SVG::Convert::BaseDriver