Branch Coverage

blib/lib/Web/App/Lib/EntityCollection.pm
Criterion Covered Total %
branch 5 28 17.8


line true false branch
12 0 0 unless defined $entity_type
15 0 0 unless defined $entity_type
21 0 0 if ($$params{'fieldset'}) { }
24 0 0 unless $record->can($method)
30 0 0 if $record->can($method)
48 0 8 if ($k =~ /^group_by$/) { }
2 6 elsif ($k =~ /^sort\.(field|order)$/) { }
2 4 elsif ($k =~ /^filter\.(.*)$/) { }
90 0 0 unless scalar keys %$to_ids
98 0 0 unless exists $$to_ids{$rec->$pk}
136 0 0 unless $$statement{'sort_field'}
139 0 0 unless $$statement{'sort_order'}
143 0 0 if ($count < $$statement{'offset'})
148 0 0 if (300 < $$statement{'limit'})