lib/App/Perlbrew/Path/Installations.pm

filter: Statementstmt 100% 17 / 17 Branchbran 75.0% 3 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 3 totaltotal 86.2% 25 / 29 CC 3 SCAR 6.2
CC
3
Cov
95%
child
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.9
« lib/App/Perlbrew/Path.pm ↑ Summary lib/App/Perlbrew/Patchperl.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::Installations;
5  
6 70 require App::Perlbrew::Path;
7 70 require App::Perlbrew::Path::Installation;
8  
9 70 our @ISA = qw( App::Perlbrew::Path );
10  
11 369 ▶sub child {
Subroutine child: called CC=3 SCAR=11.0
Pod undocumented
12 369 my ($self, @params) = @_;
13  
14 369 my $return = $self;
15 369 ▶ $return = $return->_child('App::Perlbrew::Path::Installation' => shift @params) if @params;
Branch: 1 branch
BranchTrueFalseTotal
if @params 369 0 369
16 369 ▶ $return = $return->child(@params) if @params;
Branch: 1 branch
BranchTrueFalseTotal
if @params 79 290 369
17  
18 369 $return;
19 }
20  
21 179 ▶sub children {
Subroutine children: called CC=1 SCAR=0.0
Pod undocumented
22 179 shift->_children('App::Perlbrew::Path::Installation' => @_);
23 }
24  
25 179 ▶sub list {
Subroutine list: called CC=1 SCAR=0.0
Pod undocumented
26 179 shift->children;
27 }
28  
29 70 1;
30  
« lib/App/Perlbrew/Path.pm ↑ Summary lib/App/Perlbrew/Patchperl.pm »