File Coverage

blib/lib/XML/NewsML_G2/Inline_CData.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::Inline_CData;
2              
3 18     18   128 use Moose;
  18         43  
  18         122  
4 18     18   113040 use namespace::autoclean;
  18         54  
  18         138  
5              
6             extends 'XML::NewsML_G2::Inline_Data';
7              
8             __PACKAGE__->meta->make_immutable;
9              
10             1;
11             __END__
12              
13             =head1 NAME
14              
15             XML::NewsML_G2::Inline_CData - inline cdata specification
16              
17             =head1 SYNOPSIS
18              
19             my $data = XML::NewsML_G2::Inline_CData->new
20             (mimetype => 'text/xml',
21             data => '<somexml>test</somexml>'
22             );
23              
24             =head1 ATTRIBUTES
25              
26             =over 4
27              
28             =item data
29              
30             The inline string data
31              
32             =item mimetype
33              
34             The MIME type of the data (e.g. text/xml)
35              
36             =back
37              
38             =head1 AUTHOR
39              
40             Christian Eder C<< <christian.eder@apa.at> >>
41              
42             =head1 LICENCE AND COPYRIGHT
43              
44             Copyright (c) 2015-2019, APA-IT. All rights reserved.
45              
46             See L<XML::NewsML_G2> for the license.