Maker/Path/Meta.pm

filter: Statementstmt 77.2% 17 / 22 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 55.5% 5 / 9 Podpod 0.0% 0 / 4 totaltotal 59.4% 22 / 37 CC 2 SCAR 8.3
CC
2
Cov
71%
str
6.0
new
2.0
match
2.0
CRAP 2.3
« Maker/Type.pm ↑ Summary Maker/Config.pm »
1 package Config::Maker::Path::Meta;
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 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
12 0 shift->bhash([qw/-tail/], @_);
13 }
14  
15 0 ▶sub match {
Subroutine match: not called CC=1 SCAR=6.9
Pod undocumented
16 0 $Config::Maker::Eval::config->{meta};
17 }
18  
19 # Inherited find...
20  
21 0 ▶sub text { 'META:' };
Subroutine text: not called CC=1 SCAR=6.9
Pod undocumented
22  
23 0 ▶sub str {
Subroutine str: not called CC=2 SCAR=17.9
Pod undocumented
24 0 my ($self) = @_;
25 0 ▶ 'META:' . ($self->{-tail} ? $self->{-tail}->str : '');
Branch: 1 branch
BranchTrueFalseTotal
$self->{'-tail'} ? : 0 0 0
26 }
27  
28 9 1;
29  
30 __END__
« Maker/Type.pm ↑ Summary Maker/Config.pm »