blib/lib/EPUB/Parser/File/OPF/Context/Metadata.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod 100% 4 / 4 totaltotal 100% 29 / 29 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/EPUB/Parser/File/OPF/Context/Guide.pm ↑ Summary
1 package EPUB::Parser::File::OPF::Context::Metadata;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use parent 'EPUB::Parser::File::OPF::Context';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 3 ▶sub title { shift->parser->single( 'dc:title' )->string_value }
Subroutine title: called CC=1 SCAR=0.0
Pod documented
9 3 ▶sub creator { shift->parser->single( 'dc:creator' )->string_value }
Subroutine creator: called CC=1 SCAR=0.0
Pod documented
10 3 ▶sub language { shift->parser->single( 'dc:language' )->string_value }
Subroutine language: called CC=1 SCAR=0.0
Pod documented
11 3 ▶sub identifier { shift->parser->single( 'dc:identifier' )->string_value }
Subroutine identifier: called CC=1 SCAR=0.0
Pod documented
12  
13  
14 2 1;
15  
16 __END__
17  
18 =encoding utf-8
19  
20 =head1 NAME
21  
22 EPUB::Parser::File::OPF::Context::Metadata - parses metadata node in opf file
23  
24 =head1 METHODS
25  
26 =head2 title
27  
28 return value of dc:title.
29  
30 =head2 creator
31  
32 return value of dc:creator.
33  
34 =head2 language
35  
36 return value of dc:language.
37  
38 =head2 identifier
39  
40 return value of dc:identifier
41  
42 =head1 LICENSE
43  
44 Copyright (C) tokubass.
45  
46 This library is free software; you can redistribute it and/or modify
47 it under the same terms as Perl itself.
48  
49 =head1 AUTHOR
50  
51 tokubass E<lt>tokubass {at} cpan.orgE<gt>
52  
53 =cut
54  
55  
« blib/lib/EPUB/Parser/File/OPF/Context/Guide.pm ↑ Summary