Scaffold/YAML/Active/Constant.pm

filter: Statementstmt 76.1% 16 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 100% 1 / 1 totaltotal 79.3% 23 / 29 CC 1 SCAR 1.3
CC
1
Cov
76%
yaml_activate
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Scaffold/App/Test.pm ↑ Summary Scaffold/YAML/Active/Exception.pm »
1 1 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Class::Scaffold::YAML::Active::Constant;
6 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 $Class::Scaffold::YAML::Active::Constant::VERSION = '1.102280';
8 }
9 # ABSTRACT: Plugin to get framework environment constants
10 1 ▶use parent 'Class::Scaffold::YAML::Active';
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use YAML::Active qw/assert_hashref hash_activate/;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 0 ▶sub yaml_activate {
Subroutine yaml_activate: not called CC=1 SCAR=6.9
Pod documented
14 0 my ($self, $phase) = @_;
15 0 assert_hashref($self);
16 0 my $hash = hash_activate($self, $phase);
17 0 my $method = $hash->{name};
18 0 $self->delegate->$method;
19 }
20 1 1;
21  
22  
23 __END__
« Scaffold/App/Test.pm ↑ Summary Scaffold/YAML/Active/Exception.pm »