Condition Coverage

blib/lib/Mojolicious/Plugin/FormFieldsFromJSON/Date.pm
Criterion Covered Total %
condition 10 20 50.0


or 2 conditions

line l !l condition
17 4 0 ($$field{'name'} // $$field{'label'}) // ''
61 0 4 $params{'format'} || $$field{'format'} || '%Y-%m-%d'
115 0 4 $params{'past'} // 1
116 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
114 3 1 0 $params{'startyear'} // $now->year