JPFR/Label.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 34 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
get_fields
2.0
BEGIN
2.0
CRAP 2.0
1 package XBRL::JPFR::Label;
2  
3 use strict;
4 use warnings;
5 use Carp;
6 use Encode;
7  
8 our $VERSION = '0.01';
9  
10 use base qw(XBRL::Label);
11  
12 my @org_fields = qw(name id role lang value);
13 my @fields = qw(label);
14 XBRL::JPFR::Label->mk_accessors(@fields);
15  
16 sub new() {
17 my ($class, $in_xml) = @_;
18 my $self = $class->SUPER::new($in_xml);
19 bless $self, $class;
20 return $self;
21 }
22  
23 sub get_fields {
24 my ($self) = @_;
25 return (@org_fields, @fields);
26 }
27  
28  
29 =head1 NAME
30  
31 XBRL::JPFR::Label - Perl OO Module for encapsulating XBRL::JPFR Label information
32  
33 =head1 SYNOPSIS
34  
35 use XBRL::JPFR::Label;
36  
37 my $label = XBRL::JPFR::Label->new();
38  
39 =head1 DESCRIPTION
40  
41 This module is part of the XBRL::JPFR modules group and is intended for use with XBRL::JPFR.
42  
43 =over 4
44  
45 =item new
46  
47 Object constructor
48  
49 =back
50  
51 =head1 AUTHOR
52  
53 Tetsuya Yamamoto <yonjouhan@gmail.com>
54  
55 =head1 SEE ALSO
56  
57 Modules: XBRL XBRL::JPFR XBRL::Label
58  
59 =head1 COPYRIGHT AND LICENSE
60  
61 Copyright (C) 2015 by Tetsuya Yamamoto
62  
63 This library is free software; you can redistribute it and/or modify
64 it under the same terms as Perl itself, either Perl version 5.10 or,
65 at your option, any later version of Perl 5 you may have available.
66  
67  
68 =cut
69  
70  
71 1;