line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Geoffrey::Role::Changelog; |
2
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
3413
|
use utf8; |
|
5
|
|
|
|
|
23
|
|
|
5
|
|
|
|
|
31
|
|
4
|
5
|
|
|
5
|
|
210
|
use 5.016; |
|
5
|
|
|
|
|
18
|
|
5
|
5
|
|
|
5
|
|
26
|
use strict; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
114
|
|
6
|
5
|
|
|
5
|
|
26
|
use warnings; |
|
5
|
|
|
|
|
8
|
|
|
5
|
|
|
|
|
2452
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
$Geoffrey::Role::Changelog::VERSION = '0.000203'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub new { |
11
|
7
|
|
|
7
|
1
|
4780
|
my $class = shift; |
12
|
7
|
|
|
|
|
17
|
my $self = {@_}; |
13
|
7
|
|
|
|
|
18
|
$self->{needs_converter} = 0; |
14
|
7
|
|
|
|
|
17
|
$self->{needs_dbh} = 0; |
15
|
7
|
|
|
|
|
34
|
return bless $self, $class; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub tpl_main { |
19
|
1
|
|
|
1
|
1
|
6
|
require Geoffrey::Exception::NotSupportedException; |
20
|
1
|
|
|
|
|
5
|
return Geoffrey::Exception::NotSupportedException::throw_file('tpl_main', $_[0]); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub tpl_sub { |
24
|
1
|
|
|
1
|
1
|
7
|
require Geoffrey::Exception::NotSupportedException; |
25
|
1
|
|
|
|
|
5
|
return Geoffrey::Exception::NotSupportedException::throw_file('tpl_sub', $_[0]); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub load { |
29
|
1
|
|
|
1
|
1
|
7
|
require Geoffrey::Exception::NotSupportedException; |
30
|
1
|
|
|
|
|
6
|
return Geoffrey::Exception::NotSupportedException::throw_file('load', $_[0]); |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
sub write { |
34
|
0
|
|
|
0
|
1
|
0
|
require Geoffrey::Exception::NotSupportedException; |
35
|
0
|
|
|
|
|
0
|
return Geoffrey::Exception::NotSupportedException::throw_file('write', $_[0]); |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
sub insert { |
39
|
1
|
|
|
1
|
1
|
5
|
require Geoffrey::Exception::NotSupportedException; |
40
|
1
|
|
|
|
|
3
|
return Geoffrey::Exception::NotSupportedException::throw_changelog('insert', shift); |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
sub delete { |
44
|
2
|
|
|
2
|
1
|
11
|
require Geoffrey::Exception::NotSupportedException; |
45
|
2
|
|
|
|
|
8
|
return Geoffrey::Exception::NotSupportedException::throw_changelog('delete', shift); |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub load_changeset { |
49
|
0
|
|
|
0
|
1
|
0
|
require Geoffrey::Exception::NotSupportedException; |
50
|
0
|
|
|
|
|
0
|
return Geoffrey::Exception::NotSupportedException::throw_io_call('load_changeset', shift); |
51
|
|
|
|
|
|
|
} |
52
|
|
|
|
|
|
|
|
53
|
8
|
|
66
|
8
|
1
|
30
|
sub ending { $_[0]->{extension} //= $_[0]->{ending}; return $_[0]->{extension}; } |
|
8
|
|
|
|
|
2629
|
|
54
|
|
|
|
|
|
|
|
55
|
0
|
|
0
|
0
|
1
|
0
|
sub extension { $_[0]->{extension} //= $_[0]->{ending}; return $_[0]->{extension}; } |
|
0
|
|
|
|
|
0
|
|
56
|
|
|
|
|
|
|
|
57
|
12
|
|
|
12
|
1
|
42
|
sub needs_converter { return $_[0]->{needs_converter}; } |
58
|
|
|
|
|
|
|
|
59
|
13
|
|
|
13
|
1
|
36
|
sub needs_dbh { return $_[0]->{needs_dbh}; } |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
1; # End of Geoffrey::Role::Changelog |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
__END__ |