Condition Coverage

blib/lib/DBIx/Custom/Result.pm
Criterion Covered Total %
condition 36 51 70.5


and 3 conditions

line !l l&&!r l&&r condition
24 15 6 35 $self->{'type_rule'}{'from1'} and not $self->{'type_rule_off'}
21 3 32 $self->{'type_rule'}{'from1'} and not $self->{'type_rule_off'} and not $self->{'type_rule1_off'}
33 32 3 21 $self->{'type_rule'}{'from2'} and not $self->{'type_rule_off'}
35 3 18 $self->{'type_rule'}{'from2'} and not $self->{'type_rule_off'} and not $self->{'type_rule2_off'}
71 33 3 29 $self->{'type_rule'}{'from1'} and not $self->{'type_rule_off'}
36 0 29 $self->{'type_rule'}{'from1'} and not $self->{'type_rule_off'} and not $self->{'type_rule1_off'}
77 3 26 0 $from->{$type} and $row->{$_} = $from->{$type}->($row->{$_})
80 65 0 0 $self->{'type_rule'}{'from2'} and not $self->{'type_rule_off'}
65 0 0 $self->{'type_rule'}{'from2'} and not $self->{'type_rule_off'} and not $self->{'type_rule2_off'}
86 0 0 0 $from->{$type} and $row->{$_} = $from->{$type}->($row->{$_})
211 0 0 33 exists $filter->{$column} and defined $fname
0 15 18 exists $filter->{$column} and defined $fname and ref $fname ne 'CODE'
294 3 133 3 defined $fname and ref $fname ne 'CODE'

or 2 conditions

line l !l condition
227 0 30 $self->{'filter'} ||= {}
251 6 6 $kv->{$key_value} ||= []
268 6 6 $kv->{$key_value} ||= []
307 0 0 $self->{'type_rule'} || {}
370 24 203 $self->{'_type_map'}{$type} ||= []
372 9 218 $self->{'_pos'}{$name} ||= []