JPFR/Arc.pm untested

filter: Statementstmt 0.0% 0 / 27 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 37 CC 2 SCAR 11.0
CC
2
Cov
0%
new
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.0
1 package XBRL::JPFR::Arc;
2  
3 our $VERSION = '0.01';
4  
5 use strict;
6 use warnings;
7 use Carp;
8 use Hash::Merge qw(merge);
9 use Data::Dumper;
10  
11 use base qw(XBRL::Arc);
12  
13 my @fields = qw(role weight use priority from_name to_name from_prefix to_prefix text lang id);
14 XBRL::JPFR::Arc->mk_accessors(@fields);
15  
16 my %default = (
17 );
18  
19 sub new() {
20 my ($class, $args) = @_;
21 $args = {} if !$args;
22 my $self = merge($args, \%default);
23 bless $self, $class;
24  
25 return $self;
26 }
27  
28  
29 =head1 XBRL::JPFR::Arc
30  
31 XBRL::JPFR::Arc - OO Module for Encapsulating XBRL::JPFR Arcs
32  
33 =head1 SYNOPSIS
34  
35 use XBRL::JPFR::Arc;
36  
37 my $arc = XBRL::JPFR::Arc->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 =head1 AUTHOR
44  
45 Tetsuya Yamamoto <yonjouhan@gmail.com>
46  
47 =head1 SEE ALSO
48  
49 Modules: XBRL XBRL::JPFR
50  
51 =head1 COPYRIGHT AND LICENSE
52  
53 Copyright (C) 2015 by Tetsuya Yamamoto
54  
55 This library is free software; you can redistribute it and/or modify
56 it under the same terms as Perl itself, either Perl version 5.10 or,
57 at your option, any later version of Perl 5 you may have available.
58  
59  
60 =cut
61  
62  
63 1;