File Coverage

blib/lib/Geoffrey/Role/ConverterType.pm
Criterion Covered Total %
statement 24 24 100.0
branch n/a
condition n/a
subroutine 12 12 100.0
pod 7 7 100.0
total 43 43 100.0


line stmt bran cond sub pod time code
1             package Geoffrey::Role::ConverterType;
2              
3 20     20   349224 use utf8;
  20         934  
  20         143  
4 20     20   853 use strict;
  20         42  
  20         547  
5 20     20   116 use warnings;
  20         37  
  20         1052  
6 20     20   2425 use Perl::Version;
  20         28550  
  20         699  
7 20     20   16721 use Geoffrey::Exception::NotSupportedException;
  20         96  
  20         4760  
8              
9             $Geoffrey::Role::Converter::VERSION = '0.000206';
10              
11             sub new {
12 58     58 1 8128 my $class = shift;
13 58         178 my $self = {@_};
14 58         315 return bless $self, $class;
15             }
16              
17             sub add {
18 2     2 1 9 return Geoffrey::Exception::NotSupportedException::throw_converter_type( 'add', shift );
19             }
20              
21             sub alter {
22 3     3 1 17 return Geoffrey::Exception::NotSupportedException::throw_converter_type( 'alter', shift );
23             }
24              
25             sub append {
26 1     1 1 77 return Geoffrey::Exception::NotSupportedException::throw_converter_type( 'append', shift );
27             }
28              
29             sub drop {
30 12     12 1 97 return Geoffrey::Exception::NotSupportedException::throw_converter_type( 'drop', shift );
31             }
32              
33             sub list {
34 14     14 1 77 return Geoffrey::Exception::NotSupportedException::throw_converter_type( 'list', shift );
35             }
36              
37             sub information {
38 1     1 1 1683 return Geoffrey::Exception::NotSupportedException::throw_converter_type( 'information',
39             shift );
40             }
41             1; # End of Geoffrey::Role::ConverterType
42              
43             __END__