File Coverage

blib/lib/XML/NewsML_G2/StoryType.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::StoryType;
2              
3 18     18   136 use Moose;
  18         41  
  18         121  
4 18     18   78601 use namespace::autoclean;
  18         43  
  18         131  
5              
6             with 'XML::NewsML_G2::Role::HasQCode';
7              
8             __PACKAGE__->meta->make_immutable;
9              
10             1;
11             __END__
12              
13             =head1 NAME
14              
15             XML::NewsML_G2::Story - the story type of the news item
16              
17             =head1 SYNOPSIS
18              
19             my $story_type = XML::NewsML_G2::StoryType->new(name => 'Breaking news', qcode => 'Break');
20              
21             =head1 AUTHOR
22              
23             Christian Eder C<< <christian.eder@apa.at> >>
24              
25             =head1 LICENCE AND COPYRIGHT
26              
27             Copyright (c) 2019, APA-IT. All rights reserved.
28              
29             See L<XML::NewsML_G2> for the license.