Branch Coverage

blib/lib/Mojolicious/Plugin/FormFieldsFromJSON/Date.pm
Criterion Covered Total %
branch 19 26 73.0


line true false branch
19 3 1 unless $params{$name}
21 1 3 $c->param($name . '-day') ? :
33 4 0 unless $$field{'attributes'}
42 4 0 unless $$field{'attributes'}
51 4 0 unless $$field{'attributes'}
72 4 120 $_ == $params{'day'} ? :
81 4 0 unless $params{'attrs'}
92 4 44 $_ == $params{'month'} ? :
101 4 0 unless $params{'attrs'}
120 4 24 if $_ == $params{'year'}
122 4 24 $_ == $params{'year'} ? :
128 0 4 unless ($has_year)
132 4 0 unless $params{'attrs'}