Hopen/Scope/Inputs.pm

filter: Statementstmt 84.2% 16 / 19 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 5 / 7 Podpod 100% 1 / 1 totaltotal 75.8% 22 / 29 CC 2 SCAR 8.7
CC
2
Cov
76%
todo
6.0
__ANON__
2.0
BEGIN
1.0
CRAP 2.4
« Hopen/G/Entity.pm ↑ Summary Hopen/Scope/Environment.pm »
1 # Data::Hopen::Scope::Inputs - Scope that can hold multiple sets of inputs
2 package Data::Hopen::Scope::Inputs;
3 1 ▶use Data::Hopen;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Data::Hopen::Base;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 our $VERSION = '0.000021';
8  
9 # TODO if a class
10 1 ▶use parent 'Data::Hopen::Scope';
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use Class::Tiny {
Subroutine BEGIN: called CC=1 SCAR=0.2
12 0 ▶ _sets => sub { +{} },
Subroutine __ANON__: not called CC=1 SCAR=6.9
13 1 };
14  
15 # Docs {{{1
16  
17 =head1 NAME
18  
19 Data::Hopen::Scope::Inputs - Scope that can hold multiple sets of inputs
20  
21 =head1 SYNOPSIS
22  
23 TODO Implement this.
24  
25 =head1 ATTRIBUTES
26  
27 =head2 _sets
28  
29 Hashref of the input sets.
30  
31 =cut
32  
33 # }}}1
34  
35 =head1 FUNCTIONS
36  
37 =head2 todo
38  
39 =cut
40  
41 0 ▶sub todo {
Subroutine todo: not called CC=2 SCAR=17.9
Pod documented
42 0 ▶ my $self = shift or croak 'Need an instance';
Branch: 1 branch
BranchTrueFalseTotal
my $self = shift() or croak("Need an instance") 0 0 0
43 ...
44 0 } #todo()
45  
46 # TODO if using a custom import()
47 #sub import { # {{{1
48 #} #import() # }}}1
49  
50 #1;
51 __END__
« Hopen/G/Entity.pm ↑ Summary Hopen/Scope/Environment.pm »