File Coverage

blib/lib/SOAP/WSDL/XSD/Typelib/Builtin/decimal.pm
Criterion Covered Total %
statement 16 16 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 0 1 0.0
total 22 23 95.6


line stmt bran cond sub pod time code
1             package SOAP::WSDL::XSD::Typelib::Builtin::decimal;
2 49     49   13662 use strict;
  49         56  
  49         1267  
3 49     49   183 use warnings;
  49         50  
  49         1060  
4 49     49   554 use Class::Std::Fast::Storable constructor => 'none', cache => 1;
  49         16087  
  49         243  
5 49     49   4749 use base qw(SOAP::WSDL::XSD::Typelib::Builtin::anySimpleType);
  49         98  
  49         8850  
6              
7             sub as_num :NUMERIFY :BOOLIFY {
8 28     28 0 3450 return $_[0]->get_value();
9 49     49   224 }
  49         65  
  49         227  
10              
11             Class::Std::Fast::initialize(); # make :NUMERIFY :BOOLIFY overloading serializable
12              
13             1;