Condition Coverage

blib/lib/Mojolicious/Plugin/FormFieldsFromJSON/Date.pm
Criterion Covered Total %
condition 9 20 45.0


or 2 conditions

line l !l condition
19 0 0 ($field->{'name'} // $field->{'label'}) // ''
63 0 4 $params{'format'} || $field->{'format'} || '%Y-%m-%d'
113 0 4 $params{'past'} // 1
114 0 4 $params{'future'} // 5

or 3 conditions

line l !l&&r !l&&!r condition
19 4 0 0 $field->{'name'} // $field->{'label'}
20 0 4 0 $field->{'id'} // $name
32 1 1 0 $local_params{'data'} || $requested || $field->{'data'} || $now->ymd
112 3 1 0 $params{'startyear'} // $now->year