Condition Coverage

blib/lib/ODS/Storage/Directory.pm
Criterion Covered Total %
condition 14 21 66.6


and 3 conditions

line !l l&&!r l&&r condition
68 0 1 1 ref $data eq "ARRAY" and ref $data->[0] eq "HASH"

or 2 conditions

line l !l condition
24 0 107 $params{'type'} ||= "all"
26 30 77 $params{'sort_direction'} ||= "asc"
49 1 0 $data || ''

or 3 conditions

line l !l&&r !l&&!r condition
25 30 77 0 $params{'sort'} ||= $self->table->keyfield
36 2 1712 0 $params{'__custom_file_name'} || sprintf('%s_%s.%s', time, unique_class_name(), $self->serialize_class->file_suffix)
109 2 0 0 $row->__custom_file_name || $row->__file
216 1 1 1 not $row or $row->$key ne $file_params{$key}