Branch Coverage

blib/lib/M3/ServerView/View.pm
Criterion Covered Total %
branch 39 42 92.8


line true false branch
26 3 4 if $connection
60 4 3 unless $Url{refaddr $self}
110 1 1 if ($format and $format eq 'timestamp')
120 9 6 unless ref $options eq 'HASH'
126 14 1 unless defined $case_sensitive
138 5 10 if (exists $$options{'order_by'})
143 1 4 unless $sort_order =~ /^asc|desc$/
144 2 2 if ($sort_order eq 'asc') { }
145 1 1 if ($sort_as eq 'text') { }
153 1 1 if ($sort_as eq 'text') { }
196 5 15 unless $rules
203 2 8 if (ref $rule eq 'ARRAY')
207 0 10 unless exists $Op{$op}
209 4 6 if (not looks_like_number $value and exists $Op_transform{$op})
217 1 9 if ($case_sensitive) { }
220 4 2 unless exists $$entry{$key}
221 0 2 unless defined $$entry{$key}
222 1 1 unless $Op{$op}($$entry{$key}, $value)
229 11 45 unless exists $$entry{$key}
230 0 45 unless defined $$entry{$key}
231 32 13 unless $Op{$op}(lc $$entry{$key}, lc $value)