blib/lib/XML/NewsML_G2/Role/Writer_2_12.pm

filter: Statementstmt 91.6% 11 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod n/a totaltotal 82.3% 14 / 17 CC 1 SCAR 1.8
CC
1
Cov
92%
_create_subjects_concepts
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« blib/lib/XML/NewsML_G2/Role/Writer_2_15.pm ↑ Summary blib/lib/XML/NewsML_G2/AnyItem.pm »
1 package XML::NewsML_G2::Role::Writer_2_12;
2  
3 4 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 4 has 'schema_location',
7 isa => 'Str',
8 is => 'ro',
9 default => 'http://iptc.org/std/nar/2006-10-01/';
10 4 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 4 ▶override '_create_teaser' => sub { };
Subroutine __ANON__: not called CC=1 SCAR=0.0
17 4 ▶override '_create_copyright_holder_remoteinfo' => sub { };
Subroutine __ANON__: called CC=1 SCAR=0.0
18  
19 ## no critic (ControlStructures::ProhibitYadaOperator Subroutines::RequireFinalReturn)
20 0 ▶sub _create_subjects_concepts {...}
Subroutine _create_subjects_concepts: not called CC=1 SCAR=6.9
21  
22 4 1;
23 __END__
24  
25 =head1 NAME
26  
27 XML::NewsML_G2::Role::Writer_2_12 - create XML DOM tree conforming to version 2.12 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.
« blib/lib/XML/NewsML_G2/Role/Writer_2_15.pm ↑ Summary blib/lib/XML/NewsML_G2/AnyItem.pm »