ModeMerge/Config.pm

filter: Statementstmt 100% 44 / 44 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 14 / 14 Podpod n/a totaltotal 100% 58 / 58 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« ModeMerge/Mode/NORMAL.pm ↑ Summary
1 package Data::ModeMerge::Config;
2  
3 32 our $DATE = '2021-08-15'; # DATE
4 32 our $VERSION = '0.360'; # VERSION
5  
6 32 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 32 ▶use Mo qw(build default);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 254 ▶has recurse_hash => (is => 'rw', default => sub{1});
Subroutine __ANON__: called CC=1 SCAR=0.0
10 9 ▶has recurse_array => (is => 'rw', default => sub{0});
Subroutine __ANON__: called CC=1 SCAR=0.0
11 249 ▶has parse_prefix => (is => 'rw', default => sub{1});
Subroutine __ANON__: called CC=1 SCAR=0.0
12 32 has wanted_path => (is => 'rw');
13 301 ▶has default_mode => (is => 'rw', default => sub{'NORMAL'});
Subroutine __ANON__: called CC=1 SCAR=0.0
14 32 has disable_modes => (is => 'rw');
15 316 ▶has allow_create_array => (is => 'rw', default => sub{1});
Subroutine __ANON__: called CC=1 SCAR=0.0
16 313 ▶has allow_create_hash => (is => 'rw', default => sub{1});
Subroutine __ANON__: called CC=1 SCAR=0.0
17 309 ▶has allow_destroy_array => (is => 'rw', default => sub{1});
Subroutine __ANON__: called CC=1 SCAR=0.0
18 306 ▶has allow_destroy_hash => (is => 'rw', default => sub{1});
Subroutine __ANON__: called CC=1 SCAR=0.0
19 32 has exclude_parse => (is => 'rw');
20 32 has exclude_parse_regex => (is => 'rw');
21 32 has include_parse => (is => 'rw');
22 32 has include_parse_regex => (is => 'rw');
23 32 has exclude_merge => (is => 'rw');
24 32 has exclude_merge_regex => (is => 'rw');
25 32 has include_merge => (is => 'rw');
26 32 has include_merge_regex => (is => 'rw');
27 32 has set_prefix => (is => 'rw');
28 173 ▶has readd_prefix => (is => 'rw', default => sub{1});
Subroutine __ANON__: called CC=1 SCAR=0.0
29 32 has premerge_pair_filter => (is => 'rw');
30 252 ▶has options_key => (is => 'rw', default => sub{''});
Subroutine __ANON__: called CC=1 SCAR=0.0
31 32 has allow_override => (is => 'rw');
32 32 has disallow_override => (is => 'rw');
33  
34 # list of config settings only available in merger-object's config
35 # (not in options key)
36 58 ▶sub _config_config {
Subroutine _config_config: called CC=1 SCAR=0.0
37 58 state $a = [qw/
38 wanted_path
39 options_key
40 allow_override
41 disallow_override
42 /];
43 }
44  
45 # list of config settings available in options key
46 54 ▶sub _config_ok {
Subroutine _config_ok: called CC=1 SCAR=0.0
47 54 state $a = [qw/
48 recurse_hash
49 recurse_array
50 parse_prefix
51 default_mode
52 disable_modes
53 allow_create_array
54 allow_create_hash
55 allow_destroy_array
56 allow_destroy_hash
57 exclude_parse
58 exclude_parse_regex
59 include_parse
60 include_parse_regex
61 exclude_merge
62 exclude_merge_regex
63 include_merge
64 include_merge_regex
65 set_prefix
66 readd_prefix
67 premerge_pair_filter
68 /];
69 }
70  
71 32 1;
72 # ABSTRACT: Data::ModeMerge configuration
73  
74 __END__
« ModeMerge/Mode/NORMAL.pm ↑ Summary