lib/App/Perlbrew/Path/Root.pm

filter: Statementstmt 100% 22 / 22 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 9 / 9 Podpod 0.0% 0 / 5 totaltotal 86.8% 33 / 38 CC 2 SCAR 1.8
CC
2
Cov
100%
perls
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« lib/App/Perlbrew/Patchperl.pm ↑ Summary lib/App/Perlbrew/Path/Installation.pm »
1 70 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 70 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package App::Perlbrew::Path::Root;
5  
6 70 ▶use App::Perlbrew::Path ();
Subroutine BEGIN: called CC=1 SCAR=0.0
7 70 ▶use App::Perlbrew::Path::Installations ();
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 70 our @ISA = qw( App::Perlbrew::Path );
10  
11 81 ▶sub bin {
Subroutine bin: called CC=1 SCAR=0.0
Pod undocumented
12 81 shift->child(bin => @_);
13 }
14  
15 41 ▶sub build {
Subroutine build: called CC=1 SCAR=0.0
Pod undocumented
16 41 shift->child(build => @_);
17 }
18  
19 45 ▶sub dists {
Subroutine dists: called CC=1 SCAR=0.0
Pod undocumented
20 45 shift->child(dists => @_);
21 }
22  
23 12 ▶sub etc {
Subroutine etc: called CC=1 SCAR=0.0
Pod undocumented
24 12 shift->child(etc => @_);
25 }
26  
27 408 ▶sub perls {
Subroutine perls: called CC=2 SCAR=6.9
Pod undocumented
28 408 my ($self, @params) = @_;
29  
30 408 my $return = $self->_child('App::Perlbrew::Path::Installations', 'perls');
31 408 ▶ $return = $return->child(@params) if @params;
Branch: 1 branch
BranchTrueFalseTotal
if @params 190 218 408
32  
33 408 return $return;
34 }
35  
36 70 1;
37  
« lib/App/Perlbrew/Patchperl.pm ↑ Summary lib/App/Perlbrew/Path/Installation.pm »