File Coverage

blib/lib/Data/Object/Autobox/Composite/Undef.pm
Criterion Covered Total %
statement 15 17 88.2
branch n/a
condition n/a
subroutine 5 7 71.4
pod 0 2 0.0
total 20 26 76.9


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