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'}
73 4 120 $_ == $params{'day'} ? :
82 4 0 unless $params{'attrs'}
93 4 44 $_ == $params{'month'} ? :
102 4 0 unless $params{'attrs'}
121 4 24 if $_ == $params{'year'}
123 4 24 $_ == $params{'year'} ? :
129 0 4 unless ($has_year)
133 4 0 unless $params{'attrs'}