Statistics/R/REXP/BaseEnvironment.pm

filter: Statementstmt 100% 16 / 16 Branchbran 100% 6 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 50.0% 1 / 2 totaltotal 96.5% 28 / 29 CC 4 SCAR 9.2
CC
4
Cov
100%
BUILD
4.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.5
« Statistics/R/REXP/Raw.pm ↑ Summary Statistics/R/REXP/EmptyEnvironment.pm »
1 package Statistics::R::REXP::BaseEnvironment;
2 # ABSTRACT: the base R environment (C<baseenv()>)
3 14 $Statistics::R::REXP::BaseEnvironment::VERSION = '1.0002';
4 14 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 14 ▶use Class::Tiny::Antlers;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 14 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 14 extends 'Statistics::R::REXP::Environment';
10  
11  
12 27 ▶sub BUILD {
Subroutine BUILD: called CC=4 SCAR=13.9
Pod undocumented
13 27 my ($self, $args) = @_;
14  
15 # Required attribute type
16 27 ▶ die 'Base environment has implicit attributes' if defined $self->attributes;
Branch: 1 branch
BranchTrueFalseTotal
if defined $self->attributes 1 26 27
17 26 ▶ die 'Nothing can be assigned to the base environment' if exists $args->{frame};
Branch: 1 branch
BranchTrueFalseTotal
if exists $args->{"frame"} 1 25 26
18 25 ▶ die 'Base environment has an implicit enclosure' if defined $self->enclosure;
Branch: 1 branch
BranchTrueFalseTotal
if defined $self->enclosure 1 24 25
19 }
20  
21 1 ▶sub name {
Subroutine name: called CC=1 SCAR=0.0
Pod documented
22 1 'R_BaseEnv'
23 }
24  
25  
26 14 1; # End of Statistics::R::REXP::BaseEnvironment
27  
28 __END__
« Statistics/R/REXP/Raw.pm ↑ Summary Statistics/R/REXP/EmptyEnvironment.pm »