Role/TinyCommons/Tree/FromObjArray.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
« Test/Role/TinyCommons/Tree.pm ↑ Summary Role/TinyCommons/Tree/FromStruct.pm »
1 package Role::TinyCommons::Tree::FromObjArray;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Role::Tiny;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Role::Tiny::With;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
8 1 our $DATE = '2021-10-07'; # DATE
9 1 our $DIST = 'RoleBundle-TinyCommons-Tree'; # DIST
10 1 our $VERSION = '0.129'; # VERSION
11  
12 1 with 'Role::TinyCommons::Tree::NodeMethods';
13  
14 1 ▶BEGIN {
Subroutine BEGIN: called CC=2 SCAR=6.9
15 1 ▶ no strict 'refs'; ## no critic: TestingAndDebugging::ProhibitNoStrict
Subroutine BEGIN: called CC=1 SCAR=0.0
16 1 require Code::Includable::Tree::FromObjArray;
17 1 for (grep {/\A[a-z]\w+\z/} keys %Code::Includable::Tree::FromObjArray::) {
18 1 *{$_} = \&{"Code::Includable::Tree::FromObjArray::$_"};
19 }
20 }
21  
22 1 1;
23 # ABSTRACT: Role that provides methods to build a tree of objects from a nested array of objects
24  
25 __END__
« Test/Role/TinyCommons/Tree.pm ↑ Summary Role/TinyCommons/Tree/FromStruct.pm »