File Coverage

blib/lib/XML/NewsML_G2/Role/Writer_2_18.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_18;
2              
3 14     14   10205 use Moose::Role;
  14         40  
  14         118  
4 14     14   71532 use namespace::autoclean;
  14         37  
  14         112  
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_24.xml';
15              
16             ## no critic (ControlStructures::ProhibitYadaOperator Subroutines::RequireFinalReturn)
17 1     1   10 sub _create_subjects_concepts {...}
18              
19             1;
20             __END__
21              
22             =head1 NAME
23              
24             XML::NewsML_G2::Role::Writer_2_18 - create XML DOM tree conforming to version 2.18 of the NewsML-G2 specification
25              
26             Check the documentation of L<XML::NewsML_G2::Writer> for details.
27              
28             =head1 AUTHOR
29              
30             Philipp Gortan C<< <philipp.gortan@apa.at> >>
31              
32             =head1 LICENCE AND COPYRIGHT
33              
34             Copyright (c) 2013-2014, APA-IT. All rights reserved.
35              
36             See L<XML::NewsML_G2> for the license.