File Coverage

blib/lib/Tree/ObjectXS/Hash.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


line stmt bran cond sub pod time code
1             package Tree::ObjectXS::Hash;
2              
3 1     1   75053 use 5.010001;
  1         13  
4 1     1   4 use strict;
  1         2  
  1         17  
5 1     1   4 use warnings;
  1         2  
  1         79  
6              
7             our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
8             our $DATE = '2021-10-07'; # DATE
9             our $DIST = 'Tree-ObjectXS'; # DIST
10             our $VERSION = '0.030'; # VERSION
11              
12             use Class::XSAccessor {
13 1         9 constructor => 'new',
14             accessors => ['parent', 'children'],
15 1     1   421 };
  1         2301  
16              
17 1     1   764 use Role::Tiny::With;
  1         4460  
  1         78  
18             with 'Role::TinyCommons::Tree::NodeMethods';
19              
20             1;
21             # ABSTRACT: A hash-based tree object
22              
23             __END__