| line |
!l |
l&&!r |
l&&r |
condition |
|
212
|
15 |
0 |
0 |
$class->cache and $$attributes{'use_resultset_cache'} |
|
253
|
0 |
0 |
0 |
not defined $cache_entry and $cache_entry = $class->cache->get($cache_key) |
|
338
|
15 |
0 |
0 |
$class->cache and $$attributes{'use_resultset_cache'} |
|
359
|
12 |
2 |
1 |
exists $$attributes{'_pager'} and not $$attributes{'_pager'} |
|
369
|
8 |
6 |
1 |
$$attributes{'rows'} and $iterator->count > $$attributes{'rows'} |
|
423
|
15 |
1 |
6 |
$$attributes{'rows'} and not $$attributes{'disable_sql_paging'} |
|
456
|
9 |
2 |
13 |
@_ == 2 and ref($_[0]) =~ /^(ARRAY|HASH)$/ |
|
|
11 |
0 |
13 |
@_ == 2 and ref($_[0]) =~ /^(ARRAY|HASH)$/ and ref $_[1] eq 'HASH' |
|
|
3 |
0 |
8 |
@_ == 1 and ref($_[0]) =~ /^(ARRAY|HASH)$/ |
|
494
|
0 |
0 |
0 |
@_ == 1 and ref $_[0] eq 'HASH' |
|
548
|
0 |
0 |
0 |
$class->cache and $key |
|
|
0 |
0 |
0 |
$class->cache and $key and $object = $class->cache->get($key) |
|
593
|
0 |
0 |
0 |
$class->cache and $key |
| line |
l |
!l |
condition |
|
74
|
0 |
3 |
$$attributes{'rows'} ||= 1 |
|
101
|
0 |
1 |
$$attributes{'rows'} ||= 1 |
|
127
|
0 |
6 |
$$attributes{'sql_method'} || 'Join_Retrieve' |
|
145
|
3 |
0 |
$$attributes{'rows'} ||= 10 |
|
146
|
2 |
1 |
$$attributes{'page'} ||= 1 |
|
229
|
0 |
0 |
$latest_stale || 0 |
|
257
|
0 |
0 |
$latest_stale || 0 |
|
311
|
0 |
15 |
$$attributes{'sql_method'} || 'Join_Retrieve' |
|
313
|
0 |
15 |
$$attributes{'statement_order'} || ['prefetch_cols', 'from', 'sql'] |
|
372
|
1 |
0 |
$$attributes{'offset'} || 0 |
|
426
|
0 |
6 |
$$attributes{'offset'} || 0 |
|
538
|
39 |
1 |
$_[0] || {} |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
57
|
3 |
0 |
0 |
ref $self || croak('retrieve_next cannot be called as a class method') |
|
63
|
3 |
0 |
0 |
$$attributes{'order_by'} || ($self->columns('Primary'))[0] |
|
83
|
1 |
0 |
0 |
ref $self || croak('retrieve_previous cannot be called as a class method') |
|
89
|
0 |
1 |
0 |
$$attributes{'order_by'} || ($self->columns('Primary'))[0] |
|
110
|
0 |
6 |
0 |
ref $proto || $proto |
|
141
|
0 |
3 |
0 |
ref $proto || $proto |
|
167
|
0 |
0 |
0 |
ref $proto || $proto |
|
169
|
0 |
0 |
0 |
@_ or keys %{$class->default_search_attributes;} |
|
173
|
0 |
0 |
0 |
shift() || () |
|
178
|
0 |
10 |
0 |
ref $proto || $proto |
|
187
|
0 |
1 |
0 |
ref $proto || $proto |
|
200
|
0 |
0 |
0 |
$class->meta_info('has_a', $pre) or $class->meta_info('might_have', $pre) |
|
384
|
1 |
21 |
0 |
ref $proto || $proto |
|
474
|
0 |
0 |
0 |
$$attributes{$key} ||= $proto->default_search_attributes->{$key} |
|
488
|
0 |
0 |
0 |
ref $proto || $proto |
|
540
|
0 |
0 |
40 |
$class->cache or $$data{'sweet__joins'} |
|
823
|
22 |
0 |
0 |
$f_class->find_column($col) || &List::Util::first(sub {
$_->accessor eq $col;
}
, $f_class->columns) || croak("$col is not a column of $f_class") |