File Coverage

blib/lib/XML/NewsML_G2/Role/Writer_2_15.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 10 100.0


line stmt bran cond sub pod time code
1             package XML::NewsML_G2::Role::Writer_2_15;
2              
3 7     7   6583 use Moose::Role;
  7         20  
  7         69  
4 7     7   38345 use namespace::autoclean;
  7         17  
  7         60  
5              
6             has 'schema_location',
7             isa => 'Str',
8             is => 'ro',
9             default => 'http://iptc.org/std/nar/2006-10-01/';
10             has 'g2_catalog_url',
11             isa => 'Str',
12             is => 'ro',
13             default =>
14             'http://www.iptc.org/std/catalog/catalog.IPTC-G2-Standards_22.xml';
15              
16             override '_create_teaser' => sub { };
17             override '_create_copyright_holder_remoteinfo' => sub { };
18              
19             ## no critic (ControlStructures::ProhibitYadaOperator Subroutines::RequireFinalReturn)
20 1     1   9 sub _create_subjects_concepts {...}
21              
22             1;
23             __END__
24              
25             =head1 NAME
26              
27             XML::NewsML_G2::Role::Writer_2_15 - create XML DOM tree conforming to version 2.15 of the NewsML-G2 specification
28              
29             Check the documentation of L<XML::NewsML_G2::Writer> for details.
30              
31             =head1 AUTHOR
32              
33             Philipp Gortan C<< <philipp.gortan@apa.at> >>
34              
35             =head1 LICENCE AND COPYRIGHT
36              
37             Copyright (c) 2013-2014, APA-IT. All rights reserved.
38              
39             See L<XML::NewsML_G2> for the license.