File Coverage

blib/lib/XML/NewsML_G2/Topic.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::Topic;
2              
3 18     18   123 use Moose;
  18         41  
  18         121  
4 18     18   79505 use namespace::autoclean;
  18         60  
  18         137  
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::Topic - a temporary topic covered in the news item,
16             used to group related stories
17              
18             =head1 SYNOPSIS
19              
20             my $topic = XML::NewsML_G2::Topic->new(name => 'Swine Flu', qcode => 'h1n1');
21              
22             =head1 AUTHOR
23              
24             Philipp Gortan C<< <philipp.gortan@apa.at> >>
25              
26             =head1 LICENCE AND COPYRIGHT
27              
28             Copyright (c) 2013-2014, APA-IT. All rights reserved.
29              
30             See L<XML::NewsML_G2> for the license.