Condition Coverage

blib/lib/JPList/Controls/Filter.pm
Criterion Covered Total %
condition 6 27 22.2


and 3 conditions

line !l l&&!r l&&r condition
75 0 0 19 exists $data->{'path'} and exists $data->{'value'}
0 18 1 exists $data->{'path'} and exists $data->{'value'} and $data->{'value'}
122 0 5 2 exists $data->{'path'} and $data->{'path'} ne 'default'
168 0 0 0 exists $data->{'path'} and $data->{'path'} ne 'default'
219 0 0 0 exists $filter_vals->{'data'} and $filter_vals->{'data'}{'prev_year'}
0 0 0 exists $filter_vals->{'data'} and $filter_vals->{'data'}{'prev_year'} and $filter_vals->{'data'}{'next_year'}
232 0 0 0 $from_date =~ /\d{4}-\d{2}-\d{2}/ and $to_date =~ /\d{4}-\d{2}-\d{2}/
279 0 0 0 exists $filter_vals->{'data'} and $filter_vals->{'data'}{'year'}
332 0 0 14 exists $data->{'pathGroup'} and ref $data->{'pathGroup'} eq 'ARRAY'