File Coverage

blib/lib/Data/Object/Autobox/Composite/Number.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::Number;
2              
3 2     2   1588 use 5.010;
  2         6  
  2         64  
4 2     2   8 use strict;
  2         2  
  2         50  
5 2     2   7 use warnings;
  2         2  
  2         47  
6              
7 2     2   415 use parent 'Data::Object::Autobox::Common';
  2         265  
  2         9  
8              
9 2     2   521 use Data::Object::Class 'with';
  2         11750  
  2         12  
10              
11             with 'Data::Object::Role::Number';
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;