File Coverage

blib/lib/Data/Object/Autobox/Composite/Undef.pm
Criterion Covered Total %
statement 12 14 85.7
branch n/a
condition n/a
subroutine 4 6 66.6
pod 0 2 0.0
total 16 22 72.7


line stmt bran cond sub pod time code
1             package Data::Object::Autobox::Composite::Undef;
2              
3 2     2   1689 use 5.010;
  2         5  
  2         59  
4 2     2   8 use strict;
  2         3  
  2         47  
5 2     2   6 use warnings;
  2         3  
  2         49  
6              
7 2     2   11 use Data::Object::Class 'with';
  2         3  
  2         9  
8              
9             with 'Data::Object::Role::Undef';
10              
11             sub data {
12 0     0 0   goto &detract;
13             }
14            
15             sub detract {
16 0     0 0   return shift;
17             }
18              
19             1;