Condition Coverage

blib/lib/Catalyst/Controller/DBIC/API/RequestArguments.pm
Criterion Covered Total %
condition 31 40 77.5


and 3 conditions

line !l l&&!r l&&r condition
424 0 50 0 not $self->has_page and defined $search_attributes->{'offset'}
50 0 0 not $self->has_page and defined $search_attributes->{'offset'} and defined $search_attributes->{'rows'}
453 40 13 1 $search_attributes->{'page'} and not $search_attributes->{'rows'}
463 2 0 18 Str()->check($_) && !($_ =~ /\./)

or 2 conditions

line l !l condition
308 53 32 $base ||= 'me'
416 54 0 $self->prefetch || $static->prefetch || undef

or 3 conditions

line l !l&&r !l&&!r condition
318 6 5 3 $column eq '-or' or $column eq '-and'
11 0 3 $column eq '-or' or $column eq '-and' or $column eq '-not'
416 1 4 49 $self->grouped_by || (scalar @{$static->grouped_by;} ? $static->grouped_by : undef)
8 6 40 $self->ordered_by || (scalar @{$static->ordered_by;} ? $static->ordered_by : undef)
3 12 39 $self->select || (scalar @{$static->select;} ? $static->select : undef)
2 0 52 $self->as || (scalar @{$static->as;} ? $static->as : undef)
4 10 40 $self->count || $static->count
445 41 119 0 ref $_->[1] && &reftype($_->[1]) eq 'HASH' && keys %{$$_[1];} || ref $_->[1] && &reftype($_->[1]) eq 'ARRAY' && @{$_->[1];} || length $_->[1]