Condition Coverage

blib/lib/Value/Object/ValidationUtils.pm
Criterion Covered Total %
condition 30 45 66.6


and 3 conditions

line !l l&&!r l&&r condition
116 0 3 34 1 <= $month and $month <= 12
118 0 3 31 1 <= $day and $day <= 31
121 28 0 3 $day == 31 and grep {$month == $_;} 2, 4, 6, 9, 11
122 22 0 3 $day == 29 and not _is_leap_year($year)
130 3 0 0 $year % 4 == 0 && ($year % 100 != 0 || $year % 400 == 0)
141 0 0 0 $hour == 24 and $minute == 0
149 2 0 0 $tzh == 24 and $tzm == 0

or 3 conditions

line l !l&&r !l&&!r condition
14 3 2 85 not length $poss_domain or length $poss_domain > 255
41 7 6 419 not length $poss_label or length $poss_label > 63
64 2 2 214 not length $poss_part or length $poss_part > 64
66 26 156 32 $poss_part =~ /\A"(?:\\.|[!#-[\]-~])+"\z/ or $poss_part =~ m[\A[a-zA-Z0-9!#\$\%&'*+\-/=?^_`{|}~]+ # any 'atext' characters (?:\. # separated by dots [a-zA-Z0-9!#\$\%&'*+\-/=?^_`{|}~]+ # any 'atext' characters )* \z]x
90 2 2 192 not length $poss_part or length $poss_part > 64
122 3 0 25 $day == 30 or $day == 29 and not _is_leap_year($year)
141 6 0 0 $hour <= 23 or $hour == 24 and $minute == 0
149 3 0 2 $tzh <= 23 or $tzh == 24 and $tzm == 0