R53/Role/ParentR53.pm

filter: Statementstmt 93.3% 14 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod n/a totaltotal 89.4% 17 / 19 CC 1 SCAR 0.3
CC
1
Cov
93%
__ANON__
1.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« R53/AtomicChange.pm ↑ Summary
1 #
2 # This file is part of Net-Amazon-R53
3 #
4 # This software is Copyright (c) 2012 by Campus Explorer, Inc.
5 #
6 # This is free software, licensed under:
7 #
8 # The GNU Lesser General Public License, Version 2.1, February 1999
9 #
10 package Net::Amazon::R53::Role::ParentR53;
11 {
12 2 $Net::Amazon::R53::Role::ParentR53::VERSION = '0.002'; # TRIAL
13 }
14  
15 # ABSTRACT: A role bestowing a parent link
16  
17 2 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 2 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21  
22 0 ▶my $_same = sub { $_[0] => $_[0] };
Subroutine __ANON__: not called CC=1 SCAR=1.2
23  
24 2 has r53 => (
25 is => 'ro',
26 isa => 'Net::Amazon::R53',
27 required => 1,
28  
29 # TODO strictly for now -- need to autoconstruct role to provide the correct
30 # parent attributes for us related classes
31 handles => [ qw{
32 atomic_change_class
33 change_info_class
34 resource_record_set_class
35 resource_record_set__stub_class
36 resource_record_set__change_class
37 } ],
38 );
39  
40 2 !!42;
41  
42 __END__
« R53/AtomicChange.pm ↑ Summary