| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Data::MARC::Validator::Report::Plugin; |
|
2
|
|
|
|
|
|
|
|
|
3
|
8
|
|
|
8
|
|
121216
|
use strict; |
|
|
8
|
|
|
|
|
16
|
|
|
|
8
|
|
|
|
|
337
|
|
|
4
|
8
|
|
|
8
|
|
43
|
use warnings; |
|
|
8
|
|
|
|
|
13
|
|
|
|
8
|
|
|
|
|
539
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
8
|
|
|
8
|
|
2298
|
use Mo qw(build default is); |
|
|
8
|
|
|
|
|
3268
|
|
|
|
8
|
|
|
|
|
48
|
|
|
7
|
8
|
|
|
8
|
|
19780
|
use Mo::utils 0.05 qw(check_isa check_length check_required); |
|
|
8
|
|
|
|
|
86668
|
|
|
|
8
|
|
|
|
|
365
|
|
|
8
|
8
|
|
|
8
|
|
4674
|
use Mo::utils::Array qw(check_array_object); |
|
|
8
|
|
|
|
|
17477
|
|
|
|
8
|
|
|
|
|
235
|
|
|
9
|
8
|
|
|
8
|
|
4157
|
use Mo::utils::Perl qw(check_version); |
|
|
8
|
|
|
|
|
31584
|
|
|
|
8
|
|
|
|
|
192
|
|
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = 0.02; |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
has module_name => ( |
|
14
|
|
|
|
|
|
|
is => 'ro', |
|
15
|
|
|
|
|
|
|
); |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
has name => ( |
|
18
|
|
|
|
|
|
|
is => 'ro', |
|
19
|
|
|
|
|
|
|
); |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
has plugin_errors => ( |
|
22
|
|
|
|
|
|
|
is => 'ro', |
|
23
|
|
|
|
|
|
|
); |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
has version => ( |
|
26
|
|
|
|
|
|
|
is => 'ro', |
|
27
|
|
|
|
|
|
|
); |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub BUILD { |
|
30
|
12
|
|
|
12
|
0
|
1525029
|
my $self = shift; |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
# Check 'module_name'. |
|
33
|
12
|
|
|
|
|
124
|
check_required($self, 'module_name'); |
|
34
|
11
|
|
|
|
|
142
|
check_length($self, 'module_name', 255); |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
# Check 'name'. |
|
37
|
11
|
|
|
|
|
189
|
check_required($self, 'name'); |
|
38
|
10
|
|
|
|
|
72
|
check_length($self, 'name', 255); |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
# Check 'plugin_errors'. |
|
41
|
10
|
|
|
|
|
136
|
check_array_object($self, 'plugin_errors', 'Data::MARC::Validator::Report::Plugin::Errors'); |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
# Check 'version'. |
|
44
|
10
|
|
|
|
|
128
|
check_required($self, 'version'); |
|
45
|
9
|
|
|
|
|
84
|
check_version($self, 'version'); |
|
46
|
|
|
|
|
|
|
|
|
47
|
8
|
|
|
|
|
211
|
return; |
|
48
|
|
|
|
|
|
|
} |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
1; |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
__END__ |