Maker/Path/Parent.pm

filter: Statementstmt 95.2% 20 / 21 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod 0.0% 0 / 3 totaltotal 82.3% 28 / 34 CC 2 SCAR 3.0
CC
2
Cov
91%
match
2.1
text
2.0
BEGIN
1.0
CRAP 1.3
« Maker/Option/Meta.pm ↑ Summary Maker/Path/Root.pm »
1 package Config::Maker::Path::Parent;
2  
3 9 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 9 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 9 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 9 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 9 ▶use Config::Maker::Path;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 9 our @ISA = qw(Config::Maker::Path);
10  
11 1 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
12 1 shift->bhash([qw/-tail/], @_);
13 }
14  
15 2 ▶sub match {
Subroutine match: called CC=2 SCAR=7.2
Pod undocumented
16 2 my ($self, $from) = @_;
17  
18 2 ▶ $from->{-parent} ? $from->{-parent} : $from;
Branch: 1 branch
BranchTrueFalseTotal
$from->{'-parent'} ? : 2 0 2
19 }
20  
21 0 ▶sub text { '..' }
Subroutine text: not called CC=1 SCAR=6.9
Pod undocumented
22  
23 9 1;
24  
25 __END__
« Maker/Option/Meta.pm ↑ Summary Maker/Path/Root.pm »