File Coverage

blib/lib/Data/Object/Autobox/Composite/Array.pm
Criterion Covered Total %
statement 15 18 83.3
branch n/a
condition n/a
subroutine 5 8 62.5
pod 0 3 0.0
total 20 29 68.9


line stmt bran cond sub pod time code
1             package Data::Object::Autobox::Composite::Array;
2              
3 2     2   1572 use 5.010;
  2         4  
  2         64  
4 2     2   7 use strict;
  2         4  
  2         51  
5 2     2   6 use warnings;
  2         2  
  2         46  
6              
7 2     2   420 use parent 'Data::Object::Autobox::Common';
  2         243  
  2         8  
8              
9 2     2   597 use Data::Object::Class 'with';
  2         11430  
  2         14  
10              
11             with 'Data::Object::Role::Array';
12              
13             sub data {
14 0     0 0   goto &detract;
15             }
16            
17             sub detract {
18 0     0 0   return shift;
19             }
20              
21             sub list {
22 0     0 0   goto &values;
23             }
24              
25             1;