File Coverage

blib/lib/XML/NewsML_G2/SportFacet.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package XML::NewsML_G2::SportFacet;
2              
3 18     18   128 use Moose;
  18         44  
  18         121  
4 18     18   111167 use namespace::autoclean;
  18         44  
  18         132  
5              
6             extends 'XML::NewsML_G2::Facet';
7              
8             __PACKAGE__->meta->make_immutable;
9              
10             1;
11             __END__
12              
13             =head1 NAME
14              
15             XML::NewsML_G2::SportFacet - a sport facet to be used in a facetted concept
16             of the news item, taken from a standardized controlled vocabulary at
17             http://cv.iptc.org/newscodes/asportfacet
18              
19             =head1 SYNOPSIS
20              
21             my $facet = XML::NewsML_G2::SportFacet->new
22             (name => 'alpine skiing type',
23             qcode => 'alpineskiingtype'
24             );
25              
26             =head1 AUTHOR
27              
28             Christian Eder C<< <christian.eder@apa.at> >>
29              
30             =head1 LICENCE AND COPYRIGHT
31              
32             Copyright (c) 2019, APA-IT. All rights reserved.
33              
34             See L<XML::NewsML_G2> for the license.