Layered/Source.pm

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 4 totaltotal 70.8% 17 / 24 CC 1 SCAR 1.5
CC
1
Cov
86%
get_config
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Layered/Source/ConfigAny.pm ↑ Summary
1 package Config::Layered::Source;
2 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 # Parent Class
6  
7 107 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
8 107 my ( $class, $layered, $args ) = @_;
9 107 my $self = bless { layered => $layered, args => $args }, $class;
10 107 return $self;
11 }
12  
13 0 ▶sub get_config {
Subroutine get_config: not called CC=1 SCAR=6.9
Pod undocumented
14 0 my ( $self ) = @_;
15  
16 0 return {};
17 }
18  
19 107 ▶sub layered {
Subroutine layered: called CC=1 SCAR=0.0
Pod undocumented
20 107 return shift->{layered};
21 }
22  
23 264 ▶sub args {
Subroutine args: called CC=1 SCAR=0.0
Pod undocumented
24 264 return shift->{args};
25 }
26  
27 3 1;
« Layered/Source/ConfigAny.pm ↑ Summary