Condition Coverage

blib/lib/Data/Validate/MySQL.pm
Criterion Covered Total %
condition 103 155 66.4


and 3 conditions

line !l l&&!r l&&r condition
202 0 0 139 $size >= 1 and $size <= 64
666 1 10 2 defined $m and length $m
667 6 1 6 is_integer($m) and $m > 0
669 5 7 0 defined $d and length $d
670 5 7 0 is_integer($d) and $m > 0
697 0 8 0 $v >= 'Math::BigFloat'->new('-3.402823466E+38') and $v <= 'Math::BigFloat'->new('-1.175494351E-38')
698 8 0 0 $v >= 'Math::BigFloat'->new('1.175494351E-38') and $v <= 'Math::BigFloat'->new('3.402823466E+38')
775 1 10 2 defined $m and length $m
776 6 1 6 is_integer($m) and $m > 0
778 6 15 0 defined $d and length $d
779 4 17 0 is_integer($d) and $m > 0
806 2 19 0 $v >= 'Math::BigFloat'->new('-1.7976931348623157E+308') and $v <= 'Math::BigFloat'->new('-2.2250738585072014E-308')
807 0 15 6 $v >= 'Math::BigFloat'->new('2.2250738585072014E-308') and $v <= 'Math::BigFloat'->new('1.7976931348623157E+308')
879 0 15 6 is_integer($m) and $m > 0
971 0 0 9 is_integer($length) and $length > 0
0 0 9 is_integer($length) and $length > 0 and $length <= 255
1109 0 0 3 is_integer($length) and $length > 0
0 0 3 is_integer($length) and $length > 0 and $length <= 255
1776 14 1 0 ref $_[0] and ref $_[0] ne 'ARRAY'
1780 0 1 10 ref $values and ref $values eq 'ARRAY'
2076 0 1 6 $hr >= -838 and $hr <= 838
2077 45 1 0 $min >= 0 and $min <= 59
2078 2 3 29 $sec >= 0 and $sec <= 59
2180 19 10 0 $d >= 0 and $d <= 34
2320 0 0 113 $y >= 1000 and $y <= 9999
2321 0 6 107 $m >= 1 and $m <= 12
2322 0 0 107 $d >= 1 and $m <= 31
2331 0 2 75 $hr >= 0 and $hr <= 23
2332 0 5 70 $min >= 0 and $min <= 59
2333 0 2 68 $sec >= 0 and $sec <= 59

or 2 conditions

line l !l condition
198 139 0 shift() || 1
199 131 8 shift() || 0
279 260 520 shift() || 0
389 0 0 10 shift() || 0
452 5 7 shift() || 0
515 0 0 8 shift() || 0
580 5 7 shift() || 0
661 0 0 6 shift() || ''
662 0 17 4 shift() || ''
663 0 0 4 shift() || 0
770 0 0 6 shift() || ''
771 0 17 4 shift() || ''
772 0 0 4 shift() || 0
874 6 15 shift() || 65
875 4 17 shift() || 30
876 2 19 shift() || 0
1777 0 0 11 shift() || (return)
1874 49 2 shift() || (return)
1926 45 8 6 shift() || (return)
1931 24 17 6 $hr || 0
22 19 $min || 0
22 10 9 $sec || 0
1983 19 10 shift() || (return)
2070 14 0 shift() || (return)
2164 19 10 shift() || (return)
2206 129 1 6 shift() || (return)