Branch Coverage

blib/lib/JPList/Controls/Filter.pm
Criterion Covered Total %
branch 8 22 36.3


line true false branch
75 1 18 if (exists $data->{'path'} and exists $data->{'value'} and $data->{'value'})
80 1 0 if ($data->{'mode'} ne 'integer')
122 2 5 if (exists $data->{'path'} and $data->{'path'} ne 'default')
168 0 0 if (exists $data->{'path'} and $data->{'path'} ne 'default')
219 0 0 if (exists $filter_vals->{'data'} and $filter_vals->{'data'}{'prev_year'} and $filter_vals->{'data'}{'next_year'})
232 0 0 if ($from_date =~ /\d{4}-\d{2}-\d{2}/ and $to_date =~ /\d{4}-\d{2}-\d{2}/)
279 0 0 if (exists $filter_vals->{'data'} and $filter_vals->{'data'}{'year'})
285 0 0 if ($date =~ /\d{4}-\d{2}-\d{2}/)
329 14 0 if (exists $filter_vals->{'data'})
332 14 0 if (exists $data->{'pathGroup'} and ref $data->{'pathGroup'} eq 'ARRAY')
338 0 14 if (scalar @real_values)