blib/lib/Jifty/DBI/Collection.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 1 | 75 | 1.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
212 | 0 | 0 | 0 | $order[0] and $order[-1] eq $main_pkey |
479 | 0 | 0 | 0 | $self->{'columns'} and @{$self->{'columns'};} |
907 | 0 | 0 | 0 | ref $args{'value'} and $args{'value'}->isa('Jifty::DBI::Record') |
933 | 0 | 0 | 0 | $args{'quote_value'} and not $args{'operator'} =~ /IS/i |
955 | 0 | 0 | 0 | defined $args{'leftjoin'} and not defined $args{'alias'} |
1010 | 0 | 0 | 0 | $self->_handle->case_sensitive and defined $args{'value'} |
0 | 0 | 0 | $self->_handle->case_sensitive and defined $args{'value'} and $args{'quote_value'} | |
0 | 0 | 0 | $self->_handle->case_sensitive and defined $args{'value'} and $args{'quote_value'} and not $args{'case_sensitive'} | |
1034 | 0 | 0 | 0 | exists $args{'entry_aggregator'} and ($args{'entry_aggregator'} || '') eq 'none' |
1233 | 0 | 9 | 0 | defined $rowhash{'alias'} and $rowhash{'column'} |
1315 | 0 | 0 | 0 | $rowhash{'alias'} and $rowhash{'column'} |
1680 | 0 | 0 | 0 | $table eq $self->table and not $args{'alias'} |
line | l | !l | condition |
---|---|---|---|
320 | 0 | 0 | shift() || 0 |
570 | 0 | 0 | $self->preload_related || {} |
738 | 0 | 0 | $self->{'items'} || [] |
1034 | 0 | 0 | $args{'entry_aggregator'} || '' |
1152 | 0 | 0 | $self->{$type} || '' |
0 | 0 | $value || '' | |
1204 | 0 | 0 | $self->{'order_by'} || [] |
1346 | 0 | 0 | shift() || die('Missing parameter') |
1444 | 0 | 0 | $self->pager->first || 1 |
1659 | 0 | 0 | $args{'alias'} || 'main' |
1679 | 0 | 0 | $self->{'columns'} ||= [] |
1681 | 0 | 0 | $args{'alias'} || 'main' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
81 | 0 | 0 | 0 | ref $proto || $proto |
218 | 0 | 0 | 0 | $$base_row{$table . '_id'} or $main_pkey |
1034 | 0 | 0 | 0 | exists $args{'entry_aggregator'} and ($args{'entry_aggregator'} || '') eq 'none' or not $$restriction |
1563 | 0 | 0 | 0 | $self->{'must_redo_search'} or not $self->{'count_all'} |
1650 | 0 | 0 | 0 | $args{'table'} || do { if (my $alias = $args{'alias'}) { $alias =~ s/_\d+$//; $alias; } else { $self->table; } } |