Condition Coverage

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


or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
17 4 0 0 $$field{'name'} // $$field{'label'}
18 0 4 0 $$field{'id'} // $name
30 2 1 0 $local_params{'data'} || $requested || $$field{'data'} || $now->ymd
113 0 4 0 $params{'startyear'} // $now->year