Branch Coverage

blib/lib/HTML/CheckArgs/integer.pm
Criterion Covered Total %
branch 9 10 90.0


line true false branch
18 2 8 if ($$config{'required'} and !defined($value) || $value eq '') { }
1 7 elsif (not $$config{'required'} and !defined($value) || $value eq '') { }
27 0 7 unless ($value =~ /^[-+]?\d+$/)
39 1 6 if (defined $min and $value < $min)
45 1 5 if (defined $max and $value > $max)