Role/TinyCommons/Tree/NodeMethods.pm

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 29 / 29 CC 2 SCAR 2.9
CC
2
Cov
100%
BEGIN
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Role/TinyCommons/Tree/FromStruct.pm ↑ Summary Role/TinyCommons/Tree/Node.pm »
1 package Role::TinyCommons::Tree::NodeMethods;
2  
3 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 5 ▶use Role::Tiny;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 5 ▶use Role::Tiny::With;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 5 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
8 5 our $DATE = '2021-10-07'; # DATE
9 5 our $DIST = 'RoleBundle-TinyCommons-Tree'; # DIST
10 5 our $VERSION = '0.129'; # VERSION
11  
12 5 with 'Role::TinyCommons::Tree::Node';
13  
14 5 ▶BEGIN {
Subroutine BEGIN: called CC=2 SCAR=6.9
15 5 ▶ no strict 'refs'; ## no critic: TestingAndDebugging::ProhibitNoStrict
Subroutine BEGIN: called CC=1 SCAR=0.0
16 5 require Code::Includable::Tree::NodeMethods;
17 5 for (grep {/\A[a-z]\w+\z/} keys %Code::Includable::Tree::NodeMethods::) {
18 130 *{$_} = \&{"Code::Includable::Tree::NodeMethods::$_"};
19 }
20 }
21  
22 5 1;
23 # ABSTRACT: Role that provides tree node methods
24  
25 __END__
« Role/TinyCommons/Tree/FromStruct.pm ↑ Summary Role/TinyCommons/Tree/Node.pm »