Branch Coverage

blib/lib/Rose/HTML/Form/Field/DateTime/Range.pm
Criterion Covered Total %
branch 25 34 73.5


line true false branch
56 0 0 if (@_)
69 0 0 if (@_)
85 1 5 if (@_)
92 4 1 defined $self->{'range_separator'} ? :
98 0 3 unless ref $value and @$value == 2
106 4 0 defined $_ ? :
115 5 12 unless defined $value
119 2 10 if (ref $value eq 'ARRAY' and @$value == 2) { }
10 0 elsif (not ref $value) { }
146 2 5 if (ref $value eq 'ARRAY') { }
191 2 1 $self->has_errors ? :
203 2 0 $self->has_errors ? :
217 0 3 unless $ret
223 1 5 unless ($self->field($field)->validate)
230 2 1 unless (@errors)
234 1 1 if ($min and $max and $min > $max)
241 1 1 if (@errors)