Debian Codegraph @

lib/Biblio/COUNTER/Report/Release2/JournalReport2.pm

raw symbols SCIP
1 package Biblio::COUNTER::Report::Release2::JournalReport2scip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/;
2
3 use strictscip-perl cpan Biblio-COUNTER 0.11 strict/;
4 use warningsscip-perl cpan Biblio-COUNTER 0.11 warnings/;
5
6 use Biblio::COUNTER::Reportscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/ qw(TURNAWAYS MAY_BE_BLANK NOT_BLANK);
7
8 @Biblio::COUNTER::Report::Release2::JournalReport2::ISAscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/`@ISA`. = qw(Biblio::COUNTER::Report);
9
10 sub canonical_report_namescip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/canonical_report_name(). { 'Journal Report 2 (R2)' }
11 sub canonical_report_descriptionscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/canonical_report_description(). { 'Turnaways by Month and Journal' };
12 sub canonical_report_codescip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/canonical_report_code(). { 'JR2' }
13 sub release_numberscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/release_number(). { 2 }
14
15 sub process_header_rowsscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/process_header_rows(). {
16 my ($self) = @_scip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/`@_`.;
17
18 # Report name and title
19 $self->begin_rowscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/begin_row().
20 ->check_report_namescip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_report_name().
21 ->check_report_descriptionscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_report_description().
22 ->end_rowscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/end_row().;
23
24 # Report criteria
25 $self->begin_rowscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/begin_row().
26 ->check_report_criteriascip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_report_criteria().
27 ->end_rowscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/end_row().;
28
29 # Date run label
30 $self->begin_rowscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/begin_row().
31 ->check_labelscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_label().('Date run:')
32 ->end_rowscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/end_row().;
33
34 # Date run
35 $self->begin_rowscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/begin_row().
36 ->check_date_runscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_date_run().
37 ->end_rowscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/end_row().;
38
39 # Data column labels
40 $self->begin_rowscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/begin_row().
41 ->check_blankscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_blank().
42 ->check_labelscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_label().('Publisher', qr/^(?i)pub/)
43 ->check_label('Platform', qr/^(?i)plat/)
44 ->check_label('Print ISSN', qr/^(?i)print issn/)
45 ->check_label('Online ISSN', qr/^(?i)online issn/)
46 ->check_label('Page type', qr/^(?i)page\s+type/)
47 ->check_period_labelsscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_period_labels().
48 ->check_label('YTD Total')
49 ->end_rowscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/end_row().;
50
51 # Data summary
52 $self->begin_rowscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/begin_row().
53 ->check_labelscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_label().('Total for all journals')
54 ->check_publisherscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_publisher().(MAY_BE_BLANK)
55 ->check_platformscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_platform().(MAY_BE_BLANK)
56 ->check_blankscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_blank().
57 ->check_blank
58 ->check_blank
59 ->check_count_by_periodsscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_count_by_periods().(Biblio::COUNTER::Report::REQUESTS)
60 ->check_ytd_totalscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_ytd_total().(Biblio::COUNTER::Report::REQUESTS)
61 ->end_rowscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/end_row().;
62 }
63
64 sub process_recordscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/process_record(). {
65 my ($self) = @_scip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/`@_`.;
66 $self->begin_rowscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/begin_row().
67 ->check_titlescip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_title().(NOT_BLANK)
68 ->check_publisherscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_publisher().(NOT_BLANK)
69 ->check_platformscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_platform().(NOT_BLANK)
70 ->check_print_issnscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_print_issn().
71 ->check_online_issnscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_online_issn().
72 ->check_labelscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_label().('Full-text Turnaways', qr/^(?i)turnaways/)
73 ->check_count_by_periodsscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_count_by_periods().(Biblio::COUNTER::Report::REQUESTS)
74 ->check_ytd_totalscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/check_ytd_total().
75 ->end_rowscip-perl cpan Biblio-COUNTER 0.11 Biblio/COUNTER/Report/Release2/JournalReport2/end_row().;
76 }
77
78 1;
79
80 =pod
81
82 =head1 NAME
83
84 Biblio::COUNTER::Report::Release2::JournalReport2 - a JR2 (R2) COUNTER report
85
86 =head1 SYNOPSIS
87
88 $report = Biblio::COUNTER::Report::Release2::JournalReport2->new(
89 'file' => $file,
90 );
91 $report->process;
92
93 =cut