File Coverage

blib/lib/Data/Validate/MySQL.pm
Criterion Covered Total %
statement 369 374 98.6
branch 271 352 76.9
condition 103 155 66.4
subroutine 38 38 100.0
pod 23 23 100.0
total 804 942 85.3


line stmt bran cond sub pod time code
1             package Data::Validate::MySQL;
2              
3 29     29   882714 use 5.008;
  29         113  
  29         1351  
4 29     29   167 use strict;
  29         84  
  29         1534  
5 29     29   146 use warnings;
  29         58  
  29         1167  
6              
7             require Exporter;
8 29     29   29990 use AutoLoader 'AUTOLOAD';
  29         59088  
  29         217  
9 29     29   1353 use Carp;
  29         56  
  29         3323  
10 29     29   26743 use Data::Validate 0.06 qw(is_integer is_between is_numeric);
  29         3255317  
  29         3527  
11 29     29   51949 use Math::BigFloat;
  29         861460  
  29         237  
12              
13             our @ISA = qw(Exporter);
14              
15             our @EXPORT_OK = qw(
16             is_bit
17             is_tinyint
18             is_boolean
19             is_smallint
20             is_mediumint
21             is_int
22             is_bigint
23             is_float
24             is_double
25             is_decimal
26             is_char
27             is_varchar
28             is_binary
29             is_varbinary
30             is_tinyblob
31             is_tinytext
32             is_blob
33             is_text
34             is_mediumblob
35             is_mediumtext
36             is_longblob
37             is_longtext
38             is_enum
39             is_set
40             is_date
41             is_datetime
42             is_timestamp
43             is_time
44             is_year
45             );
46              
47             # no functions are exported by default. See EXPORT_OK
48             our @EXPORT = qw();
49              
50             our $VERSION = '0.03';
51              
52              
53             # no preloads
54              
55             1;
56             __END__