File Coverage

blib/lib/Role/TinyCommons/Tree/NodeMethods.pm
Criterion Covered Total %
statement 18 18 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 23 23 100.0


line stmt bran cond sub pod time code
1             package Role::TinyCommons::Tree::NodeMethods;
2              
3 2     2   1474 use strict;
  2         5  
  2         62  
4 2     2   12 use Role::Tiny;
  2         4  
  2         10  
5 2     2   330 use Role::Tiny::With;
  2         4  
  2         243  
6              
7             our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
8             our $DATE = '2021-10-07'; # DATE
9             our $DIST = 'RoleBundle-TinyCommons-Tree'; # DIST
10             our $VERSION = '0.129'; # VERSION
11              
12             with 'Role::TinyCommons::Tree::Node';
13              
14             BEGIN {
15 2     2   16 no strict 'refs'; ## no critic: TestingAndDebugging::ProhibitNoStrict
  2         4  
  2         294  
16 2     2   1040 require Code::Includable::Tree::NodeMethods;
17 2         22 for (grep {/\A[a-z]\w+\z/} keys %Code::Includable::Tree::NodeMethods::) {
  78         193  
18 52         79 *{$_} = \&{"Code::Includable::Tree::NodeMethods::$_"};
  52         247  
  52         141  
19             }
20             }
21              
22             1;
23             # ABSTRACT: Role that provides tree node methods
24              
25             __END__